1 2011-03-04 Glenn Morris <rgm@gnu.org>
3 * outline.el (outline-regexp): No longer allow nil.
4 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
6 * net/browse-url.el (browse-url):
7 Handle deleted default-directory. (Bug#6077)
9 * recentf.el (recentf-include-p): In case of a buggy predicate,
10 err on the side of including, not excluding. (Bug#5843)
12 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
14 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
17 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
19 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
20 if there is no node. (Bug#3261)
22 2011-03-04 Leo <sdl.web@gmail.com>
24 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
26 * time.el (display-time-world-list): Fix typo. (Bug#7571)
28 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
30 * cus-edit.el (custom-buffer-create-internal):
31 Split search string before passing it to `customize-apropos' (bug#8136).
33 2011-03-04 Drew Adams <drew.adams@oracle.com>
35 * image-dired.el (image-dired-cmd-read-exif-data-options):
36 Fix typo in docstring (bug#8156).
38 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
40 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
42 2011-03-03 Christian Ohler <ohler@gnu.org>
44 * emacs-lisp/ert.el (ert--explain-equal): New function.
45 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
47 (ert--explain-equal-including-properties): Renamed from
48 `ert--explain-not-equal-including-properties'. All callers
51 2011-03-03 Christian Ohler <ohler@gnu.org>
53 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
54 (ert-char-for-test-result, ert-string-for-test-result)
55 (ert-run-tests-batch, ert--print-test-for-ewoc):
56 Handle `ert-test-quit'.
58 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
60 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
61 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
63 2011-03-03 Glenn Morris <rgm@gnu.org>
65 * files.el (file-truename): Doc fix. (Bug#2341)
67 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
69 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
71 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
73 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
74 programs output backslashes. (Bug#7663)
76 2011-03-03 Glenn Morris <rgm@gnu.org>
78 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
79 (mail-mode): Remove mail-sent-via from the doc.
80 (mail-sent-via): Make it obsolete. (Bug#1776)
82 * progmodes/grep.el (grep-highlight-matches): Doc fix.
83 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
85 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
86 with no parents. (Bug#8025)
88 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
90 * password-cache.el (password-in-cache-p): Add autoload.
92 2011-03-02 Glenn Morris <rgm@gnu.org>
94 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
95 * dired-x.el (Man-support-local-filenames): Autoload it.
96 (dired-guess-shell-alist-default): Also handle Red Hat's man.
98 * dired-x.el (dired-default-directory-alist, dired-default-directory):
100 (dired-smart-shell-command): Just call dired-current-directory.
102 * dired-x.el (dired-jump-other-window): Add autoload.
103 (dired-default-directory-alist, dired-default-directory): Doc fixes.
104 (dired-default-directory-alist): Mark as risky.
106 * dired-x.el (dired-omit-here-always): Make it obsolete.
108 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
110 * textmodes/artist.el (artist-curr-go): Default to pen-line.
111 (artist-select-op-pen-line): New function.
112 (artist-menu-map): New variable.
113 (artist-mode-map): Add a menu to the menu-bar.
115 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
117 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
120 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
122 (math-logunits-add, math-logunits-mul, math-logunits-divide):
123 (math-logunits-quant, math-logunits-level):
124 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
126 (math-logunits-level): Extract units from ratio.
128 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
130 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
132 2011-03-01 Glenn Morris <rgm@gnu.org>
134 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
135 (diary-hebrew-birthday): Rename and rework functions added
138 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
140 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
141 (diary-hebrew-birthday): New functions.
143 2011-03-01 Glenn Morris <rgm@gnu.org>
145 * dired.el (dired-safe-switches-p): Beef it up.
146 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
148 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
150 * dired.el (dired-safe-switches-p): New function.
152 2011-03-01 Glenn Morris <rgm@gnu.org>
154 * files.el (dir-locals-collect-variables):
155 Add the ability to exclude subdirectories. (Bug#8100)
157 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
159 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
161 * ido.el (ido-everywhere): Doc fix.
164 2011-02-28 Glenn Morris <rgm@gnu.org>
166 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
168 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
170 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
173 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
175 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
177 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
179 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
180 Fix typos in docstrings.
182 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
184 * dired-aux.el (dired-update-file-line):
185 Fix 2010-11-09 change. (Bug#8131)
187 2011-02-28 Eli Zaretskii <eliz@gnu.org>
189 * international/mule-cmds.el (set-default-coding-systems): Use the
190 -unix variant of encoding in default-keyboard-coding-system.
193 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
195 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
197 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
199 * term/screen.el: New file (Bug#2650).
201 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
203 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
204 (pcase-mutually-exclusive-predicates): New var.
205 (pcase--split-consp, pcase--split-pred): Use it.
206 (pcase--split-equal, pcase--split-member): When splitting against
207 a pure predicate, run it to know the outcome.
208 (pcase--u1): Mark vars that are actually used.
209 (pcase--q1): Avoid introducing unused vars.
211 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
213 * calc/calc-ext.el (calc-init-extensions):
214 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
216 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
219 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
220 argument is a variable.
222 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
224 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
225 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
226 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
228 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
230 * password-cache.el (password-in-cache-p): Convenience function to
231 check if a key is in the cache, even if the value is nil.
233 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
235 * emacs-lisp/package-x.el (package--archive-contents-from-url)
236 (package--archive-contents-from-file): New functions.
237 (package-update-news-on-upload): New var.
238 (package-upload-buffer-internal): Extract archive-contents from
239 package-archive-upload-base if it is not found at archive-url.
240 Obey package-update-news-on-upload.
241 (package-upload-buffer, package-upload-file): Doc fix.
243 2011-02-24 Glenn Morris <rgm@gnu.org>
245 * files-x.el (modify-dir-local-variable): Handle dir-locals from
246 the cache, and from non-file sources.
248 * help-fns.el (describe-variable): Return consistent results when a
249 dir-local from a file came from the cache or did not. (Bug#8095)
250 If a dir-local has no associated file, say it came from a "directory".
252 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
253 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
255 * files.el (dir-locals-find-file): Doc fix.
256 Fix the check for cache elements that have no associated file,
257 and the mtime check for those that do. (Bug#8095)
259 * dired-x.el (dired-hack-local-variables):
260 Handle interrupts during hacking local variables. (Bug#5216)
262 * emacs-lisp/autoload.el (autoload-save-buffers)
263 (autoload-find-destination, update-directory-autoloads):
264 Avoid prompts when updating autoloads.
266 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
268 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
270 2011-02-23 Kenichi Handa <handa@m17n.org>
272 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
273 error when a multipart boundary in the nested multipart is found.
275 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
278 2011-02-23 Glenn Morris <rgm@gnu.org>
280 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
281 * dired-x.el (dired-omit-mode): Safe if boolean.
282 (dired-enable-local-variables): Fix doc and custom type.
283 (dired-enable-local-variables, dired-local-variables-file)
284 (dired-hack-local-variables): Make obsolete.
285 (dired-omit-here-always): Use dir-locals.el instead.
287 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
289 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
291 * help-fns.el (describe-function-1): Don't signal an error just because
292 the DOC file disappeared.
294 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
296 * eshell/esh-ext.el (eshell-external-command): Do not restrict
297 remote check to "ftp". (Bug#8089)
299 2011-02-21 Alan Mackenzie <acm@muc.de>
302 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
303 in macros finding their way into c-state-nonlit-pos-cache.
304 Strengthen the comments.
305 (c-state-dump): New commented out diagnostic routine.
307 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
309 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
310 `field' property of `rfn-eshadow-overlay'.
312 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
314 * net/netrc.el (netrc-parse): Comment fix.
316 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
318 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
319 Autoload. Add optional arg FRAME, and pass it to color-values.
320 (color-complement): Caller changed. Doc fix.
321 (color-gradient): Rewrite for better clarity and efficiency.
323 * faces.el (color-values): Use cond for clarity. Doc fix.
325 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
327 (list-colors-sort-key, list-colors-print):
328 Use color-normalized-values.
330 2011-02-20 Drew Adams <drew.adams@oracle.com>
332 * color.el: First part of merge from hexrgb.el.
333 (color-rgb-to-hex): Rename from color-rgb->hex.
334 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
335 saturation to zero if the value is too small.
336 (color-rgb-to-hsl): Rename from color-rgb->hsl.
337 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
338 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
339 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
340 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
341 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
342 (color-cie-de2000): Doc fix.
344 2011-02-20 Alan Mackenzie <acm@muc.de>
346 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
347 locating the beginning of a macro. (Bug#7595)
349 2011-02-20 Glenn Morris <rgm@gnu.org>
351 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
354 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
355 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
357 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
358 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
360 * progmodes/hideshow.el (hs-find-block-beginning)
361 (hs-hide-level-recursive): Ignore comments when parsing braces
364 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
366 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
367 (vc-bzr-pull): Use it.
369 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
371 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
372 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
373 but returning an alist. Ignore comments in bzr conffile.
374 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
375 (vc-bzr-error-regex-alist): New var.
376 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
378 * vc/vc-dispatcher.el (vc-do-async-command):
379 Bind inhibit-read-only to t.
381 * progmodes/compile.el (compilation--flush-directory-cache):
382 Handle the case where cdr of compilation--flush-directory-cache
383 points to no buffer, which can occur if we previously switched to
384 compilation-mode in a pregenerated buffer.
386 2011-02-19 Kenichi Handa <handa@m17n.org>
388 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
389 get the header copy into the temporary buffer.
390 (rmail-mime-insert-decoded-text): Ignore us-ascii.
391 (rmail-show-mime): When rmail-mime-coding-system is nil, set
392 buffer-file-coding-system to undecided.
394 2011-02-19 Eli Zaretskii <eliz@gnu.org>
396 * international/mule-cmds.el (read-char-by-name, ucs-insert):
397 Document completion with asterisk and a substring.
399 2011-02-19 Glenn Morris <rgm@gnu.org>
401 * files.el (find-file-literally): Doc fix.
403 * simple.el (rfc822-goto-eoh): Give it a doc-string.
405 * log-edit.el (log-edit-insert-changelog):
406 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
408 2011-02-19 Glenn Morris <rgm@gnu.org>
410 * dired-x.el: Don't require dired-aux.
411 (dired-do-create-files, dired-mark-read-regexp)
412 (dired-do-create-files-regexp): Autoload from dired-aux.
414 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
415 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
417 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
418 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
420 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
421 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
422 (dired-clean-up-buffers-too): Declare.
424 * dired-x.el (dired-initial-position): Merge into dired.el's version.
425 * dired.el (dired-initial-position): Merge dired-x's version here.
426 (dired-find-subdir): Declare.
428 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
429 * dired-aux.el (dired-add-entry): Give it a doc-string.
430 Merge dired-x's dired-omit handling here.
431 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
433 * international/mule-diag.el (list-input-methods-1):
434 Indent all lines of multi-line doc-strings. (Bug#8066)
436 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
438 Fix 2011-02-02 changes.
440 * apropos.el (apropos-print): Call apropos-mode before setting up
441 buffer variables. Use inhibit-read-only.
443 * emacs-lisp/package.el (package--list-packages):
444 Call package-menu-mode before setting up buffer variables.
446 * play/solitaire.el (solitaire): Call solitaire-mode before
447 setting up buffer variables. Use inhibit-read-only.
449 2011-02-18 Lawrence Mitchell <wence@gmx.li>
451 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
452 Bind case-fold-search to nil when looking for end of here-doc.
454 2011-02-18 Eli Zaretskii <eliz@gnu.org>
456 * image-mode.el (image-toggle-display-image):
457 Set find-file-literally non-nil in buffers visiting binary image
460 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
462 * files.el (cd): Make completion obey cd-path (bug#7924).
464 2011-02-18 Glenn Morris <rgm@gnu.org>
466 * progmodes/prolog.el: Don't require compile when compiling.
467 (compilation-shell-minor-mode, compilation-error-regexp-alist)
468 (compilation-forget-errors, compilation-fake-loc)
469 (compilation-parse-errors-function, compilation-error-list): Declare.
470 (prolog-inferior-mode): Require 'compile.
472 * emulation/cua-base.el (pc-selection-mode): Declare.
474 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
475 (customize-object): Add autoload cookie.
476 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
477 (eieio-browse, describe-class, eieio-describe-class)
478 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
479 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
480 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
481 * Makefile.in (autoloads): Make eieio.el writable.
483 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
484 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
485 (dired-hack-local-variables): Use inhibit-read-only.
486 (dired-guess-default): Simplify.
487 (dired-make-relative-symlink): Use dotimes.
488 (dired-simultaneous-find-file): Use dolist.
489 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
490 (dired-x-hands-off-my-keys): Doc fix.
491 (dired-x-bind-find-file): Doc fix. Use remapping.
492 (after-init-hook): No need to add dired-x-bind-find-file.
493 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
494 No need to call expand-file-name.
495 (dired-filename-at-point): Remove unused locals `end', `filename'.
497 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
499 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
501 2011-02-18 Christian Ohler <ohler@gnu.org>
503 * emacs-lisp/ert.el (ert--setup-results-buffer)
504 (ert-results-pop-to-backtrace-for-test-at-point)
505 (ert-results-pop-to-messages-for-test-at-point)
506 (ert-results-pop-to-should-forms-for-test-at-point)
507 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
508 were incorrect and unnecessary. This should make `make check'
511 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
513 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
514 (allout-widgets-icons-dark-subdir): Track relocations of icons
515 * lisp/allout.el: Remove commentary about remove encryption
516 passphrase mnemonic support and verification.
517 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
518 failure to decrypt gpg2 armored text using gpg1, and indicate that
519 the gpg version *might* be the problem in the error message.
521 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
523 * net/rcirc.el (rcirc-float-time): New function.
524 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
525 (rcirc-ctcp-sender-PING): Use it.
527 2011-02-17 Glenn Morris <rgm@gnu.org>
529 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
530 (speedbar-update-flag, speedbar-fetch-etags-command)
531 (speedbar-fetch-etags-arguments):
532 * term.el (term-buffer-maximum-size, term-input-chunk-size)
533 (term-completion-autolist, term-completion-addsuffix)
534 (term-completion-recexact, term-completion-fignore):
535 * term/sup-mouse.el (sup-mouse-fast-select-window):
536 * term/x-win.el (x-select-request-type):
537 Convert some defvars with "*" to defcustoms.
539 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
541 * vc/vc.el (vc-default-previous-version):
542 Remove alias that points nowhere. (Bug#4496)
544 * dired-x.el (dired-clean-up-after-deletion):
545 kill-buffer does not need save-excursion.
546 (dired-do-run-mail): Doc fix.
547 (dired-filename-at-point): Doc fix.
548 Use looking-at, and skip-chars rather than re search.
550 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
552 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
554 * allout-widgets.el: New allout extension that shows allout
555 outline structure with graphical widgets. 'allout-widgets'
556 customize group is an 'allout' subgroup, for easy discovery.
558 * allout.el: Include PGP and GnuPG in Keywords, and other
559 commentary refinements.
560 (allout-abbreviate-flattened-numbering): Rename to
561 allout-flattened-numbering-abbreviation, and
562 define-obsolete-variable-alias the old name.
563 (allout-flattened-numbering-abbreviation): Rename from
564 allout-abbreviate-flattened-numbering.
565 (allout-mode-p): Include among autoloads, for use by other modes
567 (allout-listify-exposed):
568 Use allout-flattened-numbering-abbreviation.
569 (allout-encrypt-string): Use set-buffer-multibyte directly.
570 (allout-set-buffer-multibyte): Remove.
572 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
574 * simple.el (just-one-space): Remove useless `or' call.
576 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
578 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
579 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
580 (soap-decoded-multi-refs, soap-current-wsdl)
581 (soap-encoded-namespaces): Rename CL-style *...* variables.
583 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
585 * net/soap-client.el: Add "comm" and "hypermedia" to the
586 keywords. Reflow too long lines.
588 * net/soap-inspect.el: Ditto. Require 'cl.
590 2011-02-16 Bastien Guerry <bzg@altern.org>
592 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
593 in a `doctor-type' argument.
595 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
597 * net/soap-client.el:
598 * net/soap-inspect.el: New files.
600 2011-02-16 Leo <sdl.web@gmail.com>
602 * dired-x.el (dired-mode-map, dired-extra-startup):
603 Remove dired-copy-filename-as-kill since it's already in dired.el.
605 2011-02-16 Glenn Morris <rgm@gnu.org>
607 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
608 Doc fixes. Add :set property, replacing top-level calls.
609 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
610 (dired-guess-shell-gnutar): Test tar version rather than system-type.
611 (dired-extra-startup, dired-man, dired-info): Doc fixes.
612 (dired-clean-up-after-deletion): Use when and dolist.
613 (dired-jump): Use unless and when.
614 (dired-virtual): Use line-end-position.
615 (dired-default-directory-alist): Rename from default-directory-alist.
616 (dired-default-directory): Update for above name change.
617 (dired-vm): Drop VM < 5 and simplify.
618 (dired-buffer-more-recently-used-p): Rewrite.
619 (dired-filename-at-point): Use when and or.
620 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
623 2011-02-15 Glenn Morris <rgm@gnu.org>
625 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
627 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
629 * vc/vc-git.el (vc-git-root-log-format): New option for
630 customizing log format.
631 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
632 (vc-git-log-view-mode): Use it.
633 (vc-git-expanded-log-entry): New function.
634 (vc-git-log-view-mode): Use it. Truncate lines in root log.
636 * vc/vc-hg.el (vc-hg-root-log-template): New option for
637 customizing log format.
638 (vc-hg-print-log): Use it.
639 (vc-hg-expanded-log-entry): New function.
640 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
641 vc-hg-expanded-log-entry. Truncate lines in root log.
643 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
645 * vc/log-view.el (log-view-mode-menu):
646 Add log-view-toggle-entry-display.
648 2011-02-14 Glenn Morris <rgm@gnu.org>
650 * dired-x.el: Don't require man when compiling.
651 (dired-omit-extensions, dired-local-variables-file)
652 (dired-x-hands-off-my-keys): Make them defcustoms.
653 (Man-support-local-filenames, Man-getpage-in-background): Declare.
654 (vm-visit-folder): Declare rather than defining.
655 (dired-x-help-address, dired-x-variable-list): Remove.
656 (dired-x-submit-report): Make it an obsolete alias.
658 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
660 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
662 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
664 * net/imap.el: Bring it back.
666 2011-02-13 Alan Mackenzie <acm@muc.de>
668 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
669 narrow-to-region call that cuts context off the end (Bug#7722).
671 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
672 Refactor nested if-forms with a simple cond.
673 (c-forward-<>-arglist): Revert 2011-01-31 change.
675 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
677 * vc/log-view.el: New command log-view-toggle-entry-display for
678 toggling log entries between concise and detailed forms.
679 (log-view-toggle-entry-display): New command.
680 (log-view-mode-map): Bind RET to it.
681 (log-view-expanded-log-entry-function): New variable.
682 (log-view-current-entry, log-view-inside-comment-p)
683 (log-view-current-tag): New functions.
684 (log-view-toggle-mark-entry): Use log-view-current-entry and
685 log-view-end-of-defun instead of searching directly with
687 (log-view-end-of-defun): Likewise. Add optional ARG for
688 compatibility with end-of-defun.
689 (log-view-end-of-defun): Ignore comments and VC buttons.
691 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
692 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
694 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
696 * net/imap.el: Remove file. All the functionality is in nnimap.el.
698 * net/imap-hash.el: Remove file.
700 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
702 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
704 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
707 * net/tramp-imap.el: Remove file.
709 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
711 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
712 widget library for buttons, just use button.el.
714 * vc/log-view.el (log-view-mode-map): Don't inherit from
717 2011-02-12 Glenn Morris <rgm@gnu.org>
719 * emacs-lisp/cl-seq.el (union, nunion, intersection)
720 (nintersection, set-difference, nset-difference)
721 (set-exclusive-or, nset-exclusive-or): Doc fix.
723 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
725 * faces.el (face-attr-match-p): Handle the obsolete :bold and
726 :italic props, so that frame-set-background-mode works. (Bug#7966)
728 * simple.el (next-error): Doc fix.
730 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
732 * dired-aux.el (dired-create-files): Adapt destination name to
733 match the new behavior of copy-directory.
735 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
737 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
738 from rmail-dont-reply-to-names. Callers changed.
739 (mail-dont-reply-to): Rename from mail-dont-reply-to.
740 (rmail-dont-reply-to): Make it an obsolete alias.
742 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
743 nil, and make obsolete (Bug#7888).
744 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
746 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
748 * mail/rmailsort.el (rmail-sort-by-correspondent)
749 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
751 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
753 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
755 * files.el (copy-directory): New argument COPY-CONTENTS for
756 copying directory contents into another existing directory.
758 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
760 * minibuffer.el (completion-table-case-fold): New function for
761 creating a case-insensitive completion table.
763 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
765 * net/tramp.el (tramp-default-method): Also check if
766 `auth-source-search' is bound.
767 (tramp-read-passwd): Use `auth-source-search' instead of
768 `auto-source-user-or-password'.
770 * net/tramp-imap.el: Autoload `auto-source-search' instead of
771 `auto-source-user-or-password.
772 (tramp-imap-passphrase-callback-function): Use it.
774 * net/imap-hash.el: Autoload `auto-source-search' instead of
775 `auto-source-user-or-password.
776 (imap-hash-open-connection): Use it.
778 * mail/smtpmail.el: Autoload `auto-source-search' instead of
779 `auto-source-user-or-password.
780 (smtpmail-try-auth-methods): Use it.
782 2011-02-12 Phil Hagelberg <phil@hagelb.org>
784 * emacs-lisp/package.el: Allow packages to be reinstalled.
785 (package--write-file-no-coding): Remove EXCL arg.
786 (package-unpack-single): Don't use it.
788 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
790 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
791 in each sub directory.
792 (vc-svn-registered): Use vc-svn-root.
793 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
794 (vc-svn-repository-hostname): Use "svn info".
796 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
798 * simple.el (delete-trailing-whitespace): New optional buffer
801 2011-02-11 Bastien Guerry <bzg@altern.org>
803 * files.el (basic-save-buffer): save unmodified buffers when
804 the file pointed by buffer-file-name doesn't exist.
806 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
808 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
810 2011-02-11 Glenn Morris <rgm@gnu.org>
812 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
814 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
816 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
818 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
820 * server.el (server-process-filter): Use pcase.
822 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
824 (smie-indent--parent): Extend to "parent of arg".
825 (smie-indent-inside-string): New function.
826 (smie-indent-functions): Use it.
828 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
829 bzr locking race condition.
831 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
832 still valid before using it.
834 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
835 `message' -> `compilation-message' rename (bug#8004).
837 Move keymap initialization into declaration.
838 * textmodes/enriched.el (enriched-mode-map):
839 * textmodes/bib-mode.el (bib-mode-map):
840 * term/lk201.el (lk201-function-map):
841 * tar-mode.el (tar-mode-map):
842 * replace.el (occur-mode-map):
843 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
844 * progmodes/idlw-help.el (idlwave-help-mode-map):
845 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
846 * play/solitaire.el (solitaire-mode-map):
847 * play/snake.el (snake-mode-map, snake-null-map):
848 * play/pong.el (pong-mode-map):
849 * play/handwrite.el (menu-bar-handwrite-map):
850 * play/gametree.el (gametree-mode-map):
851 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
852 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
853 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
854 (newsticker--url-keymap):
855 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
856 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
857 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
858 (menu-bar-edit-menu, menu-bar-custom-menu)
859 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
860 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
861 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
862 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
863 (menu-bar-tools-menu, menu-bar-describe-menu)
864 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
865 (menu-bar-help-menu):
866 * mail/rmailsum.el (rmail-summary-mode-map):
867 * kmacro.el (kmacro-step-edit-map):
868 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
869 (ibuffer-mode-operate-map):
870 * hi-lock.el (hi-lock-menu, hi-lock-map):
871 * emulation/vip.el (vip-mode-map):
872 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
873 * bookmark.el (bookmark-bmenu-mode-map):
874 * help-mode.el (help-mode-map): Move initialization into declaration.
876 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
878 * net/rcirc.el: Add PRIVMSG and CTCP functions.
879 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
880 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
881 (rcirc-cmd-me, rcirc-authenticate): Use them.
883 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
885 * allout.el: Synopsis: Change allout user configuration so
886 auto-activation is controlled solely by customization
887 `allout-auto-activation'.
889 (allout-auto-activation-helper) (allout-setup): New autoloads
890 implement new custom set procedure for allout-auto-activation.
891 Also, explicitly invoke
892 (allout-setup) after allout-auto-activation is custom-defined, to
893 effect the settings in emacs sessions besides the few where
894 allout-auto-activation customization is donea.
895 (allout-auto-activation): Use allout-auto-activation-helper to
896 :set. Revise the docstring.
897 (allout-init): Reduce functionality to just customizing
898 allout-auto-activation, and mark obsolete.
899 (allout-mode): Respect string values for allout-auto-activation.
900 Run allout-after-copy-or-kill-hook without any args.
901 (allout-mode) (allout-layout) (allout-default-layout)
902 (outlineify-sticky): Adjust docstring for new scheme.
903 (allout-after-copy-or-kill-hook): No arguments - hook implementers
904 should concentrate on the kill ring.
906 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
908 * password-cache.el (password-cache-remove): Accept secrets that are
911 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
913 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
914 of here-doc that immediately follows a comment.
916 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
918 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
920 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
922 (rcirc-ctcp-sender-PING): New function.
924 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
926 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
927 Remove the mark/nomark handling, and activate shift-select-mode instead.
929 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
931 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
933 * calc/calc-units.el (math-logunits-quant): Add support for
934 non-logarithmic units.
936 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
938 * allout.el (allout-after-copy-or-kill-hook): New hook for
939 extension-specific processing of killed text.
940 (allout-mode): Include new allout-after-copy-or-kill-hook among
942 (allout-kill-line) (allout-kill-topic): Ensure that processing
943 after kill happens even if barf-if-buffer-read-only is raised.
944 Include new allout-after-copy-or-kill-hook among that subsequent
946 (allout-deannotate-hidden): Actually remove the annotation text
949 * allout.el (allout-listify-exposed): Copy text sans text properties.
951 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
953 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
955 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
957 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
959 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
961 * calc/calc.el (calc-logunits-field-reference): Rename from
962 `calc-default-field-reference-level'.
963 (calc-logunits-power-reference): Rename from
964 `calc-default-power-reference-level'
966 * calc/calc-units.el (math-logunits-quant): Rename from
967 `math-logunits-level'
968 (math-logunits-plus): Rename from math-logcombine.
969 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
970 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
971 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
973 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
974 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
975 (calc-logunits-quantity): Rename from `calc-level'.
976 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
977 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
978 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
979 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
980 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
983 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
984 (calc-ul-prefix-help): Remove.
985 (calc-l-prefix-help): New function.
986 (calc-full-help): Add reference to `calc-l-prefix-help'.
988 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
990 * calc/README: Mention logarithmic units.
992 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
994 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
995 non-ASCII characters (Bug#7925).
997 2011-02-05 Glenn Morris <rgm@gnu.org>
999 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1001 * calendar/diary-lib.el (diary-font-lock-keywords):
1002 Tweak diary-time-regexp match. (Bug#7891)
1004 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1005 (f90-mode): Use it for mode's `find-tag-default-function' property.
1007 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1009 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1011 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1013 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1016 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1019 font-lock-syntax-table remappings.
1020 (sh-here-doc-markers, sh-here-doc-re): Remove.
1021 (sh-font-lock-close-heredoc): Remove.
1022 (sh-syntax-propertize-here-doc): New function.
1023 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1024 instead of the sh-here-doc-re.
1025 (sh-font-lock-paren): Don't do anything in comments or strings.
1026 Handle line continuations. Accept a few more chars.
1027 Don't rely on the font-lock-syntax-table remappings.
1028 `esac' is not a valid pattern.
1029 (sh-syntax-propertize-function): Handle here-docs differently, so we
1030 don't bother syntax-propertizing the insides.
1032 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1033 Handle new bashisms ";&" and ";;&" (bug#7947).
1035 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1037 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1038 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1040 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1042 * net/tramp.el (tramp-postfix-method-format)
1043 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1044 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1045 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1046 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1047 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1050 2011-02-04 Sam Steingold <sds@gnu.org>
1052 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1054 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1056 * international/mule-util.el (with-coding-priority): Doc fix.
1058 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1060 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1062 2011-02-03 Sam Steingold <sds@gnu.org>
1064 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1065 Do not error out when `func' is nil.
1067 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1069 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1070 `tramp-default-remote-path' to the docstring.
1071 (tramp-get-remote-path): Suppress error message when `getconf
1074 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1076 2011-02-03 Glenn Morris <rgm@gnu.org>
1078 * vc/vc-hg.el (vc-hg-command): Doc fix.
1080 * term/w32-win.el (libpng-version): Declare for compiler.
1082 * msb.el: No need to load dired while compiling.
1084 * emacs-lisp/elint.el (elint-standard-variables):
1085 Remove a couple of built-ins that now have doc-strings.
1087 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1088 `require' is automatically `eval-and-compile'd.
1090 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1091 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1093 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1094 Move definition before use.
1095 (strokes-report-bug): Make it obsolete.
1097 2011-02-02 Sam Steingold <sds@gnu.org>
1099 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1100 from `special-mode', entering it makes the buffer read-only, so
1101 call it only when everything has been already inserted.
1102 * emacs-lisp/ert.el (ert--setup-results-buffer)
1103 (ert-results-pop-to-backtrace-for-test-at-point)
1104 (ert-results-pop-to-messages-for-test-at-point)
1105 (ert-results-pop-to-timings): Ditto.
1106 * emacs-lisp/package.el (package--list-packages): Ditto.
1107 * play/solitaire.el (solitaire): Ditto.
1109 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1111 * progmodes/compile.el: Make all faces inherit.
1112 (compilation-warning): Inherit from font-lock-variable-name-face.
1113 (compilation-info): Inherit from font-lock-type-face.
1114 (compilation-line-number): Reassign to font-lock-keyword-face.
1115 (compilation-column-number): Reassign to font-lock-doc-face.
1116 (compilation-leave-directory-face): Reassign to
1117 font-lock-builtin-face.
1119 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1121 * dired.el (dired-insert-directory): Don't invoke `ls' when
1122 ls-lisp.el is used to emulate it.
1124 2011-02-01 Julien Danjou <julien@danjou.info>
1126 * color.el (color-gradient): Add a color-gradient function.
1128 2011-02-01 Sam Steingold <sds@gnu.org>
1130 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1131 bind "z" to `kill-this-buffer'.
1132 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1133 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1134 (apropos-mode): Inherit from `special-mode'.
1135 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1136 * bookmark.el (bookmark-bmenu-mode): Define using
1137 `define-derived-mode' inheriting from `special-mode'.
1138 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1139 * image-mode.el (image-mode-map): Ditto.
1140 * replace.el (occur-mode): Define using
1141 `define-derived-mode' inheriting from `special-mode'.
1142 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1143 * calendar/diary-lib.el (diary-fancy-display-mode):
1144 Inherit from `special-mode-map'.
1145 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1146 Inherit from `special-mode'.
1147 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1149 (package-menu-mode): Define using `define-derived-mode'
1150 inheriting from `special-mode'.
1151 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1152 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1153 (xesam-mode-map): Define separately.
1154 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1155 * progmodes/compile.el (compilation-minor-mode-map)
1156 (compilation-mode-map): Inherit from `special-mode-map'.
1157 * vc/diff-mode.el (diff-mode-shared-map):
1158 Inherit from `special-mode-map'.
1159 * vc/log-view.el (log-view-mode-map): Add a comment.
1161 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1163 * custom.el (load-theme): Define return value. Drop use of
1164 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1165 (custom-theme-load-confirm): Scroll in the correct window.
1166 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1168 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1169 checkbox if load-theme fails.
1171 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * progmodes/compile.el (compilation-next-error): Check there's
1174 a message before using it (bug#7941).
1176 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1178 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1179 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1180 of potential pivots.
1182 2011-01-31 Alan Mackenzie <acm@muc.de>
1184 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1185 Continue parsing if we encounter a naked # (Bug#7595).
1186 (c-beginning-of-statement): Avoid loop in locating the beginning
1187 of a macro. (Not actually committed until 2011-02-20, see above).
1189 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1191 * files.el (copy-directory): Fix arguments to recursive call.
1193 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1195 * files.el (copy-directory): If destination is an existing
1196 directory, copy into a subdirectory there.
1198 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1200 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1203 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1205 * image-dired.el (image-dired-mouse-display-image): No-op if no
1206 file is found (Bug#7817).
1208 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1210 2011-01-31 Kenichi Handa <handa@m17n.org>
1212 * international/quail.el (quail-keyboard-layout-alist):
1213 Remove superfluous SPC for "pc105-uk" (bug#7927).
1215 2011-01-31 Glenn Morris <rgm@gnu.org>
1217 * msb.el (msb-menu-bar-update-buffers): Update for changed
1218 argument handling of menu-bar-select-frame. (Bug#7902)
1220 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1222 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1223 to the recursion depth (Bug#7722).
1225 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1227 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1228 command-line-default-directory (Bug#7872).
1230 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * progmodes/compile.el (compilation--flush-directory-cache):
1233 New function, extracted from compilation--remove-properties.
1234 (compilation--remove-properties, compilation--parse-region): Use it.
1235 (compilation--previous-directory): Handle one more case.
1236 (compilation-enable-debug-messages): Remove.
1237 (compilation-parse-errors, compilation--flush-parse): Just remove the
1238 left over debug messages.
1240 2011-01-31 Sam Steingold <sds@gnu.org>
1242 * progmodes/compile.el (compilation-enable-debug-messages):
1243 Add a variable to make the parsing messages introduced in
1244 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1245 (compilation-parse-errors, compilation--flush-parse): Use it.
1247 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1249 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1250 (rcirc-nick-completion-format): New defcustom.
1251 (rcirc-complete): Use it.
1253 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1255 * net/rcirc.el: Clean log filenames (Bug#7933).
1256 (rcirc-log-write): Use convert-standard-filename.
1257 (rcirc-log-filename-function): Documentation updates.
1259 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1261 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1262 Check report-emacs-bug-can-use-osx-open and use that if t.
1263 (report-emacs-bug-can-use-osx-open): New function.
1264 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1265 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1267 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1269 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1270 updating Dired or VC-dir buffers after async command completes.
1272 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1273 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1275 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1276 completions if it exists. Use vc-set-async-update.
1277 (vc-git-pull): Use vc-set-async-update.
1279 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1280 read-shell-command. Use vc-set-async-update.
1281 (vc-hg-merge-branch): Use vc-set-async-update.
1283 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1285 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1286 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1289 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * progmodes/compile.el: Avoid an N² behavior in grep.
1292 (compilation--previous-directory): New fun.
1293 (compilation--previous-directory-cache): New var.
1294 (compilation--remove-properties): Flush it.
1295 (compilation-directory-properties, compilation-error-properties):
1296 Use the new fun to speed up looking for the current directory.
1298 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1300 * vc/vc-hg.el (vc-hg-history): New var.
1301 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1302 (vc-hg-merge-branch): New function.
1304 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1305 the other way around.
1307 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1308 (vc-git-merge-branch): New functions.
1309 (vc-git-history): New var.
1311 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1313 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1315 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1316 vc-do-async-command.
1318 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1321 2011-01-28 Leo <sdl.web@gmail.com>
1323 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1324 highlighting to the "this function is advised" message.
1326 * help-mode.el (help-mode-finish): Apply highlighting here, to
1327 avoid clobbering by substitute-command-keys (Bug#6304).
1329 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1331 * woman.el (woman0-roff-buffer): Process roff escape sequences
1332 occurring prior to the first request (Bug#7843).
1334 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * progmodes/compile.el: Don't use font-lock any more.
1337 (compilation-error-regexp-alist-alist): Change handling of makepp
1338 so it preserves the warning/error distinction on subsequent files.
1339 Simplify various rules.
1340 (compilation-directory-properties): Use font-lock-face.
1341 Add a compilation-message property.
1342 (compilation-internal-error-properties): Use font-lock-face.
1343 Don't set the compilation-debug property here.
1344 (compilation--put-prop, compilation--remove-properties)
1345 (compilation--parse-region, compilation--ensure-parse)
1346 (compilation--ensure-parse): New functions.
1347 (compilation-parse-errors): New function, largely inspired of
1348 compilation-mode-font-lock-keywords. Set compilation-debug here.
1349 (compilation--parsed): New var.
1350 (compilation--flush-parse): Use compilation--ensure-parse.
1351 (compilation-start): Don't call font-lock.
1352 (compilation-turn-on-font-lock): Remove.
1353 (compilation-setup): Don't set font-lock-extra-managed-props not change
1354 other font-lock settings, other than keywords.
1355 Don't activate font-lock-mode.
1356 Set change-major-mode-hook and before-change-functions.
1357 (compilation--unsetup): Remove properties and hooks.
1358 (compilation-next-single-property-change): New function.
1359 (compilation-next-error): Use it to parse when needed.
1360 (compile-goto-error): Parse buffer as needed.
1361 (compilation--compat-error-properties): Don't need a dummy `face'
1364 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1367 (compilation-process-setup-function): Fix docstring's false promises.
1368 (compilation-error-regexp-alist-alist): Catch omake's continuous
1369 recompilation message and avoid reuse of old markers.
1370 (compilation-parse-errors-function): Declare obsolete.
1371 (compilation-buffer-modtime): Remove.
1372 (compilation--make-cdrloc, compilation--loc->col)
1373 (compilation--loc->line, compilation--loc->file-struct)
1374 (compilation--loc->marker, compilation--loc->visited)
1375 (compilation--make-file-struct, compilation--file-struct->file-spec)
1376 (compilation--file-struct->formats)
1377 (compilation--file-struct->loc-tree): New macros. Use them.
1378 (compilation--message): New defstruct. Use them.
1379 (compilation-next-error-function): Don't mess with timestamps to try
1380 and guess when to reparse.
1382 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1385 (tex-old-error-file-name): New function,
1386 extracted from tex-compilation-parse-errors.
1387 (tex-compilation-parse-errors): Remove.
1388 (tex-error-regexp-alist): New var.
1389 (tex-shell): Use it to avoid compilation-parse-errors-function.
1391 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1392 (grep-mode-font-lock-keywords): Remove regexp that seems like
1393 a left-over from before we used compile.el.
1394 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1395 modifying the buffer within with-silent-modifications.
1397 * progmodes/compile.el: Cleanup text-properties namespace by using
1398 `compilation-message' instead of `message', `compilation-directory'
1399 instead of `directory', and `compilation-debug' instead of `debug'.
1400 (compilation-last-buffer, compilation-parsing-end)
1401 (compilation-error-list, compilation-old-error-list): Move to the
1402 compatibility part of the code.
1403 (compilation-error-properties): If `file' is a function, let it return
1405 (compilation-mode-font-lock-keywords): Be more conservative with the
1406 omake "^ *" pattern prefix, to try and minimize the risk of
1407 pathologically slow regexp matching.
1408 (compilation-start): Use inhibit-read-only.
1409 (compilation--unsetup): New function.
1410 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1411 (compilation-filter): Minor tweaks.
1412 (compilation-next-error-function): Try and avoid abusing variables.
1413 (compilation--flush-file-structure): New fun.
1414 (compilation-fake-loc): Use it to improve behavior when file is reused.
1415 (debug-ignored-errors): Add "Moved past last ...".
1416 (compilation--compat-error-properties)
1417 (compilation--compat-parse-errors): Rename by doubling the "-".
1419 Port features from the previous prolog.el to the new one.
1420 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1421 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1422 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1423 variable and use a function to compute the value dynamically.
1424 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1425 (prolog-continued-prompt-regexp): Remove, unused.
1426 (prolog-find-value-by-system): Try and use the value of prolog-system
1427 in the *prolog* buffer if it helps.
1428 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1429 (prolog-zip-on): ..and check prolog-system and version here instead.
1430 (prolog-inferior-self-insert-command): New command.
1431 (prolog-inferior-mode-map): Use it.
1432 (prolog-inferior-error-regexp-alist): New var.
1433 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1434 (prolog-input-filter): Use derived-mode-p.
1435 (prolog-inferior-guess-flavor): New function.
1436 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1437 make-comint to avoid running comint-mode twice.
1438 (prolog-inferior-buffer): New fun.
1439 (prolog-old-process-region, prolog-old-process-file):
1440 Don't call prolog-bsts here...
1441 (prolog-build-prolog-command): ...do it here instead.
1442 (prolog-old-process-region, prolog-old-process-file):
1443 Use compilation-fake-loc and compilation-forget-errors.
1444 (prolog-consult-compile-region): Use bolp.
1446 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1448 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1450 2011-01-27 Sam Steingold <sds@gnu.org>
1452 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1453 Remove "*server*" which is never created by emacs server.
1455 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1457 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1458 there are some diff switches.
1460 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1462 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1463 Copy change made to ruby-font-lock-syntactic-keywords.
1465 * htmlfontify.el: Make it obey the font-lock-face text property.
1466 Miscellaneous cleanup such as:
1467 - Don't hide expressions after a closing paren.
1468 - Move initial setq into let.
1469 - Hoist common parts out of ifs.
1470 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1471 (hfy-face-at): Use get-text-property instead.
1472 (hfy-prop-invisible-p): Use invisible-p if available.
1473 (htmlfontify-manual): Use \\[...].
1474 (hfy-html-quote-regex): Use [...].
1475 (hfy-combined-face-spec): Simplify.
1476 (hfy-compile-face-map): Don't presume point-min==1.
1477 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1478 match end of string.
1479 (hfy-text-p): η-reduce.
1480 (hfy-tags-for-file): Receive cache-hash directly.
1481 (hfy-mark-tag-names): Adjust call.
1483 2011-01-27 Glenn Morris <rgm@gnu.org>
1485 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1486 (msb-after-load-hook): Remove eval-after-load wackiness.
1488 2011-01-25 Sam Steingold <sds@gnu.org>
1490 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1491 literal "diff" (important for windows-nt).
1493 2011-01-25 Glenn Morris <rgm@gnu.org>
1495 * emacs-lisp/copyright.el (copyright-at-end-flag)
1496 (copyright-names-regexp): Add safety properties.
1497 (copyright-year-ranges): New option.
1498 (copyright-find-end): New function, split from copyright-update-year.
1499 (copyright-update-year): Use copyright-find-end.
1500 (copyright-fix-years): Optionally, convert years to ranges.
1501 Handle years continued over comment lines.
1502 Do not mess with the fill-prefix.
1503 Do not call copyright-update.
1504 (copyright-update-directory): Optionally, fix years rather than update.
1505 Skip directories. Find files with only safe local vars.
1507 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * files.el (file-name-non-special): Only change buffer-file-name after
1510 insert-file-contents if it's `visit'ing the file (bug#7854).
1512 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1514 * dired.el (dired-revert): Doc fix (Bug#7758).
1516 * simple.el (line-move-visual): Doc fix (Bug#7594).
1518 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1520 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1521 here-doc which ends with an underscore.
1522 (ruby-mode-set-encoding): Skip shebang line always.
1523 (ruby-mode-map): Bind C-c C-c to comment-region.
1524 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1525 (ruby-forward-sexp): Stop after literal hash key labels.
1526 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1529 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1531 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1532 the correct buffer (Bug#7650).
1534 2011-01-25 Glenn Morris <rgm@gnu.org>
1536 * comint.el (comint-mode): Doc fix. (Bug#7897)
1538 * simple.el (do-auto-fill): Give it a doc string.
1540 * button.el (make-text-button): Doc fix. (See bug#7881)
1542 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1544 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1545 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1547 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1548 Handle ?" and friends differently (e.g. don't use backrefs).
1550 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1552 * calc/calc.el (calc-default-power-reference-level)
1553 (calc-default-field-reference-level): New variables.
1554 * calc/calc-units.el (math-standard-units): Add dB and Np.
1555 (math-logunits): New variable.
1556 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1557 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1558 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1560 (math-find-base-units-rec): Add entry for ln(10).
1561 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1562 (calc-ul-prefix-help): New function.
1563 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1564 functions. Add keybindings for new units functions.
1566 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1568 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1569 rcirc buffers. (Bug#4940)
1571 2011-01-22 Glenn Morris <rgm@gnu.org>
1573 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1574 split out from copyright-update-year.
1575 (copyright-update): Don't mess with the GPL version if we don't own the
1576 copyright. Update license regexp, and remove no longer needed
1578 (copyright-fix-years): Use copyright-find-copyright.
1580 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1582 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1584 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1586 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1587 (lm): Rename to landmark.
1588 (lm-test-run): Rename to landmark-test-run.
1590 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1592 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1593 "Case sensitive" menu item.
1595 2011-01-22 Roland McGrath <roland@frob.com>
1597 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1598 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1600 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1602 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1604 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1606 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1607 Assume foo(bar) is a manpage reference rather than some unquoted
1610 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1613 Suggested by Flo <sensorflo@gmail.com>.
1615 2011-01-22 Glenn Morris <rgm@gnu.org>
1617 * progmodes/compile.el (compilation-error-regexp-alist):
1618 Fix custom type. (Bug#7812)
1620 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1622 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1623 allout-number-siblings, in keeping with what obtained due to
1624 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1626 (allout-before-change-handler): Better expose spots affected by
1629 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1631 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1633 2011-01-22 Phil Hagelberg <phil@evri.com>
1635 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1636 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1637 (pcmpl-ssh-config-hosts): New function.
1638 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1639 pcmpl-ssh-known-hosts.
1641 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1643 * calc/calc-undo.el (calc-undo): Autoload it.
1644 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1645 and autoload for `calc-undo'.
1646 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1647 * calc/calc-prog.el:
1648 * calc/calc-graph.el:
1649 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1651 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1653 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1654 keybindings to `calc-undo'.
1656 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1658 Don't mess with *temp*.
1659 * obsolete/spell.el: Move from textmodes/spell.el.
1661 * term.el (term-read-input-ring):
1662 * startup.el (display-startup-echo-area-message):
1663 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1664 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1665 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1668 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1670 * allout.el (allout-institute-keymap): Use fset instead of
1671 reapplying defalias.
1673 (allout-hotspot-key-handler): Check for non-control-modified
1674 bindings for hotspot characters if there are no control-modified
1677 * allout.el: Summary - migrate to defining allout mode using
1678 define-minor-mode instead of defun. Significantly clean-up
1679 internal keymap provisions, refactoring and, in the process,
1680 removing a lot of accumulated cruft.
1682 allout-mode-map is now a keymap by virtue of being a defalias to
1683 allout-mode-map-value, which contains the actual keymap structure.
1685 (allout-mode): Use define-minor-mode rather than defun.
1686 Remove now-unnecessary minor-mode setup activities from the body.
1687 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1688 entry will be '(allout-mode . allout-mode-map) - see
1689 allout-mode-map-value, below. Adjust docstring to track changes.
1690 (allout-minor-mode): Remove this defalias, now that we're using
1692 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1693 keymap is allout-mode-map-value, via defalias.
1694 (allout-mode-map-value): The variable holding the actual mode
1695 keymap structure, by virtue of defalias from allout-mode-map.
1696 (allout-compose-and-institute-keymap): Rename from
1697 allout-bind-keys, and including the binding-composition
1698 functionality of the former produce-allout-mode-map and
1699 allout-setup-mode-map.
1700 (allout-institute-keymap): Take over the "setup" part of the former
1701 allout-setup-mode-map. Reassign allout-mode-map-value value and
1702 update the defalias.
1703 (allout-command-prefix) (allout-prefixed-keybindings)
1704 (allout-unprefixed-keybindings):
1705 Use allout-compose-and-institute-keymap to process the bindings.
1706 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1707 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1708 user can customize if they want to use that binding.
1709 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1710 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1711 elided that, previously, instead of the one for \C-h.)
1712 (allout-hotspot-key-handler): Remove attempt to resolve the key
1713 through the literal key-string lookup on allout-keybindings-list.
1714 That probably hasn't worked for a Long Time, and removal of
1715 allout-keybindings-list further simplifies the keybindings situation.
1716 (allout-pre-command-business): Use allout-mode-map-value instead
1718 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1719 the bindings if they want to use a keybinding having a trailing
1720 \C-h. No deprecation needed since this feature was never in a release.
1721 (allout-keybindings-list): Remove. It's not been useful for a
1722 while. (See allout-hotspot-key-handler changes, above.)
1723 (produce-allout-mode-map): Remove. Consolidate into
1724 allout-compose-and-institute-keymap.
1725 (allout-mode-map-adjustments): Remove. No longer necessary with
1726 removal of allout-preempt-trailing-ctrl-h.
1727 (allout-setup-mode-map): Remove. Consolidate into
1728 allout-compose-and-institute-keymap and allout-institute-keymap.
1730 2011-01-20 Glenn Morris <rgm@gnu.org>
1732 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1734 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1736 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1738 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1740 * files.el (find-alternate-file, basic-save-buffer)
1741 (basic-save-buffer-2, revert-buffer, recover-file)
1742 (kill-buffer-ask, abort-if-file-too-large)
1743 (set-visited-file-name, write-file, backup-buffer)
1744 (basic-save-buffer, save-some-buffers):
1745 * dired-aux.el (dired-compress-file): Callers changed.
1747 2011-01-19 Glenn Morris <rgm@gnu.org>
1749 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1750 Also check the property status. (Bug#7861)
1752 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1754 * net/tramp.el (tramp-debug-message): Extend function exclude
1755 list. Use `regexp-opt'.
1757 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1760 highlighting doesn't spill over subsequent lines.
1762 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1763 keymap expression. Improve docstring.
1765 * electric.el (electric-indent-post-self-insert-function):
1766 Don't auto-indent for indent-to-left-margin, it's too often
1769 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1771 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1772 spaces if the frame was resized, so that the full visible buffer
1773 serves as canvas for strokes.
1775 2011-01-16 Glenn Morris <rgm@gnu.org>
1777 * info-xref.el (info-xref-docstrings): Replace cl function.
1778 Also skip directories.
1780 2011-01-16 Kevin Ryde <user42@zip.com.au>
1782 * info-xref.el: Version 3.
1783 (info-xref-check, info-xref-check-all): Move commentary details
1784 into docstrings for better visibility.
1785 Use compilation-mode for the results buffer.
1786 (info-xref-output, info-xref-output-error, info-xref-with-output)
1787 (info-xref-filename, info-xref-in-progress):
1788 New internals for this.
1789 (info-xref-check-list, info-xref-check-buffer)
1790 (info-xref-check-all-custom): Use those.
1791 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1792 (info-xref-output-heading): Rename from info-xref-filename-heading.
1793 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1794 (info-xref-filename-heading): Move to output managing section.
1795 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1796 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1797 (info-xref-subfile-p): Move to generic section with those two.
1798 (info-xref-check-node): New function split from
1799 info-xref-check-buffer, shared by info-xref-docstrings.
1800 (info-xref-goto-node-p): Move to a checking section with that func.
1801 (info-xref-unavail): New counter.
1802 (info-xref-check-node): Use it.
1803 (info-xref-with-output): Show count of unavailables at end of output.
1804 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1805 symlinks. Exclude .texi files. Exclude Emacs backup files.
1806 (info-xref-check-all-custom): Fix quietening viper-mode and
1807 gnus-registry-install -- use setq not let so as not to unbind
1810 2011-01-16 Juri Linkov <juri@jurta.org>
1812 * isearch.el (isearch-abort): Don't quit if search has
1813 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1815 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1817 * files.el (backup-buffer): Make last-resort backup file in
1818 .emacs.d (Bug#6953).
1820 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1821 make it with permission 700.
1823 2011-01-15 Kenichi Handa <handa@m17n.org>
1825 * mail/rmailmm.el (rmail-mime-insert-header):
1826 Set rmail-mime-coding-system to a cons whose car is the last coding
1827 system used to decode the header.
1828 (rmail-mime-find-header-encoding): New function.
1829 (rmail-mime-insert-decoded-text):
1830 Override rmail-mime-coding-system if it is a cons.
1831 (rmail-show-mime): If only a header part was decoded, find the
1832 coding system while ignoring mm-charset-override-alist.
1834 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1836 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1838 2011-01-15 Kenichi Handa <handa@m17n.org>
1840 * mail/rmailmm.el (rmail-mime-next-item)
1841 (rmail-mime-previous-item): Delete them.
1842 (rmail-mime-shown-mode): Recursively call for children.
1843 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1845 (rmail-mime-raw-mode): Recursively call for children.
1846 (rmail-mode-map): Change mapping of tab and backtab to
1847 forward-button and backward-button respectively.
1848 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1850 (rmail-mime-update-tagline): New function.
1851 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1852 body display is changed.
1853 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1854 (rmail-mime-image): Delete this button type.
1855 (rmail-mime-toggle): New button type.
1856 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1857 body display is changed. Change the save button label to "Save".
1858 Don't process show/hide button here.
1859 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1860 the body display is changed. Unconditionally call
1861 rmail-mime-insert for children.
1862 (rmail-mime-handle): Update `display' vector of the just inserted
1864 (rmail-mime-process): If mail-header-parse-content-type returns
1865 nil, use "text/plain" as the fallback type.
1866 (rmail-mime-insert): For raw-mode, recursively call
1867 rmail-mim-insert for children.
1868 (rmail-mime): Handle the case that the current buffer is not rmail
1869 buffer (e.g. in summary buffer).
1871 2011-01-15 Kenichi Handa <handa@m17n.org>
1873 * mail/rmailmm.el (rmail-mime-next-item)
1874 (rmail-mime-previous-item): Skip the body of a non-multipart
1875 entity if a tagline is shown.
1877 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1880 (tmm-prompt): Simplify.
1881 (tmm-add-prompt): Remove unused var `win'.
1883 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1884 to minor mode which used nil accidentally to mean "turn off".
1886 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1888 * net/tramp-sh.el (tramp-find-inline-compress)
1889 (tramp-get-inline-coding): Quote command after pipe symbol for
1890 local calls under W32. (Bug#6784)
1892 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1894 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1895 only when running under W32.
1897 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1899 * progmodes/grep.el (grep-compute-defaults): Quote the program
1900 file name after the pipe symbol in Grep templates. (Bug#6784)
1901 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1903 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1905 * buff-menu.el (Buffer-menu-buffer-list): New var.
1906 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1907 restricted buffer list is not lost on revert (Bug#7749).
1909 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1911 * net/ldap.el (ldap-search-internal): Discard stderr output.
1913 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1915 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1917 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1921 2011-01-15 Kenichi Handa <handa@m17n.org>
1923 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1924 part as a plain text.
1925 (rmail-mime-process-multipart): Set the default content-type to
1926 nil for unknown multipart subtypes (bug#7651).
1928 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * hexl.el (hexl-mode-old-*): Remove.
1931 (hexl-mode--old-var-vals): New var to replace them.
1932 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1933 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1934 Use them to set local vars (bug#7846).
1935 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1936 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1937 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1939 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1940 (smerge-resolve--normalize-re): New var.
1941 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1942 (smerge-resolve): Use them.
1943 * newcomment.el (comment-only-p): New function.
1944 (comment-or-uncomment-region): Use it.
1946 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1948 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1949 table, get the value before switching to the output buffer. (Bug#7733)
1951 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1955 2011-01-14 Kim F. Storm <storm@cua.dk>
1957 * emulation/cua-base.el (cua--init-keymaps):
1958 Remap exchange-point-and-mark in cua-global-keymap.
1960 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1962 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1965 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1967 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1969 (easy-menu-create-menu, easy-menu-convert-item-1):
1970 Use :label rather than nil for labels. Use `case'.
1971 Add :enable as alias for :active.
1972 (easy-menu-binding): Obey :label.
1974 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1976 Use run-mode-hooks for major mode hooks (bug#513).
1977 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1978 Rename from reftex-toc-map.
1979 (reftex-toc-mode): Use define-derived-mode.
1980 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1981 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1982 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1983 (reftex-select-label-mode, reftex-select-bib-mode):
1984 Use define-derived-mode.
1985 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1986 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1987 Move init into delcaration.
1988 (reftex-index-mode, reftex-index-phrases-mode):
1989 Use define-derived-mode.
1990 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1991 speedbar-syntax-table. Move init into declaration.
1992 (speedbar-mode-map): Rename from speedbar-key-map.
1993 Move init into declaration.
1994 (speedbar-file-key-map): Move init into declaration.
1995 (speedbar-mode): Use define-derived-mode.
1996 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1997 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1998 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1999 (chart-face-list): Move initialization into declaration.
2000 (chart-mode): Use define-derived-mode.
2001 * calculator.el (calculator-mode-map): Move init into declaration.
2002 (calculator-mode): Use define-derived-mode.
2004 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2005 work for nested comments.
2007 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2008 (prolog-use-prolog-tokenizer-flag): Change default when
2009 syntax-propertize can be used.
2010 (prolog-syntax-propertize-function): New var.
2011 (prolog-mode-variables): Move make-local-variable into `set'.
2012 Don't make comment-column local since we don't set it.
2013 Set comment-add (as it was in previous prolog.el). Use dolist.
2014 Set syntax-propertize-function.
2015 (prolog-mode, prolog-inferior-mode):
2016 Call prolog(-inferior)-menu directly, not through the mode-hook.
2017 (prolog-buffer-module, prolog-indent-level)
2018 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2019 (prolog-comment-limits, prolog-goto-comment-column):
2020 Use line-(end|beginning)-position.
2021 (prolog-build-prolog-command): Tighten up regexp.
2022 (prolog-consult-compile): Move make-local-variable into `set'.
2023 (prolog-consult-compile-filter, prolog-goto-next-paren)
2024 (prolog-help-on-predicate, prolog-clause-info)
2025 (prolog-mark-predicate): Don't let+setq.
2026 (prolog-indent-line): Use indent-line-to.
2027 Only call prolog-goto-comment-column if necessary.
2028 (prolog-indent-level): Use bobp.
2029 (prolog-first-pos-on-line): Remove, not used any more.
2030 (prolog-in-string-or-comment): Use syntax-ppss if available.
2031 (prolog-help-on-predicate): Use read-string.
2032 (prolog-goto-predicate-info): Simplify.
2033 (prolog-read-predicate): Use `default' rather than `initial'.
2034 (prolog-temporary-file): Use make-temp-file to close a security hole.
2035 (prolog-toggle-sicstus-sd): New command.
2036 (prolog-electric-underscore, prolog-variables-to-anonymous):
2037 Use dynamic-scoping as it was meant.
2038 (prolog-menu): Move menu definitions to top-level.
2039 Use a toggle-button for Sicstus's source debugger.
2040 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2042 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2043 Move other menu definition to top-level.
2045 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2047 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2048 name. Keep original document's directory as default-directory
2050 (doc-view-initiate-display): Fall back to normal mode when
2051 doc-view-mode cannot be enabled, also when extracting the document
2052 text into a separate buffer (bug#6446).
2054 * simple.el (shell-command): Don't error out if shell command
2055 buffer contains text with non-nil read-only property when erasing
2058 2011-01-13 Kim F. Storm <storm@cua.dk>
2060 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2061 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2062 items when cycling through the matches.
2064 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2066 * dired-x.el (dired-omit-verbose): New defcustom that allows
2067 disabling the omit messages.
2068 (dired-omit-expunge): Use it.
2070 2011-01-13 Christian Ohler <ohler@gnu.org>
2072 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2074 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2076 * font-lock.el (font-lock-verbose): Default to nil.
2078 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2080 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2081 (compose-mail): New arg RETURN-ACTION.
2082 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2084 * mail/sendmail.el (mail-return-action): New var.
2085 (mail-mode): Make it buffer-local.
2086 (mail-bury): Obey it. Move special Rmail window handling to
2088 (mail, mail-setup): New arg RETURN-ACTION.
2089 (sendmail-user-agent-compose): Move from simple.el.
2091 * mail/rmail.el (rmail-mail-return): New function.
2092 (rmail-start-mail): Pass it to compose-mail.
2094 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2096 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2097 menus. Add menu item for customize-themes.
2099 * cus-theme.el (customize-themes):
2100 * emacs-lisp/package.el (package--list-packages):
2101 Use switch-to-buffer.
2103 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2105 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2107 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * progmodes/prolog.el: Fix up coding convention and such.
2110 (prolog-indent-width): Use the same default as in
2111 previous prolog.el rather than tab-width which depends on which buffer
2112 is current when the file is loaded.
2113 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2115 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2116 (prolog-known-systems): Remove.
2117 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2118 Move initialization into declaration.
2119 (prolog-mode-map): Move initialization into declaration.
2120 Remove system-specific mode-map vars, since they referred to the same
2122 (prolog-mode-variables): Obey the user's preference w.r.t
2123 adaptive-fill-mode. Prefer symbol-value to `eval'.
2124 (prolog-mode-keybindings-edit): Add compatibility bindings.
2125 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2126 (mercury-mode-map): New var.
2127 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2128 (prolog-ensure-process, prolog-process-insert-string)
2129 (prolog-consult-compile): Use with-current-buffer.
2130 (prolog-guess-fill-prefix): Simplify data flow.
2131 (prolog-replace-in-string): New function to use instead of
2133 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2134 (prolog-uncomment-region): Use `uncomment-region' when available.
2135 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2136 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2137 of int-to-char and char-to-int.
2138 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2140 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2142 * progmodes/prolog.el: Replace by a whole new file.
2144 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2147 (declare-function, undefined, insert-for-yank)
2148 (replace-regexp-in-string): Follow checkdoc's recommendations.
2150 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2153 refreshing the diary buffer.
2155 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2157 * allout.el: Add 2011 to the file copyright.
2158 (allout-encrypt-string): Prevent encryption from adding an extra
2159 newline at the end of the topic body.
2160 (allout-version): Increment to 2.3.
2162 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2164 * net/dbus.el (dbus-unregister-service): Complete doc.
2165 Fix call of dbus-error signal.
2166 (dbus-register-property): Use `dont-register' keyword.
2168 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2170 * net/dbus.el (dbus-unregister-service): Translate returned
2171 integer into a symbol.
2172 (dbus-register-property): Use `dbus-register-service' to do the
2175 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2177 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2178 Suggested by Joakim Verona.
2180 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2182 * wid-edit.el (visibility): Replace :on-image and :off-image
2183 widget properties with :on-glyph and :off-glyph, for consistency
2184 with the `visibility' widget.
2185 (widget-toggle-value-create, widget-visibility-value-create):
2186 Merge into a single function `widget-toggle-value-create'.
2188 * cus-edit.el (custom-variable-value-create, custom-visibility)
2189 (custom-face-edit-value-create, custom-face-value-create):
2190 Replace :on-image and :off-image widget properties with :on-glyph and
2191 :off-glyph, for consistency with the `visibility' widget.
2193 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2195 * net/ldap.el (ldap-search-internal): Don't use eval.
2197 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2199 * subr.el (read-char-choice): Use read-key.
2201 * custom.el (custom-safe-themes): Rename from
2202 custom-safe-theme-files. Add :risky tag.
2203 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2204 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2206 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2208 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2209 from Search and add a label to Undo.
2211 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2212 inappropriate buttons and adding :vert-only tags.
2214 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2215 removal of Help tool-bar button. Remove Undo button for space.
2217 * info.el (info-tool-bar-map): Add :vert-only tags.
2219 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2221 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2222 image backend support. Either of them is fine.
2224 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2226 * subr.el (y-or-n-p): Doc fix.
2228 * custom.el (custom-safe-theme-files): New defcustom.
2229 (custom-theme-load-confirm): New function.
2230 (load-theme): Load theme using `load', confirming with
2231 custom-theme-load-confirm if necessary.
2233 * subr.el (read-char-choice): New function, factored out from
2234 dired-query and hack-local-variables-confirm.
2236 * dired-aux.el (dired-query):
2237 * files.el (hack-local-variables-confirm): Use it.
2239 * dired-aux.el (dired-compress-file):
2240 * files.el (abort-if-file-too-large, find-alternate-file)
2241 (set-visited-file-name, write-file, backup-buffer)
2242 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2243 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2244 Use new format string args for y-or-n-p and yes-or-no-p.
2246 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2248 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2249 [gcc-include]: Tighten file name match, add match for column
2251 [gnu]: Remove unused group.
2253 2011-01-08 Glenn Morris <rgm@gnu.org>
2255 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2257 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2259 2011-01-07 Sam Steingold <sds@gnu.org>
2261 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2262 the `explicit-shell-file-name' because that is the
2263 non-interactive shell.
2265 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2267 * subr.el (y-or-n-p): Accept format string args.
2269 2011-01-07 Glenn Morris <rgm@gnu.org>
2271 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2273 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2275 * allout.el (allout-back-to-current-heading): Ensure return to
2276 the visible containing topic, rather than a collapsed one.
2277 (allout-view-change-hook): Remove hook that was deprecated long ago.
2278 (allout-exposure-change-hook): Remove documentation remarks
2279 concerning removed allout-view-change-hook.
2280 (allout-flag-region): Remove invocation of and documentation
2281 remarks concerning allout-view-change-hook.
2283 2011-01-06 Glenn Morris <rgm@gnu.org>
2285 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2286 (vc-bzr-annotate-extract-revision-at-line):
2287 Handle authors with embedded spaces. (Bug#7792)
2289 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2291 * doc-view.el (doc-view-image-width): New variable.
2292 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2293 backend for PNG images, and do dynamic rescaling instead of
2294 reconverting the whole doc.
2296 2011-01-05 Glenn Morris <rgm@gnu.org>
2298 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2300 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2302 * allout.el: Reconcile with changes in line movement behavior for
2303 long text lines that cross more than a single physical window
2304 line, ie when truncate-lines is nil.
2305 (allout-next-visible-heading): Provide for change in line-move
2306 behavior on long lines when truncate-lines is nil. In that case,
2307 line-move can wind up on the same textual line when it moves to
2308 the next window line, and moving to the bullet position after the
2309 move yields zero advancement. Add logic to detect and compensate
2310 for the lack of progress.
2311 (allout-current-topic-collapsed-p): move-end-of-line respect for
2312 field boundaries is different when operating with body lines
2313 shorter than window width versus ones greater than window width,
2314 which can yield false negatives in this function. Avoid
2315 difference by applying move-end-of-line while field-text-motion is
2318 2011-01-04 Glenn Morris <rgm@gnu.org>
2320 * textmodes/rst.el (rst-compile-toolsets):
2321 Add pdf and s5 to option alist.
2323 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2325 * net/dbus.el (dbus-register-property): Add optional parameter
2326 dont-register-service. Updated docstring accordingly.
2328 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2330 * textmodes/rst.el (rst-compile-pdf-preview)
2331 (rst-compile-slides-preview): Remove extra line.
2333 2011-01-04 Glenn Morris <rgm@gnu.org>
2335 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2336 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2337 default to `prog' without a .py extension.
2338 (rst-compile-pdf-preview, rst-compile-slides-preview):
2339 Use program names from rst-compile-toolsets, rather than hard-coding.
2340 (rst-portable-mark-active-p): Fix presumed typo.
2342 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2344 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2345 libpng versions both before and after 1.4.0. (Bug#7716)
2347 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2349 * time.el (display-time-mode): Mention display-time-interval in
2350 the doc string. (Bug#7713)
2352 2011-01-02 Kenichi Handa <handa@m17n.org>
2354 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2355 condition-case and return an error message string if something
2357 (rmail-show-mime): Adjust for the above change. Insert the
2358 header by rmail-mime-insert-header.
2360 2011-01-02 Kenichi Handa <handa@m17n.org>
2362 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2363 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2364 (rmail-mime-mbox-buffer)
2365 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2366 (rmail-mime-entity): Argument changed. All codes handling an
2367 entity object are changed.
2368 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2370 (rmail-mime-entity-children, rmail-mime-entity-handler)
2371 (rmail-mime-entity-tagline): New functions.
2372 (rmail-mime-message-p): New function.
2373 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2374 (rmail-mime-entity-segment, rmail-mime-next-item)
2375 (rmail-mime-previous-item, rmail-mime-shown-mode)
2376 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2377 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2378 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2380 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2381 (rmail-mime-insert-decoded-text): New function.
2382 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2383 (rmail-mime-insert-image): Argument changed. Caller changed.
2384 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2385 (rmail-mime-set-bulk-data): New function.
2386 (rmail-mime-insert-bulk): Argument changed.
2387 (rmail-mime-multipart-handler): Return t.
2388 (rmail-mime-process-multipart): Argument changed.
2389 Handle "multipart/alternative" here.
2390 (rmail-mime-process): Argument changed.
2391 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2392 (rmail-mime-insert): Argument changed. Handle raw display mode.
2393 (rmail-mime): Argument changed. Handle toggling of raw display
2395 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2396 rmail-mime-view-buffer.
2397 (rmail-insert-mime-forwarded-message): Likewise.
2398 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2400 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2401 non-nil, handle the header in rmail-show-mime-function.
2403 2011-01-02 Leo <sdl.web@gmail.com>
2405 * help-fns.el (describe-variable): Fix previous change.
2407 2011-01-02 Juri Linkov <juri@jurta.org>
2409 * isearch.el (isearch-lazy-highlight-error): New variable.
2410 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2411 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2412 to the current value of `isearch-error' (Bug#7468).
2414 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2416 * help-fns.el (describe-variable): Don't emit trailing whitespace
2419 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2421 * textmodes/rst.el (rst-compile-pdf-preview)
2422 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2424 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2426 * emulation/edt-mapper.el: Override mapping of function keys so
2427 that the later call to read-key-sequence works.
2429 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2431 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2432 Unix EOLs. (Bug#7589)
2434 2011-01-02 Leo <sdl.web@gmail.com>
2436 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2437 if point is not behind eshell-last-output-end (Bug#7585).
2439 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * files.el (file-local-variables-alist):
2442 Make permanent-local (bug#7767).
2444 2011-01-02 Glenn Morris <rgm@gnu.org>
2446 * version.el (emacs-copyright): Set short copyright year to 2011.
2448 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2450 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2451 an existing temp buffer. (Bug#7746)
2453 2011-01-02 Glenn Morris <rgm@gnu.org>
2455 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2456 multiple addresses. (Bug#7760)
2458 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2460 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2461 do-auto-fill if everything points back to allout-auto-fill.
2462 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2463 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2465 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2467 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2470 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2472 * doc-view.el (doc-view-set-doc-type): New function refactored
2474 (doc-view-fallback-mode): New function.
2475 (doc-view-mode): Use it.
2476 (doc-view-mode-maybe): New function that checks if doc-view-mode
2477 can be used and falls back to the next best mode otherwise.
2479 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2480 DVI, OpenDocument, and MS Office files.
2482 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2484 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2486 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2488 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2489 on a copy of auto-mode-alist, because that deletes with side
2492 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2494 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2495 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2496 fallback instead of hard coding fundamental mode.
2498 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2500 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2501 Office) files also for searching.
2503 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2505 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2506 Office) files. Not yet enabled via auto-mode-list.
2507 (doc-view-unoconv-program): New custom variable.
2508 (doc-view-mode-p): Handle new odf document type.
2509 (doc-view-odf->pdf): New conversion function.
2510 (doc-view-convert-current-doc): Call it for odf files.
2511 (doc-view-mode): Recognize newly supported file extensions.
2513 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2515 * net/tramp.el (tramp-default-method-alist)
2516 (tramp-default-user-alist)
2517 (tramp-local-host-regexp, tramp-prefix-domain-format)
2518 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2521 * net/tramp-gvfs.el:
2523 * net/tramp-imap.el:
2525 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2526 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2528 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2530 * saveplace.el (save-place-alist-to-file): Save list sorted and
2531 pretty-printed, so that it is mergeable by line-based text merging,
2532 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2534 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2536 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2537 (allout-mode): Argument "toggle" => "force".
2538 Refine the docstring.
2539 Remove special provisions for reactivation, besides the 'force'
2541 Consolidate layout provisions coce directly into the activation
2542 condition branch, now that we've removed those provisions.
2543 (allout-unload-function): Explicitly activate the mode before
2544 deactivating, if it's initially deactivated.
2545 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2546 warnings for version of function used only where
2547 set-buffer-multibyte is unavailable.
2549 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2551 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2552 are handled by the menu-bar entries. As before, don't use
2553 :visibile to avoid changing the tool-bar.
2555 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2557 * net/secrets.el (secrets-delete-alias): New defun.
2559 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2561 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2562 methods, otherwise ~/.ssh/config would be ignored.
2564 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * emacs-lisp/rx.el: Make it a superset of sregex.
2567 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2568 of args, add `regex' alias.
2569 (rx-info): Add arg to distinguish head and standalone forms.
2570 (rx-check, rx-form): Pass the corresponding arg.
2572 (rx-repeat): Make it work for any number of args.
2573 (rx-syntax): Make it accept syntax chars as is.
2574 * obsolete/sregex.el: Move from emacs-lisp/.
2575 * emacs-lisp/re-builder.el: Remove sregex support.
2576 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2578 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2580 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2581 PRIMARY first, then the clipboard. (Bug#7699)
2583 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2585 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2588 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2590 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2591 .emacs.elc (Bug#7530).
2593 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2594 image spec (Bug#7480).
2596 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2598 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2599 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2602 2010-12-20 Leo <sdl.web@gmail.com>
2604 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2605 always be performed (Bug#7680).
2607 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2609 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2610 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2613 * color.el: Move from gnus/.
2615 * vc/diff.el (diff-better-file-name): Function deleted.
2616 abbreviating file names causes problems with shell-quote-argument.
2617 (diff-no-select): Just use expand-file-name.
2619 * tool-bar.el (tool-bar--image-expression): New function.
2620 (tool-bar-local-item, tool-bar--image-exp): Use it.
2621 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2622 Use :enable instead of :visible to avoid changing the tool-bar
2623 configuration unnecessarily.
2625 * info.el (info-tool-bar-map): Add separators.
2627 2010-12-17 Ken Brown <kbrown@cornell.edu>
2629 * loadup.el: Use version numbers in Cygwin build.
2631 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2633 * ido.el (ido-file-internal): Ask for confirmation before
2634 overwriting an existing file (Bug#1238).
2636 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2638 * tool-bar.el (tool-bar-setup): Add separators.
2640 * menu-bar.el (featurep): Use menu-bar-separator.
2642 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2644 Migrate allout encryption provisions from pgg to epg.
2646 * allout.el (allout-toggle-current-subtree-encryption)
2647 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2648 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2649 for simpler universal argument interpretation.
2650 (allout-toggle-subtree-encryption): Adjust docstring to describe
2651 changed encryption provisions. Change fetch-pass to keymode-cue, for
2652 simpler universal argument interpretation. Remove provisions for
2653 handling key type and identity - they'll all be within
2654 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2655 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2656 for keypair recipients (universal argument > 1) and, in addition,
2657 associating the specified recipients with the outline (universal
2658 argument > 4) using a file local variable setting for
2659 'epa-file-encrypt-to'.
2660 Require epa, for recipients handling.
2661 Change how regexp filtering elements are named.
2662 Describe the problem with caching of incorrect symmetric-decryption
2664 Use the epa-passphrase-callback-function, in case the user is using
2666 Support saving of the selected keypair recipients when invoked with a
2668 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2670 Establish epg-context with armoring and default epg-protocol.
2671 Remove all passphrase cache, verification, and hinting code.
2672 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2673 No longer used, delete.
2674 (allout-mode): Adjust docstring to describe changed encryption
2675 provisions. Describe the problem with caching of incorrect
2676 symmetric-decryption keys.
2677 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2678 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2679 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2680 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2683 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2685 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2686 key selection prompt; make 'silent as default (Bug#7487).
2688 2010-12-16 Leo <sdl.web@gmail.com>
2690 * eshell/eshell.el (eshell-directory-name):
2691 Use locate-user-emacs-file (Bug#7578).
2693 2010-12-15 Glenn Morris <rgm@gnu.org>
2695 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2697 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2698 Scott Evans <gse@antisleep.com>
2700 * rect.el (rectange--default-line-number-format)
2701 (rectangle-number-line-callback): New functions.
2702 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2704 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2706 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2707 Delete unused variables.
2708 (move-to-column-force): Remove function obsolete since 21.2.
2710 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2712 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2713 (tramp-handle-insert-file-contents): Do not set permanent-local
2716 * net/tramp-cache.el (tramp-persistency-file-name):
2717 Use `locate-user-emacs-file' if fboundp.
2719 * net/tramp-sh.el (tramp-methods): Add "ksu".
2720 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2723 2010-12-14 Glenn Morris <rgm@gnu.org>
2725 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2726 (find-tag-marker-ring): Declare.
2727 (js-find-symbol): Require etags.
2729 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2731 (mail-alias-file): Don't autoload. Doc fix.
2732 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2733 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2734 Mark as obsolete, and risky.
2735 (mail-setup): Simplify.
2737 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2738 * mail/sendmail.el (build-mail-aliases): Update autoload.
2740 * dired.el (dired-trivial-filenames, dired-chown-program)
2741 (dired-auto-revert-buffer): Remove autoload cookies.
2742 * mail/sendmail.el (mail-recover-1): Require 'dired.
2744 * dired.el (dired-subdir-switches, dired-chown-program)
2745 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2746 Make into defcustoms.
2747 (dired-chown-program): Simplify initialization.
2749 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2751 2010-12-13 Romain Francoise <romain@orebokech.com>
2753 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2755 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2757 * net/netrc.el (netrc-point-at-eol): Remove the unused
2758 netrc-point-at-old and netrc-bound-and-true-p bindings.
2759 (netrc-parse): Cache the netrc contents.
2761 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2763 * subr.el (posn-col-row): Evaluate header-line-format in the
2764 context of the POSITION window's buffer.
2766 2010-12-13 Glenn Morris <rgm@gnu.org>
2768 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2769 (with-silent-modifications): Doc fixes.
2771 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2773 * net/tramp.el (tramp-action-password, tramp-process-actions):
2774 Revert previous from. Use `save-restriction'.
2776 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2778 * calendar/diary-lib.el (diary-list-sexp-entries):
2779 Handle case of no newline at end of file. (Bug#7536)
2781 2010-12-13 Glenn Morris <rgm@gnu.org>
2783 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2785 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2787 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2788 (tramp-process-actions): Do not widen.
2790 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2791 Protect buffer-modified value. (Bug#7557)
2793 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2795 * log-edit.el (log-edit-changelog-entries):
2796 Regexp quote filename. (Bug#7505)
2798 2010-12-13 Tom Breton <tehom@panix.com>
2800 * cus-edit.el (custom-save-all):
2801 Bind print-length and print-level to nil. (Bug#7581)
2803 2010-12-13 Glenn Morris <rgm@gnu.org>
2805 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2806 Run hooks to update menu contents. (Bug#7586)
2808 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2809 file names, for the sake of MS Windows. (Bug#7588)
2811 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2814 empty lines without a leading space.
2816 2010-12-13 Leo <sdl.web@gmail.com>
2818 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2819 while mapping over marks (Bug#6810).
2821 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2823 * image-dired.el (image-dired-db-file)
2824 (image-dired-temp-image-file, image-dired-gallery-dir)
2825 (image-dired-temp-rotate-image-file): Set default values relative
2826 to image-dired-dir (Bug#7518).
2828 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2830 * format.el (format-decode-run-method): Pass args FROM and TO, not
2831 point-min and point-max, to shell-command-on-region (Bug#7488).
2833 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2835 * frame.el (blink-cursor-mode): Make default t for ns.
2837 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2839 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2841 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2843 * comint.el (comint-dynamic-list-input-ring)
2844 (comint-dynamic-complete-filename)
2845 (comint-replace-by-expanded-filename)
2846 (comint-dynamic-simple-complete)
2847 (comint-dynamic-list-filename-completions)
2848 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2850 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2853 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2855 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2858 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2860 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2863 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2865 * files.el (file-relative-name): Handle UNC file names on
2866 DOS/Windows. (Bug#4674)
2868 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2870 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2871 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2872 (epg-context-set-passphrase-callback): Mention that the callback
2873 is not called when used with GnuPG 2.x.
2875 2010-12-13 Glenn Morris <rgm@gnu.org>
2877 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2878 Ensure ps-footer-font-size-internal is initialized.
2879 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2881 2010-12-13 Kenichi Handa <handa@m17n.org>
2883 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2884 within condition-case.
2885 (rmail-show-mime): Don't use condition-case.
2886 (rmail-search-mime-message): New function.
2887 (rmail-search-mime-message-function): Set to
2888 rmail-search-mime-message.
2890 2010-12-13 Leo <sdl.web@gmail.com>
2892 * ido.el (ido-common-initialization): New function. (bug#3274)
2894 (ido-completing-read): Call it.
2896 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2898 * bookmark.el (bookmark-name-from-full-record): Rename back to
2899 this original name from `bookmark-name-from-record' reverting part
2900 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2901 As Drew Adams pointed out, there was no reason to cause churn for
2902 third-party callers. (Bug#7609)
2904 2010-12-12 Alan Mackenzie <acm@muc.de>
2906 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2907 template arglist, check that the current language supports this.
2909 2010-12-11 Glenn Morris <rgm@gnu.org>
2911 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2912 state of the file matches. (Bug#7544)
2913 (vc-bzr-register, vc-bzr-checkin)
2914 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2915 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2917 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2919 2010-12-11 Karel Klíč <kklic@redhat.com>
2921 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2923 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2925 Derive from prog-mode, use derived-mode-p, and fix up various
2926 minor style issues in lisp/progmodes.
2928 * progmodes/vhdl-mode.el (vhdl-mode):
2929 * progmodes/verilog-mode.el (verilog-mode):
2930 * progmodes/vera-mode.el (vera-mode):
2931 * progmodes/sql.el (sql-mode):
2932 * progmodes/scheme.el (scheme-mode):
2933 * progmodes/perl-mode.el (perl-mode):
2934 * progmodes/octave-inf.el (inferior-octave-mode):
2935 * progmodes/autoconf.el (autoconf-mode):
2936 * progmodes/m4-mode.el (m4-mode):
2937 * progmodes/inf-lisp.el (inferior-lisp-mode):
2938 * progmodes/idlwave.el (idlwave-mode):
2939 * progmodes/icon.el (icon-mode):
2940 * progmodes/idlw-help.el (idlwave-help-mode):
2941 * progmodes/dcl-mode.el (dcl-mode):
2942 * progmodes/idlw-shell.el (idlwave-shell-mode):
2943 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2944 (ebrowse-member-mode, ebrowse-electric-position-mode):
2945 Use define-derived-mode.
2947 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2948 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2949 (xscheme-debugger-mode-p, xscheme-send-string-1):
2950 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2951 (tcl-load-file, tcl-restart-with-file):
2952 * progmodes/ps-mode.el (ps-run-running):
2953 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2954 * progmodes/js.el (js--get-all-known-symbols):
2955 * progmodes/inf-lisp.el (inferior-lisp-proc):
2956 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2957 (idlwave-template, idlwave-update-buffer-routine-info)
2958 (idlwave-update-current-buffer-info)
2959 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2960 (idlwave-scan-class-info, idlwave-fix-keywords)
2961 (idlwave-list-buffer-load-path-shadows):
2962 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2963 (idlwave-toolbar-remove):
2964 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2965 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2966 (idlwave-shell-menu-def):
2967 * progmodes/idlw-complete-structtag.el
2968 (idlwave-prepare-structure-tag-completion):
2969 * progmodes/gud.el (gud-set-buffer):
2970 * progmodes/f90.el (f90-backslash-not-special):
2971 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2973 * progmodes/xscheme.el (xscheme-start)
2974 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2975 * progmodes/which-func.el (which-function):
2976 * progmodes/vhdl-mode.el (vhdl-set-style):
2977 * progmodes/verilog-mode.el (verilog-set-compile-command)
2978 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2979 (verilog-set-define, verilog-auto-reeval-locals):
2980 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2981 * progmodes/simula.el (simula-mode):
2982 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2983 * progmodes/python.el (python-check, python-mode):
2984 * progmodes/prolog.el (prolog-mode-variables):
2985 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2986 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2987 * progmodes/delphi.el (delphi-mode):
2988 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2989 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2990 (c-font-lock-init): Move make-local-variable to their setq.
2992 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2993 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2995 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2996 (sh-set-shell): Don't set require-final-newline since it's already done
2998 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2999 since we never set it.
3000 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3001 Use read-string and standard prompt.
3002 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3003 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3004 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3005 (meta-common-mode-map): Rename from meta-mode-map.
3006 Remove C-m binding, which is a user preference, not mode specific.
3007 (meta-common-mode): New major mode; replace meta-common-initialization.
3008 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3009 around with font-lock.
3010 * progmodes/etags.el (select-tags-table-mode):
3011 Derive from special-mode.
3012 * progmodes/octave-mod.el (octave-mode):
3013 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3014 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3015 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3016 Let define-derived-mode do its job.
3017 * progmodes/cpp.el (cpp-edit-mode-map):
3018 Move initialization into declaration.
3019 (cpp-edit-mode): Use define-derived-mode.
3020 (cpp-edit-load): Use derived-mode-p.
3021 * progmodes/mixal-mode.el (mixal-mode):
3022 * progmodes/f90.el (f90-mode):
3023 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3024 require-final-newline since prog-mode does it already.
3025 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3026 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3027 * progmodes/antlr-mode.el: Require cc-mode upfront.
3028 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3030 (antlr-directory-dependencies, antlr-show-makefile-rules):
3032 (antlr-language-option): Don't assume point-min==1.
3033 (antlr-mode): Use define-derived-mode.
3034 * progmodes/ada-mode.el: Use derived-mode-p.
3035 (ada-mode): Use define-derived-mode.
3036 Use hack-local-variables-hook.
3038 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3041 (texinfo-mode): Don't disable adaptive-fill-mode.
3042 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3043 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3044 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3045 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3046 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3047 (texinfo-insert-@quotation, texinfo-insert-@samp)
3048 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3049 (texinfo-insert-@uref): Use define-skeleton.
3050 (texinfo-insert-@-with-arg): Delete.
3052 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3054 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3055 nil, do quote archive member names. (Bug#6144)
3057 2010-12-10 Glenn Morris <rgm@gnu.org>
3059 * files.el (diff-no-select): Declare.
3061 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3062 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3064 * comint.el (comint-input-ring-file-name): Doc fix.
3066 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3068 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3070 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3071 Use them instead of `nil' and `>', respectively.
3072 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3074 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3075 and menu-bar-positive-p instead of `nil' and `>', respectively.
3078 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3080 * whitespace.el (whitespace-newline-mode): Code fix.
3082 2010-12-09 Glenn Morris <rgm@gnu.org>
3084 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3085 Rename functions without commas, update callers.
3087 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3089 * whitespace.el (whitespace-cleanup-region):
3090 Clean up spaces before tabs. (Bug#7582)
3092 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3094 * bookmark.el: Adjust parameter names and doc strings to resolve
3095 confusion over whether "bookmark" meant a bookmark name or a
3096 bookmark record. Along the way, shorten one function's name for
3097 similar reasons. (Issue #7548)
3098 (bookmark-name-from-record): New name for
3099 `bookmark-name-from-full-record'. All callers changed.
3100 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3101 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3102 (bookmark-get-annotation, bookmark-set-annotation)
3103 (bookmark-get-filename, bookmark-set-filename)
3104 (bookmark-get-position, bookmark-set-position)
3105 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3106 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3107 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3108 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3109 Rename `bookmark' parameter to `bookmark-name-or-record', to
3110 clearly show its role, and shorten or adjust doc strings accordingly.
3111 (bookmark-set-name): Same, and pass the parameter directly to
3112 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3113 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3114 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3115 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3116 and in some cases shorten doc string accordingly.
3117 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3118 and `new-name', and adjust an internal variable to avoid confusion.
3119 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3120 parameter in doc string.
3122 2010-12-08 Glenn Morris <rgm@gnu.org>
3124 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3125 from gdb's history file. (Bug#7575)
3127 * mail/emacsbug.el (report-emacs-bug):
3128 Try to handle some other mail clients.
3130 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3132 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3133 Use string-prefix-p.
3134 (file-name-version-regexp): New var.
3135 (file-name-sans-versions):
3136 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3137 (jka-compr-get-compression-info): Use dolist.
3138 (jka-compr-compression-info-list): Don't bother specifying
3139 version/backup regexps.
3141 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3143 * simple.el (just-one-space): Make argument n default to 1 if
3146 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * electric.el (electric-indent-post-self-insert-function):
3149 Delete trailing newlines even if we don't reindent.
3151 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * minibuffer.el (completion-at-point): Remove the `arg'.
3154 * bindings.el (complete-symbol): Move back from minibuffer.el.
3156 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3158 * simple.el (just-one-space): Delete newlines for negative arg.
3160 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3163 (ansi-color-filter-apply): Simplify.
3164 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3166 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3168 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3170 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3172 * dired.el (dired-use-ls-dired): Set default to a special
3173 "unspecified" value.
3174 (dired-insert-directory): When called the first time, check
3175 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3177 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3179 * replace.el: Add "collect" feature to occur.
3180 (occur-collect-regexp-history): New var.
3181 (occur-read-primary-args): Return a replace string for nlines,
3183 (occur): Extend the meaning of nlines.
3185 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3188 (which-func-update-1): Distinguish symbols from strings.
3189 (which-function): Stay within 80 columns.
3191 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3195 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3197 (comment-style): Use comment-styles's docs to describe values.
3199 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3201 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3202 and ns-show-prefs (Bug#7535).
3204 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3205 bindings (Bug#7535).
3207 2010-12-03 Glenn Morris <rgm@gnu.org>
3209 * nxml/nxml-mode.el: Require rng-nxml.
3210 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3211 Remove declarations.
3213 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3214 * nxml/rng-nxml.el, nxml/rng-valid.el:
3215 Remove leading `*' from defcustom docs.
3217 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3218 (normal-top-level-add-to-load-path, tty-handle-args):
3219 Convert comments to basic doc-strings.
3221 * net/browse-url.el (browse-url-url-at-point)
3222 (browse-url-default-browser): Remove autoload cookies.
3224 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3225 Remove more undefined cl functions.
3227 * vc/diff.el (diff-sentinel): Make new arguments optional.
3228 * ibuf-ext.el (diff-sentinel): Update declaration.
3230 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3232 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3233 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3234 (epg-context-set-passphrase-callback): Mention that the callback
3235 is not called when used with GnuPG 2.x.
3237 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3239 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3240 (tramp-file-name-port): Check also for `tramp-default-port'.
3241 (tramp-get-connection-name): New defun.
3242 (tramp-get-connection-process): Use it.
3243 (tramp-debug-message): Extend function exclude list.
3244 (tramp-drop-volume-letter): Fix doc string.
3246 * net/tramp-cmds.el: Remove solved todo item.
3249 * net/tramp-gvfs.el:
3251 * net/tramp-imap.el:
3252 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3253 and `tramp-default-user-alist', respectively.
3255 * net/tramp-gw.el (tramp-gw-open-connection):
3256 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3258 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3259 `tramp-file-name-port'.
3261 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3262 and "psftp". Exchange "%k" marker with options.
3263 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3264 Compute size of link target.
3265 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3266 `tramp-current-*' up due to gateway methods. Optimize computing of
3267 copy arguments. Use `tramp-get-connection-name' and
3268 `tramp-get-connection-buffer'. Improve debug messages.
3269 (tramp-compute-multi-hops): Remove port determination.
3270 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3272 * net/trampver.el: Update release number.
3274 2010-12-02 Glenn Morris <rgm@gnu.org>
3276 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3277 Avoid infinite loop over windows. (Bug#7492)
3279 * progmodes/flymake.el (flymake-check-file-limit):
3280 Allow nil to mean "no limit".
3281 (flymake-check-patch-master-file-buffer): Update for above change.
3282 Allow a .tex file-name extension to be optional.
3283 (flymake-master-tex-init): Also match \include statements.
3285 2010-11-30 Sam Steingold <sds@gnu.org>
3287 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3288 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3289 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3290 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3291 define-derived-mode').
3292 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3293 users who want to call `nxml-parent-document-set'.
3295 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3297 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3298 stand-alone lines, since that is handled by log-edit-match-to-eoh
3301 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3303 * dired.el (dired-get-filename): Replace backslashes with slashes
3304 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3305 * locate.el (locate-default-make-command-line): Don't consider
3306 drive letter and root directory part of
3307 `directory-listing-before-filename-regexp'. (Bug#7308)
3308 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3310 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3313 of :smie-open/close-alist.
3314 (smie-next-sexp): Make it accept a "start token" as argument.
3315 (smie-indent-keyword): Be careful not to misidentify tokens that span
3316 more than one line, as empty lines. Add argument `token'.
3318 2010-11-27 Kenichi Handa <handa@m17n.org>
3320 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3321 multipart subtypes, insert all as usual.
3323 * mail/rmail.el: Require rfc2047.
3325 2010-11-27 Kenichi Handa <handa@m17n.org>
3327 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3328 (rmail-mime-entity-disposition)
3329 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3330 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3331 (rmail-mime-save): Handle the case that the button's `data' is a
3333 (rmail-mime-insert-text): New function.
3334 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3335 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3336 (rmail-mime-insert-bulk): New function mostly copied from the old
3337 rmail-mime-bulk-handler.
3338 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3339 (rmail-mime-process-multipart): New function mostly copied from
3340 the old rmail-mime-multipart-handler.
3341 (rmail-mime-show): Just call rmail-mime-process.
3342 (rmail-mime-process): New function mostly copied from the old
3344 (rmail-mime-insert-multipart, rmail-mime-parse)
3345 (rmail-mime-insert, rmail-show-mime)
3346 (rmail-insert-mime-forwarded-message)
3347 (rmail-insert-mime-resent-message): New functions.
3348 (rmail-insert-mime-forwarded-message-function): Set to
3349 rmail-insert-mime-forwarded-message.
3350 (rmail-insert-mime-resent-message-function): Set to
3351 rmail-insert-mime-resent-message.
3353 * mail/rmailsum.el: Require rfc2047.
3354 (rmail-header-summary): Handle multiline Subject: field.
3355 (rmail-summary-line-decoder): Change the default to
3356 rfc2047-decode-string.
3358 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3359 (rmail-mime-feature): Change the default to `rmailmm'.
3360 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3361 (rmail-display-labels): Likewise.
3362 (rmail-show-message-1): Check rmail-enable-mime, and use
3363 rmail-show-mime-function for a MIME message. Decode the headers
3364 according to RFC2047.
3366 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * progmodes/which-func.el (which-func-imenu-joiner-function):
3369 Return a string, as expected.
3370 (which-function-mode): Make sure we stop any previous timer before
3373 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3375 * net/tramp.el (tramp-default-method-alist)
3376 (tramp-default-user-alist, tramp-default-proxies-alist):
3377 Adapt custom options type. (Bug#7445)
3379 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3381 * progmodes/python.el: Add Ipython support (Bug#5390).
3382 (python-shell-prompt-alist)
3383 (python-shell-continuation-prompt-alist): New options.
3384 (python--set-prompt-regexp): New function.
3385 (inferior-python-mode, run-python, python-shell):
3386 Require ansi-color. Use python--set-prompt-regexp to set the comint
3387 prompt based on the Python interpreter.
3388 (python--prompt-regexp): New var.
3389 (python-check-comint-prompt)
3390 (python-comint-output-filter-function): Use it.
3391 (run-python): Use a pipe (Bug#5694).
3393 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3395 * progmodes/python.el (run-python): Doc fix.
3396 (python-keep-current-directory-in-path): New var (Bug#7454).
3398 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3400 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3401 Prompt user before actually printing.
3403 2010-11-27 Glenn Morris <rgm@gnu.org>
3405 * startup.el (package-enable-at-startup, package-initialize):
3406 Remove unnecessary declarations.
3408 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3410 * international/characters.el (glyphless-char-display-control):
3411 Exclude newline and TAB from the c0-control group.
3413 2010-11-27 Glenn Morris <rgm@gnu.org>
3415 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3416 (expand-mail-aliases): Remove unnecessary autoload.
3418 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3420 * shell.el (shell-dir-cookie-re): Move definition before use.
3422 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3423 Replace undefined CL functions.
3425 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3427 * simple.el (prog-mode): Set bidi-paragraph-direction to
3430 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3432 2010-11-26 Glenn Morris <rgm@gnu.org>
3434 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3435 diary-outlook-formats can be sensitive to calendar-date-style.
3436 (diary-outlook-formats): Simplify the default setting.
3437 (diary-from-outlook-internal): Pass subject and body as arguments.
3438 Use dolist rather than dotimes. Don't save the diary buffer.
3439 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3440 Pass subject and body as explicit arguments to the -internal function.
3442 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3444 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3445 parsing them. This makes mailto:...?subject=foo\nbar work.
3447 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3449 * vc/diff.el (diff): Fix last change.
3451 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3454 (pcase--dontcare-upats): New var.
3455 (pcase-let, pcase-let*): Generate better code.
3456 Accept the same bodies as `let'.
3457 (pcase-dolist): New macro.
3458 (pcase--trivial-upat-p): New helper function.
3459 (pcase--expand): Strip leading "(let nil" if any.
3461 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3463 * mail/mailclient.el (browse-url): Require.
3464 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3465 use the external browser function to send the mail (bug#7469).
3467 * net/browse-url.el (browse-url-browser-function): Revert the
3468 default back to the previous value, since the new value broke
3470 (browse-url-mailto-function): New variable for mailto: URLs.
3471 (browse-url): Use the new variable for mailto: URLs.
3473 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * eshell/esh-cmd.el (eshell-parse-command):
3476 * eshell/esh-arg.el (eshell-parse-arguments):
3477 * eshell/em-script.el (eshell-source-file):
3478 Use with-silent-modifications.
3480 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3482 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3483 for a merge location.
3485 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3486 (vc-bzr-merge-branch): Always prompt.
3487 (vc-bzr-async-command): Use the full branch filename.
3489 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * shell.el (shell): Use current-buffer by default if it's already
3492 a shell mode buffer and its process is dead.
3493 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3495 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3497 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3498 Mention that the keywords should be comma separated.
3500 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3502 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3503 Accept optional prefix arg meaning to prompt for a command.
3504 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3505 prefix arg meaning to prompt for a command.
3506 (vc-pull): Alias for vc-update.
3508 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3509 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3510 (vc-bzr-merge-branch): New functions, implementing merge-branch
3511 and pull operations.
3513 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3515 * Makefile.in: Fix up last merge.
3517 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3518 (diff-sentinel): Get them as arguments instead.
3519 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3520 (diff-file-local-copy, diff-better-file-name): New funs.
3521 (diff-no-select): Rename from diff-into-buffer.
3522 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3523 Prefer closures to buffer-local variables.
3524 (diff): Adjust accordingly.
3525 (diff-buffer-with-file): Move from files.el.
3526 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3527 (diff-buffer-internal): Remove.
3528 (diff-buffer-buffer): Remove.
3529 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3530 the buffer name used, and so as not to mess up windows and frames.
3532 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3534 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3535 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3536 (diff-buffer-with-file): Use it.
3537 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3540 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3542 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3543 \ref's or \pageref's value as default instead of initial input.
3545 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3547 * files.el (backup-by-copying-when-mismatch): The default value is
3550 * startup.el (normal-top-level):
3551 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3552 `backup-by-copying-when-mismatch'.
3554 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3556 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3558 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3560 * progmodes/python.el (python-font-lock-keywords):
3561 Highlight top-level augmented assignments (Bug#6445).
3563 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3565 * term/ns-win.el (ns-right-control-modifier)
3566 (ns-right-command-modifier): Defvar them.
3568 * cus-start.el (all): Add ns-right-control-modifier and
3569 ns-right-command-modifier (Bug#7458).
3571 2010-11-20 Glenn Morris <rgm@gnu.org>
3573 * emacs-lisp/authors.el (authors-ignored-files)
3574 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3576 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3578 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3579 (report-emacs-bug-parse-query-results)
3580 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3581 keywords used for querying the bug database to show them in the
3582 existing bugs buffer.
3584 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3586 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3588 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3590 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3592 * international/characters.el (glyphless-char-display-control):
3593 Make it a defcustom, with update-glyphless-char-display as its
3595 (top level): Don't call update-glyphless-char-display.
3597 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3599 Sync with Tramp 2.2.0.
3601 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3602 `file-remote-p' (due to compatibility).
3604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3605 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3607 * net/trampver.el: Update release number.
3609 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3611 * faces.el (glyphless-char): Define value for `pc'.
3613 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3615 Implemented a bug querying mechanism.
3616 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3617 (report-emacs-bug-create-existing-bugs-buffer)
3618 (report-emacs-bug-parse-query-results)
3619 (report-emacs-bug-query-existing-bugs): New functions.
3621 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3623 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3624 a \ref{} or \pageref{} macro, then use its value as initial input.
3626 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3628 * calc/calc-units.el (math-build-units-table-buffer):
3629 calc/README: Mention that the TeX specific units won't use the
3630 `tex' prefix in TeX mode.
3631 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3632 prefix for units in TeX mode.
3634 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * simple.el (kill-new, kill-append, kill-region):
3637 * comint.el (comint-kill-region): Make the yank-handler argument
3640 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3643 that are both openers (resp. closers) and something else.
3644 (smie-grammar): Loosen definition of valid values.
3645 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3646 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3647 (smie-indent-after-keyword): Adjust users.
3648 (smie-indent-keyword): Don't indent empty lines.
3650 * vc-hg.el (vc-hg-program): New var.
3651 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3652 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3654 2010-11-18 Glenn Morris <rgm@gnu.org>
3656 * emacs-lisp/autoload.el (autoload-find-destination): The function
3657 coding-system-eol-type may return non-numeric values. (Bug#7414)
3659 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3661 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3663 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3665 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3667 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3669 * textmodes/picture.el (picture-mouse-set-point): Don't use
3670 posn-col-row; explicitly compute the motion based on the posn at
3671 the window-start (Bug#7390).
3673 2010-11-18 Glenn Morris <rgm@gnu.org>
3675 * novice.el (disabled-command-function):
3676 Fix 2009-11-15 change. (Bug#7384)
3678 2010-11-18 Glenn Morris <rgm@gnu.org>
3680 * calendar/calendar.el (diary-iso-date-forms): Make elements
3681 mutually exclusive. (Bug#7377)
3683 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3686 when filling the remaining "unconstrained" values.
3688 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3693 * files.el (safe-local-variable-p): Gracefully handle errors.
3695 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3696 Use smie-indent-virtual when indenting relative to an opener.
3697 (smie-rule-separator): Use smie-rule-parent.
3698 (smie-indent-keyword): Consult rules, even for openers at bol.
3699 (smie-indent-comment-close): Try to align closer's content.
3701 2010-11-18 Glenn Morris <rgm@gnu.org>
3703 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3705 2010-11-18 Glenn Morris <rgm@gnu.org>
3707 * printing.el (pr-menu-bind): Doc fix.
3709 * speedbar.el (speedbar-toggle-images): Doc fix.
3711 * progmodes/python.el (python-shell): Doc fix.
3713 * wid-edit.el (widget-field-use-before-change)
3714 (widget-use-overlay-change): Doc fixes.
3716 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3718 Minor cleanup to improve style.
3719 * textmodes/rst.el (rst-update-section): Use point-marker.
3720 (rst-get-decoration): Eliminate unneeded assignment.
3721 (rst-promote-region, rst-straighten-decorations)
3722 (rst-section-tree, rst-adjust): Use point-marker.
3723 (rst-toc-mode-mouse-goto): Avoid setq.
3724 (rst-shift-region-guts, rst-shift-region-left)
3725 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3726 (rst-convert-bullets-to-enumeration): Use copy-marker.
3728 * minibuffer.el (completion-fail-discreetly): New var.
3729 (completion--do-completion): Use it.
3731 * electric.el (electric-pair-pairs): New var.
3732 (electric-pair-post-self-insert-function): Use it.
3733 (electric-layout-post-self-insert-function): Don't insert a before
3734 newline unless it's actually needed.
3736 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * progmodes/python.el (run-python): Explain why we remove the current
3739 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3741 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3743 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3746 (octave-mode-map): Don't bind ;, SPC, and LF.
3747 (octave-auto-indent, octave-auto-newline): Remove.
3748 (electric-layout-rules): Declare.
3749 (octave-mode): Set electric-layout-rules.
3750 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3751 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3752 (octave-electric-space): Remove.
3754 * electric.el (electric-layout-mode): New minor mode.
3755 (electric--after-char-pos): New function.
3756 (electric-indent-post-self-insert-function): Use it.
3757 (electric-layout-rules): New var.
3758 (electric-layout-post-self-insert-function): New function.
3759 (electric-indent-mode): Make them interact better.
3761 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3764 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3765 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3767 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3769 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3770 Make sure to check inside the word (Bug#6761).
3772 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3774 * startup.el (command-line): If the cursorColor resource is set,
3775 change the cursor face-spec (Bug#7392).
3777 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3779 The main features of the following allout.el changes are:
3780 - implement user customization for the allout key bindings
3781 - add a customization control by which the user can inhibit use of
3782 a trailing Ctrl-H, so by default it's reserved for use with
3783 describe-prefix-bindings
3784 - adapt to new version of called-interactively-p, while
3785 maintaining backwards compatibility with old version
3786 - fix hotspot navigation so i works properly with meta-modified keys
3788 * allout.el (allout-keybindings, allout-bind-keys)
3789 (allout-keybindings-binding, allout-prefixed-keybindings)
3790 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3791 (allout-keybindings-list, allout-mode-map-adjustments)
3792 (allout-setup-mode-map): Establish allout-mode keymaps as user
3793 customizable settings, and also establish a customizable setting which
3794 regulates whether or not a trailing control-h is reserved for use with
3795 describe-prefix-bindings - and inhibit it by default, so that control-h
3796 *is* reserved for describe-prefix-bindings unless the user changes it.
3798 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3799 and accurately between modified and unmodified events, and handle
3800 modified events more comprehensively.
3802 * allout.el (allout-substring-no-properties):
3803 Alias to use or provide version of `substring-no-properties'.
3804 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3806 * allout.el (allout-next-single-char-property-change):
3807 Alias to use or provide version of `next-single-char-property-change'.
3808 (allout-annotate-hidden, allout-hide-by-annotation):
3809 Use `allout-next-single-char-property-change'.
3811 * allout.el (allout-select-safe-coding-system):
3812 Alias to use or provide version of `select-safe-coding-system'.
3813 (allout-toggle-subtree-encryption):
3814 Use `allout-select-safe-coding-system'.
3816 * allout.el (allout-set-buffer-multibyte):
3817 Alias to use or provide version of `set-buffer-multibyte'.
3818 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3820 * allout.el (allout-called-interactively-p): Macro for using the
3821 different versions of called-interactively-p identically, depending on
3822 the subroutine's argument signature.
3823 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3824 Use `(interactive "p")' instead of `(called-interactively-p)'.
3826 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3827 (allout-previous-visible-heading, allout-forward-current-level)
3828 (allout-backward-current-level, allout-show-children):
3829 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3831 * allout.el (allout-before-change-handler):
3832 Exempt edits to the (overlaid) character after the allout outline
3833 bullet from edit confirmation prompt.
3835 * allout.el (allout-add-resumptions):
3836 Ensure that it respects correct buffer for keybindings.
3838 * allout.el (allout-beginning-of-line):
3839 Use `allout-previous-single-char-property-change' alias for the sake of
3840 diverse compatibility.
3842 * allout.el (allout-end-of-line):
3843 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3845 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3847 * frame.el (frame-notice-user-settings): Don't clobber other
3848 user-set parameters when calling face-set-after-frame-default in
3849 response to background-color parameter (Bug#7373).
3851 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3853 * international/characters.el (glyphless-char-display-control):
3854 Rename from glyphless-char-control; all users changed. Doc fix.
3855 Signal an error if display method is not one of the recognized
3858 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3860 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3861 (tramp-compat-line-end-position): Remove them.
3863 * net/tramp.el (tramp-parse-rhosts-group)
3864 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3865 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3866 (tramp-parse-netrc-group, tramp-parse-putty-group)
3867 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3868 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3869 (tramp-sh-handle-file-selinux-context)
3870 (tramp-sh-handle-file-name-all-completions)
3871 (tramp-sh-handle-insert-directory)
3872 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3873 (tramp-wait-for-output, tramp-send-command-and-read)
3874 * net/tramp-smb.el (tramp-smb-read-file-entry)
3875 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3877 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3879 (tramp-remote-coding-commands): Add an alternative using "base64
3880 -d -i". This is needed for older base64 versions from GNU
3881 coreutils. Reported by Klaus Reichl
3882 <Klaus.Reichl@thalesgroup.com>.
3884 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3886 * simple.el (count-words-region): New function.
3888 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * shell.el (shell-dir-cookie-re): New custom variable.
3891 (shell-dir-cookie-watcher): New function.
3893 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3894 and compilation-mode (bug#7350).
3896 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3897 highlight when one of them is empty.
3899 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3901 (skeleton-newline): New function.
3902 (skeleton-internal-1): Use it.
3904 * simple.el (open-line): `newline' may strip trailing space.
3906 2010-11-12 Kevin Ryde <user42@zip.com.au>
3908 * international/mule-cmds.el (princ-list): Use mapc.
3910 2010-11-12 Glenn Morris <rgm@gnu.org>
3912 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3913 Use it to replace all instances of "*Compile-Log*"
3915 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3920 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * progmodes/modula2.el: Use SMIE and skeleton.
3923 (m2-mode-syntax-table): (*..*) can be nested.
3924 Add //...\n. Fix paren syntax.
3925 (m2-mode-map): Remove LF and TAB bindings.
3926 (m2-indent): Add safety property.
3927 (m2-smie-grammar): New var.
3928 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3929 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3930 (m2-mode): Use define-derived-mode.
3931 (m2-newline, m2-tab): Remove.
3932 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3933 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3934 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3935 (m2-import): Use define-skeleton.
3937 2010-11-11 Glenn Morris <rgm@gnu.org>
3939 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3941 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3942 (ls-lisp-verbosity): Add custom :set-after property.
3943 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3944 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3945 (ls-lisp-insert-directory): Update caller.
3946 (ls-lisp-set-options): New function.
3947 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3950 * play/landmark.el (lm-prompt-for-move):
3951 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3953 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3955 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3956 (idlwave-study-twins): Prefix dynamic local variable `name'.
3957 (idlwave-routine-twin-compare): Update for above change.
3959 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3960 Prefix dynamic local variables `name', `kwd', and `link'.
3961 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3962 * progmodes/idlw-complete-structtag.el
3963 (idlwave-complete-structure-tag-help):
3964 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3965 (idlwave-complete-sysvar-tag-help)
3966 (idlwave-complete-class-structure-tag-help):
3967 Update for above name changes.
3969 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3971 * net/browse-url.el (browse-url-browser-function): Change the
3972 default to use `browse-url-mail' on mailto: URLs.
3974 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3976 * emacs-lisp/package.el (package-read-all-archive-contents):
3977 Reset package-archive-contents to nil before re-reading.
3979 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3981 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3982 already found as misspellings by (flyspell-large-region), just
3983 do highlighting (bug#7322).
3985 2010-11-10 Glenn Morris <rgm@gnu.org>
3987 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3989 * emulation/edt.el (edt-with-position): New macro.
3990 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3991 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3992 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3994 * emulation/tpu-extras.el (tpu-with-position): New macro.
3995 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3997 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3999 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4000 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4001 (texinfo-master-menu, texinfo-insert-node-lines)
4002 (texinfo-multiple-files-update):
4003 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4004 Use line-beginning-position.
4006 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4007 No recent Emacs supports system-type `emx'.
4009 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4010 (ada-command-separator, ada-default-prj-properties)
4011 (ada-find-any-references): Update for above name change.
4013 * dirtrack.el (dirtrack-directory-function)
4014 (dirtrack-canonicalize-function):
4015 * filecache.el (file-cache-completion-ignore-case)
4016 (file-cache-case-fold-search, file-cache-ignore-case):
4017 * term.el (serial-port-is-file-p): Cosmetic change.
4019 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4020 Remove non-existent `windows-95' system-type.
4021 * dired.el (dired-chown-program): Remove non-existent `linux'
4024 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4025 (ping-program-options): Remove non-existent `linux' system-type.
4027 * startup.el (package-initialize): Update declaration.
4029 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4030 (ls-lisp-handle-switches): Use time-less-p.
4031 (ls-lisp-format-time): Use float-time.
4033 * textmodes/remember.el (remember-time-to-seconds): Remove.
4034 (remember-store-in-mailbox): Use float-time.
4036 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4038 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4039 never a real function.
4040 (with-no-warnings): Remove compat stub, now unused.
4041 (time-less-p): Doc fix.
4042 (time-to-number-of-days): Simplify.
4044 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4046 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4047 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4048 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4049 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4050 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4052 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4053 (eshell-shuffle-files, eshell-shorthand-tar-command)
4054 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4055 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4056 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4057 Prefix dynamic local variable `matches'.
4059 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4060 Prefix dynamic local variable `skeleton'.
4062 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4064 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4065 in mail buffer; make yank-action always a command that yanks original
4068 2010-11-09 Glenn Morris <rgm@gnu.org>
4070 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4072 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4075 completion field (bug#7211).
4077 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4078 Fix handling of backslash escapes.
4079 (python-quote-syntax): Adjust accordingly.
4081 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4083 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4084 (vc-mtn-workfile-branch): Adjust to new output format.
4086 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * international/mule-cmds.el (princ-list): Mark as obsolete.
4090 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * emacs-lisp/smie.el: New package.
4094 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4096 * files.el (backup-by-copying-when-mismatch):
4097 Set `permanent-local' property.
4099 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4100 `permanent-local' property for `backup-by-copying-when-mismatch'.
4102 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4104 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4106 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4108 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4109 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4110 AUTOINOUT for SV style multidimensional arrays, bug294.
4111 Reported by Eric Mastromarchi.
4112 (verilog-preprocess): Use with-current-buffer and
4113 font-lock-fontify-buffer to cleanup style issues.
4115 2010-11-09 Glenn Morris <rgm@gnu.org>
4117 * locate.el (locate, locate-mode): Doc fixes.
4119 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4121 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4122 user for confirmation.
4123 (server-force-stop): Use it.
4124 (server-start): Use server-force-stop for kill-emacs-hook, to
4125 avoid user interaction while killing Emacs.
4127 2010-11-09 Glenn Morris <rgm@gnu.org>
4129 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4130 (meta-indent-line): Simplify.
4132 * vc/emerge.el (emerge-line-number-in-buf):
4133 * textmodes/ispell.el (ispell-region):
4134 * textmodes/fill.el (current-fill-column):
4135 * progmodes/xscheme.el (xscheme-send-current-line):
4136 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4137 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4138 * progmodes/sh-script.el (sh-handle-prev-do):
4139 * progmodes/meta-mode.el (meta-indent-line):
4140 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4142 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4143 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4144 * progmodes/fortran.el (fortran-looking-at-if-then):
4145 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4146 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4147 (cperl-find-pods-heres):
4148 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4149 * net/quickurl.el (quickurl-list-insert):
4150 * net/ldap.el (ldap-search-internal):
4151 * net/eudc.el (eudc-expand-inline):
4152 * mail/sendmail.el (sendmail-send-it):
4153 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4154 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4155 (viper-brac-function):
4156 * calc/calc-yank.el (calc-do-grab-region):
4157 * calc/calc-keypd.el (calc-keypad-press):
4158 * term.el (term-move-columns, term-insert-spaces):
4159 * speedbar.el (speedbar-highlight-one-tag-line):
4160 * simple.el (current-word):
4161 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4162 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4164 * hippie-exp.el (he-line-beg):
4165 * epa.el (epa--marked-keys):
4166 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4167 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4168 (dired-relist-entry):
4169 * buff-menu.el (Buffer-menu-buffer):
4170 * array.el (current-line):
4171 * allout.el (allout-resolve-xref)
4172 (allout-latex-verbatim-quote-curr-line):
4173 Replace yet more uses of end-of-line etc with line-end-position, etc.
4175 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4178 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4179 (checkdoc-syntax-table): Initialize in the declaration.
4180 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4181 the mode on unconditionally.
4183 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4184 (extent-end-position, extent-start-position): Remove setf method for
4185 non-existing functions (bug#7319).
4187 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4190 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4191 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4192 (smie-prec2->grammar): Rename from smie-prec2-levels.
4193 (smie-grammar): Rename from smie-op-levels.
4194 (smie-indent--hanging-p): Rename from smie-hanging-p.
4195 (smie-rule-hanging-p): New alias.
4196 (smie-indent--bolp): Rename from smie-bolp.
4197 (smie-indent--hanging-p): New alias.
4198 (smie--token): New dynamically bound variable.
4199 (smie-indent--parent): New function.
4200 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4201 (smie-rule-next-p): Rename from smie-next-p.
4202 (smie-rule-prev-p): Rename from smie-prev-p.
4203 (smie-rule-sibling-p, smie-rule-parent)
4204 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4205 (smie-rule-separator-outdent): New var.
4206 (smie-indent--rule): Merge with smie-indent--column.
4207 (smie-indent-forward-token, smie-indent-backward-token):
4208 Also recognize close parens.
4209 (smie-indent-keyword): Don't use smie-indent--column any more.
4210 (smie-indent-after-keyword): Ignore closers by default.
4211 (smie-indent-line): Use with-demoted-errors.
4212 * progmodes/octave-mod.el (octave-smie-grammar):
4213 Rename from octave-smie-op-levels.
4214 (octave-smie-rules): Adjust to new behavior.
4215 * progmodes/prolog.el (prolog-smie-grammar):
4216 Rename from prolog-smie-op-levels.
4218 2010-11-07 Glenn Morris <rgm@gnu.org>
4220 * eshell/esh-util.el (subst-char-in-string)
4221 (directory-files-and-attributes): These compatibility definitions are
4222 not needed on any version of Emacs since at least 21.4.
4224 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4225 (verilog-get-end-of-line): Remove.
4226 (verilog-within-string, verilog-re-search-forward-substr)
4227 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4228 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4229 Use point-at-bol, point-at-eol.
4230 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4232 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4233 (electric-pascal-terminate-line, pascal-set-auto-comments)
4234 (pascal-indent-paramlist, pascal-indent-declaration)
4235 (pascal-get-lineup-indent, pascal-func-completion)
4236 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4237 Use point-at-bol, point-at-eol.
4238 * progmodes/flymake.el (flymake-line-beginning-position)
4239 (flymake-line-end-position): Remove.
4240 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4241 * eshell/esh-util.el (line-end-position, line-beginning-position):
4242 Remove compat definitions.
4244 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4246 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4247 Use line-end-position.
4249 * emacs-lisp/chart.el (chart-zap-chars):
4250 * play/decipher.el (decipher-set-map):
4251 * progmodes/ada-mode.el (ada-get-current-indent)
4252 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4253 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4254 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4255 (ada-get-all-references):
4256 * progmodes/cperl-mode.el (cperl-electric-paren)
4257 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4258 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4259 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4260 (cperl-word-at-point-hard):
4261 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4262 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4263 (idlwave-shell-display-line):
4264 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4265 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4266 * progmodes/js.el (js--re-search-forward-inner)
4267 (js--re-search-backward-inner):
4268 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4269 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4270 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4271 * textmodes/flyspell.el (flyspell-process-localwords):
4272 * textmodes/ispell.el (ispell-buffer-local-parsing)
4273 (ispell-buffer-local-dict, ispell-buffer-local-words):
4274 Use point-at-bol and point-at-eol.
4276 * speedbar.el (speedbar-generic-item-info)
4277 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4278 (speedbar-add-indicator, speedbar-check-vc-this-line)
4279 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4280 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4281 Replace more uses of end-of-line etc with line-end-position.
4283 2010-11-06 Glenn Morris <rgm@gnu.org>
4285 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4286 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4287 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4288 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4289 (texinfo-multiple-files-update):
4290 * textmodes/table.el (table--probe-cell-left-up)
4291 (table--probe-cell-right-bottom):
4292 * textmodes/picture.el (picture-tab-search):
4293 * textmodes/page-ext.el (pages-copy-header-and-position)
4294 (pages-directory-for-addresses):
4295 * progmodes/vera-mode.el (vera-get-offset):
4296 * progmodes/simula.el (simula-calculate-indent):
4297 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4298 * progmodes/prolog.el (end-of-prolog-clause):
4299 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4300 * progmodes/icon.el (indent-icon-exp):
4301 * progmodes/etags.el (tag-re-match-p):
4302 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4303 * progmodes/ebnf2ps.el (ebnf-begin-file):
4304 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4305 (dcl-save-local-variable):
4306 * play/life.el (life-setup):
4307 * play/gametree.el (gametree-looking-at-ply):
4308 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4309 * mail/sendmail.el (mail-mode-auto-fill):
4310 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4311 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4312 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4313 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4314 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4315 * type-break.el (type-break-file-keystroke-count):
4316 * term.el (term-replace-by-expanded-history-before-point)
4317 (term-skip-prompt, term-extract-string):
4318 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4319 (speedbar-contract-line, speedbar-toggle-line-expansion)
4320 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4321 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4322 * sort.el (sort-skip-fields):
4323 * skeleton.el (skeleton-internal-list):
4324 * simple.el (line-move-finish, line-move-to-column):
4325 * shell.el (shell-forward-command):
4326 * misc.el (copy-from-above-command):
4327 * makesum.el (double-column):
4328 * ebuff-menu.el (electric-buffer-update-highlight):
4329 * dired.el (dired-move-to-end-of-filename):
4330 * dframe.el (dframe-popup-kludge):
4331 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4332 * arc-mode.el (archive-get-lineno):
4333 Use line-end-position and line-beginning-position.
4335 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4336 (idlwave-study-twins): Prefix dynamic local `class'.
4337 (idlwave-routine-twin-compare): Update for above name change.
4339 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4340 Use boundp tests to silence compiler. Update for changed name of
4341 bytecomp-filename variable.
4343 * emulation/viper-cmd.el (viper-read-string-with-history):
4344 Prefix dynamic local `initial'.
4345 (viper-minibuffer-standard-hook): Update for above name change.
4347 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4348 (elint-init-form): Update for above name change.
4350 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4351 local variables `cbeg' and `cend' a prefix.
4352 (mail-extr-voodoo): Update for above name change.
4354 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4355 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4356 (reftex-toc-promote-action): Doc fix.
4358 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4359 `prompt', `data' a prefix.
4360 (reftex-select-post-command-hook, reftex-select-callback)
4361 (reftex-select-mouse-accept, reftex-select-read-cite):
4362 Update for above name changes.
4364 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4365 `refstyle' to reftex-refstyle.
4366 (reftex-offer-label-menu): Update for above name change.
4367 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4368 `refstyle' name change.
4370 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4371 with with-current-buffer.
4372 (diff, template): Give dynamic local variables a prefix.
4373 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4374 (emerge-line-number-in-buf): Update for above name change.
4375 (emerge-combine-versions-internal): Rename local `template' to
4376 emerge-combine-template.
4377 (emerge-combine-versions-edit): Update for above name change.
4379 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4381 * textmodes/reftex-cite.el
4382 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4383 entries with whitespace after \bibitem.
4384 (reftex-create-bibtex-file): Match entries containing numbers and
4385 symbol constituents. Make sure that entries with whitespace at
4386 various places are found.
4388 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4390 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4392 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4394 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4396 2010-11-05 Glenn Morris <rgm@gnu.org>
4398 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4399 (woman2-roff-buffer): Give local variable `request' a prefix.
4400 (woman0-macro): Rename argument `request' in the same way.
4401 (woman-request): New name for `request' dynamic variable.
4402 (woman-unquote, woman-forward-arg): Update for above name change.
4403 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4404 (woman1-unquote): New name for `unquote' dynamic variable.
4405 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4406 (woman-translations): Rename from `translations'. No longer global.
4407 (woman2-tr, woman-translate): Update for above name change.
4408 (woman-translate): Check for bound variable.
4409 (woman2-roff-buffer): Give local variable `translations' a prefix.
4411 * play/doctor.el: Give all local variables a prefix. Update callers.
4412 (doc$, doctor-put-meaning): Use backquote.
4414 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4415 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4417 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4418 variables bytes, ptr, op a prefix.
4419 (disassemble-offset): Update for above change.
4421 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4423 * emacs-lisp/package.el (package-unpack): Remove no-op.
4424 (package--builtins, package--dir): Doc fix.
4425 (package-activate-1, package-activate, package-install)
4426 (package-compute-transaction): Fix error message.
4427 (package-delete): Use delete-directory. Omit system packages.
4428 (package-initialize): Set package-alist to nil first.
4429 (package-menu-mark-delete, package-menu-mark-install): Don't add
4430 symbols that are inconsistent with the package state.
4431 (package-menu-execute): Perform deletions and installations as
4432 single batch operations.
4434 2010-11-03 Glenn Morris <rgm@gnu.org>
4436 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4437 (props): Remove unnecessary declaration.
4439 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4440 set-process-query-on-exit-flag.
4442 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4443 (reftex-toc-do-promote): Remove unused local `mpos'.
4444 (reftex-toc-restore-region): Make `mpos' local to this function.
4446 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4448 * play/landmark.el (lm-losing-threshold): Correct spelling.
4449 (lm-human-plays): Use new name.
4451 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4452 (gomoku-human-plays): Use new name.
4454 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4455 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4456 (gomoku-score-trans-table, gomoku-winning-threshold)
4457 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4459 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4461 * emacs-lisp/package.el: Don't put built-in packages in
4462 package-alist, to avoid loading inefficiencies.
4463 (package-built-in-p): Make VERSION optional, and treat it as a
4464 minimum acceptable version.
4465 (package-activate): Search separately for built-in packages.
4466 Emit a warning if a dependency fails.
4467 (define-package): Handle most common case, where there is no
4468 obsolete package, first.
4469 (package-compute-transaction): Print required version in error.
4470 (package--initialized): New variable.
4471 (list-packages): Use it.
4472 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4473 built-in packages in packages-alist; keep it separate.
4474 Set package--initialized.
4475 (describe-package): Avoid activating packages as a side-effect.
4476 Search separately for built-in packages.
4477 (describe-package-1): Handle the case where an elpa package is
4478 simultaneously built-in and available/installed.
4479 (package-installed-p, package--generate-package-list):
4480 Search separately for built-in packages.
4481 (package-load-descriptor): Doc fix.
4483 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4486 Handle __DATA__ and __END__.
4488 2010-11-02 Noah Friedman <friedman@splode.com>
4490 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4491 nil, do not ask to recompile files that are not already compiled,
4492 and do not recompile them.
4494 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4496 * emacs-lisp/package.el (package-initialize): Ensure that
4497 obsoleted built-in packages are not in package-activated-list
4499 (describe-package-1): Make the "installed" status override
4502 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4504 * subr.el (version-separator, version-regexp-alist): Remove '*'
4506 (version-list-<=, version<=, version=): Doc fix.
4508 2010-11-01 Kenichi Handa <handa@m17n.org>
4510 * faces.el (glyphless-char): Inherit underline for tty.
4512 2010-11-01 Kenichi Handa <handa@m17n.org>
4514 Implement various display methods for glyphless characters.
4516 * international/characters.el (char-acronym-table): New variable.
4517 (glyphless-char-control): New variable.
4518 (update-glyphless-char-display): New function.
4520 * faces.el (glyphless-char): New face.
4522 2010-11-01 Glenn Morris <rgm@gnu.org>
4524 * calendar/holidays.el (general-holidays, oriental-holidays)
4525 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4526 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4527 the definitions of their targets.
4529 * emacs-lisp/smie.el (smie): New custom group.
4530 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4532 * faces.el (xw-defined-colors, x-setup-function-keys):
4533 * mouse-sel.el (x-select-text):
4534 * term/w32console.el (x-setup-function-keys): Update declarations.
4536 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4538 * textmodes/ispell.el (comment-add): Declare.
4540 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4543 * info.el (finder-keywords-hash, package-alist): Declare.
4545 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4547 * finder.el (finder-compile-keywords): Don't use intern-soft,
4548 since package names may not yet exist in the obarray.
4550 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4552 * vc/vc-arch.el (vc-arch-checkin):
4553 * vc/vc-cvs.el (vc-cvs-checkin):
4554 * vc/vc-mtn.el (vc-mtn-checkin):
4555 * vc/vc-rcs.el (vc-rcs-checkin):
4556 * vc/vc-sccs.el (vc-sccs-checkin):
4557 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4558 since 2010-04-21 commit by Stefan Monnier.
4560 2010-11-01 Glenn Morris <rgm@gnu.org>
4562 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4564 * startup.el (package-enable-at-startup, package-initialize):
4567 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4570 2010-10-31 Julien Danjou <julien@danjou.info>
4572 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4573 (byte-recompile-directory):
4574 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4575 Use `byte-recompile-file'.
4577 2010-10-31 Glenn Morris <rgm@gnu.org>
4579 * cus-start.el: Handle standard values via a keyword.
4580 Only set version property if specified.
4581 (cursor-in-non-selected-windows, menu-bar-mode)
4582 (tool-bar-mode, show-trailing-whitespace):
4583 Do not specify standard values.
4584 (transient-mark-mode, temporary-file-directory): Use :standard.
4586 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4588 * term/x-win.el (x-get-selection-value): New function that gets
4589 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4591 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4593 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4594 preserve owner and group when editing files. (Bug#7289)
4596 2010-10-31 Glenn Morris <rgm@gnu.org>
4598 * speedbar.el (speedbar-mode):
4599 * play/fortune.el (fortune-in-buffer, fortune):
4600 * play/gomoku.el (gomoku-mode):
4601 * play/landmark.el (lm-mode):
4602 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4603 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4605 * select.el (x-selection): Mark it as an obsolete alias.
4607 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4609 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4610 major-mode (bug#7284).
4612 2010-10-31 Glenn Morris <rgm@gnu.org>
4614 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4615 rather than just an unused variable that inherits from the real one.
4617 2010-10-31 Alan Mackenzie <acm@muc.de>
4619 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4620 This fixes bug #7185.
4622 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4624 * startup.el (command-line): Search for package directories, and
4625 don't load package.el if none are found.
4627 * emacs-lisp/package.el (describe-package, list-packages):
4628 Call package-initialize if it has not been called yet.
4630 2010-10-30 Alan Mackenzie <acm@muc.de>
4632 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4633 which fontifies the tail of an enum.
4634 (c-basic-matchers-after): Insert a call to the above new function.
4635 This fixes bug #7264.
4637 2010-10-30 Glenn Morris <rgm@gnu.org>
4639 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4640 tool-bar-mode, transient-mark-mode. (Bug#7306)
4641 Include the :set property in the dumped Emacs.
4643 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4645 SMIE: change indent rules format, improve smie-setup.
4646 * emacs-lisp/smie.el (smie-precs-precedence-table)
4647 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4648 Mark them pure so the tables gets built at compile time.
4649 (smie-bnf-precedence-table): Store the closer-alist in the table.
4650 (smie-prec2-levels): Preserve the closer-alist.
4651 (smie-blink-matching-open): Be more forgiving in case of indentation.
4652 (smie-hanging-p): Rename from smie-indent--hanging-p.
4653 (smie-bolp): Rename from smie-indent--bolp.
4654 (smie--parent, smie--after): New dynamic vars.
4655 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4656 (smie-indent-rules): Remove.
4657 (smie-indent--offset-rule): Remove fun.
4658 (smie-rules-function): New var.
4659 (smie-indent--rule): New fun.
4660 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4661 (smie-indent-exps): Use it.
4662 (smie-setup): Setup paren blinking; add keyword args for token
4663 functions; extract closer-alist from op-levels.
4664 (smie-indent-debug-log): Remove var.
4665 (smie-indent-debug): Remove fun.
4666 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4667 (prolog-smie-rules): New fun to replace it.
4668 (prolog-mode-variables): Simplify.
4669 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4670 it's setup automatically.
4671 (octave-smie-indent-rules): Remove.
4672 (octave-smie-rules): New fun to replace it.
4673 (octave-mode): Simplify.
4675 2010-10-29 Glenn Morris <rgm@gnu.org>
4677 * files.el (temporary-file-directory): Remove (already defined in C).
4678 * cus-start.el: Add temporary-file-directory.
4680 * abbrev.el (abbrev-mode):
4681 * composite.el (auto-composition-mode):
4682 * menu-bar.el (menu-bar-mode):
4683 * simple.el (transient-mark-mode):
4684 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4685 that they do not define the associated variables twice.
4686 * simple.el (transient-mark-mode): Remove defvar.
4687 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4688 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4689 Handle multiple groups, and also custom-delayed-init-variables.
4690 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4692 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4694 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4695 (pcase-if): Add one minor optimization.
4696 (pcase-split-equal): Rename from pcase-split-eq.
4697 (pcase-split-member): Rename from pcase-split-memq.
4698 (pcase-u1): Add strings to the member optimization.
4699 Add `guard' variant of predicates.
4700 (pcase-q1): Add string patterns.
4702 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4706 2010-10-28 Glenn Morris <rgm@gnu.org>
4708 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4709 Move menu-bar related settings to ../menu-bar.el.
4710 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4711 Move ns-specific settings here from term/ns-win.el.
4713 * simple.el (x-selection-owner-p): Remove unused declaration.
4715 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * minibuffer.el (completion-cycling): New var (bug#7266).
4718 (minibuffer-complete, completion--do-completion):
4719 Use completion--flush-all-sorted-completions.
4720 (minibuffer-complete): Only cycle if completion-cycling is set.
4721 (completion--flush-all-sorted-completions): Unset completion-cycling.
4722 (minibuffer-force-complete): Set completion-cycling.
4723 (completion-all-sorted-completions): Move declaration before first use.
4725 2010-10-28 Leo <sdl.web@gmail.com>
4727 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4728 which changes the order of matches seen by users (bug#7231).
4730 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4732 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4733 Don't confuse -omega as "-o mega".
4735 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4737 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4738 (log-edit-author): New dynamic var.
4739 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4740 to return the author if different from committer.
4741 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4743 * play/landmark.el: Adjust commenting convention.
4744 (lm-nil-score): Rename from nil-score.
4745 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4746 (OOOOscore): Move into a let in lm-score-trans-table.
4747 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4749 * electric.el (electric-indent-chars): Autoload.
4750 * progmodes/octave-mod.el (octave-mode):
4751 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4752 (ruby-mode-abbrev-table): Merge initialization and declaration.
4754 2010-10-27 Glenn Morris <rgm@gnu.org>
4756 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4759 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4761 * term/ns-win.el: Restore require of cl when compiling.
4762 (menu-bar-final-items): Remove non-existent `windows' menu.
4763 (ns-handle-nxopen): Optionally handle the temp-case.
4764 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4765 (ns-insert-file, ns-find-file): Use `pop'.
4767 2010-10-26 Glenn Morris <rgm@gnu.org>
4769 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4771 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4773 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4775 * term/common-win.el (x-setup-function-keys): Remove most of the
4776 keymappings. Comment on the remaining ones.
4778 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4780 * server.el (server-port): New option. (Bug#854)
4781 (server-start): Use server-port.
4783 2010-10-26 Glenn Morris <rgm@gnu.org>
4785 * term/ns-win.el (ns-version-string): Remove unused declaration.
4786 (ns-invocation-args): Change to x-invocation-args.
4787 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4788 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4789 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4790 Use x-invocation-args instead of ns-invocation-args.
4791 (ns-initialize-window-system, handle-args-function-alist):
4792 Use x-handle-args instead of ns-handle-args.
4793 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4794 * startup.el (command-line-ns-option-alist): Replace
4795 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4796 ns-handle-iconic with the x- equivalents.
4798 * term/common-win.el (x-select-enable-clipboard):
4799 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4801 * term/ns-win.el: No need to require cl when compiling.
4802 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4803 (xw-defined-colors): Use the common-win definitions.
4804 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4805 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4806 * term/common-win.el (x-select-text, x-alternatives-map)
4807 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4808 * loadup.el [ns]: Load common-win.
4810 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4812 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4813 recipients; expand mail aliases (Bug#7280).
4815 2010-10-25 Glenn Morris <rgm@gnu.org>
4817 * term/common-win.el (x-handle-switch): Simplify with pop.
4818 Optionally handle numeric switches.
4819 (x-handle-numeric-switch): Just call x-handle-switch.
4820 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4821 (x-handle-name-switch, x-handle-display, x-handle-args):
4824 * term/ns-win.el: Do not require easymenu.
4825 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4826 <spell>: Move adjustments to menu-bar.el.
4827 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4828 <separator-undo, spell>: Move ns-win's adjustments here.
4829 * loadup.el [ns]: Do not load easymenu.
4831 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4833 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4836 * startup.el (fancy-startup-tail): Instead of using inline images,
4837 refer to image files from etc/.
4839 * wid-edit.el (checkbox): Likewise.
4840 (widget-image-find): Center image specs.
4842 2010-10-24 Glenn Morris <rgm@gnu.org>
4844 * term/ns-win.el (x-select-text): Doc fix.
4845 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4846 (x-select-text): Move to term/common-win.
4847 * term/w32-win.el (xw-defined-colors): Move to common-win.
4848 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4849 (x-setup-function-keys, x-select-text): Move to common-win.
4850 * term/common-win.el (x-select-text, x-alternatives-map)
4851 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4854 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4856 * net/mairix.el (mairix-searches-mode-map):
4857 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4859 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4861 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4862 auto-built for efficiency of execution and updating.
4863 (verilog-extended-complete-re): Support 'pure' fucntion & task
4864 declarations (these have no bodies).
4865 (verilog-beg-of-statement): General cleanup to enable support of
4866 'pure' fucntion & task declarations (these have no bodies).
4867 These efforts together fix Verilog bug210 from veripool; which was also
4868 noticed by Steve Pearlmutter.
4869 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4870 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4871 Support `elsif. Reported by Shankar Giri.
4872 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4873 attribute handling for lining up declarations and assignments.
4874 (verilog-beg-of-statement-1): Fix issue where continued declaration
4875 is indented differently if it is after a begin..end clock.
4876 (verilog-in-attribute-p, verilog-skip-backward-comments)
4877 (verilog-skip-forward-comment-p): Support proper treatment of
4878 attributes by indent code. Reported by Jeff Steele.
4879 (verilog-in-directive-p): Fix comment to correctly describe function.
4880 (verilog-backward-up-list, verilog-in-struct-region-p)
4881 (verilog-backward-token, verilog-in-struct-p)
4882 (verilog-in-coverage-p, verilog-do-indent)
4883 (verilog-pretty-declarations): Use verilog-backward-up-list as
4884 wrapper around backward-up-list inorder to properly skip comments.
4885 Reported by David Rogoff.
4886 (verilog-property-re, verilog-endcomment-reason-re)
4887 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4888 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4889 of if). Reported by Max Bjurling and
4890 (verilog-calc-1): Fix for clocking block in modport
4891 declaration. Reported by Brian Hunter.
4893 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4895 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4896 (verilog-gate-keywords, verilog-read-sub-decls)
4897 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4898 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4899 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4900 (verilog-read-decls): Fix spaces in V2K module parameters causing
4901 mis-identification as interfaces, bug287.
4902 (verilog-read-decls): Fix not treating "parameter string" as a
4903 parameter in AUTOINSTPARAM.
4904 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4905 treating `elsif similar to `endif inside AUTOSENSE.
4906 (verilog-do-indent): Implement correct automatic or static task or
4907 function end comment highlight. Reported by Steve Pearlmutter.
4908 (verilog-font-lock-keywords-2): Fix highlighting of single
4909 character pins, bug264. Reported by Michael Laajanen.
4910 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4911 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4912 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4913 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4914 (verilog-pretty-expr): Fix interactive arguments, bug272.
4915 Reported by Mark Johnson.
4916 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4917 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4918 bug269. Suggested by Gary Delp.
4919 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4920 (verilog-preprocessor, verilog-set-compile-command):
4921 Create verilog-preprocess and verilog-preprocessor to show
4922 preprocessed output.
4923 (verilog-get-beg-of-line, verilog-get-end-of-line)
4924 (verilog-modi-file-or-buffer, verilog-modi-name)
4925 (verilog-modi-point, verilog-within-string): Move defmacro's
4926 before first use to avoid warning. Reported by Steve Pearlmutter.
4927 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4928 (verilog-colorize-region, verilog-highlight-buffer)
4929 (verilog-highlight-includes, verilog-highlight-modules)
4930 (verilog-highlight-region, verilog-mode): Rename colorize to
4931 highlight to match other packages. Disable module highlighting,
4932 as received speed complaints, reenable for experimentation only
4933 using new verilog-highlight-modules.
4934 (verilog-read-decls): Fix regexp stack overflow in very large
4935 AUTO_TEMPLATEs, bug250.
4936 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4937 (verilog-scan): Create verilog-save-buffer-state to standardize
4938 making insignificant changes that shouldn't call hooks.
4939 (verilog-save-no-change-functions, verilog-save-scan-cache)
4940 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4941 Create verilog-save-no-change-functions to wrap verilog-scan
4942 preservation, and fix to work with nested preserved calls.
4943 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4944 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4945 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4946 (verilog-submit-bug-report): Update variable list to be complete.
4947 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4948 breaking on-the-fly font-locking.
4949 (verilog-colorize-buffer, verilog-colorize-include-files)
4950 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4951 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4952 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4953 AUTOINST cell instance name, middle mouse button now finds-file on
4954 it. Suggested by Brad Dobbie.
4955 (verilog-alw-get-temps, verilog-auto-reset)
4956 (verilog-auto-sense-sigs, verilog-read-always-signals)
4957 (verilog-read-always-signals-recurse): Fix loop indexes being
4958 AUTORESET. AUTORESET now assumes any variables in the
4959 initialization section of a for() should be ignored.
4960 Reported by Dan Dever.
4961 (verilog-error-font-lock-keywords)
4962 (verilog-error-regexp-emacs-alist)
4963 (verilog-error-regexp-xemacs-alist): Fix error detection of
4964 Cadence HAL, reported by David Asher. Repair drift between the
4965 three similar error variables.
4966 (verilog-modi-lookup, verilog-modi-lookup-cache)
4967 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4968 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4969 Fix slow verilog-auto expansion on very large files.
4970 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4971 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4972 "{1*2{...". Broke in last revision.
4973 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4974 submodule connections with replications "{#{a},#{b}}".
4976 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4978 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4979 Fix typo in docstring.
4981 2010-10-24 Kenichi Handa <handa@m17n.org>
4983 * face-remap.el (text-scale-adjust): Call read-event with a proper
4986 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4988 * emacs-lisp/unsafep.el: Don't mark functions that display
4989 messages as safe. Suggested by Johan Bockgård.
4991 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4993 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4994 Turn comments into docstrings.
4996 * minibuffer.el (completion--replace): Move point where it belongs
4997 when there's a common suffix (bug#7215).
4999 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5001 Merge read-color and facemenu-read-color (Bug#7242).
5003 * faces.el (read-color): Use the completion code from
5004 facemenu-read-color. Require match in completion. Doc fix.
5006 * facemenu.el (facemenu-read-color): Alias for read-color.
5007 (facemenu-set-foreground, facemenu-set-background):
5010 * frame.el (set-background-color, set-foreground-color)
5011 (set-cursor-color, set-mouse-color, set-border-color):
5014 2010-10-24 Leo <sdl.web@gmail.com>
5016 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5017 argument of delete-file and delete-directory (Bug#7011).
5019 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5021 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5024 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5026 * emacs-lisp/package.el (package--generate-package-list): Make the
5027 *Packages* buffer read-only.
5029 2010-10-24 Alan Mackenzie <acm@muc.de>
5031 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5032 result of `c-beginning-of-decl-1' between invocations of a lambda
5033 function (Bug #7265).
5035 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5037 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5038 executable is not available on the system (Bug#7268).
5040 2010-10-24 Glenn Morris <rgm@gnu.org>
5042 * select.el (selection-coding-system, next-selection-coding-system):
5043 Sync doc with C versions.
5045 * w32-vars.el (x-select-enable-clipboard):
5046 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5047 * term/common-win.el (x-select-enable-clipboard): Move here.
5049 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5050 definition of C variable.
5052 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5053 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5054 Don't redefine things that are defined in C.
5055 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5056 (show-trailing-whitespace, auto-hscroll-mode)
5057 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5058 Set up the appropriate custom properties.
5060 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5063 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5064 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5065 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5066 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5068 2010-10-23 Glenn Morris <rgm@gnu.org>
5070 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5073 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5074 Sync docs with C version.
5076 * term/ns-win.el (xw-defined-colors):
5077 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5079 * term/pc-win.el (x-select-enable-clipboard):
5080 * term/x-win.el (x-select-enable-clipboard):
5081 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5083 * comint.el (comint-password-prompt-regexp): Make it less vague.
5086 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5088 * help.el (finder-by-keyword): Remove unnecessary autoload.
5090 2010-10-22 Glenn Morris <rgm@gnu.org>
5092 * loadup.el: Unconditionally load float-sup.
5093 * paren.el (show-paren-delay):
5094 * emacs-lisp/float-sup.el:
5095 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5096 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5097 (lazy-lock-stealth-verbose): Assume float support.
5098 * ps-print.el: Assume float support on Emacs.
5099 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5100 Remove non-float branch.
5102 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5103 src/Makefile no longer being pre-processed.
5105 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5107 * emacs-lisp/find-func.el (find-library): Use test-completion.
5109 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5111 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5113 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5115 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5116 space in stat format string.
5117 (tramp-send-command): Unset $PS1 when using here documents, in
5118 order not to get several prompts.
5119 (tramp-get-inline-coding): Return `nil' in case of errors.
5121 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5123 * hexl.el (hexl-mode, hexl-mode-exit):
5124 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5125 (hexl-revert-buffer-function): New function.
5126 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5128 2010-10-19 Alan Mackenzie <acm@muc.de>
5130 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5131 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5132 that these keywords aren't wrongly matched as identifiers.
5134 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5135 setting of c-new-BEG and c-new-END from c-before-change to
5136 c-after-change. (Bug#7181)
5138 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5140 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5143 * custom.el (custom-theme-set-variables): Likewise.
5144 (load-theme): Add custom-theme-set-faces and
5145 custom-theme-set-variables to safe-functions while loading.
5146 (custom-enabled-themes): Mark as risky.
5148 2010-10-18 Julien Danjou <julien@danjou.info>
5150 * bindings.el: Remove end dashes in default mode-line-format.
5152 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5154 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5155 to delete-forward-char.
5157 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5158 deletechar, and hence delete-forward-char.
5160 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * repeat.el (repeat): Use read-key (bug#6256).
5164 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5166 * emacs-lisp/unsafep.el: Don't mark functions that display
5167 messages as safe. Suggested by Johan Bockgård.
5169 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * minibuffer.el (completion--replace): Move point where it belongs
5172 when there's a common suffix (bug#7215).
5174 2010-10-19 Kenichi Handa <handa@m17n.org>
5176 * international/characters.el: Add category '|' (word breakable)
5177 to fullwidth characters.
5179 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5181 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5182 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5183 order to make stat results a float. Patch by Andreas Schwab
5184 <schwab@linux-m68k.org>.
5186 2010-10-18 Julien Danjou <julien@danjou.info>
5188 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5189 hidden by `make-pointer-invisible'.
5191 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5193 * files.el (locate-file-completion-table): Strip non-matching elements
5194 before checking length of list (bug#7238).
5196 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5198 * custom.el (custom-theme-set-variables): Mark as a safe function.
5199 (load-theme): Check forms using unsafep.
5201 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5203 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5205 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5206 Fix aspell data file searching (bug#7230).
5208 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5210 * cus-theme.el (custom-theme--migrate-settings): New var.
5211 (customize-create-theme): Allow editing the `user' theme.
5212 (custom-theme-add-variable, custom-theme-add-var-1)
5213 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5214 to the front of each variable or face widget.
5215 (custom-theme-write): Save theme settings in the correct order.
5216 Optionally, remove saved settings from user customizations.
5217 (custom-theme-write-variables, custom-theme-write-faces):
5218 Save only the checked widgets.
5219 (customize-themes): Add a link for migrating custom settings.
5221 * custom.el (custom-declare-theme, provide-theme):
5222 Use custom-theme-name-valid-p.
5223 (custom-theme-name-valid-p): Remove checks that are now
5224 unnecessary since themes no longer obey load-path.
5226 * cus-edit.el (custom-variable-value-create): For the simple
5227 style, hide documentation string when hidden.
5229 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5231 * cus-edit.el (custom-variable, custom-face): Combine the
5232 :inhibit-magic and :display-style properties into a single
5233 :custom-style property.
5234 (custom-toggle-hide-variable, custom-toggle-hide-face):
5235 New functions. If hiding an edited value, save it to :shown-value.
5236 (custom-variable-value-create, custom-face-value-create): Use them.
5237 (custom-magic-reset): Allow magic property to be unset.
5239 * custom.el: Custom themes no longer use load-path.
5240 (custom-theme-load-path): New option. Change built-in theme
5242 (custom-enabled-themes): Add custom-theme-load-path dependency.
5243 (custom-theme--load-path): New function.
5244 (load-theme, custom-available-themes): Use it.
5246 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5247 (customize-themes): Link to custom-theme-load-path variable.
5248 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5249 :custom-style property.
5251 * themes/*.el: Moved to etc/.
5253 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5255 * textmodes/reftex-cite.el
5256 (reftex-extract-bib-entries-from-thebibliography): Do not move
5257 point when searching for \bibitem entries. Match entries with
5258 spaces or tabs in front of arguments.
5260 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5262 * cus-theme.el (customize-create-theme): Delete overlays after
5263 erasing. If given a THEME arg, display only the faces of that arg
5264 instead of custom-theme--listed-faces.
5265 (custom-theme-variable-menu, custom-theme-variable-action)
5266 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5267 (custom-theme-add-variable, custom-theme-add-face): Apply value
5268 from the theme settings, instead of the current value.
5269 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5270 (custom-theme-visit-theme): Allow calling outside theme buffers.
5271 (custom-theme-merge-theme): Don't enable the theme when merging.
5272 (custom-theme-write-variables, custom-theme-write-faces): Use the
5273 :shown-value properties to save buffer values, not global ones.
5274 (customize-themes): Display a warning about user customizations.
5276 * cus-edit.el (custom-variable-value-create)
5277 (custom-face-value-create): Obey new special properties
5278 :shown-value and :inhibit-magic.
5280 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5282 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5283 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5286 2010-10-14 Kenichi Handa <handa@m17n.org>
5288 * mail/rmail.el (rmail-show-message-1): Catch an error of
5289 base64-decode-region and just show an error message (bug#7165).
5291 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5292 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5293 a font-spec (bug#7197).
5295 2010-10-14 Glenn Morris <rgm@gnu.org>
5297 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5299 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5301 * international/mule.el (define-coding-system):
5302 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5303 * composite.el (compose-region): Fix typo in docstring.
5305 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5307 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5308 only after checking the theme-face property.
5310 * faces.el (face-spec-reset-face): Reset all attributes in one
5311 single call to set-face-attribute.
5312 (face-spec-match-p): Make it a defsubst.
5313 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5314 (x-create-frame-with-faces, tty-create-frame-with-faces)
5315 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5316 frame-set-background-mode, since they are recomputed immediately
5317 afterwards in face-set-after-frame-default.
5318 (face-set-after-frame-default): Minor optimization.
5319 (cursor): Provide non-trivial defface spec.
5321 * custom.el (custom-theme-recalc-face): Simplify.
5323 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5325 * calc/calc-alg.el (math-var): Rename from `var'.
5326 (math-is-polynomial, math-is-poly-rec): Replace `var'
5329 * calc/calcalg2.el (math-var): Rename from `var'.
5330 (calcFunc-table, math-scan-for-limits): Replace `var'
5333 2010-10-13 Glenn Morris <rgm@gnu.org>
5335 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5337 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5339 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5341 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5343 * net/tls.el (tls-program): Remove spurious %s from openssl.
5344 (tls-starttls-switches): Remove starttls hack.
5345 (open-tls-stream): Ditto.
5346 (tls-find-starttls-argument): Ditto.
5348 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5350 * image.el (image-library-alist): Declare as obsolete alias.
5351 (image-type-available-p): Use `dynamic-library-alist'.
5353 * term/w32-win.el (dynamic-library-alist):
5354 Use instead of `image-library-alist'.
5356 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5358 * subr.el (last): Make it faster. (Bug#7174)
5360 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5362 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5364 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5366 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5367 (describe-theme-1): Extract doc from unloaded themes.
5369 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5371 * themes/tango-theme.el:
5372 * themes/tango-dark-theme.el:
5373 * themes/wheatgrass-theme.el: New files.
5375 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5377 * cus-theme.el (describe-theme, customize-themes)
5378 (custom-theme-save): New commands.
5379 (custom-new-theme-mode-map): Bind C-x C-s.
5380 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5381 (customize-create-theme): New optional arg THEME.
5382 (custom-theme-revert): Use it.
5383 (custom-theme-visit-theme): Remove dead code.
5384 (custom-theme-merge-theme): Use custom-available-themes.
5385 (custom-theme-write): Make interactive.
5386 (custom-theme-write): Use custom-theme-name-valid-p.
5387 (describe-theme-1, custom-theme-choose-revert)
5388 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5390 (custom-theme-allow-multiple-selections): New option.
5391 (custom-theme-choose-mode): New major mode.
5393 * custom.el (custom-theme-set-variables): Remove dead code.
5394 Obey custom--inhibit-theme-enable.
5395 (custom--inhibit-theme-enable): New var.
5396 (provide-theme): Obey it.
5397 (load-theme): Replace load with manual read/eval, in order to
5398 check for correctness. Use custom-theme-name-valid-p.
5399 (custom-theme-name-valid-p): New function.
5400 (custom-available-themes): Use it.
5402 * cus-edit.el (custom--initialize-widget-variables): New function.
5403 (Custom-mode): Use it.
5405 * cus-face.el (custom-theme-set-faces): Remove dead code.
5406 Obey custom--inhibit-theme-enable.
5408 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5410 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5412 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5414 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5416 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5417 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5418 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5420 * cus-start.el (all): ns-right-alternate-modifier is new.
5422 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * emacs-lisp/lisp.el (lisp-completion-at-point):
5425 Use emacs-lisp-mode-syntax-table for the whole function.
5427 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5429 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5430 instead of font-lock-mode before adding keywords.
5431 Remove hi-lock-mode off code. Remove inhibit hack.
5432 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5433 non-nil; removed hook inhibit hack.
5435 2010-10-12 Glenn Morris <rgm@gnu.org>
5437 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5438 (load-path-shadows-find): ... to this.
5439 (list-load-path-shadows): Update for above change.
5441 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5443 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5445 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5446 Fix comment for declare-function.
5448 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5450 * custom.el (custom-fix-face-spec): New function; code moved from
5451 custom-face-edit-fix-value.
5452 (custom-push-theme): Use it when checking if a face has been
5453 changed outside customize.
5454 (custom-available-themes): New function.
5455 (load-theme): Use it.
5457 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5459 * custom.el (custom-push-theme): Cleanup (use cond).
5460 (disable-theme): Recompute the saved-face property.
5461 (custom-theme-recalc-face): Follow face alias before setting prop.
5463 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5464 New variables, containing checkbox images.
5466 * startup.el (fancy-startup-tail):
5467 * wid-edit.el (checkbox): Use them.
5469 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5471 * shell.el (shell-mode-map):
5472 * progmodes/modula2.el (m2-mode-map):
5473 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5474 * play/mpuz.el (mpuz-mode-map):
5475 * play/landmark.el (lm-mode-map):
5476 * play/decipher.el (decipher-mode-map):
5477 * play/5x5.el (5x5-mode-map):
5478 * net/telnet.el (telnet-mode-map):
5479 * net/quickurl.el (quickurl-list-mode-map):
5480 * net/mairix.el (mairix-searches-mode-map):
5481 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5482 * net/dig.el (dig-mode-map):
5483 * mail/mspools.el (mspools-mode-map):
5484 * hexl.el (hexl-mode-map):
5485 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5486 (wordstar-C-o-map, wordstar-C-q-map):
5487 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5488 * emacs-lisp/chart.el (chart-map):
5489 * edmacro.el (edmacro-mode-map):
5490 * erc/erc-list.el (erc-list-menu-mode-map):
5491 * array.el (array-mode-map): Declare and define in one step.
5493 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5495 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5497 * epa.el (epa-passphrase-callback-function): Display filename
5498 passed as the 3rd arg.
5499 * epa-file.el (epa-file-passphrase-callback-function):
5500 Pass filename to epa-passphrase-callback-function.
5502 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5504 * cus-edit.el (custom-face-widget-to-spec)
5505 (custom-face-get-current-spec, custom-face-state): New functions.
5506 (custom-face-set, custom-face-mark-to-save)
5507 (custom-face-value-create, custom-face-state-set): Use them.
5509 * cus-theme.el (custom-theme--listed-faces): New var.
5510 (customize-create-theme): Use *Custom Theme* as the buffer name.
5511 Set revert-buffer-function. Optional arg BUFFER. Insert all
5512 faces listed in custom-theme--listed-faces.
5513 (custom-theme-revert): New function.
5514 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5516 (custom-theme-write): Prompt for theme name if empty.
5517 (custom-theme-write-variables): Use dolist.
5518 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5520 2010-10-09 Alan Mackenzie <acm@muc.de>
5522 Enhance fontification of declarators to take account of the
5523 presence/absence of "typedef".
5525 * cc-engine.el (c-forward-type): New &optional param
5527 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5528 presence of either or both of a "struct"-like keyword and "typedef".
5530 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5531 fontification of declarators which follow a "}".
5532 (c-font-lock-declarations): Fontify declarators according to the
5533 presence/absence of "typedef".
5535 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5537 (c-typedef-decl-key): New lang variable built from
5538 c-typedef-decl-kwds.
5540 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5542 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5543 since that's too annoying. Move the filter groups commands to
5546 * epa.el (epa-passphrase-callback-function): Say what we're
5547 querying the password for.
5549 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5550 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5552 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5554 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5555 (custom-magic-value-create): Pad button tags with spaces.
5556 (custom-face-edit): New variable.
5557 (custom-face-value-create): Determine whether to use the usual
5558 face editor here, instead of using custom-face-selected.
5559 Pass face defaults to custom-face-edit widget.
5560 (custom-face-selected, custom-display-unselected): Delete widgets.
5561 (custom-display-unselected-match): Function removed.
5562 (custom-face-set, custom-face-mark-to-save):
5563 Accept custom-face-edit widgets as the direct widget child.
5565 * wid-edit.el (widget--completing-widget): New var.
5566 (widget-default-complete): Bind it when doing completion.
5567 (widget-string-complete, widget-file-complete): Use it.
5569 2010-10-09 Glenn Morris <rgm@gnu.org>
5571 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5572 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5573 (holiday-hebrew-misc): Small simplifications.
5575 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5577 * net/browse-url.el: Don't require thingatpt, term, dired,
5578 executable, or w3-auto when compiling.
5579 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5581 (browse-url-text-emacs): Require term.
5583 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5585 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5587 2010-10-08 Glenn Morris <rgm@gnu.org>
5589 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5591 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5592 (shadows-compare-text-p): Make it an obsolete alias for...
5593 (load-path-shadows-compare-text): ... new name.
5594 (find-emacs-lisp-shadows): Update for above name change.
5595 (load-path-shadows-same-file-or-nonexistent): New name for the old
5596 shadow-same-file-or-nonexistent.
5598 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5600 * minibuffer.el (completion--some, completion--do-completion)
5601 (minibuffer-complete-and-exit, minibuffer-completion-help)
5602 (completion-basic-try-completion)
5603 (completion-basic-all-completions)
5604 (completion-pcm--find-all-completions): Use lexical-let to
5605 avoid some false matches in variable completion (Bug#7056)
5607 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5609 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5611 2010-10-08 Leo <sdl.web@gmail.com>
5613 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5614 return non-nil if the file exists (Bug#7090).
5616 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * minibuffer.el (completion--replace):
5619 Better preserve markers (bug#7138).
5621 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5623 * server.el (server-process-filter): Doc fix.
5625 2010-10-08 Drew Adams <drew.adams@oracle.com>
5627 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5629 2010-10-08 Glenn Morris <rgm@gnu.org>
5631 * vc/ediff-wind.el (ediff-setup-control-frame):
5632 * vc/ediff-ptch.el (ediff-default-backup-extension):
5633 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5634 (ediff-exec-process): Remove system-types emx, windows-95.
5636 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5638 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5640 * cus-edit.el (custom-variable, custom-face): Doc fix.
5641 (custom-face-edit): Add value-create attribute.
5642 (custom-face-edit-value-create)
5643 (custom-face-edit-value-visibility-action): New functions.
5644 Hide unused face attributes by default, and add a visibility toggle.
5645 (custom-face-edit-deactivate): Show empty values with shadow face.
5646 (custom-face-selected): Only use this for face specs with default
5648 (custom-face-value-create): Cleanup.
5650 * wid-edit.el (widget-checklist-value-create): Use dolist.
5651 (widget-checklist-match-find): Make second arg optional.
5653 2010-10-07 Glenn Morris <rgm@gnu.org>
5655 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5658 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5659 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5660 load-path-shadows-mode, update references.
5661 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5662 Rename variable and button.
5663 (list-load-path-shadows): Update button caller.
5665 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5667 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5668 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5669 (smie-merge-prec2s): Handle those new entries.
5670 (smie-prec2-levels): Only set precedence to nil for actual
5672 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5673 that is now unnecessary.
5675 2010-10-07 Miles Bader <miles@gnu.org>
5677 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5679 2010-10-07 Glenn Morris <rgm@gnu.org>
5681 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5682 (mail-position-on-field): Remove declarations.
5683 (mail-position-on-field): Autoload it.
5684 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5685 and mail-header-end. Don't require sendmail.
5687 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5688 (shadow-mode): New mode.
5689 (shadow-find-file): New button.
5690 (list-load-path-shadows): Use shadow-mode and buttons.
5692 * iimage.el (iimage-version): Remove.
5693 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5694 Turn into defcustoms.
5695 (iimage-mode-map): Give it a doc string.
5697 * calendar/appt.el (appt-activate): Give a warning rather than an error
5698 if there is no diary-file.
5700 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5702 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5703 Use `tramp-handle-find-backup-file-name'.
5705 2010-10-06 Glenn Morris <rgm@gnu.org>
5707 * font-core.el (font-lock-defaults-alist): Remove variable.
5708 (font-lock-mode): Doc fix.
5709 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5710 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5711 (font-lock-set-defaults): Doc fix.
5712 Do not consult font-lock-defaults-alist.
5714 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5716 * emacs-lisp/cl.el: No longer provide cl-19.
5718 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5720 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5721 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5722 New defuns, taken from tramp-smb.el.
5723 (tramp-coding-system-change-eol-conversion)
5724 (tramp-set-process-query-on-exit-flag): Remove.
5726 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5727 (tramp-compat-coding-system-change-eol-conversion)
5728 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5731 * net/tramp-gvfs.el:
5732 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5733 by `tramp-compat-set-process-query-on-exit-flag'.
5735 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5736 Use `tramp-handle-directory-files-and-attributes',
5737 `tramp-handle-file-exists-p' and
5738 `tramp-handle-file-newer-than-file-p'.
5739 (tramp-imap-handle-file-exists-p)
5740 (tramp-imap-handle-file-executable-p)
5741 (tramp-imap-handle-file-readable-p)
5742 (tramp-imap-handle-directory-files-and-attributes)
5743 (tramp-imap-handle-file-newer-than-file-p): Remove.
5745 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5746 by `tramp-compat-set-process-query-on-exit-flag' and
5747 `tramp-coding-system-change-eol-conversion' by
5748 `tramp-compat-coding-system-change-eol-conversion'.
5750 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5751 Use `tramp-handle-directory-files-and-attributes',
5752 `tramp-handle-file-exists-p' and
5753 `tramp-handle-file-newer-than-file-p'.
5754 (tramp-smb-handle-directory-files-and-attributes)
5755 (tramp-smb-handle-file-exists-p)
5756 (tramp-smb-handle-file-newer-than-file-p): Remove.
5757 (tramp-smb-maybe-open-connection):
5758 Replace `tramp-set-process-query-on-exit-flag' by
5759 `tramp-compat-set-process-query-on-exit-flag'.
5761 2010-10-05 Glenn Morris <rgm@gnu.org>
5763 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5765 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5767 Continue reorganization of load dependencies. (Bug#7156)
5769 * net/tramp.el (tramp-handle-file-local-copy-hook)
5770 (tramp-delete-temp-file-function): Move down.
5771 (tramp-exists-file-name-handler): Move up.
5772 (tramp-register-file-name-handlers): Simplify autoload.
5773 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5774 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5775 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5776 (tramp-handle-file-name-completion)
5777 (tramp-handle-file-name-directory)
5778 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5779 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5780 (tramp-handle-find-backup-file-name)
5781 (tramp-handle-insert-file-contents, tramp-handle-load)
5782 (tramp-handle-substitute-in-file-name)
5783 (tramp-handle-unhandled-file-name-directory)
5784 (tramp-mode-string-to-int, tramp-local-host-p)
5785 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5787 * net/tramp-gvfs.el (top):
5788 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5790 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5791 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5793 2010-10-04 Glenn Morris <rgm@gnu.org>
5795 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5796 (appt-activate): Give status messages.
5798 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5800 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5801 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5802 `gnutls-negotiate' (formerly `starttls-negotiate').
5803 Remove trivial wrapper `starttls-open-stream'.
5805 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5807 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5808 log-outgoing commands.
5809 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5810 to create a buffer local revert-buffer-function variable.
5811 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5812 revert-buffer-function lambda.
5814 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5816 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5817 `gnutls-boot'. Make TYPE the only required parameter.
5818 Allow TRUSTFILES and KEYFILES to be lists.
5819 (open-ssl-stream): Use it.
5821 2010-10-03 Glenn Morris <rgm@gnu.org>
5823 * subr.el (directory-sep-char): Remove obsolete variable.
5824 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5827 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5828 * vc/vc.el (vc-static-header-alist): Doc fix.
5829 * vc/vc-cvs.el (vc-cvs-header):
5830 * vc/vc-rcs.el (vc-rcs-header):
5831 * vc/vc-sccs.el (vc-sccs-header):
5832 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5833 * obsolete/vc-mcvs.el (vc-mcvs-header):
5834 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5837 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5839 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5840 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5842 2010-10-03 Glenn Morris <rgm@gnu.org>
5844 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5846 * textmodes/rst.el (rst-font-lock-keywords-function):
5849 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5851 * printing.el: Drop Emacs 20 code.
5853 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5854 without having used appt.el already).
5856 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5857 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5858 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5860 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5861 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5863 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5864 (charset-width, find-charset-region, chars-in-region, forward-point)
5865 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5866 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5867 Remove compatibility cruft (none of these are used by ps*.el).
5869 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5871 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5873 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5875 * server.el (server-process-filter, server-return-error):
5876 Give emacsclient time to shut down after receiving an error string.
5878 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5880 * files.el (remote-file-name-inhibit-cache): New defcustom.
5882 * time.el (display-time-file-nonempty-p):
5883 Use `remote-file-name-inhibit-cache'.
5885 * net/tramp.el (tramp-completion-reread-directory-timeout):
5888 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5889 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5890 `remote-file-name-inhibit-cache'. Check also for an integer
5891 value. Add/increase counter when `tramp-verbose' >= 10.
5892 (tramp-set-file-property): Add/increase counter when
5893 `tramp-verbose' >= 10.
5895 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5896 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5897 (tramp-bug): Set tramp-autoload cookie. Report all interned
5898 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5899 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5900 characters only in strings.
5902 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5903 to backward compatibility.
5905 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5906 (tramp-handle-file-name-all-completions)
5907 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5908 (tramp-open-connection-setup-interactive-shell):
5909 Call `tramp-cleanup-connection' directly.
5911 2010-10-02 Glenn Morris <rgm@gnu.org>
5913 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5915 * subr.el (char-bytes): Remove obsolete function.
5917 * isearch.el (isearch-return-char): Remove obsolete function.
5919 * mouse.el: No longer provide mldrag.
5920 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5921 Remove obsolete aliases.
5923 * comint.el (comint-kill-output): Remove obsolete alias.
5925 * composite.el (decompose-composite-char): Remove obsolete function.
5926 * ps-def.el (decompose-composite-char): Remove unused function.
5928 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5930 * outline.el (outline-visible): Remove obsolete function.
5932 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5933 * faces.el (internal-find-face, internal-get-face)
5934 (frame-update-faces, frame-update-face-colors)
5935 (x-frob-font-weight, x-frob-font-slant)
5936 (internal-frob-font-weight, internal-frob-font-slant)
5937 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5938 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5939 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5941 * emulation/viper-util.el (viper-get-face):
5942 * obsolete/lucid.el (find-face, get-face): Use facep.
5943 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5944 Remove unused functions.
5945 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5947 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5948 delete tempfile if interrupted during compilation.
5950 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5954 (tls-program): Add --insecure to be consistent with the defaults from
5955 openssl s_client. Now all three commands are insecure.
5957 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5959 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5960 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5961 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5963 2010-10-01 Glenn Morris <rgm@gnu.org>
5965 * obsolete/sc.el: Remove file.
5967 * files.el (temporary-file-directory): On darwin, also try
5968 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5970 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5972 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5973 Let's not break compatibility gratuitously, shall we?
5975 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5977 * net/tls.el (tls-starttls-switches): New variable.
5978 (tls-find-starttls-argument): Use it.
5979 (open-tls-stream): Ditto.
5981 * net/netrc.el (netrc-credentials): Return the value of the "default"
5983 (netrc-machine): Ditto.
5985 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5987 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5989 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5991 * server.el (server-start): Don't write pid to the authentication file.
5992 (server-create-tty-frame): Don't send pid.
5993 (server-process-filter): Send pid at the start of every connection.
5995 2010-09-30 Glenn Morris <rgm@gnu.org>
5997 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5998 (show-all-diary-entries): Remove obsolete function aliases.
6000 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6001 Remove options, obsolete since 22.1.
6002 (appt-display-format, appt-display-message):
6003 Remove backwards-compatibility code.
6004 (appt-check): No longer check appt-issue-message.
6005 (appt-make-list): No longer autoload it. Doc fix. No longer
6006 activate the package.
6008 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6010 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6011 (starttls-negotiate): Just call boot, and let the handshake be
6012 triggered from the read loop.
6014 2010-09-29 Glenn Morris <rgm@gnu.org>
6016 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6017 not displaying the diary.
6018 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6019 * calendar/appt.el (appt-check): No longer need to kill diary.
6021 * calendar/diary-lib.el (diary-list-entries): Move the
6022 "Preparing..." message entirely here.
6023 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6024 messages to diary-list-entries.
6025 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6026 diary-display-function.
6028 * calendar/diary-lib.el (diary-include-other-diary-files):
6029 Trap some recursive includes.
6031 * calendar/appt.el (appt-activate): Check diary file.
6033 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6035 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6038 * calendar/time-date.el: No need to require cl for Emacs 21.
6040 2010-09-28 Glenn Morris <rgm@gnu.org>
6042 * calendar/appt.el (appt-check): Minor simplification.
6044 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6046 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6049 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6052 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6054 2010-09-27 Kenichi Handa <handa@m17n.org>
6056 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6059 2010-09-27 Kenichi Handa <handa@m17n.org>
6061 * international/mule.el (define-coding-system): Docstring fixed.
6063 * international/mule-diag.el (describe-character-set): Use princ
6064 with proper print-length and print-level instead of insert.
6066 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6068 * window.el (walk-windows): Doc fix (bug#7105).
6070 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * emacs-lisp/float-sup.el (e): Remove.
6074 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6076 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6078 (starttls-negotiate): Use it.
6080 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6082 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6085 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6087 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6089 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6091 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6093 * net/netrc.el (netrc-store-data): New function.
6095 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6097 * net/gnutls.el: GnuTLS glue code to set up a connection.
6099 2010-09-25 Julien Danjou <julien@danjou.info>
6101 * notifications.el: Call dbus-register-signal only if it is bound.
6103 2010-09-25 Glenn Morris <rgm@gnu.org>
6105 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6106 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6107 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6108 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6109 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6110 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6111 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6112 * eshell/esh-util.el, eshell/esh-var.el:
6113 Remove leading `*' from docs of faces and defcustoms.
6115 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6117 * eshell/em-ls.el (eshell-ls-archive-regexp):
6118 * eshell/esh-util.el (eshell-tar-regexp):
6119 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6120 * info.el (Info-suffix-list):
6121 * international/mule.el (auto-coding-alist):
6122 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6123 * progmodes/etags.el (tags-compression-info-list):
6124 Support xz compression.
6126 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6128 * files.el (get-free-disk-space): Don't assume the "df" output
6129 columns line up (Bug#6995).
6131 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6133 * finder.el (finder-unknown-keywords):
6134 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6135 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6137 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6139 * server.el (server-start): Revert part of 2010-08-08 change. Using
6140 address 127.0.0.1 for local host is now done in Fmake_network_process.
6142 2010-09-24 Glenn Morris <rgm@gnu.org>
6144 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6145 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6146 * textmodes/css-mode.el, textmodes/dns-mode.el:
6147 Move autoloaded auto-mode-alist entries to files.el.
6148 * files.el (auto-mode-alist): Move entries here.
6150 2010-09-23 Glenn Morris <rgm@gnu.org>
6152 * isearch.el (isearch-lazy-highlight-cleanup)
6153 (isearch-lazy-highlight-initial-delay)
6154 (isearch-lazy-highlight-interval)
6155 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6156 * net/net-utils.el (ipconfig-program-options):
6157 Move aliases to options before the associated definitions.
6159 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6161 * newcomment.el (comment-normalize-vars): Better test validity of
6164 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6166 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6167 (float-e): New name for `e'.
6168 (degrees-to-radians, radians-to-degrees):
6169 * calendar/solar.el (solar-longitude):
6170 * calculator.el (calculator-registers, calculator-funcall):
6171 * textmodes/artist.el (artist-spray-random-points):
6172 * play/bubbles.el (bubbles--initialize-images): Use new names.
6174 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6176 Update to CEDET 1.0's version of EIEIO.
6178 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6180 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6181 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6182 (class-precedence-list): If class is nil, return nil.
6183 (eieio-generic-call): If class of first input arg is nil, don't
6184 look up static methods, and do check for primary methods.
6185 (initialize-instance): See if the default needs to be evaluated
6186 during the constructor.
6187 (eieio-perform-slot-validation-for-default): Don't do the check
6188 for values that will eventually be evaluated.
6189 (eieio-eval-default-p): New function.
6190 (eieio-default-eval-maybe): Use it.
6192 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6194 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6195 method-invocation-order.
6196 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6197 (eieio-class-precedence-dfs): Compute class precedence list using
6199 (eieio-class-precedence-bfs): Compute class precedence list using
6201 (eieio-class-precedence-c3): Compute class precedence list using
6203 (class-precedence-list): New function.
6204 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6205 (inconsistent-class-hierarchy): New error symbol.
6206 (call-next-method): Stow the replacement argument list for future
6207 call-next-method invocations.
6209 2010-09-23 Glenn Morris <rgm@gnu.org>
6211 * calendar/appt.el (appt-check): If not displaying the diary,
6212 use (diary 1) to only get the entries we need.
6213 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6214 that it is in day order. (Bug#7019)
6216 * calendar/appt.el (appt-check): Rather than showing the diary,
6217 just turn off invisible display, and only if needed.
6219 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6221 2010-09-23 Glenn Morris <rgm@gnu.org>
6223 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6224 (byte-compile-defvar, byte-compile-cl-warn):
6225 Start warnings with lower-case, like the majority.
6227 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6229 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6231 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6232 * files.el (auto-mode-alist): Move ld-script entries here, further down
6235 * vc/add-log.el: Don't require timezone when compiling.
6236 (timezone-make-date-sortable): Autoload it.
6237 (change-log-sortable-date-at): Don't require timezone.
6238 Use `ignore-errors'.
6240 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6241 Move alias before definition, so it does not need autoloading.
6243 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6244 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6245 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6246 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6247 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6248 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6249 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6250 * textmodes/tex-mode.el, textmodes/two-column.el:
6251 Remove leading `*' from docs of defcustoms etc.
6253 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6255 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6257 2010-09-22 Dan Christensen <jdc@uwo.ca>
6259 * calendar/time-date.el (date-to-time): Try using parse-time-string
6260 first before using the slower timezone-make-date-arpa-standard.
6262 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6264 * calendar/time-date.el (format-seconds): Comment fix.
6266 2010-09-22 Glenn Morris <rgm@gnu.org>
6268 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6269 is not automatically buffer-local.
6271 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6274 (smie-indent-comment): Be more careful with comment-start-skip.
6275 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6276 (smie-indent-functions): Use them.
6278 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6280 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6282 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6284 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6285 tool-bar-position. Don't modify frame parameters here.
6286 (menu-bar-options-save): Add tool-bar-position.
6288 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6290 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * textmodes/reftex-parse.el (reftex-what-macro)
6293 (reftex-context-substring): Let-bind forward-sexp-function to nil
6294 since we don't need/want to treat \begin...\end as a block (bug#7053).
6296 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6298 * simple.el (blink-matching-open): Use syntax-class.
6300 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6301 Set invisibility spec for pascal's outline mode.
6302 (pascal-outline-change): Clean up calling convention.
6303 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6305 * progmodes/prolog.el (prolog-smie-forward-token)
6306 (prolog-smie-backward-token): New functions.
6307 (prolog-mode-variables): Use them to parse "!," correctly.
6308 Set up smie-blink-matching for ".".
6310 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6312 (ispell-region, ispell-process-line): Update users.
6314 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6317 * textmodes/ispell.el: Fix commenting convention.
6318 (ispell-parse-output): Simplify, use push.
6319 (ispell-region): Use match-string-no-properties.
6320 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6321 (ispell-minor-mode): Use define-minor-mode.
6322 (ispell-message): Remove unused var `skip-regexp'.
6323 (ispell-add-per-file-word-list): Use dynamic let-binding.
6324 Try and use the proper comment marker.
6326 * mail/sendmail.el: Fix commenting convention.
6327 (sendmail-send-it): Use line-beginning-position.
6329 * help-fns.el (describe-variable): Add original value, if applicable.
6331 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6333 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6335 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6337 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6339 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6340 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6341 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6342 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6343 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6344 something like "." can also be a closer.
6345 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6346 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6347 Rename internal functions to use "--". Update callers.
6349 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6351 * fringe.el (fringe-styles): New var.
6352 (fringe-mode, fringe-query-style): Use it.
6354 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6356 * progmodes/sql.el: Version 2.8
6357 (sql-login-params): Update widget structure; changes still needed.
6358 (sql-product-alist): Add :list-all and :list-table features for
6359 SQLite, Postgres and MySQL products.
6360 (sql-redirect): Handle default value.
6361 (sql-execute, sql-execute-feature): New functions.
6362 (sql-read-table-name): New function.
6363 (sql-list-all, sql-list-table): New functions. User API.
6364 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6365 for above functions.
6366 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6367 for above functions.
6368 (sql-postgres-login-params): Add user and database defaults.
6369 (sql-buffer-live-p): Bug fix.
6370 (sql-product-history): New variable.
6371 (sql-read-product): New function. Use it.
6372 (sql-set-product, sql-product-interactive): Use it.
6373 (sql-connection-history): New variable.
6374 (sql-read-connection): New function. Use it.
6375 (sql-connect): New function.
6376 (sql-for-each-login): Redesign function interface.
6377 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6378 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6379 (sql-comint): Check for program. Existing live buffer.
6380 (sql-comint-postgres): Add port parameter.
6382 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * emacs-lisp/warnings.el: Fix commenting convention.
6385 (display-warning): Use special mode and make the buffer read-only.
6387 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6389 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6390 empty string when it follows a repeated or optional pattern.
6392 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6395 (indent-region): Use indent-according-to-mode.
6397 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6399 * fringe.el (fringe-mode): Doc fix.
6401 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6403 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6404 refreshing the preview buffer.
6406 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6409 (latex-syntax-propertize-rules): New consts; replace
6410 tex-font-lock-syntactic-keywords.
6411 (tex-env-mark, latex-env-before-change): New functions.
6412 (latex-electric-env-pair-mode): New minor mode.
6413 (tex-font-lock-verb): Change arguments; do move point.
6414 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6415 representation as a form of comment.
6416 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6417 (doctex-syntax-propertize-rules): New const; replaces
6418 doctex-font-lock-syntactic-keywords.
6419 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6421 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6422 (fortran-make-syntax-propertize-function): New function; replaces
6423 fortran-font-lock-syntactic-keywords.
6424 (fortran-mode): Use it.
6425 (fortran-line-length): Use it. Improve interactive spec.
6427 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6428 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6429 when adding surrounding \(..\).
6431 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6433 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6436 Use with-current-buffer.
6438 * isearch.el (isearch-face): Rename from `isearch'.
6439 (isearch-highlight): Use new name.
6441 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6443 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6444 5, for `half' width fringes. (Bug#6933)
6446 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6449 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6451 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6453 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6455 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6456 in calculating new frame position. Add more space between new and
6457 parent on the left (Bug#7048).
6459 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6461 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6464 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6466 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6468 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6469 obsolete alias for x-selection-value.
6471 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6473 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6475 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6478 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6480 * net/tramp-compat.el (tramp-compat-with-temp-message)
6481 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6482 (tramp-compat-process-put): New defuns.
6484 * net/tramp.el (top):
6485 * net/tramp-gvfs.el (top):
6486 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6488 * net/tramp.el (tramp-progress-reporter-update):
6489 Use `tramp-compat-funcall'.
6491 * net/tramp.el (tramp-process-actions):
6492 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6493 * net/tramp-sh.el (tramp-handle-vc-registered)
6494 (tramp-get-remote-stat, tramp-get-remote-readlink):
6495 Use `tramp-compat-with-temp-message'.
6497 * net/tramp-sh.el (top): Require 'cl.
6498 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6499 (tramp-open-connection-setup-interactive-shell):
6500 Use `tramp-compat-process-put'.
6502 2010-09-15 Alan Mackenzie <acm@muc.de>
6504 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6506 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6508 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6511 `lexical' for warnings related to lexical scoping.
6512 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6513 global vars which don't have a prefix and could hence affect lexical
6514 scoping in unrelated files.
6516 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6518 * net/imap.el: Revert back to version
6519 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6522 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6524 * obsolete/old-whitespace.el (whitespace-unload-function):
6525 Explicitly pass `obarray' to `unintern' to avoid a warning.
6527 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6529 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6530 Add `when' argument. Update callers.
6532 * subr.el (unintern): Declare the obarray arg mandatory.
6534 2010-09-14 Glenn Morris <rgm@gnu.org>
6536 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6539 * calendar/diary-lib.el (diary-included-files): New variable.
6540 (diary-list-entries): Maybe initialize diary-included-files.
6541 (diary-include-other-diary-files): Append to diary-included-files.
6542 * calendar/appt.el (appt-update-list): Also check the members of
6543 diary-included-files. (Bug#6999)
6544 (appt-check): Doc fix.
6546 2010-09-14 David Reitter <david.reitter@gmail.com>
6548 * simple.el (line-move-visual): Do not truncate goal column to
6549 integer size. (Bug#7020)
6551 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * repeat.el (repeat): Allow repeating when the last event is a click.
6554 Suggested by Drew Adams (bug#6256).
6556 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6558 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6559 Replace setting HGRCPATH to "" by some less invasive --config options.
6561 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * font-lock.el (font-lock-beginning-of-syntax-function):
6566 2010-09-14 Glenn Morris <rgm@gnu.org>
6568 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6569 and tool-bar modes. (Bug#6211)
6570 (menu-bar-mode): Move setting of standard-value after the
6571 minor-mode definition, otherwise it seems to have no effect.
6573 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6575 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6576 Fix typo. (Bug#6976)
6578 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6580 * whitespace.el: Allow cleaning up blanks without blank
6581 visualization (Bug#6651). Adjust help window for
6582 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6583 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6584 (whitespace-style): Add new value 'face. Adjust docstring.
6585 (whitespace-space, whitespace-hspace, whitespace-tab):
6586 Adjust foreground property face.
6587 (whitespace-line-column): Adjust docstring and type declaration.
6588 (whitespace-style-value-list, whitespace-toggle-option-alist)
6589 (whitespace-help-text): Adjust const initialization.
6590 (whitespace-toggle-options, global-whitespace-toggle-options):
6592 (whitespace-display-window, whitespace-interactive-char)
6593 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6594 (whitespace-help-scroll): New fun.
6596 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6598 * calendar/time-date.el (format-seconds): Comment fix.
6600 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6602 * progmodes/sql.el: Version 2.7.
6603 (sql-buffer-live-p): Improve detection.
6604 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6605 (sql-set-sqli-buffer): Use it.
6606 (sql-product-interactive): Run `sql-set-sqli-hook'.
6607 (sql-rename-buffer): Code cleanup.
6608 (sql-redirect, sql-redirect-value): New functions. More to come.
6610 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6612 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.
6613 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6614 (TRAMP_SRC): New macro.
6615 ($(lisp)/net/tramp-loaddefs.el): New target.
6617 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6619 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6621 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6623 * net/tramp.el (top): Don't show loading message. Require just
6624 'tramp-compat, everything else is required there.
6625 Use `ignore-errors' where appropriate.
6626 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6627 (tramp-terminal-type, tramp-end-of-output)
6628 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6629 (tramp-completion-function-alist-ssh)
6630 (tramp-completion-function-alist-telnet)
6631 (tramp-completion-function-alist-su)
6632 (tramp-completion-function-alist-putty, tramp-remote-path)
6633 (tramp-remote-process-environment, tramp-sh-extra-args)
6634 (tramp-actions-before-shell, tramp-uudecode)
6635 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6636 (tramp-perl-file-attributes)
6637 (tramp-perl-directory-files-and-attributes)
6638 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6639 (tramp-perl-encode, tramp-perl-decode)
6640 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6641 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6642 (tramp-handle-make-symbolic-link, tramp-handle-load)
6643 (tramp-handle-file-name-as-directory)
6644 (tramp-handle-file-name-directory)
6645 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6646 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6647 (tramp-do-file-attributes-with-ls)
6648 (tramp-do-file-attributes-with-perl)
6649 (tramp-do-file-attributes-with-stat)
6650 (tramp-handle-set-visited-file-modtime)
6651 (tramp-handle-verify-visited-file-modtime)
6652 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6653 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6654 (tramp-handle-file-selinux-context)
6655 (tramp-handle-set-file-selinux-context)
6656 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6657 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6658 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6659 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6660 (tramp-handle-file-ownership-preserved-p)
6661 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6662 (tramp-handle-directory-files-and-attributes)
6663 (tramp-do-directory-files-and-attributes-with-perl)
6664 (tramp-do-directory-files-and-attributes-with-stat)
6665 (tramp-handle-file-name-all-completions)
6666 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6667 (tramp-handle-copy-file, tramp-handle-copy-directory)
6668 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6669 (tramp-do-copy-or-rename-file-via-buffer)
6670 (tramp-do-copy-or-rename-file-directly)
6671 (tramp-do-copy-or-rename-file-out-of-band)
6672 (tramp-handle-make-directory, tramp-handle-delete-directory)
6673 (tramp-handle-delete-file)
6674 (tramp-handle-dired-recursive-delete-directory)
6675 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6676 (tramp-handle-insert-directory)
6677 (tramp-handle-unhandled-file-name-directory)
6678 (tramp-handle-expand-file-name)
6679 (tramp-handle-substitute-in-file-name)
6680 (tramp-handle-executable-find, tramp-process-sentinel)
6681 (tramp-handle-start-file-process, tramp-handle-process-file)
6682 (tramp-handle-call-process-region, tramp-handle-shell-command)
6683 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6684 (tramp-handle-insert-file-contents)
6685 (tramp-handle-insert-file-contents-literally)
6686 (tramp-handle-find-backup-file-name)
6687 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6688 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6689 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6690 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6691 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6692 (tramp-find-file-exists-command, tramp-open-shell)
6693 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6694 (tramp-open-connection-setup-interactive-shell)
6695 (tramp-local-coding-commands, tramp-remote-coding-commands)
6696 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6697 (tramp-inline-compress-commands, tramp-find-inline-compress)
6698 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6699 (tramp-send-command, tramp-wait-for-output)
6700 (tramp-send-command-and-check, tramp-barf-unless-okay)
6701 (tramp-send-command-and-read, tramp-mode-string-to-int)
6702 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6703 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6704 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6705 (tramp-method-out-of-band-p, tramp-local-host-p)
6706 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6707 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6708 (tramp-get-test-command, tramp-get-test-nt-command)
6709 (tramp-get-file-exists-command, tramp-get-remote-ln)
6710 (tramp-get-remote-perl, tramp-get-remote-stat)
6711 (tramp-get-remote-readlink, tramp-get-remote-trash)
6712 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6713 (tramp-get-local-uid, tramp-get-local-gid)
6714 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6716 (tramp-methods, tramp-default-method-alist)
6717 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6718 Move initialization to tramp-sh.el.
6719 (tramp-temp-name-prefix): Make it a defconst.
6720 (tramp-dissect-file-name): Don't check anymore for multi-hop
6722 (tramp-debug-outline-regexp): Add a docstring.
6723 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6724 (tramp-get-debug-buffer): Use it.
6726 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6727 initialization forms.
6728 (tramp-set-connection-property): Don't protect `tramp-message'
6729 call, it isn't necessary any longer.
6730 (tramp-dump-connection-properties): Use `ignore-errors'.
6732 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6733 'password-cache and 'auth-source.
6735 * net/tramp-gvfs.el (top):
6736 * net/tramp-smb.el (top): Require 'tramp-sh.
6738 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6740 * net/tramp-sh.el: New file, derived from tramp.el.
6741 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6742 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6743 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6744 Use `ignore-errors' where appropriate.
6745 (tramp-sh-file-name-handler-alist): Rename from
6746 `tramp-file-name-handler-alist'.
6747 (tramp-send-command-and-check): Return t or nil. Remove all
6748 `zerop' checks, where called.
6749 (tramp-handle-set-file-modes)
6750 (tramp-do-copy-or-rename-file-directly)
6751 (tramp-handle-delete-directory, tramp-handle-delete-file)
6752 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6753 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6754 (tramp-get-remote-ln): Set tramp-autoload cookie.
6756 * net/tramp-fish.el: Remove file.
6758 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6760 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6761 buffer-file-name to avoid file-locking. (Bug#7026)
6763 2010-09-13 Julien Danjou <julien@danjou.info>
6765 * notifications.el (notifications-notify): Add support for
6766 image-path and sound-name.
6767 (notifications-specification-version): Add this variable.
6769 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6773 2010-09-12 Leo <sdl.web@gmail.com>
6775 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6776 (rcirc-completion-start): New variables.
6777 (rcirc-nick-completions): Rename to rcirc-completions.
6778 (rcirc-nick-completion-start-offset): Delete.
6779 (rcirc-completion-at-point): New function for constructing
6780 completion data for both nicks and irc commands. Add to
6781 completion-at-point-functions in rcirc mode.
6782 (rcirc-complete): Rename from rcirc-nick-complete; use
6783 rcirc-completion-at-point.
6784 (defun-rcirc-command): Update rcirc-client-commands.
6786 2010-09-11 Glenn Morris <rgm@gnu.org>
6788 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6789 atomically, to avoid parallel build errors. (Bug#4196)
6791 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6793 * progmodes/sql.el: Version 2.6
6794 (sql-dialect): Synonym for "sql-product".
6795 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6796 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6797 Set "sql-buffer" to buffer name not buffer object so multiple sql
6798 interactive buffers work properly. Reverts misguided changes in
6800 (sql-comint): Make sure different buffer name is used if "*SQL*"
6801 buffer is for a different product.
6802 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6804 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6805 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6806 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6807 Accept new buffer name or prompt for one.
6808 (sql-port): Default to zero.
6809 (sql-comint-mysql): Handle "sql-port" as a numeric.
6810 (sql-port-history): Delete unused variable.
6811 (sql-get-login): Default "sql-port" to a number.
6812 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6813 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6814 "sqlite3" executables.
6815 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6816 (sql-buffer-live-p): New function.
6817 (sql-mode-menu, sql-send-string): Use it.
6818 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6820 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6821 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6823 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6825 * net/netrc.el (netrc-credentials): New convenience function.
6827 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6830 to replace texinfo-font-lock-syntactic-keywords.
6831 (texinfo-mode): Use it.
6833 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6834 Use syntax-propertize-function.
6836 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6837 replace sgml-font-lock-syntactic-keywords.
6838 (sgml-mode): Use it.
6840 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6841 since we don't use it.
6843 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6845 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6847 (vhdl-fontify-buffer): Adjust.
6849 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6850 replace tcl-font-lock-syntactic-keywords.
6853 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6854 replace simula-font-lock-syntactic-keywords.
6855 (simula-mode): Use it.
6857 * progmodes/sh-script.el (sh-st-symbol): Remove.
6858 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6859 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6860 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6861 (sh-font-lock-paren): Set syntax-multiline.
6862 (sh-font-lock-syntactic-keywords): Remove.
6863 (sh-syntax-propertize-function): New function to replace it.
6866 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6867 Define while compiling.
6868 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6869 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6870 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6871 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6872 (ruby-here-doc-end-syntax): Only define when
6873 syntax-propertize is not available.
6874 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6876 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6877 (electric-indent-chars): Silence bytecompiler.
6878 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6879 electric-indent-chars.
6881 * progmodes/python.el (python-syntax-propertize-function): New var to
6882 replace python-font-lock-syntactic-keywords.
6883 (python-mode): Use it.
6884 (python-quote-syntax): Simplify and adjust to new use.
6886 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6887 replace perl-font-lock-syntactic-keywords.
6888 (perl-syntax-propertize-special-constructs): New fun to replace
6889 perl-font-lock-special-syntactic-constructs.
6890 (perl-font-lock-syntactic-face-function): New fun.
6891 (perl-mode): Use it.
6893 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6894 to replace octave-font-lock-close-quotes.
6895 (octave-syntax-propertize-function): New function to replace
6896 octave-font-lock-syntactic-keywords.
6897 (octave-mode): Use it.
6899 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6900 replaces mixal-font-lock-syntactic-keywords.
6901 (mixal-mode): Use it.
6903 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6904 New var; replaces makefile-font-lock-syntactic-keywords.
6905 (makefile-mode): Use it.
6906 (makefile-imake-mode): Adjust.
6908 * progmodes/js.el (js--regexp-literal): Define while compiling.
6909 (js-syntax-propertize-function): New var; replaces
6910 js-font-lock-syntactic-keywords.
6913 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6914 replaces gdb-script-font-lock-syntactic-keywords.
6915 (gdb-script-mode): Use it.
6917 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6918 (fortran--font-lock-syntactic-keywords): New var.
6919 (fortran-line-length): Update syntax-propertize-function and
6920 fortran--font-lock-syntactic-keywords.
6922 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6924 * progmodes/cfengine.el (cfengine-mode):
6925 Use syntax-propertize-function.
6926 (cfengine-font-lock-syntactic-keywords): Remove.
6928 * progmodes/autoconf.el (autoconf-mode):
6929 Use syntax-propertize-function.
6930 (autoconf-font-lock-syntactic-keywords): Remove.
6932 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6933 (ada-after-change-function, ada-initialize-syntax-table-properties)
6934 (ada-handle-syntax-table-properties): Only define when
6935 syntax-propertize is not available.
6936 (ada-mode): Use syntax-propertize-function.
6938 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6939 (font-lock-fontify-syntactic-keywords-region): Move handling of
6940 font-lock-syntactically-fontified to...
6941 (font-lock-default-fontify-region): ...here.
6942 Let syntax-propertize-function take precedence.
6943 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6945 * emacs-lisp/syntax.el (syntax-propertize-function)
6946 (syntax-propertize-chunk-size, syntax-propertize--done)
6947 (syntax-propertize-extend-region-functions): New vars.
6948 (syntax-propertize-wholelines, syntax-propertize-multiline)
6949 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6950 (syntax-propertize): New functions.
6951 (syntax-propertize-rules): New macro.
6952 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6953 (syntax-ppss): Call syntax-propertize.
6955 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6957 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6959 * textmodes/ispell.el (ispell-init-process): Improve comments.
6960 XEmacs compatibility changes regarding (add-hook) 'local option
6961 and (set-process-query-on-exit-flag).
6963 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6965 * net/tramp-cache.el (tramp-parse-connection-properties):
6966 Set tramp-autoload cookie.
6968 2010-09-09 Glenn Morris <rgm@gnu.org>
6970 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6971 (imagemagick-register-types): Doc fix.
6973 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6977 * progmodes/js.el (require): Require is already "eval-and-compile".
6978 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6979 (js--re-search-backward): Use js--re-search-forward.
6981 * progmodes/fortran.el (fortran-line-length): Don't recompute
6982 syntactic keywords redundantly a second time.
6984 * progmodes/ada-mode.el: Replace "(set '" with setq.
6985 (ada-mode): Simplify.
6986 (ada-create-case-exception, ada-adjust-case-interactive)
6987 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6988 (ada-search-ignore-string-comment, ada-move-to-start)
6989 (ada-move-to-end): Use with-syntax-table.
6991 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6992 (font-lock-unfontify-region, font-lock-default-fontify-region):
6993 Update usage correspondingly.
6994 (font-lock-fontify-syntactic-keywords-region):
6995 Set parse-sexp-lookup-properties buffer-locally here.
6996 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6998 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7000 2010-09-08 Glenn Morris <rgm@gnu.org>
7002 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7003 Error if not compiled with -DBYTE_CODE_METER.
7005 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7006 Ignore dir-locals-file.
7008 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7012 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7013 for the `gnu' messages.
7014 (compilation-set-skip-threshold): New command.
7015 (compilation-start): Use \' rather than $.
7016 (compilation-forget-errors): Use clrhash.
7018 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7020 * textmodes/ispell.el (ispell-valid-dictionary-list):
7023 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7025 Migrate to Tramp 2.2. Rearrange load dependencies.
7026 (Bug#1529, Bug#5448, Bug#5705)
7028 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7029 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7030 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7032 * net/tramp.el (top): Remove all other tramp-* loads except
7033 tramp-compat.el. Remove all changes to tramp-unload-hook for
7034 other tramp-* packages. Rearrange defun order. Change calls of
7035 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7036 `tramp-compat-octal-to-decimal' to new function names.
7037 (tramp-terminal-type, tramp-initial-end-of-output)
7038 (tramp-methods, tramp-foreign-file-name-handler-alist)
7039 (tramp-tramp-file-p, tramp-completion-mode-p)
7040 (tramp-send-command-and-check, tramp-get-remote-path)
7041 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7042 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7043 (with-file-property, with-connection-property): Move to
7045 (tramp-local-call-process, tramp-decimal-to-octal)
7046 (tramp-octal-to-decimal): Move to tramp-compat.el.
7047 (tramp-handle-shell-command): Do not require 'shell.
7048 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7050 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7052 * net/tramp-cache.el (top): Require 'tramp. Add to
7053 `tramp-unload-hook'.
7054 (tramp-cache-data, tramp-get-file-property)
7055 (tramp-set-file-property, tramp-flush-file-property)
7056 (tramp-flush-directory-property, tramp-get-connection-property)
7057 (tramp-set-connection-property, tramp-flush-connection-property)
7058 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7060 (with-file-property, with-connection-property): New defuns, moved
7062 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7065 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7066 (tramp-version): Set tramp-autoload cookie.
7068 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7069 changes to tramp-unload-hook for other tramp-* packages. Add to
7070 `tramp-unload-hook'.
7071 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7072 (tramp-compat-call-process): New defuns, moved from tramp.el.
7074 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7075 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7076 Add to `tramp-unload-hook'. Change call of
7077 `tramp-compat-decimal-to-octal' to new function name.
7078 (tramp-fish-method): Make it a defconst.
7079 (tramp-fish-file-name-p): Make it a defsubst.
7080 (tramp-fish-method, tramp-fish-file-name-handler)
7081 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7083 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7084 `tramp-foreign-file-name-handler-alist'. Add to
7085 `tramp-unload-hook'.
7086 (tramp-ftp-method): Make it a defconst.
7087 (tramp-ftp-file-name-p): Make it a defsubst.
7088 (tramp-ftp-method, tramp-ftp-file-name-handler)
7089 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7091 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7092 `tramp-foreign-file-name-handler-alist'. Add to
7093 `tramp-unload-hook'. Change checks, whether package can be
7095 (tramp-gvfs-file-name-p): Make it a defsubst.
7096 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7097 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7098 (tramp-gvfs-handle-file-directory-p): New defun.
7099 (tramp-gvfs-file-name-handler-alist): Use it.
7101 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7102 `tramp-foreign-file-name-handler-alist'. Add to
7103 `tramp-unload-hook'.
7104 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7105 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7107 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7108 (tramp-gw-open-connection): Set tramp-autoload cookie.
7110 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7111 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7112 Add to `tramp-unload-hook'. Change checks, whether package can be
7114 (tramp-imap-file-name-p): Make it a defsubst.
7115 (tramp-imap-method, tramp-imaps-method)
7116 (tramp-imap-file-name-handler)
7117 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7119 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7120 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7121 Add to `tramp-unload-hook'. Change checks, whether package can be
7122 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7124 (tramp-smb-tunnel-method): Make it a defconst.
7125 (tramp-smb-file-name-p): Make it a defsubst.
7126 (tramp-smb-method, tramp-smb-file-name-handler)
7127 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7129 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7130 (tramp-uuencode-region): Set tramp-autoload cookie.
7132 * net/trampver.el (top) Add to `tramp-unload-hook'.
7133 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7134 cookie. Update release number.
7136 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7138 * textmodes/ispell.el (ispell-start-process): Make sure original
7139 arg list is properly initialized (Bug#6993, Bug#6994).
7141 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7143 * files.el (directory-abbrev-alist): Use \` as default regexp.
7145 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7146 chars like - or ] (bug#6984).
7147 (rx-any-condense-range): Explode 2-char ranges.
7149 2010-09-06 Glenn Morris <rgm@gnu.org>
7151 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7153 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * textmodes/bibtex.el:
7156 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7158 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7160 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7161 since no callers use it.
7162 (imap-message-get): Ditto.
7163 (imap-message-put): Ditto.
7164 (imap-mailbox-map): Ditto.
7165 (imap-mailbox-put): Ditto.
7166 (imap-mailbox-get): Ditto.
7167 (imap-mailbox-get): Revert last change for this function.
7169 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7171 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7172 callers to use `imap-fetch' instead. According to the comments, this
7173 should be safe, since all other IMAP clients use the 1:* syntax.
7174 (imap-enable-exchange-bug-workaround): Remove.
7175 (imap-debug): Remove -- doesn't seem very useful.
7177 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179 * net/imap.el (imap-log): New convenience function used throughout
7180 instead of repeating the same code all over the place.
7182 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7184 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7185 when mouse-drag-copy-region is non-nil (Bug#6956).
7187 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7189 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7190 Improve regexps (Bug#6987).
7191 (dired-sort-toggle): Search more robustly for -t flag.
7193 * files.el (get-free-disk-space): Search more robustly for
7194 "available" column. Suggested by Ehud Karni
7195 <ehud@unix.mvs.co.il>.
7197 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7199 * international/uni-bidi.el:
7200 * international/uni-category.el:
7201 * international/uni-combining.el:
7202 * international/uni-decimal.el:
7203 * international/uni-mirrored.el:
7204 * international/uni-name.el: Regenerate.
7206 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * electric.el (electric-indent-post-self-insert-function):
7209 Don't reindent with a sloppy indentation function.
7211 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7212 border case in change-log-mode.
7214 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7217 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7218 Recognize leading tab in gcc-include regexp. Ignore names with
7219 leading "from" or "in" in gnu regexp (Bug#6937).
7221 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7223 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7224 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7225 (ispell-start-process): Avoid setq and simplify logic.
7226 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7227 (kill-buffer-hook): Don't use it globally with code that uses
7228 expand-file-name since that may call kill-buffer via
7229 code_conversion_restore.
7231 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7233 * emacs-lisp/package.el (package-directory-list): Only call
7234 file-name-nondirectory on a string.
7236 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7238 * emacs-lisp/package.el (package--download-one-archive):
7239 Ensure that archive-contents is valid before saving it.
7240 (package-activate-1, package-mark-obsolete, define-package)
7241 (package-compute-transaction, package-list-maybe-add): Use push.
7243 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7245 Use SMIE's blink-paren for octave-mode.
7246 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7247 Backslashes do not escape single-quotes, single-quotes do.
7248 (octave-block-else-regexp, octave-block-end-regexp)
7249 (octave-block-match-alist): Remove.
7250 (octave-smie-bnf-table): New var, with old content.
7251 (octave-smie-op-levels): Use it.
7252 (octave-smie-closer-alist): New var.
7253 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7254 (octave-blink-matching-block-open): Remove.
7255 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7256 (octave-electric-space): Let self-insert-command run expand-abbrev and
7259 * electric.el (electricity): New group.
7260 (electric-indent-chars): New var.
7261 (electric-indent-post-self-insert-function): New fun.
7262 (electric-indent-mode): New minor mode.
7263 (electric-pair-skip-self): New custom.
7264 (electric-pair-post-self-insert-function): New function.
7265 (electric-pair-mode): New minor mode.
7267 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7268 calcAlg-blink-matching-open.
7269 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7270 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7271 Use the new blink-matching-check-function.
7273 Provide blink-matching support to SMIE.
7274 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7275 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7276 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7278 * simple.el (newline): Fix last change to properly remove itself from
7281 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * simple.el (newline): Eliminate optimization.
7284 Use post-self-insert-hook to set hard-newline and things before
7285 running post-self-insert-hook.
7286 (blink-matching-check-mismatch): New function.
7287 (blink-matching-check-function): New variable.
7288 (blink-matching-open): Use them.
7289 Skip back forward over prefix chars skipped by forward-sexp.
7290 Don't check if the parens are backslash escaped.
7291 (blink-paren-post-self-insert-function): Check backslash escaping here.
7293 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7295 * emacs-lisp/package.el (package-menu-mode-map):
7296 Change package-menu-revert bindings to revert-buffer.
7297 (package-menu-mode): Set revert-buffer-function.
7298 (package-menu-revert): Doc fix.
7300 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7302 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7303 `default-directory' unless using Ispell per-directory personal
7304 dictionaries and not in a mini-buffer under XEmacs.
7305 (kill-buffer-hook): Do not kill ispell process on exit when
7306 `ispell-process-directory' is "~/". (Bug#6143)
7308 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7310 * simple.el (kill-new): Call interprogram-cut-function with only
7313 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7314 Remove cut buffer from error message.
7316 * term/x-win.el (x-select-text):
7317 * term/pc-win.el (x-selection-value):
7318 * term/ns-win.el (x-selection-value):
7319 * eshell/em-term.el:
7320 * w32-fns.el (x-get-selection-value):
7321 * mouse-sel.el (mouse-sel-set-selection-function):
7322 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7324 * term/x-win.el: Update documentation for x-last-selected-text-*.
7325 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7326 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7327 (x-select-text): Remove argument PUSH, update documentation.
7328 Remove cut-buffer code.
7329 (x-selection-value-internal): Was previously x-selection-value.
7330 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7331 Update documentation, remove cut-buffer code.
7332 Call x-selection-value-internal.
7333 (x-clipboard-yank): Call x-selection-value-internal.
7334 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7336 * term/pc-win.el (x-last-selected-text):
7337 x-cut-buffer-or-selection-value renamed to x-selection-value
7338 (x-select-text): Remove argument PUSH, update documentation.
7340 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7341 x-cut-buffer-or-selection-value renamed to x-selection-value
7342 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7343 (x-select-text): Remove argument PUSH, update documentation.
7345 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7347 * w32-fns.el (x-last-selected-text):
7348 x-cut-buffer-or-selection-value renamed to x-selection-value.
7349 (x-cut-buffer-max): Remove.
7350 (x-select-text): Remove argument PUSH, update documentation.
7352 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7354 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7356 * mouse-sel.el (mouse-sel-get-selection-function):
7357 x-cut-buffer-or-selection-value renamed to x-selection-value.
7358 (x-select-text): Remove optional push.
7360 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * simple.el (blink-paren-function): Move from C to here.
7363 (blink-paren-post-self-insert-function): New function.
7364 (post-self-insert-hook): Use it.
7366 * emacs-lisp/pcase.el (pcase-split-memq):
7367 Fix overenthusiastic optimisation.
7368 (pcase-u1): Handle the case of a lambda pred.
7370 2010-08-31 Kenichi Handa <handa@m17n.org>
7372 * international/mule-cmds.el (standard-display-european-internal):
7373 Setup standard-display-table for 8-bit characters by storing 8-bit
7374 characters in the element vector.
7376 * disp-table.el (standard-display-8bit):
7377 Setup standard-display-table for 8-bit characters by storing 8-bit
7378 characters in the element vector.
7379 (standard-display-european): Likewise.
7381 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7383 * textmodes/nroff-mode.el (nroff-view): New command.
7384 (nroff-mode-map): Bind it to C-c C-c.
7386 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * emacs-lisp/smie.el (smie-down-list): New command.
7390 Remove old indentation and navigation code on octave-mode.
7391 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7392 smie-down-list rather than add a binding for octave-down-block.
7393 (octave-mark-block, octave-blink-matching-block-open):
7394 Rely on forward-sexp-function.
7395 (octave-fill-paragraph): Don't narrow, so you can use
7396 indent-according-to-mode.
7397 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7398 (octave-in-block-p, octave-re-search-forward-kw)
7399 (octave-re-search-backward-kw, octave-indent-calculate)
7400 (octave-end-as-array-index-p, octave-block-end-offset)
7401 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7402 (octave-down-block, octave-backward-up-block, octave-up-block)
7403 (octave-before-magic-comment-p, octave-indent-line): Remove.
7405 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7407 * emacs-lisp/package.el (package--read-archive-file): Just use
7408 `read', to avoid copying an additional string.
7409 (package-menu-mode): Set header-line-format here.
7410 (package-menu-refresh, package-menu-revert): Signal an error if
7411 not in the Package Menu.
7412 (package-menu-package-list): New var.
7413 (package--generate-package-list): Operate on the current buffer;
7414 don't assume that it is *Packages*, since the user may rename it.
7415 Allow persistent package listings and sort keys using
7416 package-menu-package-list and package-menu-package-sort-key.
7417 (package-menu--version-predicate): Fix version calculation.
7418 (package-menu-sort-by-column): Don't select the window.
7419 (package--list-packages): Create the *Packages* buffer.
7420 Set package-menu-package-list-key.
7421 (list-packages): Sorting by status is now the default.
7422 (package-buffer-info): Use match-string-no-properties.
7423 (define-package): Add a &rest argument for future proofing, but
7425 (package-install-from-buffer, package-install-buffer-internal):
7426 Merge into a single function, package-install-from-buffer.
7427 (package-install-file): Change caller.
7429 * finder.el: Load finder-inf using `require'.
7430 (finder-list-matches): Sorting by status is now the default.
7431 (finder-compile-keywords): Simpify printing.
7433 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7435 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7436 (octave-mode-map): Remove special bindings for forward/backward-block
7437 and octave-backward-up-block. Use smie-close-block.
7438 (octave-continuation-marker-regexp): New var.
7439 (octave-continuation-regexp): Use it.
7440 (octave-operator-table, octave-smie-op-levels)
7441 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7442 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7443 (octave-mode): Use SMIE.
7444 (octave-close-block): Delete.
7446 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7448 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7449 CLIPBOARD, not in PRIMARY. (Bug#6944)
7451 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7455 (smie-indent-column): Allow indirection through variables.
7457 * composite.el (save-buffer-state): Delete, unused.
7458 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7459 (font-lock-default-fontify-region): Use with-syntax-table.
7460 * jit-lock.el (with-buffer-unmodified): Remove.
7461 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7463 Use `declare' in defmacros.
7464 * window.el (save-selected-window):
7465 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7466 * progmodes/python.el (def-python-skeleton):
7467 * net/dbus.el (dbus-ignore-errors):
7468 * jka-cmpr-hook.el (with-auto-compression-mode):
7469 * international/mule.el (with-category-table):
7470 * emacs-lisp/timer.el (with-timeout):
7471 * emacs-lisp/lisp-mnt.el (lm-with-file):
7472 * emacs-lisp/eieio.el (with-slots):
7473 * emacs-lisp/easymenu.el (easy-menu-define):
7474 * emacs-lisp/debug.el (debugger-env-macro):
7475 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7476 (Multiple-value-call, Multiple-value-prog1):
7477 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7478 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7479 edebug rule to definition.
7480 * emacs-lisp/lisp-mode.el (save-selected-window)
7481 (with-current-buffer, combine-after-change-calls)
7482 (with-output-to-string, with-temp-file, with-temp-buffer)
7483 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7484 (dolist, dotimes, when, unless):
7485 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7487 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7489 * finder.el: Require `package'.
7490 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7491 (finder-package-info): Var deleted.
7492 (finder-keywords-hash, finder--builtins-alist): New vars.
7493 (finder-compile-keywords): Compute package--builtins and
7494 finder-keywords-hash instead of finder-keywords-hash, respecting
7495 the "Package" header.
7496 (finder-unknown-keywords, finder-list-matches):
7497 Use finder-keywords-hash and package--list-packages.
7498 (finder-mode): Don't set font-lock-defaults.
7499 (finder-exit): We don't use "*Finder-package*" and "*Finder
7500 Category*" buffers anymore.
7502 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7503 (package--builtins): Set default value to nil.
7504 (package-initialize): Load precomputed value of package--builtins
7506 (package-alist, package-compute-transaction)
7507 (package-download-transaction): Improve docstring.
7508 (package-read-all-archive-contents): Do not change
7509 package--builtins here.
7510 (list-packages): Make package-list-packages an alias for this.
7511 Sort by status by default.
7512 (package--list-packages): Add optional PACKAGES arg.
7513 (describe-package-1): Use font-lock-face property. For built-in
7514 packages, insert file commentary.
7515 (package--generate-package-list): Rename from
7516 package-list-packages-internal; all callers changed. Add optional
7517 PACKAGES arg. Add alphabetical sort fallbacks.
7518 (package-menu--version-predicate, package-menu--status-predicate)
7519 (package-menu--description-predicate)
7520 (package-menu--name-predicate): New functions.
7522 * info.el (Info-finder-find-node): Search package-alist instead of
7523 finder-package-info.
7525 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7527 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7529 (version-to-list): Handle versions like "10.3d".
7531 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7534 (macroexp-accumulate): Use `declare'.
7536 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7538 * whitespace.el (whitespace-style): Adjust type declaration.
7540 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7542 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7544 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7546 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7549 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7551 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7552 (js-paren-indent-offset, js-square-indent-offset)
7553 (js-curly-indent-offset): New options.
7554 (js--proper-indentation): Use them.
7556 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7558 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7559 instead of inspecting font-lock properties (Bug#6916).
7561 2010-08-26 David Reitter <david.reitter@gmail.com>
7563 * server.el (server-visit-files): Run pre-command-hook and
7564 post-command-hook for each buffer while it is current (Bug#6910).
7565 (server-execute): Do not run hooks here.
7567 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7569 Sync with Tramp 2.1.19.
7571 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7573 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7575 * net/tramp.el (tramp-handle-expand-file-name)
7576 (tramp-completion-handle-file-name-all-completions)
7577 (tramp-completion-handle-file-name-completion):
7578 Use `tramp-connectable-p'.
7580 * net/trampver.el: Update release number.
7582 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7584 * help.el (help-map): Bind `C-h P' to describe-package.
7586 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7588 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7589 when downloading archives.
7590 (describe-package-1): Add package commentary.
7591 (package-install-button-action): New function.
7592 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7593 (package-menu-view-commentary): Function removed.
7594 (package-list-packages-internal): Hide the `package' package too.
7596 2010-08-25 Kenichi Handa <handa@m17n.org>
7598 * language/misc-lang.el ("Arabic"): New language environment.
7599 Setup composition-function-table for Arabic characters.
7601 * international/fontset.el (setup-default-fontset): Fix typo for
7602 arabic OTF spec (fini->fina).
7604 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7606 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7609 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7611 * whitespace.el: Allow cleaning up blanks without blank
7612 visualization (Bug#6651). Adjust help window for
7613 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7614 instead of whitespace-line-column (from EmacsWiki). New version
7616 (whitespace-style): Add new value 'face. Adjust docstring.
7617 (whitespace-space, whitespace-hspace, whitespace-tab):
7618 Adjust foreground property face.
7619 (whitespace-line-column): Adjust docstring and type declaration.
7620 (whitespace-style-value-list, whitespace-toggle-option-alist)
7621 (whitespace-help-text): Adjust const initialization.
7622 (whitespace-toggle-options, global-whitespace-toggle-options):
7624 (whitespace-display-window, whitespace-interactive-char)
7625 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7626 (whitespace-help-scroll): New fun.
7628 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7630 * emacs-lisp/package.el (list-packages): Alias for
7631 package-list-packages.
7633 2010-08-24 Kevin Ryde <user42@zip.com.au>
7635 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7638 * progmodes/ruby-mode.el (ruby): Add defgroup.
7640 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7642 * progmodes/python.el: Add Ipython support (Bug#5390).
7643 (python-shell-prompt-alist)
7644 (python-shell-continuation-prompt-alist): New options.
7645 (python--set-prompt-regexp): New function.
7646 (inferior-python-mode, run-python, python-shell):
7647 Require ansi-color. Use python--set-prompt-regexp to set the comint
7648 prompt based on the Python interpreter.
7649 (python--prompt-regexp): New var.
7650 (python-check-comint-prompt)
7651 (python-comint-output-filter-function): Use it.
7652 (run-python): Use a pipe (Bug#5694).
7654 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7656 * progmodes/python.el (python-send-region): Send a different
7657 Python command if Ipython is in use.
7658 (python-check-version): Use a Python command to find the version.
7660 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7662 * mouse.el (mouse-yank-primary): Avoid setting primary when
7663 deactivating the mark (Bug#6872).
7665 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7667 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7668 with "else" (Bug#3991).
7670 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7672 * net/dbus.el: Accept UNIX domain sockets as bus address.
7673 (top): Don't initialize `dbus-registered-objects-table' anymore,
7674 this is done in dbusbind,c.
7675 (dbus-check-event): Adapt test for bus.
7676 (dbus-return-values-table, dbus-unregister-service)
7677 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7680 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7682 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7684 2010-08-22 Juri Linkov <juri@jurta.org>
7686 * simple.el (read-extended-command): New function with the logic
7687 for `completing-read' moved to Elisp from `execute-extended-command'.
7688 Use `function-called-at-point' in `minibuffer-default-add-function'
7689 to get a command name for M-n (bug#5364, bug#5214).
7691 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7693 * startup.el (command-line-1): Issue warning for ignored arguments
7694 --unibyte, etc (Bug#6886).
7696 2010-08-22 Leo <sdl.web@gmail.com>
7698 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7699 (ignore, bright, dim, keyword): Split list of nicknames before
7700 passing to rcirc-add-or-remove (Bug#6894).
7702 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7704 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7706 2010-08-22 Leo <sdl.web@gmail.com>
7708 Fix buffer-list rename&refresh after killing a buffer in ido.
7709 * ido.el: Revert Óscar's.
7710 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7711 Remember the buffers at head, rather than their name.
7712 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7714 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7715 Stefan Monnier <monnier@iro.umontreal.ca>
7717 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7718 extra backslash added to each line (bug#6890).
7720 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7724 2010-08-22 Glenn Morris <rgm@gnu.org>
7726 * menu-bar.el (menu-bar-games-menu): Add landmark.
7728 2010-08-22 Glenn Morris <rgm@gnu.org>
7730 * align.el (align-regexp): Make group and spacing arguments
7731 use the interactive defaults when non-interactive. (Bug#6698)
7733 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7734 expansion, so as not to need sendmail.
7735 (mail-text-start): Remove declaration.
7736 (rmail-retry-failure): Require sendmail.
7738 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7740 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7742 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7744 * progmodes/flymake.el (flymake-start-syntax-check-process):
7745 Use `start-file-process' in order to let it run also on remote hosts.
7747 2010-08-22 Kenichi Handa <handa@m17n.org>
7749 * files.el: Add `word-wrap' as safe local variable.
7751 2010-08-22 Glenn Morris <rgm@gnu.org>
7753 * woman.el (woman-translate): Case matters. (Bug#6849)
7755 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7757 * simple.el (kill-region): Doc fix (Bug#6787).
7759 2010-08-22 Glenn Morris <rgm@gnu.org>
7761 * calendar/diary-lib.el (diary-header-line-format):
7762 Fit it to the window, not the frame.
7764 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7766 * subr.el (ignore-errors): Add debug declaration.
7768 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7770 * whitespace.el (whitespace-color-off): Remove post-command-hook
7773 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7775 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7777 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7779 * cus-edit.el (custom-group-value-create): Add extra newline
7780 before end line (Bug#6876).
7782 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7784 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7785 when extending it. Before killing on the second click, check if
7786 the buffer is the correct one. Doc fix.
7787 (mouse-secondary-save-then-kill): Allow usage without first
7788 calling mouse-start-secondary, by defaulting to point. Don't save
7789 an empty secondary selection. Doc fix.
7791 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7793 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7794 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7796 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7797 Adjust initialization.
7798 (whitespace-bob-marker, whitespace-eob-marker)
7799 (whitespace-buffer-changed): New vars.
7800 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7801 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7802 (whitespace-post-command-hook, whitespace-display-char-on):
7804 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7805 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7807 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7809 * files.el (locate-file-completion-table): Only list the .el and .elc
7810 extensions if there's no other choice (bug#5955).
7812 * facemenu.el (facemenu-self-insert-data): New var.
7813 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7815 (facemenu-add-face): Use them.
7817 * simple.el (blink-matching-open): Obey forward-sexp-function.
7819 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * simple.el (prog-mode-map): New var.
7822 (prog-indent-sexp): New command.
7824 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7826 * progmodes/prolog.el (smie): Require.
7828 * emacs-lisp/smie.el (smie-default-backward-token)
7829 (smie-default-forward-token): Strip properties.
7830 (smie-next-sexp): Be more careful with associative operators.
7831 (smie-forward-sexp-command): Generalize.
7832 (smie-backward-sexp-command): Simplify.
7833 (smie-closer-alist): New var.
7834 (smie-close-block): New command.
7835 (smie-indent-debug-log): New var.
7836 (smie-indent-offset-rule): Add a few more cases.
7837 (smie-indent-column): New function.
7838 (smie-indent-after-keyword): Use it.
7839 (smie-indent-keyword): Use it.
7840 Fix up the opener code's point position.
7841 (smie-indent-comment): Only applies at BOL.
7842 (smie-indent-debug): New command.
7844 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7845 declarations that are useful before running the macro.
7847 2010-08-18 Joakim Verona <joakim@verona.se>
7849 * image.el (imagemagick-types-inhibit): New variable.
7850 (imagemagick-register-types): New function.
7851 * image-mode.el (image-transform-properties): New function.
7852 (image-transform-set-scale, image-transform-fit-to-height)
7853 (image-transform-set-rotation, image-transform-set-resize)
7854 (image-transform-fit-to-width, image-transform-fit-to-height):
7856 (image-toggle-display-image): Support image transforms.
7858 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7860 * image.el (create-animated-image): Don't add heuristic mask to image
7863 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7865 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7866 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7868 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7870 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7872 Font-lock '...' strings, plus various simplifications and fixes.
7873 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7874 (octave-font-lock-close-quotes): New function.
7875 (octave-font-lock-syntactic-keywords): New var.
7876 (octave-mode): Use it. Set beginning-of-defun-function.
7877 (octave-mode-map): Don't override the <foo>-defun commands.
7878 (octave-mode-menu): Pass it directly to easy-menu-define;
7879 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7880 (octave-block-match-alist): Fix up last change so that
7881 octave-close-block uses the more specific keyword.
7882 (info-lookup-mode): Silence byte-compiler.
7883 (octave-beginning-of-defun): Not interactive any more.
7885 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7886 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7887 (octave-completion-at-point-function): Make sure point is within
7889 (octave-reindent-then-newline-and-indent):
7890 Use reindent-then-newline-and-indent.
7891 (octave-add-octave-menu): Remove.
7893 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7895 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7896 (report-emacs-bug-can-use-xdg-email): New functions.
7897 (report-emacs-bug): Set can-xdg-email to result of
7898 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7899 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7902 * net/browse-url.el (browse-url-default-browser): Add cond
7903 for browse-url-xdg-open.
7904 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7906 2010-08-17 Glenn Morris <rgm@gnu.org>
7908 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7909 (c-fontify-recorded-types-and-refs): Define for compiler.
7910 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7913 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7916 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7918 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7920 (tramp-handle-process-file): Call the program in a subshell, in
7921 order to preserve working directory.
7922 (tramp-action-password): Hide password prompt before next run.
7923 (tramp-process-actions): Widen connection buffer for the trace.
7925 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7927 * net/rcirc.el (rcirc-log-process-buffers): New option.
7928 (rcirc-print): Use it.
7929 (rcirc-generate-log-filename): New function.
7930 (rcirc-log-filename-function): Change default to
7931 rcirc-generate-log-filename (Bug#6828).
7933 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7935 * simple.el (deactivate-mark): If select-active-regions is `only',
7936 only set selection for temporarily active regions.
7938 * cus-start.el: Change defcustom for select-active-regions.
7940 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7942 * mouse.el (mouse--drag-set-mark-and-point): New function.
7943 (mouse-drag-track): Use LOCATION arg to push-mark.
7944 Use mouse--drag-set-mark-and-point to take click-count into
7945 consideration when updating point and mark (Bug#6840).
7947 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7950 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7952 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7954 * font-lock.el (lisp-font-lock-keywords-2):
7955 Add combine-after-change-calls, condition-case-no-debug,
7956 with-demoted-errors, and with-silent-modifications (Bug#6025).
7958 2010-08-14 Kevin Ryde <user42@zip.com.au>
7960 * emacs-lisp/copyright.el (copyright-update-year)
7961 (copyright-update): Temporary switch-to-buffer to ensure the
7962 buffer change being queried is visible (Bug#5394).
7964 2010-08-14 Tom Tromey <tromey@redhat.com>
7966 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7969 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7971 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7974 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7976 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7977 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7978 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7979 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7980 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7981 Call menu-bar-set-tool-bar-position.
7983 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7986 comment style (bug#6834).
7987 * progmodes/scheme.el (scheme-mode-syntax-table):
7988 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7989 "b" flag in "' 14b" syntax.
7991 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7992 for (un)commenting the region and performing completion.
7993 (octave-mode-menu): Use standard commands for help and completion.
7994 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7995 (octave-mode): Use define-derived-mode.
7996 Set completion-at-point-functions and don't set columns.
7997 Don't disable adaptive-fill-regexp.
7998 (octave-describe-major-mode, octave-comment-region)
7999 (octave-uncomment-region, octave-comment-indent)
8000 (octave-indent-for-comment): Remove.
8001 (octave-indent-calculate): Rename from calculate-octave-indent.
8002 (octave-indent-line, octave-fill-paragraph): Update caller.
8003 (octave-initialize-completions): No need to make an alist.
8004 (octave-completion-at-point-function): New function.
8005 (octave-complete-symbol): Use it.
8006 (octave-insert-defun): Use define-skeleton.
8008 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8009 (octave-mode-map): Use comment-dwim (bug#6829).
8011 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8013 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8014 indentation of inserted comment.
8016 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8018 * faces.el (region): Add type gtk that uses gtk colors.
8020 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8021 Handle theme-name change.
8023 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8025 * progmodes/sql.el: Version 2.5
8026 (sql-product-alist): Add :prompt-cont-regexp property for several
8028 (sql-prompt-cont-regexp): New variable.
8029 (sql-output-newline-count, sql-output-by-send):
8030 New variables. Record number of newlines in input text.
8031 (sql-send-string): Handle multiple filters and count newlines.
8032 (sql-send-magic-terminator): Count terminator newline.
8033 (sql-interactive-remove-continuation-prompt): Filters output to
8034 remove continuation prompts; one for each newline.
8035 (sql-interactive-mode): Set up new variables, prompt regexp and
8037 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8038 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8040 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * emacs-lisp/pcase.el: New file.
8044 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8046 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8047 as here-document, otherwise the command could exceed maximum
8048 length of command line.
8049 (tramp-handle-vc-registered): Call script accordingly.
8050 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8052 2010-08-10 Kenichi Handa <handa@m17n.org>
8054 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8057 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8059 * emacs-lisp/package.el (package-version-split)
8060 (package--version-first-nonzero, package-version-compare):
8062 (package-directory-list, package-load-all-descriptors)
8063 (package--built-in, package-activate, define-package)
8064 (package-installed-p, package-compute-transaction)
8065 (package-read-all-archive-contents)
8066 (package--add-to-archive-contents, package-buffer-info)
8067 (package-tar-file-info, package-list-packages-internal):
8068 Use version-to-list and version-list-*.
8070 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8071 Use version-to-list.
8072 (package-upload-buffer-internal): Use version-list-<=.
8074 2010-08-09 Kenichi Handa <handa@m17n.org>
8076 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8079 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8081 * tutorial.el (tutorial--default-keys): C-d is now bound to
8082 delete-forward-char (Bug#6826).
8084 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8085 for `double' value of mouse-1-click-follows-link (Bug#6807).
8087 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8089 * replace.el (replace-highlight): Bind isearch-forward and
8090 isearch-error, ensuring that highlighting is updated if the user
8091 switches the search direction (Bug#6808).
8093 * isearch.el (isearch-lazy-highlight-forward): New var.
8094 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8095 (isearch-lazy-highlight-update): Use it.
8097 2010-08-08 Kenichi Handa <handa@m17n.org>
8099 * international/mule.el (define-charset): Store NAME as :base property.
8100 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8101 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8102 current priority. Force using the designation of the specific
8103 charset by adding `charset' text property. Improve the whole algorithm.
8105 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8107 * emulation/pc-select.el (pc-selection-mode-hook)
8108 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8109 (pc-selection-mode): Fix typos in docstrings.
8111 2010-08-08 Kenichi Handa <handa@m17n.org>
8113 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8114 ctext-non-standard-encodings-alist here.
8116 * international/mule.el (ctext-non-standard-encodings-alist):
8117 Add "koi8-r" and "microsoft-cp1251".
8118 (ctext-standard-encodings): New variable.
8119 (ctext-non-standard-encodings-table): List only elements for
8120 non-standard encodings.
8121 (ctext-pre-write-conversion): Adjust for the above change.
8122 Check ctext-standard-encodings.
8124 * international/mule-conf.el (compound-text): Doc fix.
8125 (ctext-no-compositions): Doc fix.
8126 (compound-text-with-extensions): Doc fix.
8128 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8132 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8134 * progmodes/which-func.el (which-func-format): Split help-echo text
8135 into lines, like other mode-line tooltips.
8137 * server.el (server-start): When using TCP sockets, force IPv4
8138 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8140 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8142 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8144 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8146 * term.el (term-delimiter-argument-list): Reflow docstring.
8147 (term-read-input-ring, term-write-input-ring, term-send-input)
8148 (term-bol, term-erase-in-display, serial-supported-or-barf):
8149 Fix typos in docstrings.
8151 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8153 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8155 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8157 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8159 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8161 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8162 Fix typo in docstring (bug#6747).
8164 2010-08-08 Leo <sdl.web@gmail.com>
8166 * eshell/esh-io.el (eshell-get-target): Better detection of
8167 read-only file (Bug#6762).
8169 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8171 * align.el (align-default-spacing): Doc fix.
8172 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8174 2010-08-08 Stephen Peters <speters@itasoftware.com>
8176 * calendar/icalendar.el
8177 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8178 (icalendar--get-weekday-numbers): New.
8179 (icalendar--convert-recurring-to-diary): Handle multiple byday
8180 values in weekly rules. (Bug#6766)
8182 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8184 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8185 (icalendar--create-uid, icalendar-export-region)
8186 (icalendar--parse-summary-and-rest): Code formatting.
8188 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8190 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8191 to italicize headers.
8192 (calc-highlight-selections-with-faces): New variable.
8193 (calc-selected-face, calc-nonselected-face): New faces.
8195 * calc/calccomp.el (math-comp-highlight-string): Use
8196 `calc-highlight-selections-with-faces' to determine how to highlight
8199 * calc/calc-sel.el (calc-show-selections): Change message to when
8200 using faces to highlight selections.
8202 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8204 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8205 Add SQLite 3 keywords, functions and datatypes.
8206 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8209 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8211 * simple.el (select-active-regions): Move to keyboard.c.
8212 (deactivate-mark): Used saved-region-selection.
8213 (select-active-region): Function removed.
8214 (activate-mark, set-mark, push-mark-command)
8215 (handle-shift-selection): Don't call it.
8216 (keyboard-quit): Avoid adding the region to the window selection.
8218 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8219 select-active-regions implementation.
8220 (mouse-yank-at-click): Doc fix.
8222 * cus-start.el: Add custom declaration for select-active-regions.
8224 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8226 * simple.el (delete-forward-char): Doc fix.
8228 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8229 after reading the tutorial.
8231 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8233 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8234 Fix for the case that a C style comment has its delimiters alone on
8235 their respective lines.
8237 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8239 * net/tramp.el (tramp-handle-start-file-process): Set connection
8241 (tramp-process-sentinel): Use it for flushing the cache.
8242 We cannot do it via the process buffer, the buffer could be deleted
8243 already when running the sentinel.
8245 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8247 * comint.el (comint-mode): Make directory tracking functions
8248 functional on remote files. (Bug#6764)
8250 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8252 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8254 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8256 * emacs-lisp/find-gc.el (find-gc-source-files):
8257 Rename unexec.c => unexcoff.c.
8259 * emacs-lisp/authors.el (authors-fixed-entries):
8260 Rename unexec.c => unexcoff.c.
8262 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8264 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8265 cache, not only file cache.
8266 (tramp-process-sentinel): New defun.
8267 (tramp-handle-start-file-process): Use it, in order to invalidate
8270 2010-08-03 Leo <sdl.web@gmail.com>
8272 * server.el (server-start): Simplify loop.
8274 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * frame.el (screen-height, screen-width, set-screen-width)
8277 (set-screen-height): Remove ancient compatibility aliases.
8279 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8280 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8282 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8283 that change current buffer.
8285 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8287 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8288 beginning of the string. Use `string-match-p'. (Bug#6765)
8290 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8292 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8294 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8296 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8297 (package--builtins): Tweak descriptions.
8298 (package-print-package): Upcase descriptions if necessary.
8299 Show all built-in packages in font-lock-builtin-face.
8300 (package-list-packages-internal): Omit "emacs" package.
8301 Show status of built-in packages as "built-in".
8303 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8305 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8306 before killing to preserve the primary selection (Bug#6701).
8308 * term/x-win.el (x-select-text): Doc fix.
8310 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8312 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8313 (objc-font-lock-extra-types):
8314 * progmodes/cc-mode.el (c-basic-common-init):
8315 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8316 (c++-make-template-syntax-table)
8317 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8318 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8319 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8320 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8321 * progmodes/cc-fonts.el (c-make-inverse-face)
8322 (c-basic-matchers-after):
8323 * progmodes/cc-engine.el (c-forward-keyword-clause)
8324 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8325 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8326 (c-guess-continued-construct, c-guess-basic-syntax):
8327 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8328 The above functions were modified or created.
8330 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8332 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8334 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8336 * files.el (bidi-paragraph-direction): Define safe local values.
8338 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8339 language-info-alist. Remove outdated FIXME in a comment.
8341 2010-07-31 Alan Mackenzie <acm@muc.de>
8343 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8344 Auto-fill broken in C/C++ modes.
8346 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8348 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8349 (menu-bar-showhide-tool-bar-menu-customize-disable)
8350 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8351 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8352 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8353 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8354 make a menu for Options => toolbar that can move it.
8356 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8358 * emacs-lisp/package-x.el (package--make-rss-entry):
8359 (package-maint-add-news-item, package--update-news)
8360 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8362 * emacs-lisp/package.el (package-archive-url): Rename from
8364 (package-install): Doc fix.
8365 (package-download-single, package-download-tar, package-install)
8366 (package-menu-view-commentary): Callers changed.
8368 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8370 * net/tramp.el (tramp-handle-start-file-process): Check only for
8371 `remote-tty' process property.
8372 (tramp-open-shell): Don't check for tty.
8373 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8376 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8379 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8381 * emacs-lisp/package.el (package-load-list, package-archives)
8382 (package-archive-contents, package-user-dir)
8383 (package-directory-list, package--builtins, package-alist)
8384 (package-activated-list, package-obsolete-alist): Mark as risky.
8386 2010-07-28 Phil Hagelberg <phil@evri.com>
8388 Add support for non-default package repositories.
8389 * emacs-lisp/package.el (package-archive-base): Var deleted.
8390 (package-archives): New variable.
8391 (package-archive-contents): Doc fix.
8392 (package-load-descriptor): Do nothing if descriptor file is missing.
8393 (package--write-file-no-coding): New function.
8394 (package-unpack-single): Use it.
8395 (package-archive-id): New function.
8396 (package-download-single, package-download-tar)
8397 (package-menu-view-commentary): Use it.
8398 (package-installed-p): Make second argument optional.
8399 (package-read-all-archive-contents): New function.
8400 (package-initialize): Use it.
8401 (package-read-archive-contents): Add ARCHIVE argument.
8402 (package--add-to-archive-contents): New function.
8403 (package-install): Don't call package-read-archive-contents.
8404 (package--download-one-archive): Store archive file in a
8405 subdirectory of package-user-dir.
8406 (package-menu-execute): Remove spurious line movement.
8408 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8410 * cus-start.el (tool-bar-style): Add text-image-horiz.
8412 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8414 * progmodes/gud.el (gud-common-init): Check for remoteness of
8415 `file', and not of `default-directory'.
8417 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8419 * net/tramp.el (tramp-methods): Move hostname to the end in all
8420 ssh `tramp-login-args'.
8421 (tramp-verbose): Describe verbose level 9.
8422 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8423 (tramp-open-connection-setup-interactive-shell): Trace stty
8424 settings if `tramp-verbose' >= 9.
8425 (tramp-handle-start-file-process): Implement tty setting.
8426 (Bug#4604, Bug#6360)
8428 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8429 `tramp-verbose' to 9.
8431 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8433 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8434 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8435 Remove references to package `lisp-re' (bug#4369).
8437 2010-07-27 Tom Tromey <tromey@redhat.com>
8439 * progmodes/js.el (js-mode):
8440 * progmodes/make-mode.el (makefile-mode):
8441 * progmodes/simula.el (simula-mode):
8442 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8444 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8446 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8448 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8449 (display-time-world-buffer-name, display-time-world-mode-map):
8450 Fix typos in docstrings.
8452 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8454 * image-mode.el (image-display-size): New function.
8455 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8456 (image-mode-fit-frame): Use it (Bug#6639).
8458 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8460 * dired.el (dired-buffers-for-dir): Handle list values of
8461 dired-directory (Bug#6636).
8463 2010-07-26 Sam Steingold <sds@gnu.org>
8465 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8466 Do not call `x-get-selection' the second time, reuse the value.
8468 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8470 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8471 which consist of control chars only. Suggested by Richard Stallman.
8473 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8475 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8476 exists before passing an error to find-file-not-found-functions
8479 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8481 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8482 Remove leading nil element, adjust values.
8483 (tetris-shapes, tetris-shape-scores):
8484 Change representation of shapes and remove some redundancy.
8485 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8486 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8487 Adjust for working with new representation of shapes.
8488 (tetris-shape-rotations): New function.
8489 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8490 (tetris-rotate-prev, tetris-rotate-next):
8491 Adjust for working with the new version of tetris-test-shape.
8493 2010-07-23 Markus Triska <markus.triska@gmx.at>
8495 * progmodes/ps-mode.el: Use comint (bug#5954).
8496 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8497 (ps-mode-other-newline): Simplify.
8498 (ps-run-mode): Derive from comint-mode instead of
8499 fundamental-mode, yielding input history etc.
8500 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8501 (ps-run-send-string): Adapt for comint-mode.
8502 (ps-run-newline): Remove now unneeded function.
8504 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8506 * net/tramp.el (tramp-methods): Move hostname to the end in all
8507 plink `tramp-login-args'.
8509 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8511 * net/tramp.el (tramp-open-shell): New defun.
8512 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8515 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8517 * net/tramp.el (tramp-file-name-regexp-unified)
8518 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8519 not regard the volume letter as remote filename. (Bug#5447)
8521 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8523 * custom.el (custom-declare-variable): Give a clearer error message
8524 when the docstring is missing (bug#6476).
8526 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8528 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8529 (sql-login-params): New widget definition.
8530 (sql-oracle-login-params, sql-mysql-login-params)
8531 (sql-solid-login-params, sql-sybase-login-params)
8532 (sql-informix-login-params, sql-ingres-login-params)
8533 (sql-ms-login-params, sql-postgres-login-params)
8534 (sql-interbase-login-params, sql-db2-login-params)
8535 (sql-linter-login-params): Use it.
8536 (sql-sqlite-login-params): Use it; Define "database" parameter as
8538 (sql-sqlite-program): Change to "sqlite3".
8539 (sql-comint-sqlite): Make sure database name is complete.
8540 (sql-for-each-login): New function.
8541 (sql-connect, sql-save-connection): Use it.
8542 (sql-get-login-ext): New function.
8543 (sql-get-login): Use it.
8544 (sql-make-alternate-buffer-name): Handle :file parameters.
8546 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8548 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8549 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8551 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8553 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8555 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8557 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8559 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8561 * net/tramp.el (tramp-get-ls-command)
8562 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8565 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8567 * progmodes/sql.el: Version 2.3.
8568 (sql-connection-alist): Change keys from symbols to strings;
8569 enhanced the widget definition.
8570 (sql-mode-menu): Add submenu to select connections.
8571 (sql-interactive-mode-menu): Add "Save Connection" item.
8572 (sql-add-product): Fix menu item.
8573 (sql-get-product-feature): Improved error handling.
8574 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8575 (sql-make-alternate-buffer-name): Simplified.
8576 (sql-product-interactive): Handle missing product.
8577 (sql-connect): Support string keys, minor improvements.
8578 (sql-save-connection): New function.
8579 (sql-connection-menu-filter): New function.
8581 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8583 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8584 (tramp-open-connection-setup-interactive-shell):
8585 Apply workaround for IRIX64 bug. Move argument of last
8586 `tramp-send-command' where it belongs to.
8588 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8590 * net/tramp.el (tramp-perl-file-attributes)
8591 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8592 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8593 front of `login-args'.
8595 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8597 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8598 Set `show-trailing-whitespace' to nil.
8599 (display-time-world-display): Simplify.
8601 2010-07-18 Alan Mackenzie <acm@muc.de>
8603 Enhance `c-file-style' in file/directory local variables.
8604 * progmodes/cc-mode.el (c-count-cfss): New function.
8605 (c-before-hack-hook): Call `c-set-style' differently according to
8606 whether c-file-style was set in file or directory local
8609 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8611 * progmodes/sql.el: Version 2.2.
8612 (sql-product, sql-user, sql-database, sql-server, sql-port):
8613 Use defcustom :safe keyword rather than putting safe-local-variable
8615 (sql-password): Use defcustom :risky keyword rather than putting
8616 risky-local-variable property.
8617 (sql-oracle-login-params, sql-sqlite-login-params)
8618 (sql-solid-login-params, sql-sybase-login-params)
8619 (sql-informix-login-params, sql-ingres-login-params)
8620 (sql-ms-login-params, sql-postgres-login-params)
8621 (sql-interbase-login-params, sql-db2-login-params)
8622 (sql-linter-login-params): Add `port' option.
8623 (sql-get-product-feature): Add NO-INDIRECT parameter.
8624 (sql-comint-oracle, sql-comint-sybase)
8625 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8626 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8627 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8628 (sql-comint-linter): Rename sql-connect-* functions to
8630 (sql-product-alist, sql-mode-menu): Rename as above and
8631 :sqli-connect-func to :sqli-comint-func.
8632 (sql-connection): New variable.
8633 (sql-interactive-mode): Set it.
8634 (sql-connection-alist): New variable.
8635 (sql-connect): New function.
8636 (sql--alt-buffer-part, sql--alt-if-not-empty)
8637 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8639 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8641 * image-mode.el (image-bookmark-make-record): Do not set context
8642 in an image (Bug#6650).
8644 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8646 * simple.el (select-active-region): New function.
8647 (push-mark-command, set-mark, activate-mark)
8648 (handle-shift-selection): Use it.
8649 (deactivate-mark): Don't check for size of region.
8651 * mouse.el (mouse-drag-track): Use select-active-region.
8653 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8655 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8658 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8660 * term/x-win.el (x-select-enable-primary): Change default to nil.
8661 (x-select-enable-clipboard): Add :version keyword.
8663 * mouse.el (mouse-drag-copy-region):
8664 * simple.el (select-active-regions): Likewise.
8666 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8668 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8669 (vc-coding-system-for-diff): Use it to decide whether to inherit
8670 from the file the EOL format for reading the diffs of that file.
8673 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8675 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8676 unibyte, so compressed attachments are not compressed again.
8678 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8680 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8681 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8682 (tramp-find-shell): Simplify setting connection property.
8683 (tramp-get-ls-command): Make test for "--color=never" stronger.
8685 2010-07-15 Simon South <ssouth@member.fsf.org>
8687 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8688 blocks within record declarations (i.e. variant parts) correctly.
8690 2010-07-15 Simon South <ssouth@member.fsf.org>
8692 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8693 over literal tokens when parsing so newlines aren't "absorbed" by
8694 single-line comments. Corrects the indentation of case blocks
8695 that have a comment on the first line.
8697 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8699 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8700 by Drew Adams (Bug#5504).
8702 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8704 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8705 now that Unicode is used (Bug#6594).
8707 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8709 * term/x-win.el (x-select-enable-clipboard): Default to t.
8710 (x-initialize-window-system): Don't overwrite Paste menu item.
8712 * simple.el (select-active-regions): Default to t.
8713 (push-mark-command): Don't overwrite primary with empty string.
8715 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8716 (mouse-drag-copy-region): Default to nil.
8718 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8719 Cut/Copy/Paste menu bar items.
8721 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8723 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8724 Patch applied by Karl Fogel.
8726 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8727 and `bookmark-current-buffer' if they have been already set in
8728 another buffer (e.g gnus-art).
8730 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8731 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8733 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8735 * bookmark.el (bookmark-make-record-default): Allow unneeded
8736 information to be omitted from the record.
8738 Adjust declarations and calls:
8740 * info.el (bookmark-make-record-default): Adjust declaration.
8741 (Info-bookmark-make-record): Adjust call.
8743 * woman.el (bookmark-make-record-default): Adjust declaration.
8744 (woman-bookmark-make-record): Adjust call.
8746 * man.el (bookmark-make-record-default): Adjust declaration.
8747 (Man-bookmark-make-record): Adjust call.
8749 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8751 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8753 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8755 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8756 This is also from Thierry Volpiatto's patch in bug #6444. However,
8757 because it was extraneous to the functional change in that patch,
8758 and causes a re-indendation, I am committing it separately.
8760 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8762 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8763 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8764 Patch applied by Karl Fogel (Bug#6444).
8766 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8768 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8770 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8772 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8773 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8774 (ns-alternatives-map): Change S-tab binding to backtab
8777 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8780 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8782 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8785 * language/tv-util.el (tai-viet-re): Remove format.
8787 2010-07-12 Kenichi Handa <handa@m17n.org>
8789 * language/hebrew.el: Remove no-byte-compile declaration.
8790 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8791 composition-function-table for 3-character looking back.
8792 (hebrew-font-get-precomposed): New function.
8793 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8795 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8797 * mouse.el (mouse-drag-track): Handle select-active-regions
8800 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8802 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8803 empty argument to gvfs-copy.
8805 2010-07-10 Glenn Morris <rgm@gnu.org>
8807 * calendar/calendar.el (calendar-week-end-day): New function.
8808 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8809 Respect calendar-week-start-day. (Bug#6606)
8810 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8811 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8812 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8813 respect calendar-week-start-day.
8815 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8817 * simple.el (use-region-p): Doc fix (Bug#6607).
8819 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8821 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8822 Add regexps for cucumber and ruby.
8824 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8826 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8827 (epa-file-insert-file-contents): Hack to prevent
8828 find-file from opening empty buffer when decryption failed
8831 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8833 * textmodes/ispell.el (ispell-alternate-dictionary):
8834 Use file-readable-p.
8835 Return nil if no word-list is found at default locations.
8836 (ispell-complete-word-dict): Default to nil.
8837 (ispell-command-loop): Use 'word-list' when using lookup-words.
8838 (lookup-words): Use ispell-complete-word-dict or
8839 ispell-alternate-dictionary. Check for word-list availability
8840 and handle errors if needed with better messages (Bug#6539).
8841 (ispell-complete-word): Use ispell-complete-word-dict or
8842 ispell-alternate-dictionary.
8844 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8846 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8847 builtins (BufferError, BytesWarning, WindowsError; callables
8848 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8850 2010-07-07 Glenn Morris <rgm@gnu.org>
8852 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8853 (zone-shift-left): Ignore intangibility, and any errors from
8855 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8856 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8857 deleting, and copying text properties.
8858 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8859 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8860 to point-max is hard.
8861 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8862 (zone-fill-out-screen): Ignore intangibility.
8864 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8866 * menu-bar.el (menu-bar-mode):
8867 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8870 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8871 word/line selection (Bug#6565).
8873 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8875 * net/dbus.el (dbus-send-signal): Declare function.
8877 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8879 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8880 (dbus-register-property): New optional argument EMITS-SIGNAL.
8881 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8883 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8885 * mouse.el (mouse-drag-overlay): Variable deleted.
8886 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8887 (mouse--remap-link-click-p): New function.
8888 (mouse-drag-track): Handle dragging by using temporary Transient
8889 Mark mode, instead of a special overlay.
8890 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8893 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8896 2010-07-02 Juri Linkov <juri@jurta.org>
8898 * autoinsert.el (auto-insert-alist): Fix readability
8899 by using dotted pair notation for lambda.
8901 2010-07-02 Juri Linkov <juri@jurta.org>
8903 * faces.el (read-face-name): Rename arg `string-describing-default'
8904 to `default'. Doc fix. Display the default value in quotes
8905 in the prompt. With empty input, return the `default' arg,
8906 unless the default value is a string (in which case return nil).
8907 (describe-face): Replace the string `default' arg of `read-face-name'
8908 with the symbol `default'.
8910 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8912 * emulation/viper-cmd.el (viper-delete-backward-char)
8913 (viper-del-backward-char-in-insert)
8914 (viper-del-backward-char-in-replace, viper-change)
8915 (viper-backward-indent): Replace delete-backward-char with
8916 delete-char (Bug#6552).
8918 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8920 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8922 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8924 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8925 argument passed to frame-creation-function (Bug#5378).
8927 * faces.el (x-handle-named-frame-geometry)
8928 (x-handle-reverse-video, x-create-frame-with-faces)
8929 (face-set-after-frame-default, tty-create-frame-with-faces):
8930 Don't separately consult default-frame-alist. It is now passed as the
8933 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8935 * startup.el (command-line): Don't call tool-bar-setup in a
8938 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8940 * ruler-mode.el (ruler--save-header-line-format): New fun.
8941 (ruler-mode): Use it as a setter function, so as not to overwrite
8942 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8944 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8946 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8947 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8948 (vc-log-outgoing): Use it.
8949 (vc-diff-internal): Set diff-vc-backend.
8951 * vc/diff-mode.el (diff-vc-backend): New var.
8953 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8955 * dynamic-setting.el (font-setting-change-default-font):
8956 Remove call to message.
8958 2010-06-28 Kenichi Handa <handa@m17n.org>
8960 * international/quail.el (quail-insert-kbd-layout): Fix the
8961 showing of untranslated characters.
8963 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8965 * simple.el (delete-active-region): New option.
8966 (delete-backward-char): Implement in Lisp.
8967 (delete-forward-char): New command.
8969 * mouse.el (mouse-region-delete-keys): Delete.
8970 (mouse-show-mark): Simplify.
8972 * bindings.el (global-map): Bind delete and DEL, the former to
8973 delete-forward-char.
8975 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8977 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8978 (ruby-mode): Bind indent-line-function (Bug#5119).
8980 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8982 * startup.el (command-line): Recognize "0" X resource value.
8984 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8986 * startup.el (command-line): Use X resources to set the value of
8987 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8989 * menu-bar.el (menu-bar-mode):
8990 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8991 Set init-value to t.
8993 * frame.el (frame-notice-user-settings): Don't change
8994 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8995 vice versa (Bug#2249).
8997 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8999 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9001 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9003 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9004 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9006 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9007 default directories are expanded (Bug#6143).
9009 2010-06-24 Juri Linkov <juri@jurta.org>
9011 * minibuffer.el (completions-format): Change default from nil to
9012 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9014 2010-06-24 Juri Linkov <juri@jurta.org>
9016 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9017 buffer-locally to lambda that re-runs the vc diff command.
9020 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9022 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9023 echo area is in use (Bug#3412).
9025 2010-06-22 Glenn Morris <rgm@gnu.org>
9027 * textmodes/texinfmt.el (texinfo-format-region)
9028 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9029 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9030 (texinfo-format-option, texinfo-noindent):
9031 Use line-beginning-position and line-end-position.
9033 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9034 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9035 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9038 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9040 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9041 forward-line fallout.
9043 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9045 * mouse.el (mouse-appearance-menu): Add docstring.
9047 * help.el (describe-key): Print up-event using key-description.
9049 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9051 * net/zeroconf.el (zeroconf-resolve-service)
9052 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9053 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9055 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9057 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9059 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9061 Avoid displaying files with a nil state in vc-dir.
9062 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9063 cases that cause insertion.
9064 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9067 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9069 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9071 2010-06-29 Leo <sdl.web@gmail.com>
9073 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9075 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9077 * generic-x.el (bat-generic-mode): Fix regexp for command line
9078 switches (Bug#5719).
9080 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9082 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9083 of nconc to avoid pure storage error (Bug#6239).
9085 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9087 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9088 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9089 bindings of bookmark-automatically-show-annotations (Bug#6515).
9091 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9093 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9094 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9096 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9098 * comint.el (make-comint, make-comint-in-buffer): Mention return
9099 value in the docstrings. (Bug#6498)
9101 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9103 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9104 since it is not present when using some non-default switches.
9106 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9108 * simple.el (compose-mail): Fix doc string to refer to
9109 `compose-mail-user-agent-warnings', instead of to the
9110 nonexistent `compose-mail-check-user-agent'.
9112 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9114 Fix an indentation bug:
9116 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9117 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9120 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9121 (c-clear->-pair-props-if-match-before): now return t when they've
9122 cleared properties, nil otherwise.
9123 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9124 by taking account of the existing value.
9126 * progmodes/cc-defs.el
9127 (c-clear-char-property-with-value-function): Fix this to clear the
9128 property rather than overwriting it with nil.
9130 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9132 * emacs-lisp/package.el (package-print-package): Add link to
9133 package description via describe-package.
9134 (describe-package-1): List package requirements. Add button to
9135 perform installation.
9136 (package-menu-describe-package): New command.
9138 * help-mode.el (help-package): New button type.
9140 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9142 * emacs-lisp/package.el: Move package-list-packages binding to
9144 (describe-package, describe-package-1, package--dir): New funs.
9145 (package-activate-1): Use package--dir.
9147 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9149 * help-mode.el (help-package-def): New button type.
9151 * menu-bar.el: Move package-list-packages binding here from
9154 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9156 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9158 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * emacs-lisp/edebug.el (edebug-read-list):
9161 Phase out old-style backquotes.
9163 2010-06-17 Juri Linkov <juri@jurta.org>
9165 * help-mode.el (help-mode): Set buffer-local variable
9166 revert-buffer-function to help-mode-revert-buffer.
9167 (help-mode-revert-buffer): New function.
9169 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9170 before popping to "*info*" (like in other Info functions).
9171 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9172 old-history-forward. Pop to old-buffer-name or "*info*" to
9173 recreate the killed buffer. Set Info-history-forward from
9174 old-history-forward.
9175 (Info-breadcrumbs-depth): Add :group and :version.
9177 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9179 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9181 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9183 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9184 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9186 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9188 * emacs-lisp/package.el (package-menu-mode-map):
9189 Move initialization into declaration.
9191 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9193 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9195 * emacs-lisp/package.el (package-archive-base): Point to
9197 (package-enable, package-load-list): New defcustoms.
9198 (package-user-dir, package-directory-list): Turn into defcustoms.
9199 Don't include package-user-dir in package-directory-list.
9200 (package--builtins-base): Don't include Emacs as a "package".
9201 (package-subdirectory-regexp): New var.
9202 (package-load-all-descriptors, package-compute-transaction)
9203 (package-download-transaction): Obey package-load-list.
9204 (package-activate-1): Rename from package-do-activate.
9205 (package-list-packages-internal): Check package-load-list.
9206 (package-load-descriptor, package-generate-autoloads)
9207 (package-unpack, package-unpack-single)
9208 (package--read-archive-file, package-delete):
9209 Use expand-file-name.
9211 * emacs-lisp/package-x.el: New file. Package uploading
9212 functionality split out from package.el.
9214 * startup.el (command-line): Load packages after reading init file.
9216 2010-06-17 Tom Tromey <tromey@redhat.com>
9218 * emacs-lisp/package.el: New file.
9220 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9222 Fix vc-annotate for renamed files when using Git.
9223 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9224 ls-files. Doe not pass the object as a file name to cat-file, it
9226 (vc-git-annotate-command): Pass the file name using -- to avoid
9227 ambiguity with the revision.
9228 (vc-git-previous-revision): Pass a relative file name.
9230 2010-06-22 Glenn Morris <rgm@gnu.org>
9232 * progmodes/js.el (js-mode-map): Use standard capitalization and
9233 ellipses for menu entries.
9235 * wid-edit.el (widget-complete): Doc fix.
9237 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9239 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9241 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9243 Fix annotating other revisions for renamed files in vc-annotate.
9244 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9245 VC backend. Use it when non-nil.
9246 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9249 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9250 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9251 Do not pass the file name to the 'previous-revision call when we
9252 don't want a file diff. (Bug#6489)
9254 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9256 Fix finding revisions for renamed files in vc-annotate.
9257 * vc/vc.el (vc-find-revision): Add an optional argument for
9258 the VC backend. Use it when non-nil.
9259 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9260 backend to vc-find-revision. (Bug#6487)
9262 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9264 Fix reading file names in Git annotate buffers.
9265 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9266 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9268 2010-06-20 Alan Mackenzie <acm@muc.de>
9270 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9271 in file local variables, set it first.
9273 2010-06-19 Glenn Morris <rgm@gnu.org>
9275 * descr-text.el (describe-char-unicode-data): Insert separating
9276 space when needed. (Bug#6422)
9278 * progmodes/idlwave.el (idlwave-action-and-binding):
9279 Fix typo in 2009-12-03 change. (Bug#6450)
9281 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9283 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9284 handling for `lambda' (misunderstanding).
9286 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9288 * calc/calc-poly.el (math-accum-factors): Make sure that
9289 constants aren't distributed after they are factored out.
9291 2010-06-16 Juri Linkov <juri@jurta.org>
9293 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9294 `list-colors-print'. (Bug#6332)
9296 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9298 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9301 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9303 * font-lock.el (font-lock-major-mode): Rename from
9304 font-lock-mode-major-mode to distinguish it from
9305 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9306 (font-lock-set-defaults):
9307 * font-core.el (font-lock-default-function): Adjust users.
9308 (font-lock-mode): Don't set it at all.
9310 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9314 2010-06-16 Glenn Morris <rgm@gnu.org>
9316 * calendar/appt.el (appt-time-msg-list): Doc fix.
9317 (appt-check): Let-bind appt-warn-time.
9318 (appt-add): Make the 3rd argument optional.
9319 Simplify argument names. Doc fix. Check for integer WARNTIME.
9320 Only add WARNTIME to the output list if non-nil.
9322 2010-06-16 Ivan Kanis <apple@kanis.eu>
9324 * calendar/appt.el (appt-check): Let the 3rd element of
9325 appt-time-msg-list specify the warning time.
9326 (appt-add): Add new argument with the warning time. (Bug#5176)
9328 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9330 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9331 older than version 1.6. (Bug#6361)
9333 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9335 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9336 used by cl-do-arglist. (Bug#6408)
9338 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9340 * textmodes/ispell.el (ispell-dictionary-base-alist):
9341 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9342 Suggested by Rolando Pereira (bug#6434).
9344 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9346 * facemenu.el (list-colors-sort): Doc fix.
9348 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9350 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9352 2010-06-14 Juri Linkov <juri@jurta.org>
9354 Add sort option `list-colors-sort'. (Bug#6332)
9355 * facemenu.el (color-rgb-to-hsv): New function.
9356 (list-colors-sort): New defcustom.
9357 (list-colors-sort-key): New function.
9358 (list-colors-display): Doc fix. Sort list according to the option
9360 (list-colors-print): Add HSV values to `help-echo' property of
9363 2010-06-14 Juri Linkov <juri@jurta.org>
9365 * compare-w.el: Move to the "vc" subdirectory.
9367 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * image-mode.el (image-mode-map): Remap left-char and right-char.
9371 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9373 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9375 * term/common-win.el (x-colors): Add all the color names defined
9376 in rgb.txt (Bug#6332).
9378 * facemenu.el (list-colors-print): Don't print extra names if it
9379 will overflow the window width.
9381 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9384 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9386 * files.el (make-directory): Doc fix (bug#6396).
9388 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9390 * net/tramp.el (tramp-remote-process-environment): Protect version
9391 string by apostroph.
9392 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9394 (tramp-file-name-for-operation): Add `call-process-region'.
9395 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9397 * net/tramp-compat.el (top): Do not autoload
9398 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9399 only when `start-file-process' is not bound.
9400 (tramp-advice-file-expand-wildcards): Do not use
9401 `tramp-handle-file-remote-p'.
9402 (tramp-compat-make-temp-file): Handle the case, that
9403 `make-temp-file' has no third argument EXTENSION.
9405 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9407 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9409 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9411 2010-06-11 Juri Linkov <juri@jurta.org>
9413 * finder.el (finder-known-keywords): Add keyword "vc"
9414 for version control.
9416 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9417 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9418 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9419 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9421 2010-06-11 Juri Linkov <juri@jurta.org>
9423 Move version control related files to the "vc" subdirectory.
9424 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9425 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9426 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9427 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9428 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9429 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9430 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9431 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9432 Move files to the "vc" subdirectory.
9434 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9436 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9439 2010-06-11 Stephen Eglen <stephen@gnu.org>
9441 * shell.el: Bind `shell-resync-dirs' to M-RET.
9443 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9445 * notifications.el: Move file from lisp/net, because it is
9446 supposed to talk locally to the user.
9448 2010-06-10 Julien Danjou <julien@danjou.info>
9450 * net/notifications.el (notifications-on-action-signal)
9451 (notifications-on-closed-signal): Pass notification id as first
9452 argument to the callback functions. Add docstrings.
9453 (notifications-notify): Fix docstring.
9455 2010-06-10 Glenn Morris <rgm@gnu.org>
9457 * emacs-lisp/authors.el (authors-ignored-files)
9458 (authors-valid-file-names): Add some files.
9460 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9462 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9463 merge conflict, giving preference to the emacs-23 version of the code.
9465 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9467 * emacs-lisp/advice.el (ad-compile-function):
9468 Define warning-suppress-types before we let-bind it (bug#6275).
9470 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9471 declare it, make it buffer-local and permanent-local (bug#6324).
9472 (vc-resynch-window): Adjust name.
9473 * vc-hooks.el (vc-find-file-hook): Adjust name.
9475 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9477 * net/notifications.el (notifications-notify): Fix docstring.
9479 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9481 Update to Unicode 6.0.0 beta.
9482 * international/charprop.el: Update copyright.
9483 * international/mule-cmds.el (ucs-names): Update character ranges.
9484 * international/uni-bidi.el:
9485 * international/uni-category.el:
9486 * international/uni-combining.el:
9487 * international/uni-comment.el:
9488 * international/uni-decimal.el:
9489 * international/uni-decomposition.el:
9490 * international/uni-digit.el:
9491 * international/uni-lowercase.el:
9492 * international/uni-mirrored.el:
9493 * international/uni-name.el:
9494 * international/uni-numeric.el:
9495 * international/uni-old-name.el:
9496 * international/uni-titlecase.el:
9497 * international/uni-uppercase.el: Regenerate.
9499 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9501 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9502 (smie-precs-precedence-table): Fix typo in docstring.
9504 * vc-mtn.el (log-edit-extract-headers): Declare function.
9506 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9508 * net/notifications.el (dbus-register-signal): Declare function.
9509 (notifications-notify): Fix typos and reflow docstring.
9511 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9513 Improve VC create/retrieve tag/branch.
9514 * vc.el (vc-create-tag): Do not read the directory name for VCs
9515 with repository revision granularity. Adjust the tag/branch
9516 prompt. Reset VC properties.
9517 (vc-retrieve-tag): Do not read the directory name for VCs
9518 with repository revision granularity. Reset VC properties.
9520 2010-06-09 Julien Danjou <julien@danjou.info>
9522 * net/notifications.el: New file.
9524 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9526 Add optional support for resetting VC properties.
9527 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9528 call vc-file-clearprops when true.
9529 (vc-resynch-buffer): Add new optional argument, pass it down.
9530 (vc-resynch-buffers-in-directory): Likewise.
9532 Improve support for special markup in the VC commit message.
9533 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9534 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9535 * vc-git.el (vc-git-checkin):
9536 * vc-bzr.el (vc-bzr-checkin): Likewise.
9538 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9541 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9543 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9545 * iimage.el: Remove images as soon as the underlying text is modified.
9546 (iimage-modification-hook): New function.
9547 (iimage-mode-buffer): Use it.
9549 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9551 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9552 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9553 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9554 (smie-indent-keyword): Add handling of open-paren keywords.
9555 (smie-indent-comment-continue): Don't assume comment-continue.
9557 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9559 * window.el (pop-to-buffer): Remove the conditional that
9560 compares new-window and old-window, so it will reselect
9561 the selected window unconditionally.
9562 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9564 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * emacs-lisp/smie.el (smie-indent-offset-after)
9567 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9568 (smie-indent-after-keyword): Use them.
9569 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9570 (smie-indent-keyword): Tweak the black magic.
9571 (smie-indent-comment-continue): Strip comment-continue before use.
9572 (smie-indent-functions): Indent comments before keywords.
9574 2010-06-06 Juri Linkov <juri@jurta.org>
9576 * isearch.el (isearch-lazy-highlight-search): Fix looping
9577 by checking for empty match. This syncs this loop with the
9578 similar loop in `isearch-search'. (Bug#6362)
9580 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9582 * net/dbus.el (dbus-register-method): Declare function.
9583 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9584 (dbus-introspect): Doc fix.
9585 (dbus-event-bus-name, dbus-introspect-get-interface)
9586 (dbus-introspect-get-argument): Reflow docstrings.
9588 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9590 vc-log-incoming/vc-log-outgoing fixes for Git.
9591 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9592 incoming/outgoing logs.
9593 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9594 instead of vc-git-compute-remote.
9595 (vc-git-compute-remote): Remove.
9597 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9599 * term/common-win.el (x-colors): Add "dark green" and "dark
9600 turquoise" (Bug#6332).
9602 2010-06-04 Juri Linkov <juri@jurta.org>
9604 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9605 Instead of setting `replace' to t and replacing the same string
9606 with itself, don't do certain actions when
9607 kill-do-not-save-duplicates is non-nil and string is equal to car
9608 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9609 interprogram-paste strings to kill-ring, and don't push the input
9610 argument `string' to kill-ring.
9611 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9613 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9615 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9617 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9619 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9620 (tramp-gvfs-handler-mounted-unmounted)
9621 (tramp-gvfs-connection-mounted-p): Handle default-location.
9623 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9624 move files to trash.
9626 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9628 * international/mule-cmds.el (nonascii-insert-offset)
9629 (nonascii-translation-table): Add obsolescence information.
9631 * international/mule.el (make-translation-table-from-vector): Doc fix.
9633 2010-06-03 Glenn Morris <rgm@gnu.org>
9635 * desktop.el (desktop-clear-preserve-buffers):
9636 Add "*Warnings*" buffer. (Bug#6336)
9638 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9640 vc-log-incoming/vc-log-outgoing improvements for Git.
9641 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9643 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9645 Add bindings for vc-log-incoming and vc-log-outgoing.
9646 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9647 and vc-log-outgoing.
9648 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9649 and vc-log-outgoing.
9651 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9653 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9654 (rcirc-handler-366): Always sort nicknames.
9656 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9658 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9660 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9662 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9664 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9667 (rcirc-sort-nicknames-join): Avoid setq.
9669 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9671 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9672 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9673 (rcirc-handler-366): Use them.
9675 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9677 Split smie-indent-calculate into more manageable chunks.
9678 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9679 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9680 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9681 (smie-indent-exps): Extract from smie-indent-calculate.
9682 (smie-indent-functions): New var.
9683 (smie-indent-functions): Use them.
9685 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9688 (smie-indent-calculate): Simplify and cleanup.
9690 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9692 * net/tramp-gvfs.el (top): Require url-util.
9693 (tramp-gvfs-mount-point): Remove.
9694 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9696 (with-tramp-dbus-call-method): Format trace message.
9697 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9698 Implement backup call, when operation on local files fails.
9699 Use progress reporter. Flush properties of changed files.
9700 (tramp-gvfs-handle-make-directory): Make more traces.
9701 (tramp-gvfs-url-file-name): Hexify file name in url.
9702 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9703 into account for the resulting file name.
9704 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9705 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9706 (tramp-gvfs-handler-mounted-unmounted)
9707 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9708 attribute "default_location". Set "prefix" property.
9709 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9710 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9711 exists. Raise an error, if not (due to a corresponding answer
9712 "no" in interactive questions, for example).
9714 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9716 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9718 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9720 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9723 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9725 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9726 * vc-git.el (vc-git-compute-remote): New function.
9727 (vc-git-log-outgoing): Use it instead of hard coding a value.
9728 (vc-git-log-incoming): New function.
9730 Improve state updating for VC tag commands.
9731 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9732 to update the state of all buffers in the directory.
9734 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9736 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9739 `file-directory-p' to the filename part rather than to the whole text.
9741 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9745 2010-05-31 Drew Adams <drew.adams@oracle.com>
9747 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9749 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9751 * subr.el (momentary-string-display): Just use read-event to read
9752 the exit event (Bug#6238).
9754 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9756 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9758 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9760 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9761 Suggested by Eli Zaretskii <eliz@gnu.org>.
9763 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * minibuffer.el (completion-file-name-table): Don't return a boundary
9766 past the end of `string' (bug#6299).
9767 (completion--file-name-table): Delegate to completion-file-name-table
9768 for the `boundaries' case.
9770 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9772 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9775 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9776 `path-separator', but maintain compatibility with Emacs 20.2.
9778 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9780 * server.el (server-process-filter): Receive parent-id argument
9782 (server-create-window-system-frame): New arg. Pass parent-id as
9785 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9787 Bidi-sensitive word movement with arrow keys.
9788 * subr.el (right-arrow-command, left-arrow-command): Move to
9791 * bindings.el (right-char, left-char): Move from subr.el and
9792 rename from right-arrow-command and left-arrow-command.
9793 (right-word, left-word): New functions.
9794 (global-map) <right>: Bind to right-char.
9795 (global-map) <left>: Bind to left-char.
9796 (global-map) <C-right>: Bind to right-word.
9797 (global-map) <C-left>: Bind to left-word.
9799 * ls-lisp.el (ls-lisp-classify-file): New function.
9800 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9801 (ls-lisp-classify): Call ls-lisp-classify-file.
9802 (insert-directory): Remove blanks from switches.
9804 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9806 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9807 (ansi-color-drop-regexp): New constant.
9808 (ansi-color-apply, ansi-color-filter-region)
9809 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9810 (ansi-color-apply): Build string list before calling concat.
9812 2010-05-28 Juri Linkov <juri@jurta.org>
9814 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9815 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9818 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9820 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9821 to ignored backtrace functions.
9822 (with-progress-reporter): Expand docstring.
9823 (tramp-handle-delete-file): Implement TRASH argument.
9824 (tramp-get-remote-trash): New defun.
9826 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9828 * net/tramp-compat.el (tramp-compat-delete-file):
9829 Use `symbol-value' for backward compatibility.
9831 * net/tramp.el (tramp-handle-make-symbolic-link)
9833 (tramp-do-copy-or-rename-file-via-buffer)
9834 (tramp-do-copy-or-rename-file-directly)
9835 (tramp-do-copy-or-rename-file-out-of-band)
9836 (tramp-handle-process-file, tramp-handle-call-process-region)
9837 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9838 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9839 (tramp-delete-temp-file-function): Use `delete-file' instead
9840 of `tramp-compat-delete-file'.
9842 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9843 (tramp-fish-handle-make-symbolic-link)
9844 (tramp-fish-handle-process-file): Use `delete-file' instead
9845 of `tramp-compat-delete-file'.
9847 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9848 Use `delete-file' instead of `tramp-compat-delete-file'.
9850 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9851 `delete-file' instead of `tramp-compat-delete-file'.
9853 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9854 Use `delete-file' instead of `tramp-compat-delete-file'.
9856 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9857 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9858 (tramp-smb-handle-write-region): Use `delete-file' instead of
9859 `tramp-compat-delete-file'.
9860 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9862 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9864 * dired.el (dired-delete-file): New arg TRASH.
9865 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9866 (dired-do-flagged-delete, dired-do-delete): Use trash.
9868 * speedbar.el (speedbar-item-delete): Allow trashing.
9870 * files.el (delete-directory): New arg TRASH.
9872 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9873 (ange-ftp-rename-remote-to-remote)
9874 (ange-ftp-rename-local-to-remote)
9875 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9876 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9878 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9881 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9882 handle new TRASH arg of `delete-file'.
9884 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9885 (tramp-handle-make-symbolic-link, tramp-handle-load)
9886 (tramp-do-copy-or-rename-file-via-buffer)
9887 (tramp-do-copy-or-rename-file-directly)
9888 (tramp-do-copy-or-rename-file-out-of-band)
9889 (tramp-handle-process-file, tramp-handle-call-process-region)
9890 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9891 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9892 (tramp-delete-temp-file-function): Use null TRASH arg in
9893 tramp-compat-delete-file call.
9895 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9896 (tramp-fish-handle-delete-file)
9897 (tramp-fish-handle-make-symbolic-link)
9898 (tramp-fish-handle-process-file): Use null TRASH arg in
9899 `tramp-compat-delete-file' call.
9901 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9902 arg in `tramp-compat-delete-file' call.
9904 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9905 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9906 `tramp-compat-delete-file' call.
9908 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9909 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9910 `tramp-compat-delete-file' call.
9912 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9913 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9914 (tramp-smb-handle-write-region): Use null TRASH arg in
9915 tramp-compat-delete-file call.
9916 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9917 (tramp-smb-handle-delete-file): Rename arg.
9919 * diff.el (diff-sentinel):
9920 * epg.el (epg--make-temp-file, epg-decrypt-string)
9921 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9922 * jka-compr.el (jka-compr-partial-uncompress)
9923 (jka-compr-call-process, jka-compr-write-region):
9924 * server.el (server-sentinel): Remove optional arg from
9925 delete-file, reverting 2010-05-03 change.
9927 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9929 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9930 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9932 2010-05-27 Kenichi Handa <handa@m17n.org>
9934 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9935 element of GSTRING is nil.
9937 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9939 * emacs-lisp/smie.el (smie-forward-token-function)
9940 (smie-backward-token-function): New vars.
9941 (smie-backward-sexp, smie-forward-sexp)
9942 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9943 (smie-default-backward-token): Rename from smie-backward-token and
9945 (smie-default-forward-token): Rename from smie-forward-token and
9947 (smie-next-sexp): Handle nil results from next-token.
9948 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9950 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9952 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9953 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9955 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9957 * htmlfontify.el (hfy-face-resolve-face): New function.
9958 (hfy-face-to-style): Use it (Bug#6279).
9960 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9962 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9963 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9965 2010-05-26 Glenn Morris <rgm@gnu.org>
9967 * emulation/edt.el (edt-load-keys): Use locate-library.
9969 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9971 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9972 (log-edit-changelog-entries): Doc fix.
9973 (log-edit-changelog-insert-entries): Args changed.
9974 Rename relative filenames in ChangeLog entries. Delete tabs.
9975 (log-edit-insert-changelog-entries): Reorganize return value of
9976 `log-edit-changelog-entries' to pass filenames to
9977 log-edit-changelog-insert-entries.
9979 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9981 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9982 `image-dired-dired-insert-marked-thumbs' to
9983 `image-dired-dired-toggle-marked-thumbs'.
9985 * image-dired.el: Require cl when compiling.
9986 (image-dired-dired-toggle-marked-thumbs): Rename from
9987 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9988 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9989 to 'no-dir. Skip files whose names don't match
9990 `image-file-name-regexp'. When file has a thumbnail overlay,
9991 delete it. (Bug#5270)
9993 2010-05-25 Juri Linkov <juri@jurta.org>
9995 * image-mode.el (image-mode): Add image-after-revert-hook to
9997 (image-after-revert-hook): New function. (Bug#5669)
9999 2010-05-25 Juri Linkov <juri@jurta.org>
10001 * image.el (image-animated-p): When delay between animated images
10002 is 0, set it to 10 (0.1 sec). (Bug#6258)
10004 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10006 * net/tramp.el (tramp-handle-insert-directory): Don't use
10007 `forward-word', its default syntax could be changed.
10009 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10011 * net/tramp.el (tramp-progress-reporter-update): New defun.
10012 (with-progress-reporter): Use it.
10013 (tramp-process-actions):
10014 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10015 Preserve current message, in order to let progress reporter continue
10016 afterwards. (Bug#6257)
10018 2010-05-25 Glenn Morris <rgm@gnu.org>
10020 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10023 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10025 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10026 (rcirc-default-full-name): Change to "unknown".
10027 (rcirc-user-name-history): Add variable.
10029 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10030 Jonathan Rockway <jon@jrock.us>
10032 * net/rcirc.el (rcirc-server-alist): Add :pass.
10033 (rcirc): When prompting for connection parameters, also prompt for
10034 username and password.
10035 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10036 value to server when connecting.
10038 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10041 (smie-merge-prec2s): Pass the tables as separate args.
10042 (smie-bnf-precedence-table): Adjust call accordingly.
10043 (smie-prec2-levels): Set levels at the end.
10045 Replace Lisp calls to delete-backward-char by delete-char.
10046 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10047 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10048 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10049 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10050 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10051 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10052 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10053 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10054 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10055 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10056 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10057 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10058 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10059 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10060 delete-backward-char by calls to delete-char.
10062 2010-05-25 Kenichi Handa <handa@m17n.org>
10064 * language/hebrew.el (hebrew-shape-gstring): New function.
10065 Register it in composition-function-table for all Hebrew combining
10068 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * epa.el (epa--select-keys): Don't explicitly delete the window since
10071 that can fail (e.g. sole window in frame). Use dedication instead.
10073 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10075 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10077 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10079 * image.el (image-refresh): Define as an alias for image-flush.
10081 * image-mode.el (image-toggle-display-image): Caller changed.
10083 2010-05-21 Juri Linkov <juri@jurta.org>
10085 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10086 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10087 whitespace, call wildcard-to-regexp on substrings and concat them
10088 with "\\|". (Bug#6114)
10090 2010-05-21 Alan Mackenzie <acm@muc.de>
10092 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10093 Replace parameter `here' with `here-' and `here-plus', which sandwich
10094 any pertinent CPP construct.
10095 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10096 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10097 CPP construct from taking part in the scanning.
10099 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10101 * net/tramp.el (tramp-do-copy-or-rename-file)
10102 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10103 Tune `with-progress-reporter' messages.
10104 (tramp-handle-vc-registered):
10105 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10106 (tramp-fish-handle-insert-file-contents)
10107 (tramp-fish-maybe-open-connection):
10108 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10109 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10110 (tramp-imap-handle-insert-file-contents)
10111 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10113 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10115 * add-log.el (change-log-font-lock-keywords):
10116 Highlight all authors in multi-author entries.
10118 * smerge-mode.el (smerge-refine-ignore-whitespace)
10119 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10120 Fix typos in docstrings.
10121 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10123 2010-05-21 Glenn Morris <rgm@gnu.org>
10125 * progmodes/fortran.el (fortran-mode):
10126 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10128 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10129 having a relative path in src/Makefile.in.
10131 2010-05-20 Kevin Ryde <user42@zip.com.au>
10133 * help-mode.el (help-make-xrefs): For Info node links turn
10134 newlines into spaces. Link node names with newlines are matched
10135 by help-xref-info-regexp and buttonized, this change ensures they
10136 can be followed successfully with RET. (Bug#6206)
10138 2010-05-20 Juri Linkov <juri@jurta.org>
10140 * locate.el (locate): Use pop-to-buffer instead of
10141 switch-to-buffer-other-window. (Bug#6204)
10143 2010-05-20 Juri Linkov <juri@jurta.org>
10145 * replace.el (replace-highlight): Fix lazy-highlighting
10146 for `M-s w str M-% str RET'.
10148 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10150 * isearch.el (isearch-yank-word-or-char): Pull next subword
10151 when `subword-mode' is activated. (Bug#6220)
10153 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10155 * isearch.el (isearch-update-post-hook): New hook.
10156 (isearch-update): Use the new hook. (Bug#6225)
10158 2010-05-20 Juri Linkov <juri@jurta.org>
10160 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10161 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10164 2010-05-20 Juri Linkov <juri@jurta.org>
10166 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10169 2010-05-20 Juri Linkov <juri@jurta.org>
10171 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10172 FILE-NAME to read from the minibuffer when called interactively
10173 with prefix argument instead of using buffer-file-name.
10174 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10176 * dired.el: Update autoloads.
10178 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10180 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10181 nxml-finish-element, for consistency with SGML mode.
10183 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10184 octave-close-block.
10186 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10188 * composite.el: Require cl when compiling.
10189 (reference-point-alist, compose-gstring-for-graphic)
10190 (compose-gstring-for-terminal): Fix typos in docstrings.
10192 2010-05-19 Juri Linkov <juri@jurta.org>
10194 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10195 set-window-parameter.
10197 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10199 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10201 (tramp-maybe-open-connection): Use it.
10203 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10205 * simple.el (move-end-of-line): Make sure we are at line beginning
10206 before backing up to end of previous line.
10208 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10210 * password-cache.el (password-cache-remove): Fix docstring.
10212 * net/secrets.el: Autoload the widget functions.
10213 (secrets-search-items, secrets-create-item)
10214 (secrets-get-attributes, secrets-expand-item): Attributes will be
10215 stored on the password database without leading ":", as all other
10216 clients do as well.
10217 (secrets-mode): Fix docstring.
10218 (secrets-show-secrets): Provide it as autoloaded command only when
10219 D-Bus support is available. Check existence of Secret Service API.
10221 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10223 * indent.el (indent-region): Deactivate region (bug#6200).
10225 2010-05-19 Glenn Morris <rgm@gnu.org>
10227 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10229 2010-05-19 Kenichi Handa <handa@m17n.org>
10231 * composite.el: Register compose-gstring-for-graphic in
10232 composition-function-table only for combining characters (Mn, Mc, Me).
10234 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10236 * calc/calc-trail.el (calc-trail-isearch-forward)
10237 (calc-trail-isearch-backward): Ensure that the new window
10238 point is set correctly.
10240 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10242 * subr.el (read-quoted-char): Resolve modifiers after key
10243 remapping (bug#6212).
10245 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10247 Add visualization code for secrets.
10248 * net/secrets.el (secrets-mode): New major mode.
10249 (secrets-show-secrets, secrets-show-collections)
10250 (secrets-expand-collection, secrets-expand-item)
10251 (secrets-tree-widget-after-toggle-function)
10252 (secrets-tree-widget-show-password): New defuns.
10254 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10257 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10258 handled in smie-next-sexp.
10259 (smie-indent-calculate): Provide a starting indentation (so the
10260 recursion is well-founded ;-).
10262 Fix handling of non-associative equal levels.
10263 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10264 when it's not needed.
10265 (smie-op-left, smie-op-right): New functions.
10266 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10267 Better handle equal levels to distinguish the associative case from
10268 the "multi-keyword construct" case.
10269 (smie-backward-sexp, smie-forward-sexp): Use it.
10271 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10273 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10275 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10276 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10278 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10280 Provide a simple generic indentation engine and use it for Prolog.
10281 * emacs-lisp/smie.el: New file.
10282 * progmodes/prolog.el (prolog-smie-op-levels)
10283 (prolog-smie-indent-rules): New var.
10284 (prolog-mode-variables): Use them to configure SMIE.
10285 (prolog-indent-line, prolog-indent-level): Remove.
10287 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10289 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10290 order before computing the averages.
10292 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10294 * calc/calc-vec.el (calc-histogram):
10295 (calcFunc-histogram): Allow vectors as inputs.
10296 (math-vector-avg): New function.
10298 * calc/calc-ext.el (math-group-float): Have the number of digits
10299 being grouped depend on the radix (Bug#6189).
10301 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10303 * version.el (emacs-copyright, emacs-version): Don't define here,
10304 now that emacs.c defines it.
10306 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10308 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10309 "Describe Language Environment" menu item.
10311 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10313 Bidi-sensitive movement with arrow keys.
10314 * subr.el (right-arrow-command, left-arrow-command): New functions.
10316 * bindings.el (global-map): Bind them to right and left arrow keys.
10318 Don't override standard definition of convert-standard-filename.
10319 * files.el (convert-standard-filename):
10320 Call w32-convert-standard-filename and dos-convert-standard-filename on
10321 the corresponding systems.
10323 * w32-fns.el (w32-convert-standard-filename): Rename from
10324 convert-standard-filename. Doc fix.
10326 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10327 (convert-standard-filename): Don't defalias.
10328 (register-name-alist, make-register, register-value)
10329 (set-register-value, intdos): Obsolete aliases for the
10330 corresponding dos-* functions and variables.
10331 (dos-intdos): Add a doc string.
10333 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10335 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10336 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10337 (math-compose-tex-func):
10338 * calc/calccomp.el (math-compose-expr):
10339 * calc/calc-ext.el (math-format-flat-expr-fancy):
10340 * calc/calc-store.el (calc-read-var-name):
10341 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10343 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10344 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10345 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10346 (math-standard-units): Add units.
10348 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10350 * progmodes/asm-mode.el (asm-mode):
10351 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10353 * pcomplete.el (pcomplete-completions-at-point): New function,
10354 extracted from pcomplete-std-complete.
10355 (pcomplete-std-complete): Use it.
10357 2010-05-15 Glenn Morris <rgm@gnu.org>
10359 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10360 Remove references to CVS, RCS and Old directories.
10362 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10364 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10367 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10370 (sh-mode-syntax-table): Give it a default value instead.
10371 (sh-header-marker): Make buffer-local.
10372 (sh-mode): Move make-local-variable to the corresponding setq.
10373 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10374 Use complete-with-action.
10376 * simple.el (prog-mode): New (abstract) major mode.
10377 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10378 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10380 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10382 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10383 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10384 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10385 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10386 (sql-escape-newlines-filter, sql-input-sender)
10387 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10389 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10391 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10393 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10394 latex-open-block and C-c / to latex-close-block.
10396 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10397 and C-c C-e to sgml-close-tag.
10399 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10401 * net/tramp.el (with-progress-reporter): Create reporter object
10402 only when the message would be displayed. Handle nested calls.
10403 (tramp-handle-load, tramp-handle-file-local-copy)
10404 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10405 (tramp-maybe-send-script, tramp-find-shell):
10406 Use `with-progress-reporter'.
10407 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10410 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10411 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10412 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10413 Use `with-progress-reporter'.
10415 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10417 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10418 process everytime when spellchecking from the minibuffer (bug#6143).
10420 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10422 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10424 * dos-fns.el: Add "dos-" prefix for namespace control.
10425 (convert-standard-filename): Define as alias for
10426 dos-convert-standard-filename but only if applicable.
10428 2010-05-12 Alan Mackenzie <acm@muc.de>
10430 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10431 Push the mark at the start of these functions when appropriate.
10433 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * minibuffer.el (completion-cycle-threshold): New custom var.
10436 (completion--do-completion): Use it.
10437 (minibuffer-complete): Use cycling if appropriate.
10439 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10441 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10442 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10444 2010-05-11 Juri Linkov <juri@jurta.org>
10446 * scroll-all.el (scroll-all-check-to-scroll):
10447 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10449 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * iimage.el (iimage-mode-map): Move initialization into declaration.
10452 (iimage-mode-buffer): Use with-silent-modifications.
10453 Simplify calling convention. Adjust callers.
10454 (iimage-mode): Don't run hook redundantly.
10456 * minibuffer.el (completion-pcm--pattern->regex):
10457 Fix last change (bug#6160).
10459 2010-05-10 Juri Linkov <juri@jurta.org>
10461 Remove nodes visited during Isearch from the Info history.
10462 * info.el (Info-isearch-initial-history)
10463 (Info-isearch-initial-history-list): New variables.
10464 (Info-isearch-start): Record initial values of
10465 Info-isearch-initial-history and Info-isearch-initial-history-list.
10466 Add Info-isearch-end to isearch-mode-end-hook.
10467 (Info-isearch-end): New function.
10469 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10471 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10472 format string, in order to work around a bug in pdksh.
10473 Reported by Gilles Pion <gpion@lfdj.com>.
10474 (tramp-handle-verify-visited-file-modtime): Do not send a command
10475 when the connection is not established.
10476 (tramp-handle-set-file-times): Simplify the check for utc.
10478 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10480 Fix use of `filter-buffer-substring' (rework previous change).
10481 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10482 (cua-repeat-replace-region):
10483 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10484 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10485 (cua-cut-region-to-global-mark): Use it.
10487 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10489 * progmodes/sql.el: Version 2.1.
10490 (sql-product-alist): Redesign structure of product info.
10491 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10492 (sql-port, sql-port-history): New variables.
10493 (sql-interactive-product): New variable.
10494 (sql-send-terminator): New variable.
10495 (sql-imenu-generic-expression): Add "Types" imenu entry.
10496 (sql-oracle-login-params, sql-sqlite-login-params)
10497 (sql-mysql-login-params, sql-solid-login-params)
10498 (sql-sybase-login-params, sql-informix-login-params)
10499 (sql-ingres-login-params, sql-ms-login-params)
10500 (sql-postgres-login-params, sql-interbase-login-params)
10501 (sql-db2-login-params, sql-linter-login-params)
10502 (sql-oracle-scan-on): New variables.
10503 (sql-mode-map): Add C-c C-i to start interactive mode.
10504 (sql-mode-menu): Update existing menu entries.
10505 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10506 (sql-mode-oracle-font-lock-keywords)
10507 (sql-mode-postgres-font-lock-keywords)
10508 (sql-mode-ms-font-lock-keywords)
10509 (sql-mode-sybase-font-lock-keywords)
10510 (sql-mode-informix-font-lock-keywords)
10511 (sql-mode-interbase-font-lock-keywords)
10512 (sql-mode-ingres-font-lock-keywords)
10513 (sql-mode-solid-font-lock-keywords)
10514 (sql-mode-mysql-font-lock-keywords)
10515 (sql-mode-sqlite-font-lock-keywords)
10516 (sql-mode-db2-font-lock-keywords)
10517 (sql-mode-linter-font-lock-keywords): Update initialization to
10518 reduce run-time complexity.
10519 (sql-add-product, sql-del-product): New functions.
10520 (sql-set-product-feature, sql-get-product-feature): New functions.
10521 (sql-product-font-lock): Update product API.
10522 (sql-add-product-keywords): New function.
10523 (sql-highlight-product): Update product API.
10524 (sql-help-list-products): New function.
10525 (sql-help): Dynamically lists free and non-free products.
10526 (sql-get-login): Correct bug in handling history and added
10528 (sql-copy-column): Copy without properties.
10529 (sqli-input-sender): Apply filters to SQLi input.
10530 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10531 Implement as a filter.
10532 (sql-escape-newlines-filter): Implement as a filter.
10533 (sql-remove-tabs-filter): New function.
10534 (sql-send-magic-terminator): New function.
10535 (sql-send-string): Implement magic terminator.
10536 (sql-send-region): Use `sql-send-string'.
10537 (sql-interactive-mode): Use product API.
10538 (sql-product-interactive): Use product API.
10539 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10540 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10541 (sql-db2, sql-linter): Use `sql-product-interactive'.
10542 (sql-connect): New function.
10543 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10544 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10545 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10546 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10549 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10552 New custom variable.
10553 (completion-pcm--string->pattern): Use it.
10554 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10555 Make it handle any symbol as `any'.
10556 (completion-pcm--merge-completions): Extract common suffix for the new
10557 `prefix' symbol as well.
10558 (completion-substring--all-completions): Use the new `prefix' symbol.
10560 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10562 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10564 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10565 (tramp-compat-funcall): New defmacro.
10566 (tramp-compat-line-beginning-position)
10567 (tramp-compat-line-end-position)
10568 (tramp-compat-temporary-file-directory)
10569 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10570 (tramp-compat-copy-file, tramp-compat-copy-directory)
10571 (tramp-compat-delete-file, tramp-compat-delete-directory)
10572 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10573 * net/tramp.el (top, with-progress-reporter)
10574 (tramp-rfn-eshadow-setup-minibuffer)
10575 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10576 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10577 (tramp-completion-mode-p, tramp-check-for-regexp)
10578 (tramp-open-connection-setup-interactive-shell)
10579 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10580 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10581 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10582 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10583 (tramp-reporter-dump-variable, tramp-load-report-modules)
10584 (tramp-append-tramp-buffers)
10585 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10587 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10589 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10592 buffer-modtime. Adjust users.
10594 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10596 * international/mule.el (auto-coding-alist): Only purecopy
10597 car of each item, not the whole list (Bug#6083).
10599 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10601 * progmodes/js.el (js-mode): Make paragraph variables local before
10602 calling c-setup-paragraph-variables (Bug#6071).
10604 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10606 * composite.el (compose-region, reference-point-alist): Fix typos
10607 in the doc strings.
10609 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10611 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10612 gnuplot's "set" command.
10614 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10616 * abbrev.el (last-abbrev-text): Doc fix.
10617 (abbrev-prefix-mark): Don't escape parenthesis.
10619 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10621 * composite.el (find-composition): Doc fix.
10623 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10625 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10626 (sql-oracle-program, sql-sqlite-options)
10627 (sql-query-placeholders-and-send): Doc fixes.
10628 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10629 (sql-imenu-generic-expression, sql-buffer)
10630 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10631 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10632 (sql-mode-sybase-font-lock-keywords)
10633 (sql-mode-informix-font-lock-keywords)
10634 (sql-mode-interbase-font-lock-keywords)
10635 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10636 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10637 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10638 (sql-product-feature, sql-highlight-product)
10639 (comint-line-beginning-position, sql-rename-buffer)
10640 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10641 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10642 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10643 Fix typos in docstrings.
10645 2010-05-08 Juri Linkov <juri@jurta.org>
10647 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10648 property instead of `invisible' and `after-string' (bug#5998).
10650 2010-05-08 Juri Linkov <juri@jurta.org>
10652 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10654 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10656 * filecache.el (file-cache-add-directory-list)
10657 (file-cache-add-directory-recursively): Fix typos in docstrings.
10659 2010-05-08 Kenichi Handa <handa@m17n.org>
10661 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10662 (gujarati-composable-pattern): Fix typo.
10664 2010-05-08 Kenichi Handa <handa@m17n.org>
10666 * language/indian.el (oriya-composable-pattern)
10667 (tamil-composable-pattern, malayalam-composable-pattern):
10668 Add two-part vowels to "v" (vowel sign).
10670 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10672 * files.el (copy-directory): Handle symlinks (Bug#5982).
10674 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10676 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10677 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10680 2010-05-08 Glenn Morris <rgm@gnu.org>
10682 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10684 * minibuffer.el (completion-at-point): Doc fix.
10686 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10688 * electric.el (Electric-command-loop): Minor tweak.
10690 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10691 better with dedicated windows.
10693 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10695 * Version 23.2 released.
10697 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10698 Stefan Monnier <monnier@iro.umontreal.ca>
10700 Highlight vendor specific properties.
10701 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10702 (css-proprietary-property): New face.
10703 (css-font-lock-keywords): Use them.
10705 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10707 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10709 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10711 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10712 * files.el (auto-mode-alist): Remove redundant entries.
10714 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10715 * simple.el (auto-save-mode): Move from files.el.
10716 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10718 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10720 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10722 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10724 * mail/binhex.el (binhex-decode-region-internal)
10725 * mail/uudecode.el (uudecode-decode-region-internal)
10726 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10727 (dns-read-type, dns-query)
10728 * pgg-parse.el (pgg-parse-armor)
10729 * pgg.el (pgg-verify-region)
10730 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10733 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10735 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10737 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10739 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10740 * emulation/cua-base.el (cua-repeat-replace-region):
10741 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10742 (cua-cut-region-to-global-mark):
10743 Remove text properties with `set-text-properties'.
10745 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10747 * net/tramp.el (top, with-progress-reporter):
10748 Use `symbol-function' inside `funcall'.
10750 * net/tramp-compat.el (tramp-compat-file-attributes)
10751 (tramp-compat-delete-file, tramp-compat-delete-directory):
10752 Handle only `wrong-number-of-arguments' error.
10754 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10755 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10758 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * minibuffer.el (completion--sreverse, completion--common-suffix):
10762 (completion-pcm--merge-completions): Extract common suffix when safe.
10764 * emacs-lisp/easy-mmode.el (define-minor-mode):
10765 Make :variable more flexible.
10766 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10768 2010-05-05 Juri Linkov <juri@jurta.org>
10770 Add `slow' and `history' tags to the desktop data.
10772 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10773 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10774 (Info-finder-find-node): Require `finder.el' to be able
10775 to restore node from the desktop.
10776 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10777 data `Info-history' and `slow' tag in the assoc list.
10778 (Info-restore-desktop-buffer): Don't restore nodes with the
10779 `slow' tag. Restore `Info-history'.
10781 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10783 Add FORCE argument to `delete-file'.
10785 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10786 forcing to delete the temporary file.
10787 (ange-ftp-delete-file): Add FORCE arg.
10788 (ange-ftp-rename-remote-to-remote)
10789 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10790 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10791 Force file deletion.
10793 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10795 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10796 (tramp-handle-make-symbolic-link, tramp-handle-load)
10797 (tramp-do-copy-or-rename-file-via-buffer)
10798 (tramp-do-copy-or-rename-file-directly)
10799 (tramp-do-copy-or-rename-file-out-of-band)
10800 (tramp-handle-process-file, tramp-handle-call-process-region)
10801 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10802 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10803 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10805 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10806 (tramp-fish-handle-make-symbolic-link)
10807 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10809 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10810 Use `tramp-compat-delete-file'.
10812 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10813 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10815 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10816 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10818 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10819 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10820 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10821 Use `tramp-compat-delete-file'.
10823 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * subr.el (add-minor-mode): Use push.
10827 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10828 * emulation/edt.el (edt-select-mode): Simplify.
10830 Use define-minor-mode in more cases.
10831 * term/tvi970.el (tvi970-set-keypad-mode):
10832 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10833 (normal-erase-is-backspace-mode):
10834 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10835 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10836 (get-scroll-bar-mode): New function.
10837 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10839 Use define-minor-mode for less obvious cases.
10840 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10841 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10842 * international/iso-ascii.el (iso-ascii-mode):
10843 * frame.el (auto-raise-mode, auto-lower-mode):
10844 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10846 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10848 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10849 in order to see error messages for failed logins.
10851 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10853 * diff.el (diff-sentinel):
10855 * epg.el (epg--make-temp-file, epg-decrypt-string)
10856 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10858 * jka-compr.el (jka-compr-partial-uncompress)
10859 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10861 * server.el (server-sentinel): Use delete-file's new FORCE arg
10864 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10866 Use define-minor-mode where applicable.
10867 * view.el (view-mode):
10868 * type-break.el (type-break-query-mode)
10869 (type-break-mode-line-message-mode):
10870 * textmodes/reftex.el (reftex-mode):
10871 * term/vt100.el (vt100-wide-mode):
10872 * tar-mode.el (tar-subfile-mode):
10873 * savehist.el (savehist-mode):
10874 * ibuf-ext.el (ibuffer-auto-mode):
10875 * composite.el (auto-composition-mode):
10876 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10877 Use define-minor-mode.
10878 (vhdl-mode): Use static mode-line format.
10879 (vhdl-mode-line-update): Delete.
10880 (vhdl-create-mode-menu, vhdl-activate-customizations)
10881 (vhdl-hs-minor-mode): Don't bother calling it.
10883 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10885 * simple.el (with-wrapper-hook): Move.
10886 (buffer-substring-filters): Mark obsolete.
10887 (filter-buffer-substring-functions): New variable.
10888 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10890 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10891 Michael Albinus <michael.albinus@gmx.de>
10893 Implement compression for inline methods.
10895 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10896 (tramp-copy-size-limit): Allow also nil.
10897 (tramp-inline-compress-commands): New defconst.
10898 (tramp-find-inline-compress, tramp-get-inline-compress)
10899 (tramp-get-inline-coding): New defuns.
10900 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10901 replaced by `tramp-get-inline-coding'.
10902 (tramp-handle-file-local-copy, tramp-handle-write-region)
10903 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10905 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10908 Remove unused functions.
10910 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10911 Set find-tag-default-function as a variable rather than a property.
10913 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10914 * progmodes/etags.el (tags-completion-at-point-function):
10915 Remove left over interactive spec. Add autoloading stub.
10916 (complete-tag): Use tags-completion-at-point-function.
10918 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10920 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10922 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10924 * ido.el (ido-init-completion-maps): Remove C-v binding.
10925 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10927 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10929 * minibuffer.el (tags-completion-at-point-function): New function.
10930 (completion-at-point-functions): Use it.
10932 * progmodes/etags.el (complete-tag): Revert last change.
10934 2010-04-29 Alan Mackenzie <acm@muc.de>
10936 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10937 off-by-one error (in end of macro position).
10939 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10942 firefox is absent. Don't autoload.
10943 (browse-url-galeon-program): Don't autoload.
10945 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10947 * bindings.el (complete-symbol): Move into minibuffer.el.
10949 * minibuffer.el (complete-tag): Move from etags.el. If tags
10950 completion cannot be performed, return nil instead of signalling
10952 (completion-at-point): Make it an alias for complete-symbol.
10953 (complete-symbol): Move from bindings.el, and replace with the
10954 body of completion-at-point.
10956 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10958 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10960 * net/tramp.el (tramp-remote-selinux-p): New defun.
10961 (tramp-handle-file-selinux-context)
10962 (tramp-handle-set-file-selinux-context): Use it.
10964 2010-04-28 Sam Steingold <sds@gnu.org>
10966 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10967 `safe-local-variable' if the value is a string or a symbol with
10968 the property `bug-reference-url-format'.
10970 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10972 * progmodes/bug-reference.el (bug-reference-url-format):
10973 Revert 2010-04-27 change due to security risk.
10975 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10977 Make it possible to locally disable a globally enabled mode.
10978 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10979 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10980 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10981 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10982 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10983 that subsequent hooks get a chance to disable it.
10985 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10988 Avoid re-enabling a minor mode after the user turned the minor mode
10989 off if MODE-enable-in-buffers is run twice (typically once from
10990 fundamental-mode's after-change-major-mode-hook and a second time from
10991 run-mode-hook's own after-change-major-mode-hook).
10993 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10995 2010-04-27 Sam Steingold <sds@gnu.org>
10997 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10998 `safe-local-variable' if the value is a string or a function, as
10999 documented and implemented on 2010-04-02.
11001 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11003 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11004 when method is 'kill.
11006 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11008 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11009 condition in default directory check.
11010 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11011 Kill ispell process when killing its associated buffer.
11013 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11015 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11016 but we aren't using it.
11018 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11020 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11021 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11023 2010-04-24 Glenn Morris <rgm@gnu.org>
11025 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11026 Ignore VCS-ignore files, and deleted nextstep preferences files.
11027 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11028 (authors-ambiguous-files): New list.
11029 (authors-valid-file-names): Add some deleted files.
11030 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11031 (authors-disambiguate-file-name): New function. (Bug#5501)
11032 (authors-canonical-file-name): Doc fix.
11033 Don't warn about obsolete files.
11034 (authors-canonical-file-name, authors-scan-el):
11035 Use authors-disambiguate-file-name.
11037 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11038 Add autoload cookies.
11039 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11040 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11041 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11042 They have definitions / compiler macros in cl.el.
11043 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11044 Replace manual autoloads with generated ones.
11045 (htmlfontify-unload-rgb-file): Remove autoload.
11046 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11048 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11051 (byte-compile-setq-default): Optimize for the
11052 single-var case and don't call byte-compile-form in this case to avoid
11053 inf-loop with byte-compile-set-default.
11055 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11057 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11059 Implement SELINUX backends.
11061 * net/tramp.el (tramp-file-name-handler-alist):
11062 Add `file-selinux-context' and `set-file-selinux-context'.
11063 (tramp-handle-file-selinux-context)
11064 (tramp-handle-set-file-selinux-context): New defuns.
11065 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11066 Handle PRESERVE-SELINUX-CONTEXT.
11068 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11069 Add `file-selinux-context' and `set-file-selinux-context'.
11070 (tramp-gvfs-handle-file-selinux-context)
11071 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11072 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11074 * net/ange-ftp.el (ange-ftp-copy-file):
11075 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11076 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11077 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11078 Add PRESERVE-SELINUX-CONTEXT.
11080 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11082 Synchronize with Tramp repository.
11084 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11085 (tramp-action-process-alive, tramp-action-out-of-band)
11086 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11087 (tramp-exists-file-name-handler): Fix docstring.
11088 (with-progress-reporter): New defmacro.
11089 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11090 (tramp-maybe-open-connection): Use it.
11092 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11094 Detect ssh 'ControlMaster' argument automatically in some cases.
11096 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11097 (tramp-default-method): Use it.
11099 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11101 * net/tramp.el (tramp-handle-copy-file): Add new optional
11102 parameter `preserve-selinux-context'.
11103 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11105 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11107 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11108 Ensure, that non remote files are still checked. Oops.
11110 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11114 * icomplete.el (icomplete-completions): Use `non-essential'.
11116 * net/tramp.el (tramp-connectable-p): New defun.
11117 (tramp-handle-expand-file-name)
11118 (tramp-completion-handle-file-name-all-completions)
11119 (tramp-completion-handle-file-name-completion): Use it.
11121 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11123 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11125 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11127 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11129 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11131 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11134 * info.el (info-tool-bar-map): Add labels.
11136 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11138 * cus-edit.el (custom-commands): Add labels for tool bar.
11139 (custom-buffer-create-internal, Custom-mode): Adjust for
11140 labels in custom-commands.
11142 * dynamic-setting.el: Renamed from font-setting.el.
11144 2010-04-21 John Wiegley <jwiegley@gmail.com>
11146 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11147 toggles the use of virtual buffers.
11148 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11149 (ido-toggle-virtual-buffers): New function.
11151 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11153 Use `define-derived-mode'; fix window selection; doc fixes.
11154 * play/tetris.el (tetris, tetris-update-speed-function)
11155 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11156 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11157 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11158 (tetris-pause-game): Fix typos in docstrings.
11159 (tetris-mode-map, tetris-null-map):
11160 Move initialization into declaration.
11161 (tetris-mode): Define with `define-derived-mode';
11162 set show-trailing-whitespace to nil.
11163 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11165 2010-04-21 Karel Klíč <kklic@redhat.com>
11167 * files.el (backup-buffer): Handle SELinux context, and return it
11168 if a backup was made by renaming.
11169 (backup-buffer-copy): Set SELinux context to the target file.
11170 (basic-save-buffer): Set SELinux context of the newly written file.
11171 (basic-save-buffer-1): Now it also returns any SELinux context.
11172 (basic-save-buffer-2): Set SELinux context of the newly created file,
11174 * net/tramp.el (tramp-file-name-for-operation):
11175 Add file-selinux-context.
11177 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11179 Make the log-edit comments use RFC822 format throughout.
11181 * vc.el (vc-checkin, vc-modify-change-comment):
11182 Adjust to new vc-start/finish-logentry.
11183 (vc-find-conflicted-file): New command.
11184 (vc-transfer-file): Adjust to new vc-checkin.
11185 (vc-next-action): Improve scoping.
11187 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11188 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11190 * vc-git.el (vc-git-log-edit-mode): Remove.
11191 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11192 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11194 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11195 (vc-start-logentry): Remove argument `extra'.
11196 (vc-finish-logentry): Remove extra args.
11198 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11199 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11200 (vc-bzr-conflicted-files): New function.
11202 * log-edit.el (log-edit-extra-flags)
11203 (log-edit-before-checkin-process): Remove.
11204 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11205 (log-edit-headers-alist): New var.
11206 (log-edit-header-contents-regexp): New const.
11207 (log-edit-match-to-eoh): New function.
11208 (log-edit-font-lock-keywords): Use them.
11209 (log-edit): Insert a "Summary:" header as default.
11210 (log-edit-mode): Mark font-lock rules as case-insensitive.
11211 (log-edit-done): Cleanup headers.
11212 (log-view-process-buffer): Remove.
11213 (log-edit-extract-headers): New function to replace it.
11215 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11217 * subr.el (default-direction-reversed): Remove obsolescence info.
11219 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11221 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11224 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11225 I.e. include text after point in the completion region.
11226 Also, return nil when we're not after/in a symbol.
11228 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11229 default enable-multibyte-characters.
11231 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * international/mule.el: Help the user choose a valid coding-system.
11234 (read-buffer-file-coding-system): New function.
11235 (set-buffer-file-coding-system): Use it. Prompt the user if the
11236 coding-system cannot encode all the chars.
11238 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11239 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11240 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11241 Don't use *vc-bzr-shelve*.
11243 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11245 Fix the version number for added files.
11246 * vc-hg.el (vc-hg-working-revision): Check if the file is
11247 registered after hg parent fails (Bug#5961).
11249 2010-04-19 Glenn Morris <rgm@gnu.org>
11251 * htmlfontify.el (htmlfontify-buffer)
11252 (htmlfontify-copy-and-link-dir): Autoload entry points.
11254 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11256 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11257 name relative to the project root (Bug#5960).
11259 2010-04-19 Glenn Morris <rgm@gnu.org>
11261 * vc-git.el (vc-git-print-log): Doc fix.
11263 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11265 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11267 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11269 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11270 default settings (Bug#5928).
11272 2010-04-19 Glenn Morris <rgm@gnu.org>
11274 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11276 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11278 2010-04-19 Kenichi Handa <handa@m17n.org>
11280 * language/indian.el (malayalam-composable-pattern): Fix previous
11281 change (add U+0D4D "SIGN VIRAMA").
11282 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11283 (tamil-composable-pattern): Fix typo in the regexp.
11284 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11285 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11286 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11288 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11290 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11291 paragraph-separate (Bug#5821).
11293 2010-04-19 Juri Linkov <juri@jurta.org>
11295 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11297 * info.el (Info-find-node-2): Comment out code that skips
11299 (Info-mouse-follow-link): New command.
11300 (Info-link-keymap): New keymap.
11301 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11302 Return a string with links instead of inserting breadcrumbs
11303 to the Info buffer.
11304 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11305 Instead of putting the `invisible' text property over the Info
11306 header, make an overlay over the Info header with the `invisible'
11307 property and `after-string' set to the string returned by
11308 `Info-breadcrumbs'.
11310 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11312 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11313 Reported by monkey@sandpframing.com.
11315 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11317 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11318 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11319 available in the "keyseq cache" any more.
11321 * custom.el (defcustom): Add edebug spec.
11323 2010-04-18 Juri Linkov <juri@jurta.org>
11325 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11327 * view.el (view-file, view-buffer): Move test for special mode-class
11328 from view-file to view-buffer.
11330 * tar-mode.el (tar-extract): Turn if's into one cond
11331 like in arc-mode.el.
11333 2010-04-18 Juri Linkov <juri@jurta.org>
11335 Add 7z archive format support (bug#5475).
11337 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11338 (archive-7z-extract): New defcustom.
11339 (archive-find-type): Add magic string for 7z.
11340 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11341 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11342 `buffer' arg of `call-process'.
11343 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11344 call the function `archive-7z-extract' with the variable
11345 `archive-7z-extract' let-bound to `archive-zip-extract'.
11346 (archive-7z-summarize, archive-7z-extract): New functions.
11348 * international/mule.el (auto-coding-alist):
11349 * files.el (auto-mode-alist): Add 7z file extension.
11351 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * loadup.el: Setup hash-cons for pure data.
11355 Fix duplicate entries in cedet's loaddefs.el files.
11356 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11357 Should make most file-local generated-autoload-file unnecessary.
11358 (print-readably): Silence warnings.
11359 (autoload-find-destination): Take load-name as an arg to make sure
11360 it's the same as the one that will be in the file.
11361 (autoload-generate-file-autoloads): Adjust to above changes.
11362 Try to make the dataflow a bit simpler.
11364 * cvs-status.el (cvs-refontify): Remove unused.
11366 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11368 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11370 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11371 twos-complement mode.
11373 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11375 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11376 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11377 (calc-inverse): Add "Option" to message, as appropriate.
11378 (calc-hyperbolic): Add "Option" to message, as appropriate.
11379 (calc-option, calc-is-option): New functions.
11381 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11382 (calc-option-prefix-help): New function.
11384 * calc/calc-misc.el (calc-help): Add "Option" entry.
11386 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11387 (calc-option-flag): New variable.
11388 (calc-do): Set `calc-option-flag to nil.
11389 (calc-set-mode-line): Add "Opt " as appropriate.
11391 2010-04-16 Juri Linkov <juri@jurta.org>
11393 Move scrolling commands from simple.el to window.el
11394 because their primitives are implemented in window.c.
11396 * simple.el (scroll-error-top-bottom)
11397 (scroll-up-command, scroll-down-command, scroll-up-line)
11398 (scroll-down-line, scroll-other-window-down)
11399 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11400 * window.el (scroll-error-top-bottom)
11401 (scroll-up-command, scroll-down-command, scroll-up-line)
11402 (scroll-down-line, scroll-other-window-down)
11403 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11404 Move from simple.el to window.el because their primitives are
11405 implemented in window.c.
11407 2010-04-16 Juri Linkov <juri@jurta.org>
11409 * isearch.el (isearch-lookup-scroll-key): Check both
11410 `isearch-scroll' and `scroll-command' properties.
11411 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11413 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11415 * simple.el (scroll-up-command, scroll-down-command)
11416 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11418 2010-04-15 Juri Linkov <juri@jurta.org>
11420 * simple.el (scroll-up-command, scroll-down-command)
11421 (scroll-up-line, scroll-down-line): Put `scroll-command'
11422 property on the these symbols. Remove them from
11423 `scroll-preserve-screen-position-commands'.
11425 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11426 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11427 Remove it from `scroll-preserve-screen-position-commands'.
11429 * isearch.el (isearch-allow-scroll): Doc fix.
11431 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11433 * net/tramp.el (tramp-error-with-buffer): Don't show the
11434 connection buffer when we are in completion mode.
11435 (tramp-file-name-handler): Catch the error for some operations
11436 when we are in completion mode. This gives the user the chance to
11437 correct the file name in the minibuffer.
11439 2010-04-15 Glenn Morris <rgm@gnu.org>
11441 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11443 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11445 Simplify by using `define-derived-mode'.
11446 * info.el (Info-mode):
11447 * calendar/todo-mode.el (todo-mode):
11448 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11449 (gomoku-mode-map): Move initialization into declaration.
11451 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11454 * ido.el (ido-file-name-all-completions-1):
11455 * minibuffer.el (minibuffer-completion-help):
11456 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11458 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * simple.el (non-essential): New var.
11462 Add a new field `location' to bookmarks for non-file bookmarks.
11463 * bookmark.el (bookmark-location): Use the new field, if present.
11464 (bookmark-insert-location): Undo last change, not needed any more.
11465 * man.el (Man-bookmark-make-record):
11466 * woman.el (woman-bookmark-make-record): Add `location' field.
11468 2010-04-14 Juri Linkov <juri@jurta.org>
11470 * simple.el (scroll-error-top-bottom): New defcustom.
11471 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11473 * emulation/pc-select.el (pc-select-override-scroll-error):
11474 Obsolete in favor of `scroll-error-top-bottom'.
11476 2010-04-14 Juri Linkov <juri@jurta.org>
11478 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11479 `scroll-up-command' and `M-v' to `scroll-down-command'.
11481 * emulation/cua-rect.el (cua--init-rectangles):
11482 * forms.el (forms--change-commands):
11483 * image-mode.el (image-mode-map):
11484 Remap scroll-down-command and scroll-up-command
11485 in addition to scroll-down and scroll-up.
11487 2010-04-14 Juri Linkov <juri@jurta.org>
11489 * mwheel.el (scroll-preserve-screen-position-commands):
11490 Add mwheel-scroll to this list of commands.
11492 * simple.el (scroll-preserve-screen-position-commands):
11493 Add scroll-up-command, scroll-down-command, scroll-up-line,
11494 scroll-down-line to this list of commands.
11496 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11498 * obsolete/complete.el: Move from lisp/complete.el.
11500 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11502 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11503 to the minor mode function now turns the mode ON unconditionally.
11505 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * vc-dir.el (vc-dir-kill-line): New command.
11508 (vc-dir-mode-map): Bind it to C-k.
11510 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11512 * woman.el: Add bookmark declarations to silence the compiler.
11513 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11514 step to compatibility between man and woman bookmarks.
11515 Adjust for Man-default-bookmark-title renaming.
11516 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11518 * man.el: Add bookmark declarations to silence the compiler.
11519 (Man-name-local-regexp): Make it match NAME as well.
11520 (Man-getpage-in-background): Return the buffer.
11521 (Man-notify-when-ready): Use `case'.
11522 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11523 Don't hardcode "NAME". Simplify.
11524 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11525 Rename from Man-bookmark-make-record.
11526 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11527 we have the actual man-args. Use Man-getpage-in-background rather
11528 than `man' since the arg is already processed. Let bookmark.el do the
11529 window handling. Only wait for the relevant process.
11530 Don't forget to autoload.
11532 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11534 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11536 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11538 (woman-mode): Setup bookmark support.
11540 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11541 (man-bookmark-jump): New functions.
11542 (Man-mode): Setup bookmark support.
11544 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11546 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11547 recognize ssh-keygen prompt (Bug#2817).
11549 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11551 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11553 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11555 Synchronize with Tramp repository.
11557 * net/tramp.el (tramp-completion-function-alist)
11558 (tramp-file-name-regexp, tramp-chunksize)
11559 (tramp-local-coding-commands, tramp-remote-coding-commands):
11561 (tramp-remote-process-environment): Use `format' instead of `concat'.
11562 (tramp-handle-directory-files-and-attributes)
11563 (tramp-get-remote-path): Use `copy-tree'.
11564 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11565 compatibility: Use `completion-ignore-case' if
11566 `read-file-name-completion-ignore-case' does not exist.
11567 (tramp-do-copy-or-rename-file-directly): Do not use
11568 `tramp-handle-file-remote-p'.
11569 (tramp-do-copy-or-rename-file-out-of-band):
11570 Use `tramp-compat-delete-directory'.
11571 (tramp-do-copy-or-rename-file-out-of-band)
11572 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11573 Use `format-spec-make'.
11574 (tramp-find-foreign-file-name-handler)
11575 (tramp-advice-make-auto-save-file-name)
11576 (tramp-set-auto-save-file-modes): Remove superfluous check for
11577 `stringp'. This is done inside `tramp-tramp-file-p'.
11578 (tramp-debug-outline-regexp): New defconst.
11579 (tramp-get-debug-buffer): Use it.
11580 (tramp-check-for-regexp): Use (forward-line 1).
11581 (tramp-set-auto-save-file-modes): Adapt version check.
11583 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11584 Wrap call of `featurep' for 2nd argument.
11585 (tramp-compat-make-temp-file): Simplify fallback implementation.
11586 (tramp-compat-copy-tree): Remove function.
11587 (tramp-compat-delete-directory): Provide implementation for older
11590 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11591 Do not use `tramp-fish-handle-file-attributes.
11593 * net/trampver.el: Update release number.
11595 2010-04-10 Glenn Morris <rgm@gnu.org>
11597 * progmodes/compile.el (compilation-save-buffers-predicate):
11598 Add missing :version tag.
11600 2010-04-09 Sam Steingold <sds@gnu.org>
11602 * progmodes/compile.el (compilation-save-buffers-predicate):
11603 Remove the "autoload" cookie.
11605 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11606 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11607 and `bug-reference-prog-mode' can be used in hooks directly.
11609 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11611 Add --author support to git commit.
11612 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11613 (vc-git-log-edit-mode): New minor mode.
11614 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11617 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11619 * vc-hooks.el, vc-git.el: Improve documentation comments.
11621 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11623 Fix some of the problems in defsubst* (bug#5728).
11624 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11625 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11627 2010-04-07 Sam Steingold <sds@gnu.org>
11629 * progmodes/compile.el (compilation-save-buffers-predicate):
11630 New custom variable.
11631 (compile, recompile): Pass it to `save-some-buffers'.
11633 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11635 * wid-edit.el (widget-choose): Move cursor to the second line of
11636 the buffer (Bug#5695).
11638 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11640 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11641 * vc.el (vc-print-log-setup-buttons): New function split out from
11642 vc-print-log-internal.
11643 (vc-log-internal-common): New function, a parametrized version of
11644 vc-print-log-internal.
11645 (vc-print-log-internal): Just call vc-log-internal-common with the
11647 (vc-incoming-outgoing-internal):
11648 (vc-log-incoming, vc-log-outgoing): New functions.
11649 (vc-log-view-type): New permanent local variable.
11651 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11653 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11654 of the dynamic bound vc-short-log.
11655 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11657 * vc-git.el (vc-git-log-outgoing): New function.
11658 (vc-git-log-view-mode): Use vc-log-view-type instead
11659 of the dynamic bound vc-short-log.
11661 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11662 of the dynamic bound vc-short-log. Highlight the tag.
11663 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11664 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11665 (vc-hg-incoming-mode): Remove.
11666 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11668 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11670 Fix default-directory for vc-root-diff.
11671 * vc.el (vc-root-diff): Bind default-directory to the root
11672 directory for the diff command.
11674 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11676 * progmodes/verilog-mode.el (verilog-forward-sexp):
11677 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11678 word keywords, suggested by Steve Pearlmutter.
11679 (verilog-pretty-declarations): Support lineup of declarations in
11681 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11682 fix bug for /* / comments.
11683 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11684 Speed up and simplfy as this is never called with a bound.
11685 (verilog-pretty-declarations): Enhance to line up declarations
11686 inside a parameter list, suggested by Alan Morgan.
11687 (verilog-pretty-expr): Tune assignment regular expression match
11688 string for corner cases; also use markers instead of character
11689 number as indent changes the later.
11691 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11693 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11694 as missing keyword.
11695 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11696 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11697 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11698 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11700 (verilog-keywords):
11701 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11702 1800-2009 keywords, including "global.".
11704 2010-04-06 John Wiegley <jwiegley@gmail.com>
11706 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11707 appearing in buffer list (if a live buffer name matched a recentf
11708 file basename). Should use uniquify to offer a real solution.
11710 2010-04-06 John Wiegley <jwiegley@gmail.com>
11712 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11713 comment to code, and add a :version tag.
11714 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11716 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11718 Enable recentf-mode if using virtual buffers.
11719 * ido.el (recentf-list): Declare for byte-compiler.
11720 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11721 (ido-make-buffer-list): Simplify.
11722 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11724 2010-04-05 Juri Linkov <juri@jurta.org>
11726 Scrolling commands which scroll a line instead of full screen.
11727 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11729 * simple.el (scroll-up-line, scroll-down-line): New commands.
11730 Put property isearch-scroll=t on them.
11732 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11735 2010-04-05 Juri Linkov <juri@jurta.org>
11737 Scrolling commands which do not signal errors at top/bottom.
11738 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11740 * simple.el (scroll-up-command, scroll-down-command): New commands.
11741 Put property isearch-scroll=t on them.
11743 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11744 `scroll-down-command' and [next] from `scroll-up' to
11745 `scroll-up-command'.
11747 * emulation/cua-base.el: Put property CUA=move on
11748 `scroll-up-command' and `scroll-down-command'.
11749 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11750 and `scroll-down-command' to `cua-scroll-down'.
11752 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11754 * help.el (describe-mode): Return nil.
11756 2010-04-04 John Wiegley <jwiegley@gmail.com>
11758 * ido.el (ido-use-virtual-buffers): New variable to indicate
11759 whether "virtual buffer" support is enabled for IDO.
11760 (ido-virtual): Face used to indicate virtual buffers in the list.
11761 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11762 exists, but a virtual buffer of that name does (which would be why
11763 it was in the list), recreate the buffer by reopening the file.
11764 (ido-make-buffer-list): If virtual buffers are being used, call
11765 `ido-add-virtual-buffers-to-list' before the make list hook.
11766 (ido-virtual-buffers): New variable which contains a copy of the
11767 current contents of the `recentf-list', albeit pared down for the
11768 sake of speed, and with proper faces applied.
11769 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11770 create a list of "virtual buffers" to present to the user in
11771 addition to the currently open set. Note that this logic could
11772 get rather slow if that list is too large. With the default
11773 `recentf-max-saved-items' of 200, there is little speed penalty.
11775 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11777 * font-lock.el: Require CL when compiling.
11778 (font-lock-turn-on-thing-lock): Use `case'.
11780 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11782 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11785 2010-04-02 Juri Linkov <juri@jurta.org>
11787 * ehelp.el (electric-help-orig-major-mode):
11788 New buffer-local variable.
11789 (electric-help-mode): Set it to original major-mode. Doc fix.
11790 (with-electric-help): Use `electric-help-orig-major-mode' instead
11791 of (default-value 'major-mode). Doc fix.
11792 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11794 2010-04-02 Sam Steingold <sds@gnu.org>
11796 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11797 `vc-hg-command' with a list of flags.
11799 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11800 Also accept "patch" and "RFE".
11801 (bug-reference-fontify): `bug-reference-url-format' can also be a
11802 function to be able to handle the bug kind.
11803 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11805 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11807 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11808 value to fboundp, it may not be a symbol.
11810 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11812 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11814 2010-03-31 Juri Linkov <juri@jurta.org>
11816 * simple.el (next-line, previous-line): Re-throw a signal
11817 with `signal' instead of using `ding'.
11818 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11820 2010-03-31 Juri Linkov <juri@jurta.org>
11822 * simple.el (keyboard-escape-quit): Raise deselecting the active
11823 region higher than exiting the minibuffer.
11824 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11826 2010-03-31 Juri Linkov <juri@jurta.org>
11828 * image.el (image-animated-p): Use `image-metadata' instead of
11829 `image-extension-data'. Get GIF extenstion data from metadata
11830 property `extension-data'.
11832 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * simple.el (append-to-buffer): Simplify.
11836 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11838 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11839 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11841 2010-03-31 Kenichi Handa <handa@m17n.org>
11843 * language/sinhala.el (composition-function-table): Fix regexp for
11844 the new Unicode specification.
11846 * language/indian.el (devanagari-composable-pattern)
11847 (tamil-composable-pattern, kannada-composable-pattern)
11848 (malayalam-composable-pattern): Adjust for the new Unicode
11850 (bengali-composable-pattern, gurmukhi-composable-pattern)
11851 (gujarati-composable-pattern, oriya-composable-pattern)
11852 (telugu-composable-pattern): New variables to cope with the new
11853 Unicode specification. Use them in composition-function-table.
11855 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11857 Make tmm-menubar work for the Buffers menu again (bug#5726).
11858 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11859 vectors rather than cons cells, as used in menu-bar-update-buffers.
11861 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11863 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11864 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11865 electric punctuation for "{}();,:" (Bug#5586).
11867 * mail/sendmail.el (mail-default-directory): Doc fix.
11869 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11871 * mail/sendmail.el (mail-default-directory): Doc fix.
11873 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11875 * subr.el (version-regexp-alist, version-to-list)
11876 (version-list-<, version-list-=, version-list-<=)
11877 (version-list-not-zero, version<, version<=, version=): Doc fix.
11880 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11882 * vc.el (vc-root-diff): Doc fix.
11884 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11886 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11888 * simple.el (append-to-buffer): Fix last change.
11890 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11892 * simple.el (append-to-buffer): Ensure that point is preserved if
11893 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11896 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * files.el (auto-mode-case-fold): Change default to t.
11900 2010-03-30 Juri Linkov <juri@jurta.org>
11902 * dired-x.el (dired-omit-mode): Doc fix.
11904 2010-03-30 Juri Linkov <juri@jurta.org>
11906 * replace.el (occur-accumulate-lines): Move occur-engine related
11907 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11908 to be located after `occur-engine'.
11910 2010-03-30 Juri Linkov <juri@jurta.org>
11912 Make occur handle multi-line matches cleanly with context.
11913 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11915 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11916 (occur-engine): Add local variables `ret', `prev-after-lines',
11917 `prev-lines'. Use more arguments for `occur-context-lines'.
11918 Set first elem of its returned list to `data', and the second elem
11919 to `prev-after-lines'. Don't print the separator line.
11920 In the end, print remaining context after-lines.
11921 (occur-context-lines): Add new arguments `begpt', `endpt',
11922 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11923 after-lines of the previous match with before-lines of the
11924 current match and not overlap them. Return a list with two
11925 values: the output line and the list of context after-lines.
11927 2010-03-30 Juri Linkov <juri@jurta.org>
11929 * replace.el (occur-accumulate-lines): Fix a bug where the first
11930 context line at the beginning of the buffer was missing.
11932 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11934 * files.el: Make bidi-display-reordering safe variable for boolean
11937 2010-03-29 Phil Hagelberg <phil@evri.com>
11938 Chong Yidong <cyd@stupidchicken.com>
11940 * subr.el: Extend progress reporters to perform "spinning".
11941 (progress-reporter-update, progress-reporter-do-update):
11942 Handle non-numeric value arguments.
11943 (progress-reporter--pulse-characters): New var.
11945 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11947 * progmodes/compile.el (compilation-start): Fix regexp detection
11948 of initial cd command (Bug#5771).
11950 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11952 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11954 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11956 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11957 * progmodes/gdb-mi.el: Restore.
11958 * progmodes/gdb-ui.el: Remove.
11959 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11961 2010-03-25 Glenn Morris <rgm@gnu.org>
11963 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11964 all dired buffers, even tramp ones. (Bug#5755)
11966 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11968 Add "union tags" in mpc.el.
11969 * mpc.el: Remove backward compatibility code.
11970 (mpc-browser-tags): Change default.
11971 (mpc--find-memoize-union-tags): New var.
11972 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11973 (mpc-cmd-find): Handle the case where the playlist does not exist.
11975 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11976 (mpc-cmd-add): Use mpc-cmd-flush.
11977 (mpc-tagbrowser-tag-name): New fun.
11978 (mpc-tagbrowser-buf): Use it.
11979 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11981 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11985 Use replace-regexp-in-string.
11986 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11987 (makefile-imake-mode-syntax-table): Move init into defvar.
11988 (makefile-mode): Use define-derived-mode.
11990 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11991 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11992 not be present any more.
11994 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11996 * faces.el (set-face-attribute): Fix typo in docstring.
11997 (face-valid-attribute-values): Reflow docstring.
11999 2010-03-24 Glenn Morris <rgm@gnu.org>
12001 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12003 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12005 * indent.el (indent-for-tab-command): Doc fix.
12007 2010-03-24 Alan Mackenzie <acm@muc.de>
12009 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12010 Fix off-by-one error. Fixes bug #5747.
12012 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12014 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12015 (image-dired-read-comment): Doc fix.
12017 * json.el (json-object-type, json-array-type, json-key-type)
12018 (json-false, json-null, json-read-number):
12019 * minibuffer.el (completion-in-region-functions):
12020 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12021 (cal-tex-cursor-week):
12022 * emacs-lisp/trace.el (trace-function):
12023 * eshell/em-basic.el (eshell/printnl):
12024 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12025 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12026 * obsolete/levents.el (allocate-event, event-key, event-object)
12027 (event-point, event-process, event-timestamp, event-to-character)
12028 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12029 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12030 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12031 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12032 (reftex-highlight-selection): Fix typos in docstrings.
12034 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12036 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12038 2010-03-24 Glenn Morris <rgm@gnu.org>
12040 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12041 2008-02-13 without comment; mark it obsolete.
12042 (rmail-highlight-headers): Use rmail-highlight-face once more.
12044 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12046 * woman.el (woman2-process-escapes): Only consume the newline if
12047 the filler character is on a line by itself (Bug#5729).
12049 2010-03-24 Kenichi Handa <handa@m17n.org>
12051 * language/indian.el (devanagari-composable-pattern): Add more
12054 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12056 * net/trampver.el: Update release number.
12058 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12060 * net/tramp.el (tramp-find-executable):
12061 Use `tramp-get-connection-buffer'. Make the regexp for checking
12062 output of "wc -l" more robust.
12063 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12064 (tramp-open-connection-setup-interactive-shell): Remove workaround
12065 for OpenSolaris bug, it is not needed anymore.
12067 2010-03-24 Glenn Morris <rgm@gnu.org>
12069 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12071 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12073 * files.el (auto-mode-alist): Accept more verilog file patterns.
12075 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12077 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12079 2010-03-24 Glenn Morris <rgm@gnu.org>
12081 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12082 log-edit-before-checkin-process.
12084 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12086 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12088 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12089 (log-view-process-buffer, log-edit-extra-flags): Declare.
12091 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12093 2010-03-23 Sam Steingold <sds@gnu.org>
12095 Fix bug#5620: recalculate all markers on compilation buffer
12096 modifications, not on file modifications.
12097 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12098 variable: the buffer modification time, for buffers not associated with
12100 (compilation-mode): Create it.
12101 (compilation-filter): Update it.
12102 (compilation-next-error-function): Use it instead of
12103 `visited-file-modtime' for timestamp.
12105 2010-03-23 Juri Linkov <juri@jurta.org>
12107 Implement Occur multi-line matches.
12108 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12110 * replace.el (occur): Doc fix.
12111 (occur-engine): Set `begpt' to the beginning of the first line.
12112 Set `endpt' to the end of the last match line. At first, count
12113 line numbers between `origpt' and `begpt'. Split out code from
12114 `out-line' variable to new let-bindings `match-prefix' and
12115 `match-str'. In `out-line' add non-numeric prefix to all
12116 non-first lines of multi-line matches. Finally, count lines
12117 between `begpt' and `endpt' and add to `lines'.
12119 2010-03-23 Juri Linkov <juri@jurta.org>
12121 * replace.el (occur-accumulate-lines, occur-engine):
12122 Use `occur-engine-line' instead of duplicate code.
12123 (occur-engine-line): New function created from duplicate code
12124 in `occur-accumulate-lines' and `occur-engine'.
12126 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12127 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12129 2010-03-23 Juri Linkov <juri@jurta.org>
12131 * finder.el: Remove TODO tasks.
12133 * info.el (Info-finder-find-node): Add node "all"
12134 with all package info. Handle a list of multiple keywords
12135 separated by comma.
12136 (info-finder): In interactive use with a prefix argument,
12137 use `completing-read-multiple' to read a list of keywords
12138 separated by comma.
12140 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12142 Add a new completion style `substring'.
12143 * minibuffer.el (completion-basic--pattern): New function.
12144 (completion-basic-try-completion, completion-basic-all-completions):
12146 (completion-substring--all-completions)
12147 (completion-substring-try-completion)
12148 (completion-substring-all-completions): New functions.
12149 (completion-styles-alist): New style `substring'.
12151 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12153 Get rid of .elc files after removal of the corresponding .el.
12154 * Makefile.in (compile-clean): New target.
12155 (compile-main): Use it.
12157 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12159 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12160 don't do make there. When compiling with separate object dir, there
12161 is no Makefile there.
12163 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12165 Get rid of the ELCFILES abomination, again.
12166 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12167 (all, compile): Don't call compile-last.
12168 (compile-main): Build the "elcfiles" list dynamically.
12169 (compile-targets): New (internal) target.
12171 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12173 * Makefile.in (top_srcdir): Define.
12174 (abs_top_builddir): Define.
12175 (srcdir): Don't append `/..'.
12176 (EMACS): Use ${abs_top_builddir}.
12177 (all, compile, compile-always, compile-last): Don't set emacswd.
12178 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12180 (lisp): Use $(srcdir) instead of @srcdir@.
12182 2010-03-21 Juri Linkov <juri@jurta.org>
12184 Fix message of multi-line occur regexps and multi-buffer header lines.
12185 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12187 * replace.el (occur-1): Don't display regexp if it is longer
12188 than window-width. Use `query-replace-descr' to display regexp.
12189 (occur-engine): Don't display regexp in the buffer header for
12190 multi-buffer occur. Display a separate header line with total
12191 match count and regexp for multi-buffer occur.
12192 Use `query-replace-descr' to display regexp.
12194 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12196 * net/secrets.el: Fix parenthesis.
12197 (secrets-enabled): Fix parenthesis.
12199 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12201 Use more relative file and directory names.
12202 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12203 (setwins, setwins_almost, setwins_for_subdirs):
12204 Don't `cd'; output relative names.
12205 (all, compile, compile-always, compile-last): Set emacswd.
12206 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12207 Just cd to the lisp source dir so we can use relative file names.
12209 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12211 2010-03-20 Glenn Morris <rgm@gnu.org>
12213 * textmodes/rst.el: Use faces for font-lock customization, and make the
12214 old -face variables obsolete.
12215 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12216 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12217 (rst-block-face, rst-external-face, rst-definition-face)
12218 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12219 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12221 (rst-font-lock-keywords-function): Update for above changes.
12223 2010-03-20 Juri Linkov <juri@jurta.org>
12226 * obsolete/s-region.el: Move to obsolete.
12228 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12230 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12232 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12234 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12236 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12238 Add special markup processing for commit logs.
12239 * log-edit.el (log-edit-extra-flags): New variable.
12240 (log-edit): Add new argument MODE. Use that mode when non-nil
12241 instead of the log-view-mode.
12242 (log-view-process-buffer): New function.
12244 * vc.el: Document that the checkin method takes optional
12245 arguments. Document new backend specific method: log-view-mode.
12246 (vc-default-log-edit-mode): New function.
12247 (vc-checkin): Use a backend specific log-view-mode.
12248 Pass extra arguments to the checkin method.
12249 (vc-modify-change-comment): Pass a dummy extra argument.
12251 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12253 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12254 (vc-finish-logentry): Process the log buffer before passing it
12255 down. Pass log-edit-extra-flags.
12257 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12259 (log-edit-extra-flags, log-edit-before-checkin-process):
12262 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12264 (log-edit-extra-flags, log-edit-before-checkin-process):
12266 (vc-hg-log-edit-mode): New derived mode.
12268 * vc-arch.el (vc-arch-checkin):
12269 * vc-cvs.el (vc-cvs-checkin):
12270 * vc-git.el (vc-git-checkin):
12271 * vc-mtn.el (vc-mtn-checkin):
12272 * vc-rcs.el (vc-rcs-checkin):
12273 * vc-sccs.el (vc-sccs-checkin):
12274 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12276 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12281 2010-03-19 Glenn Morris <rgm@gnu.org>
12283 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12285 2010-03-18 Glenn Morris <rgm@gnu.org>
12287 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12289 * replace.el (query-replace-history): Give it a doc string.
12290 (map-query-replace-regexp): Use query-replace-from-history-variable
12291 and query-replace-to-history-variable.
12293 * mail/hashcash.el (declare-function): Remove duplicate definition.
12295 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12296 Make it an obsolete alias for report-emacs-bug-address.
12297 (message-strip-special-text-properties): Declare.
12298 (report-emacs-bug): Remove test for a pretest bug address.
12299 Combine message-mode-specific code.
12301 * mail/supercite.el: Don't require sendmail.
12302 (mh-in-header-p): Declare rather than using with-no-warnings.
12303 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12304 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12306 * calendar/cal-french.el: Convert to utf-8.
12308 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12311 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12313 * net/secrets.el (secrets-enabled): New variable. Use it instead
12316 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12318 * net/secrets.el (top): Register the D-Bus signals only when the
12319 service "org.freedesktop.secrets" can be pinged.
12320 Provide subfeature `enabled'.
12322 2010-03-14 Juri Linkov <juri@jurta.org>
12324 Add finder unknown keywords.
12326 * finder.el (finder-unknown-keywords): New function.
12328 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12329 to create a Finder node with unknown keywords.
12331 2010-03-14 Juri Linkov <juri@jurta.org>
12333 * finder.el (finder-compile-keywords): Replace `princ' with
12334 `prin1' on a list of symbols interned from keyword strings.
12336 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12337 a comma, then split keywords using a comma and optional whitespace.
12338 Otherwise, split by whitespace.
12346 * progmodes/mixal-mode.el: Fix keywords.
12348 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12350 * Makefile.in (ELCFILES): Add net/secrets.elc.
12352 * net/secrets.el: New file.
12354 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12356 * facemenu.el (list-colors-display, list-colors-print): New arg
12357 callback. Use it to allow selecting colors.
12359 * wid-edit.el (widget-image-insert): Insert image prop even if the
12360 current display is non-graphic.
12361 (widget-field-value-set): New fun.
12362 (editable-field): Use it.
12363 (widget-field-value-get): Clean up unused var.
12364 (widget-color-value-create, widget-color--choose-action):
12365 New funs. Allow using list-colors-display to choose color.
12367 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12369 * cus-edit.el: Resort topmost custom groups.
12370 (custom-buffer-sort-alphabetically): Default to t.
12371 (customize-apropos): Use apropos-parse-pattern.
12372 (custom-search-field): New var.
12373 (custom-buffer-create-internal): Add custom-apropos search field.
12374 (custom-add-parent-links): Don't display parent doc.
12375 (custom-group-value-create): Don't sort top-level custom group.
12376 (custom-magic-value-create): Show visibility button before option name.
12378 (custom-variable-state): New fun, from custom-variable-state-set.
12379 (custom-variable-state-set): Use it.
12380 (custom-group-value-create): Hide options with standard values
12381 using the :hidden-states property. Use progress reporter.
12383 (custom-show): Simplify.
12384 (custom-visibility): Disable images by default.
12385 (custom-variable): New property :hidden-states.
12386 (custom-variable-value-create): Enable images for
12387 custom-visibility widgets. Use :hidden-states property to
12388 determine initial visibility.
12390 * wid-edit.el (widget-image-find): Give images center ascent.
12391 (visibility): Add :on-image and :off-image properties.
12392 (widget-visibility-value-create): Use them.
12394 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12396 * cus-edit.el (processes): Remove from development group.
12397 (oop, hypermedia): Delete group.
12398 (comm): Promote to top-level group.
12400 * net/browse-url.el (browse-url):
12401 * net/xesam.el (xesam):
12402 * net/tramp.el (tramp):
12403 * net/goto-addr.el (goto-address):
12404 * net/ange-ftp.el (ange-ftp): Put in comm group.
12406 * view.el (view): Remove from editing group.
12408 * uniquify.el (uniquify): Put in files group.
12410 * net/browse-url.el (browse-url):
12411 * ps-print.el (postscript): Put in external group.
12413 * cus-edit.el (outlines):
12414 * textmodes/text-mode.el (text-mode-hook):
12415 * textmodes/table.el (table):
12416 * textmodes/picture.el (picture):
12417 * outline.el (outlines): Put in wp group.
12419 * nxml/nxml-mode.el (nxml): Remove from wp group.
12421 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12423 * mail/metamail.el (metamail): Remove from hypermedia group.
12425 * cus-edit.el (abbrev):
12426 * whitespace.el (whitespace):
12427 * vcursor.el (vcursor):
12428 * reveal.el (reveal):
12429 * hl-line.el (hl-line): Put in convenience group.
12431 * epg-config.el (epg): Put in data group.
12433 * emulation/pc-select.el (pc-select): Put in emulations group.
12435 * calculator.el (calculator): Put in applications group.
12437 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12439 Add .dir-locals.el support for file-less buffers.
12440 * files.el (hack-local-variables): Split out code to apply local
12441 variable settings ...
12442 (hack-local-variables-apply): ... here. New function.
12443 (hack-dir-local-variables): Use the default directory for when the
12444 buffer does not have an associated file.
12445 (hack-dir-local-variables-non-file-buffer): New function.
12446 * diff-mode.el (diff-mode):
12447 * vc-annotate.el (vc-annotate-mode):
12448 * vc-dir.el (vc-dir-mode):
12449 * log-edit.el (log-edit-mode):
12450 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12452 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12454 Add support for shelving snapshots and for showing shelves.
12455 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12456 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12458 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12459 (vc-bzr-extra-menu-map): Map them.
12461 2010-03-11 Glenn Morris <rgm@gnu.org>
12463 * cus-edit.el (customize-changed-options-previous-release):
12466 * image.el (image-animate-max-time): Fix :version tag.
12468 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12472 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * vc-git.el (vc-git-revision-table): Include remote branches.
12476 2010-03-10 Kim F. Storm <storm@cua.dk>
12478 Animated image API.
12479 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12481 * image.el (image-animate-max-time): New defcustom.
12482 (image-animated-types): New defconst.
12483 (create-animated-image, image-animate-timer)
12484 (image-animate-start, image-animate-stop, image-animate-timeout)
12485 (image-animated-p): New functions.
12487 * image-mode.el (image-toggle-display-image):
12488 Replace `create-image' with `create-animated-image'.
12490 2010-03-09 Miles Bader <miles@gnu.org>
12492 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12493 instead of "format:"; this ensures that the output is
12494 newline-terminated.
12496 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12498 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12499 that all errors are caught, and that the return value is always a
12502 2010-03-08 Kenichi Handa <handa@m17n.org>
12504 * language/misc-lang.el (windows-1256): New coding system.
12505 (cp1256): New alias of windows-1256 (bug#5690).
12507 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12509 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12510 call to rfc822-bad-address. (Bug#5692)
12512 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12514 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12515 Use vc-git-root as default directory for revision path (Bug#5657).
12517 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12519 * calculator.el (calculator): Don't bind split-window-keep-point
12522 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12524 * vc-git.el: Re-flow to fit into 80 columns.
12525 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12526 Remove spurious `quote' element in each case alternative.
12527 (vc-git-show-log-entry): Use prog1.
12528 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12530 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12534 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12536 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12537 definition, not the name (Bug#5481).
12539 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12541 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12542 argument with a local variable. (Bug#5670)
12544 2010-03-02 Juri Linkov <juri@jurta.org>
12546 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12548 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12550 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12551 error when FILENAME and NEWNAME are existing remote directories.
12553 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12554 parameter DIR-FLAG.
12556 2010-03-02 Glenn Morris <rgm@gnu.org>
12558 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12559 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12561 2010-03-01 Kenichi Handa <handa@m17n.org>
12563 * language/burmese.el (burmese-composable-pattern): Rename from
12564 myanmar-composable-pattern.
12566 * international/characters.el (script-list):
12567 * international/fontset.el (script-representative-chars):
12568 Change myanmar to burmese.
12569 (otf-script-alist): Likewise.
12570 (setup-default-fontset): Likewise. Re-fix :otf spec.
12572 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12574 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12576 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12578 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12580 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12582 * net/tramp.el (tramp-handle-write-region): START can be a string.
12583 Take care in the checks. Reported by Dan Davison
12584 <davison@stats.ox.ac.uk>.
12586 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12588 * net/dbus.el (dbus-introspect, dbus-get-property)
12589 (dbus-set-property, dbus-get-all-properties):
12590 Use `dbus-call-method' when noninteractive. (Bug#5645)
12592 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12594 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12595 * emacs-lisp/elint.el (elint-add-required-env):
12596 * calendar/icalendar.el (icalendar--add-diary-entry):
12597 * calc/calcalg2.el (math-tracing-integral):
12598 * files.el (recover-session-finish): Use with-current-buffer
12599 instead of save-excursion.
12601 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12603 Fix in-buffer completion when after-change-functions modify the buffer.
12604 * minibuffer.el (completion--replace): New function.
12605 (completion--do-completion): Use it and use relative movement.
12607 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12609 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12611 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12613 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12614 Allow the characters _<> in the stack entry (Bug#5653).
12616 2010-02-26 Kenichi Handa <handa@m17n.org>
12618 * language/burmese.el: Fix entries in composition-function-table.
12619 (myanmar-composable-pattern): New variable.
12621 * international/fontset.el (setup-default-fontset): Add an entry
12624 * international/characters.el (script-list): Add Myanmar
12627 2010-02-26 Glenn Morris <rgm@gnu.org>
12629 * custom.el (custom-initialize-delay): Doc fix.
12631 * mail/sendmail.el (send-mail-function): Autoload the call
12632 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12634 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12636 * files.el (hack-local-variables-filter): For eval forms, also
12637 check safe-local-variable-p (Bug#5636).
12639 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12641 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12642 setting the modes by `ignore-errors'. It might fail, for example
12643 if the file is not owned by the user but the group.
12644 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12646 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12648 * files.el (directory-listing-before-filename-regexp):
12649 Use stricter matching for iso-style dates, to avoid false matches with
12650 date-like filenames (Bug#5597).
12652 * htmlfontify.el (htmlfontify): Doc fix.
12654 * eshell/eshell.el (eshell): Doc fix.
12656 * startup.el (fancy-about-screen): In mode-line, apply
12657 mode-line-buffer-id face only to the buffer name (Bug#5613).
12659 2010-02-20 Kevin Ryde <user42@zip.com.au>
12661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12662 In `watcom' anchor regexp to start of line, to avoid slowness
12665 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12667 * subr.el (remove-yank-excluded-properties): Explain in a comment
12668 why `category' property is removed.
12670 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12672 * isearch.el (isearch-update-post-hook, isearch-update):
12673 Revert 2010-02-17 change.
12675 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12677 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12678 (icalendar--convert-weekly-to-ical)
12679 (icalendar--convert-yearly-to-ical)
12680 (icalendar--convert-block-to-ical)
12681 (icalendar--convert-cyclic-to-ical)
12682 (icalendar--convert-anniversary-to-ical): Take care of time
12683 specifications where hour has 1-digit only (Bug#5549).
12685 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12687 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12688 of disassemble output in GDB 7.1.
12690 2010-02-19 Glenn Morris <rgm@gnu.org>
12692 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12693 property. (Bug#5593)
12695 2010-02-18 Sam Steingold <sds@gnu.org>
12697 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12699 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12701 Use abbreviated file names in bookmarks (bug#5591).
12702 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12703 calls to expand-file-name.
12704 (bookmark-relocate): Use abbreviated file names in bookmarks.
12705 (bookmark-load): Use abbreviated file names in messages.
12707 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12709 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12710 expand "." and "..". Reported by Thierry Volpiatto
12711 <thierry.volpiatto@gmail.com>.
12713 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12715 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12716 permissions of the temporary file to "0600". In case the remote
12717 file has no read permissions for the owner, there might be
12718 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12720 22010-02-18 Glenn Morris <rgm@gnu.org>
12722 * emacs-lisp/authors.el (authors-renamed-files-alist):
12723 Add entries for INSTALL.CVS.
12725 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12727 * vc-bzr.el: Fix typo in Known Bugs section.
12729 * isearch.el (isearch-update-post-hook): New hook.
12730 (isearch-update): Use the new hook.
12732 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12734 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12735 Fix errors in copying directories.
12736 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12737 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12738 (tramp-handle-delete-file)
12739 (tramp-handle-dired-recursive-delete-directory)
12740 (tramp-handle-write-region): Flush also the cache for the upper
12743 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12745 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12747 * cus-edit.el (hardware): Doc fix.
12749 * man.el (man): Add to external custom group.
12751 * delim-col.el (columns): Move to wp custom group.
12753 * doc-view.el (doc-view): Add to data custom group.
12755 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12757 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12758 by ispell-parse-output (Bug#5575).
12760 2010-02-16 Kenichi Handa <handa@m17n.org>
12762 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12763 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12764 (skkdic-convert): Use `euc-japan' coding system for writing.
12766 2010-02-16 Glenn Morris <rgm@gnu.org>
12768 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12769 tex-main-file before using it. (Bug#5562)
12771 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12773 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12774 warnings, since it is annoying for the user to see them each time he
12777 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12779 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12780 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12781 instead of PROC for caching "first-password-request". Otherwise,
12782 new processes would not profit from passwords already entered.
12784 * net/tramp-cache.el (tramp-dump-connection-properties):
12785 Don't save "first-password-request" property.
12787 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12789 * outline.el (outline-head-from-level):
12790 * simple.el (with-wrapper-hook):
12791 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12792 (elint-defun, elint-buffer-env, elint-top-form-logged)
12793 (elint-unbound-variable):
12794 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12795 Fix typos in docstrings.
12797 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12799 * files.el (insert-directory): When WILDCARD-REGEXP and
12800 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12801 whole directory. (Bug#5551)
12803 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12804 dired's alignment sanity. (Bug#5516)
12806 2010-02-14 Juri Linkov <juri@jurta.org>
12808 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12809 Remove remaining ^H with their preceding chars. (Bug#5566)
12811 2010-02-13 Glenn Morris <rgm@gnu.org>
12813 * simple.el (transpose-subr): Give it a doc-string.
12815 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12818 2010-02-12 Juri Linkov <juri@jurta.org>
12820 * arc-mode.el (archive-unique-fname): Make directories for nested
12821 archives. (Bug#5540)
12823 2010-02-12 Juri Linkov <juri@jurta.org>
12825 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12827 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12829 * subr.el (copy-overlay): Handle deleted overlays.
12831 * man.el (Man-completion-table): Don't signal an error if we can't run
12832 manual-program (bug#4056).
12834 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12836 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12838 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12840 * info.el (Info-bookmark-jump): Simplify.
12842 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12843 (bookmark-default-handler): Accept new bookmark field `buffer'.
12845 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12847 * iswitchb.el (iswitchb-completions): Revert last change.
12849 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12851 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12852 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12853 This prevents file names like "~/" being listed literally.
12855 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12857 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12858 Remove dead code. (Bug#5546)
12860 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12862 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12863 correctly (Bug#5548).
12865 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12867 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12868 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12870 2010-02-08 Kenichi Handa <handa@m17n.org>
12872 * international/mule-util.el (with-coding-priority): Add autoload
12873 cookie for putting `lisp-indent-function'.
12875 2010-02-07 Glenn Morris <rgm@gnu.org>
12877 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12878 Move F2003 named interfaces from keywords-2 to keywords-1, and
12879 use function-name-face rather than constant-face.
12880 Simplify "abstract interface" regexp.
12882 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12884 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12885 ID-FORMAT. Pass it to `file-attributes'.
12887 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12889 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12891 * faces.el (set-face-attribute): Allow calling
12892 internal-set-lisp-face-attribute with 'unspecified family and
12893 foundry argument (Bug#5536).
12895 2010-02-07 Glenn Morris <rgm@gnu.org>
12897 * progmodes/f90.el (f90-font-lock-keywords-2)
12898 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12899 Handle F2003 named interfaces.
12901 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12903 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12904 beg and end before calling c-get-state-before-change-functions.
12906 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12908 * vc-bzr.el (vc-bzr-dir-extra-headers):
12909 Disable the pending merges header.
12911 2010-02-05 Juri Linkov <juri@jurta.org>
12913 * doc-view.el (doc-view-mode):
12914 * image-mode.el (image-mode): Put property mode-class=special.
12917 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12919 * vc-svn.el (vc-svn-revision-table): New function.
12921 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12923 * net/ange-ftp.el (ange-ftp-insert-directory):
12924 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12925 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12926 Handle also directories. (Bug#5478)
12928 2010-02-05 Glenn Morris <rgm@gnu.org>
12930 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12932 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12934 * startup.el (command-line-1): Convert options beginning with a
12935 single dash as well (Bug#5519).
12937 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12939 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12940 * minibuffer.el (completion-initials-expand): Only check the presence
12941 of delims *within* the boundaries, since otherwise the / delim is
12942 always found for files.
12944 Fix up various corner case problems.
12945 * doc-view.el (doc-view-last-page-number): New function.
12946 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12947 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12948 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12949 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12950 (doc-view-convert-current-doc): Don't create the resolution.el file
12952 (doc-view-pdf/ps->png): Do it here instead.
12953 (doc-view-already-converted-p): Check that resolution.el is present.
12954 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12955 windows that are not yet showing images.
12957 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12959 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12960 `dired-uncache' for every elemnt which is an absolute file name.
12962 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12963 directory, handle its directory component.
12964 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12965 function is called permanently and creates noise, otherwise.
12967 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12968 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12969 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12971 2010-02-04 David Burger <dburger@google.com> (tiny change)
12973 * macros.el (apply-macro-to-region-lines):
12974 Minor simplification. (Bug#5485)
12976 2010-02-04 Glenn Morris <rgm@gnu.org>
12978 * mail/rmail.el (rmail-show-message-1): Handle malformed
12979 quoted-printable text. (Bug#5441)
12981 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12983 * simple.el (visual-line-mode): Capitalize lighter.
12985 2010-02-03 John Wiegley <jwiegley@gmail.com>
12987 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12988 list of files considered for "virtual buffer" completions.
12990 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12992 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12993 also in case of (and (not full) (not wildcard)). This is needed
12994 when dired is called with a list of files, which are not in
12995 `default-directory'. (Bug#5478)
12997 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13001 2010-02-02 Juri Linkov <juri@jurta.org>
13003 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13004 from unidiff to allow function-line after @@.
13006 2010-02-02 Juri Linkov <juri@jurta.org>
13008 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13009 '(RCS SCCS) with inverted condition.
13011 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13013 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13016 2010-02-01 Juri Linkov <juri@jurta.org>
13018 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13019 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13020 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13021 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13023 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13025 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13026 (doc-view-revert-buffer): New command.
13027 (doc-view-mode-map): Use it.
13029 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13031 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13032 pending merge is detected.
13034 2010-01-31 Juri Linkov <juri@jurta.org>
13036 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13037 beginning of interactive spec like all other grep commands do.
13038 Put "all" in front of "gz". (Bug#5260)
13040 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13042 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13044 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13046 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13047 regexp is incorrect (Bug#5476).
13049 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13051 * net/tramp.el (tramp-handle-insert-directory): Handle also
13052 symlinks, when FILENAME is not in `default-directory'.
13054 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13056 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13057 FILE is not in `default-directory'. (Bug#5478)
13059 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13060 of SWITCHES. Handle the case, FILENAME is not in
13061 `default-directory'. (Bug#5478)
13062 (tramp-register-file-name-handlers): Add safe-magic property.
13064 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13066 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13069 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13071 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13072 (flymake-master-make-header-init): Add other C++ filename masks.
13073 (flymake-find-possible-master-files)
13074 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13076 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13078 Fix some busybox annoyances.
13080 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13081 not responding." string.
13082 (tramp-open-connection-setup-interactive-shell): Dump stty
13083 settings. Enable "neveropen" arg for all `tramp-send-command'
13084 calls. Handle "=" in variable values properly.
13085 (tramp-find-inline-encoding): Raise an error, when no encoding is
13087 (tramp-wait-for-output): Check, whether PROC buffer is available.
13088 Remove spurious " ^H" sequences, sent by busybox.
13089 (tramp-get-ls-command): Suppress coloring, if possible.
13091 2010-01-28 Glenn Morris <rgm@gnu.org>
13093 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13095 * log-edit.el (log-edit-strip-single-file-name): Add missing
13096 :safe, :group, and :version tags.
13098 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13100 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13101 buffers. (Bug#5477)
13103 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13105 * files.el (delete-directory): Handle moving to trash without
13106 first doing recursion (Bug#5436).
13108 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13110 * vc-hooks.el (vc-path): Mark as obsolete.
13112 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13114 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13117 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13119 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13121 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13123 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13125 * vc-bzr.el (vc-bzr-revision-table): New function.
13127 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13129 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13130 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13132 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13134 Remove support for adding --signoff on commit.
13135 Future support will use an incompatible generic mechanism.
13136 * vc-git.el (vc-git-add-signoff): Remove variable.
13137 (vc-git-toggle-signoff): Remove function.
13138 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13140 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13141 Rename from xterm-set-background-mode. Return t if the background mode
13143 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13144 earlier, call it again in case the background mode has changed.
13146 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13148 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13151 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13153 * emacs-lisp/assoc.el (aelement): Doc fix.
13154 (aput, adelete, amake): Use lexical-let (Bug#5450).
13156 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13158 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13159 is the same as subprogram call, not declaration. (Bug#5435).
13161 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13163 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13164 (tramp-smb-maybe-open-connection): Use it.
13166 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13168 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13170 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13172 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13173 just because we see "encoding: 8bit".
13174 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13176 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13178 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13180 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13182 * jka-compr.el (jka-compr-load): If load-file is not in
13183 load-history, try its file-truename version. (bug#5447)
13185 2010-01-21 Alan Mackenzie <acm@muc.de>
13187 Fix a situation where deletion of a cpp construct throws an error.
13188 * progmodes/cc-engine.el (c-invalidate-state-cache):
13189 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13190 special cpp construct is still in the buffer.
13191 (c-parse-state): Record the special cpp with markers, not numbers.
13193 2010-01-21 Kenichi Handa <handa@m17n.org>
13195 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13196 process last-command-event, as it is now decoded first (Bug#5380).
13198 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13200 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13202 2010-01-20 Glenn Morris <rgm@gnu.org>
13204 * indent.el (tab-always-indent): Fix custom-type.
13206 2010-01-19 Alan Mackenzie <acm@muc.de>
13208 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13209 buffer throws "args out of range".
13210 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13211 playing the role of delimiter.
13213 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13215 * progmodes/ada-mode.el: Fix bug#5400.
13216 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13217 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13218 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13219 Improve comments in "is" portion. Handle null procedure declaration.
13220 (ada-move-to-end): Improve doc string.
13222 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13224 * ido.el (ido-cur-list): Initialize to nil.
13225 Remove obsolete information from commentary.
13226 (ido-choice-list): Initialize to nil.
13227 (ido-get-bufname): Reject minibuffers.
13228 (ido-make-buffer-list): If "default" is a nonexistent
13229 buffer, ignore it, as per the function's comment.
13230 (ido-kill-buffer-internal): New function.
13231 (ido-kill-buffer-at-head): Use it.
13232 (ido-visit-buffer): Likewise.
13234 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13236 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13238 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13240 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13241 Fix typos in chart titles.
13243 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13244 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13245 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13246 (describe-class, eieio-describe-generic, describe-generic):
13247 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13248 (eieio-speedbar-expand):
13249 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13250 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13251 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13252 (viper-del-backward-char-in-replace, viper-backward-indent)
13253 (viper-brac-function, viper-register-to-point, viper-submit-report):
13254 * net/tramp.el (tramp-remote-coding-commands):
13255 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13256 Fix typos in docstrings.
13258 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13260 * mail/sendmail.el (mail-yank-original): Set the mark if the
13261 specified function for yanking does not do it.
13263 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13265 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13267 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13268 resyncing a directory.
13270 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13272 * progmodes/ada-mode.el: Fix bug#1920.
13273 (ada-ident-re): Delete ., allow multibyte characters.
13274 (ada-goto-label-re): New; matches goto labels.
13275 (ada-block-label-re): New; matches block labels.
13276 (ada-label-re): New; matches both.
13277 (ada-named-block-re): Delete; callers changed to use
13278 `ada-block-label-re' instead.
13279 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13280 Use `ada-block-label-re'.
13281 (ada-indent-on-previous-lines): Improve handling of goto labels.
13282 (ada-get-indent-block-start): Special-case block label.
13283 (ada-get-indent-label): Split into `ada-indent-block-label' and
13284 `ada-indent-goto-label'.
13285 (ada-goto-stmt-start, ada-goto-next-non-ws):
13286 Optionally ignore goto labels.
13287 (ada-goto-next-word): Simplify.
13288 (ada-indent-newline-indent-conditional): Insert newline before
13289 trying to fix indentation; doc fix.
13291 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13293 * calc/calc.el (calc-command-flags): Give it an initial value.
13295 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13297 * files.el (minibuffer-with-setup-hook):
13298 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13299 (artist-key-draw-continously, artist-key-do-continously-continously)
13300 (artist-key-set-point-continously, artist-mouse-draw-continously):
13301 Fix typos in docstrings.
13303 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13305 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13306 Never return t (Bug#3898).
13308 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13310 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13311 can parse the output of the external commands (Bug#5279).
13313 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13315 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13317 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13319 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13321 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13323 * startup.el (command-line): Remove unused --icon-type arg.
13324 Handle --display arg, passing it to command-line-1 (Bug#5392).
13326 2010-01-16 Mario Lang <mlang@delysid.org>
13328 * emacs-lisp/chart.el (chart-translate-namezone):
13329 * textmodes/artist.el (artist-compute-popup-menu-table):
13330 Remove duplicated words in doc-strings.
13332 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13334 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13335 to mairix-search to suppress threading (Bug#5342).
13337 2010-01-15 Kenichi Handa <handa@m17n.org>
13339 * international/mule-cmds.el (canonicalize-coding-system-name):
13340 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13342 2010-01-15 Glenn Morris <rgm@gnu.org>
13344 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13346 * wid-edit.el (widget-keymap): Doc fix.
13348 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13349 former seems to be more widely accepted by various svn versions.
13351 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13353 * find-cmd.el (find-constituents):
13354 * vc-arch.el (vc-arch-root):
13355 * window.el (window-body-height, pop-up-frames):
13356 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13357 * progmodes/ada-stmt.el (ada-if):
13358 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13359 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13360 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13361 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13363 * progmodes/flymake.el (flymake-post-syntax-check):
13364 Fix typo in error message.
13366 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13368 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13369 which is always a string. (Bug#5313)
13371 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13373 * progmodes/ada-xref.el (ada-default-prj-properties):
13374 Simplify previous change.
13376 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13378 * progmodes/ada-xref.el (ada-default-prj-properties):
13379 Default ada_project_path to $ADA_PROJECT_PATH.
13381 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13383 * progmodes/ada-mode.el (ada-create-keymap):
13384 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13386 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13388 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13389 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13390 (ada-get-current-indent, ada-imenu-generic-expression)
13391 (ada-which-function): Check for it.
13393 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13395 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13396 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13398 2010-01-14 Glenn Morris <rgm@gnu.org>
13400 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13402 2010-01-14 Kenichi Handa <handa@m17n.org>
13404 * composite.el (auto-composition-mode): Make it a buffer local
13405 variable (permanent-local).
13406 (auto-composition-function): Set the default value to
13407 auto-compose-chars.
13408 (auto-composition-mode): Make it a simple function, not a minor mode.
13409 (global-auto-composition-mode): Likewise.
13410 (turn-on-auto-composition-if-enabled): Delete it.
13412 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13414 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13416 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13418 * files.el (copy-directory): Compute target for recursive
13419 directories with identical names. (Bug#5343)
13421 2010-01-12 Glenn Morris <rgm@gnu.org>
13423 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13424 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13426 2010-01-11 Sam Steingold <sds@gnu.org>
13428 * imenu.el (imenu-default-create-index-function): Detect infinite
13429 loops caused by imenu-prev-index-position-function.
13431 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13433 * htmlfontify.el (htmlfontify-load-rgb-file)
13434 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13435 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13436 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13437 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13438 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13439 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13440 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13441 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13442 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13443 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13444 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13445 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13446 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13447 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13448 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13449 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13450 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13451 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13452 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13453 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13454 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13455 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13456 backslash-quoting from parentheses, etc.
13458 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13460 * progmodes/js.el: Autoload javascript-mode alias.
13462 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13464 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13465 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13466 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13467 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13468 Fix typos in docstrings.
13469 (ffap-url-regexp): Doc fix.
13470 (ffap-at-mouse): Fix typo in message.
13472 2010-01-11 Glenn Morris <rgm@gnu.org>
13474 * version.el (emacs-copyright): Set copyright year to 2010.
13476 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13478 * format.el (format-annotate-function): Only set
13479 write-region-post-annotation-function after running to-fn so as not to
13480 affect nested write-region calls (bug#5273).
13482 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13484 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13487 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13489 * man.el (Man-goto-section): Signal error if the section is not
13492 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13494 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13495 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13497 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13499 * progmodes/compile.el: Don't treat compile-command as safe if
13500 compilation-read-command might be nil (Bug#4218).
13502 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13504 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13507 2010-01-08 Kenichi Handa <handa@m17n.org>
13509 * international/fontset.el (build-default-fontset-data):
13510 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13512 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13514 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13515 to `create-file-buffer' as it expects, not just a buffer name.
13516 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13517 to help uniquify. (Bug#3224)
13519 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13521 * font-setting.el (font-setting-change-default-font): Use user-spec
13524 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13526 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13528 2010-01-05 Tom Tromey <tromey@redhat.com>
13530 * progmodes/python.el (python-font-lock-keywords):
13531 Handle qualified decorators (Bug#881).
13533 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13535 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13536 in a lightweight checkout.
13538 2010-01-05 Kenichi Handa <handa@m17n.org>
13540 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13542 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13544 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13546 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13548 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13549 checkouts. (Bug#618)
13550 (vc-bzr-log-view-mode): Also highlight the author.
13551 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13552 (vc-bzr-shelve-menu-map):
13553 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13554 (vc-bzr-shelve-apply): Make prompt more explicit.
13556 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13558 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13559 They are valid characters in URL paths (rfc3986), and at least
13560 Firefox does not understand the encoded version (Bug#3166).
13562 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13564 * progmodes/octave-mod.el (octave-end-keywords)
13565 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13566 Add "end" keyword (Bug#3061).
13567 (octave-end-as-array-index-p): New function.
13568 (calculate-octave-indent): Use it.
13570 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13572 * bookmark.el: Consistently put the text property on the bookmark name.
13573 (bookmark-bmenu-marks-width): Bump back to 2, to include
13575 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13576 property on the bookmark name, instead of not putting it at all.
13577 (bookmark-bmenu-list): Fix where we put the text property.
13579 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13581 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13582 for showing buffer modified state (as added in the previous change).
13584 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13586 * bookmark.el: Show modified state of bookmark buffer more accurately.
13587 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13588 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13589 (with-buffer-modified-unmodified): New macro.
13590 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13591 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13592 Use new macro to preserve the buffer modified state.
13594 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13596 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13597 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13598 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13599 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13600 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13601 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13602 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13604 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13606 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13607 Make the lines in the generated doc string shorter. (Bug#4668)
13609 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13611 * net/rcirc.el: Add follow-link binding (Bug#4738).
13613 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13615 * Makefile.in (bzr-update): Rename from cvs-update.
13616 (cvs-update): New target for backward compatibility.
13618 * makefile.w32-in (bzr-update): Rename from cvs-update.
13619 (cvs-update): New target for backward compatibility.
13621 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13623 * bookmark.el: Remove gratuitous gratitude.
13625 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13627 * bookmark.el (bookmark-bmenu-any-marks): New function.
13628 (bookmark-bmenu-save): Clear buffer modification if no marks.
13630 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13632 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13633 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13634 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13635 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13637 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13638 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13639 To: emacs-devel {_AT_} gnu.org
13640 Subject: bookmark.el bug report
13641 Date: Mon, 28 Dec 2009 14:19:16 +0800
13642 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13644 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13646 * bookmark.el: Improvements suggested by Drew Adams:
13647 (bookmark-bmenu-ensure-position): New name for
13648 `bookmark-bmenu-check-position'. Just ensure the position,
13649 don't return any meaningful value.
13650 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13653 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13655 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13656 (bookmark-yank-point, bookmark-bmenu-check-position):
13657 Fix typos in docstrings.
13658 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13659 (bookmark-name-from-full-record, bookmark-get-position)
13660 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13661 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13662 Remove useless quoting of parenthesis, etc. in docstrings.
13664 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13665 (ediff-append-custom-diff): Fix typo in error message.
13666 (ediff-meta-mark-equal-files): Fix typos in messages.
13668 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13670 * net/imap-hash.el (imap-hash-make): Doc fix.
13671 (imap-hash-test): Fix typo in error message; reflow docstring.
13672 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13673 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13674 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13675 Fix typos in docstrings.
13676 (imap-hash-open-connection): Fix typo in error message.
13678 * play/gomoku.el (gomoku): Fix typos in docstring.
13680 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13681 (gdb-jsonify-buffer): Fix typos in docstring.
13682 (gdb-goto-breakpoint): Fix typo in error message.
13683 ("Display Other Windows"): Fix typo in help message.
13684 (gdb-speedbar-expand-node): Fix typo in question.
13686 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13687 (idlwave-html-system-help-location, idlwave-html-help-location)
13688 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13689 (idlwave-help-browser-generic-args, idlwave-help-directory)
13690 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13691 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13692 (idlwave-online-help, idlwave-help-html-link)
13693 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13694 Fix typos in docstrings.
13695 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13697 (idlwave-help-assistant-start): Fix typo in error message.
13699 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13700 (octave-electric-space): Fix typos in docstrings.
13702 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13704 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13706 2010-01-01 Juri Linkov <juri@jurta.org>
13708 * comint.el (comint-input-ring-size): Make it a defcustom and
13709 increase the default to 500 (Bug#5148).
13711 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13713 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13714 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13715 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13717 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13719 Show working revision correctly for mercurial.
13720 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13721 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13723 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13725 Declare some functions for the byte-compiler.
13726 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13727 (speedbar-timer-fn, speedbar-change-expand-button-char)
13728 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13730 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13732 This changeset reverts GDB Graphical Interface to use annotations.
13733 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13735 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13737 Make vc-dir work on subdirectories of the bzr root.
13738 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13739 Return file names relative to it.
13740 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13741 relative directory to vc-bzr-after-dir-status.
13743 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13745 * font-lock.el (font-lock-refresh-defaults): New function, which
13746 can be used to let font-lock react to external changes in
13747 variables like font-lock-defaults and keywords.
13748 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13750 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13752 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13754 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13756 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13758 Supersede color.diff settings in git log (bug#5211).
13760 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13761 escape chars in its output when the user has color.diff set to `always'.
13762 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13764 2009-12-26 Kevin Ryde <user42@zip.com.au>
13766 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13767 node. Keep previous "Index" name to work with past coreutils too.
13769 * man.el (man): Revise docstring a bit to show -a and -l as
13770 examples. Add -k description since support for it has otherwise
13771 been a secret. (Further to bug#3717.)
13772 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13773 "no matches" rather than "Can't find manpage", as the latter reads
13774 like -k was interpreted as a page name, which is not so. (Bug#5431)
13776 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13778 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13779 switches. Check also for //SUBDIRED// line.
13781 2009-12-25 Kenichi Handa <handa@m17n.org>
13783 * language/indian.el (devanagari-composable-pattern): Fix to
13784 handle ZWNJ and ZWJ. Use it in composition-function-table for
13786 (malayalam-composable-pattern): Fix previous change.
13788 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13790 * ps-print.el (ps-face-attributes): It was not returning the
13791 attribute face for faces specified as string. Reported by harven
13792 <harven@free.fr>. (Bug#5254)
13793 (ps-print-version): New version 7.3.5.
13795 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13797 * calendar/icalendar.el (icalendar--convert-tz-offset):
13798 Fix timezone names.
13799 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13800 (icalendar--add-diary-entry): Remove the trailing blank that
13801 diary-make-entry inserts.
13803 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13805 Make `file-expand-wildcards' work for remote files.
13807 * files.el (file-expand-wildcards): In case of remote files, check
13808 only local file name part for wildcards. Provide feature 'files
13809 and subfeature 'remote-wildcards. (Bug#5198)
13811 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13812 if there is already an established connection.
13813 (tramp-advice-file-expand-wildcards): Remove it.
13815 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13816 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13817 Activate advice for older GNU Emacs versions. (Bug#5237)
13819 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13821 Some doc fixes (more needed).
13823 * find-cmd.el (find-constituents): Reflow docstring.
13824 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13825 (find-generic): Doc fix.
13827 2009-12-17 Juri Linkov <juri@jurta.org>
13829 Fix regression from 23.1 to allow multiple modes in Local Variables.
13831 * files.el (hack-local-variables-filter): While ignoring duplicates,
13832 don't take `mode' into account.
13833 (hack-local-variables-filter, hack-dir-local-variables):
13834 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13836 2009-12-17 Juri Linkov <juri@jurta.org>
13838 Make `dired-diff' safer. (Bug#5225)
13840 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13841 `current' or when `file' is a directory of the `current' file.
13843 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13845 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13846 unconditionally preloaded files.
13848 2009-12-16 Juri Linkov <juri@jurta.org>
13850 Revert to old 23.1 logic of using the file at the mark as default.
13851 * dired-aux.el (dired-diff): Use the file at the mark as default
13852 if it's not the same as the current file, and the target dir is
13853 the current dir or the mark is active. Add the current file
13854 as the arg of `dired-dwim-target-defaults'. Use the default file
13855 in the prompt. (Bug#5225)
13857 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13859 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13860 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13861 (tramp-check-for-regexp): Check also, when an echoing shell stops
13862 to echo sent commands.
13864 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13866 * Makefile.in: Revert last change (Bug#5191).
13868 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13870 * vc-hg.el (vc-hg-print-log): Fix argument order.
13871 (vc-hg-working-revision): Make sure the command is executed in a
13872 known environment so that we can parse the output. (Bug#4417)
13874 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13876 * progmodes/python.el (python-symbol-completions): Remove text
13877 properties from symbol string before calling python-send-receive.
13879 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13881 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13882 when there are values for both file and line. (Bug#5060)
13884 2009-12-14 Juri Linkov <juri@jurta.org>
13886 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13887 whitespace after the file name of the first line of unified format,
13888 because git-diff doesn't output whitespace and file modification time
13889 after the file name.
13891 2009-12-14 David Kastrup <dak@gnu.org>
13893 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13894 check if it already has the `display' property added by
13895 `Info-display-images-node', and not put the `invisible' property
13898 2009-12-13 Glenn Morris <rgm@gnu.org>
13900 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13901 (report-emacs-bug): In message-mode, sort manually before storing
13902 original report text. (Bug#5178)
13903 Remove superfluous save-excursion.
13905 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13907 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13908 when responding to "GetAll" properties.
13910 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13912 * simple.el (compose-mail): Remove mail-setup-with-from from
13913 customization checks.
13915 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13917 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13918 RAR archives created on Unix systems.
13920 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13922 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13923 the varalias that was accidentally removed by the 2009-11-19 change
13926 2009-12-12 Kenichi Handa <handa@m17n.org>
13928 * language/indian.el (indian-compose-regexp): New function.
13929 (malayalam-composable-pattern): Fix the pattern.
13930 (composition-function-table): Set malayalam-composable-pattern for
13931 Malayalam characters.
13933 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13935 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13936 rather than down-mouse-1, based on follow-link conventions.
13938 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13941 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13943 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13944 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13945 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13946 (verilog-leap-to-head, verilog-backward-token):
13947 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13949 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13951 * progmodes/verilog-mode.el (verilog-auto-lineup)
13952 (verilog-nameable-item-re): Cleanup user-visible spelling and
13953 documentation errors. One reported by Gary Delp.
13954 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13955 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13956 package, bug195. Reported by Pierre-David Pfister.
13958 2009-12-11 Glenn Morris <rgm@gnu.org>
13960 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13962 * mail/emacsbug.el: No longer require sendmail.
13963 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13964 (report-emacs-bug-orig-text): Doc fix.
13965 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13966 New local variables, to adapt to different mail-user-agents.
13967 (report-emacs-bug): Fix test for a gnu.org address.
13968 Use overlays for emphasis, since font-lock defeats 'face property.
13969 Pretest bugs also end up at the newsgroup these days.
13970 Stop message-mode stripping text properties.
13971 Set and use the new buffer-local variables.
13972 (report-emacs-bug-hook): Add doc-string.
13973 Remove some unnecessary save-excursions and simplify.
13974 Use the appropriate hook and send-command.
13976 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13977 capitalization of some menu entries.
13979 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13981 * whitespace.el (whitespace-display-char-on):
13982 Ensure `buffer-display-table' is unique when two or more windows are
13983 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13986 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13988 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13989 characters in the Attribute field.
13991 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13993 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13995 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13997 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13998 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13999 Disregard autoload-excludes.
14000 (update-directory-autoloads): Obey autoload-excludes here instead.
14001 But don't store its contents in no-autoloads and remove entries that
14002 refer to excludes files.
14004 2009-12-10 Glenn Morris <rgm@gnu.org>
14006 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14007 (expand-mail-aliases): Define for compiler.
14009 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14010 Define for compiler.
14012 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14013 appropriate for the mail-user-agent in use.
14015 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14017 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14019 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14021 Fix short log parsing and fontification.
14022 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14023 Fix fontification for the [merge] label.
14025 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14027 Drop some properties to avoid surprises (bug#5002).
14028 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14029 (hfy-fontify-buffer): Use it.
14031 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14035 Adjust all callers.
14036 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14037 args compulsory. Adjust callers.
14038 (ffap-gopher-at-point): Remove unused var `name'.
14040 Get rid of the ELCFILES abomination.
14041 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14042 (compile-elcfiles): New phony target.
14043 (compile-main): Compute ELCFILES dynamically.
14044 (compile-clean): New target to remove left-over elc files.
14045 (compile, all): Use it.
14047 2009-12-09 Kenichi Handa <handa@etlken>
14049 * international/mule-diag.el: Require help-mode instead of help-fns.
14051 2009-12-09 Kenichi Handa <handa@m17n.org>
14053 * international/mule-cmds.el (ucs-names): Supply sufficiently
14054 fine ranges instead of pre-calculating accurate ranges.
14055 Iterate with bigger gc-cons-threshold.
14057 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14059 Add support for stashing a snapshot of the current tree.
14060 * vc-git.el (vc-git-stash-snapshot): New function.
14061 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14063 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14065 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14066 instead of `(beginning|end)-of-line'.
14068 2009-12-08 Glenn Morris <rgm@gnu.org>
14070 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14072 * Makefile.in (ELCFILES): Regenerate.
14074 2009-12-07 Juri Linkov <juri@jurta.org>
14076 Don't lazy-highlight the comint output in history Isearch mode.
14078 * comint.el (comint-history-isearch-search): Instead of
14079 `comint-line-beginning-position', use `comint-after-pmark-p'
14080 to check if point if before the process mark, and go to
14081 `process-mark' in this case.
14083 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14085 * textmodes/tex-mode.el (latex-complete)
14086 (latex-indent-or-complete): Remove.
14087 (latex-mode): Set completion-at-point-functions instead.
14089 Provide a standard completion command and hook it into TAB.
14090 * minibuffer.el (completion-at-point-functions): New var.
14091 (completion-at-point): New command.
14092 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14093 * progmodes/python.el (python-mode-map): Use completion-at-point.
14094 (python-completion-at-point): Rename from python-partial-symbol and
14095 adjust for use in completion-at-point-functions.
14096 (python-mode): Setup completion-at-point for Python completion.
14097 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14098 extracted from lisp-complete-symbol.
14099 (lisp-complete-symbol): Use it.
14100 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14101 setup completion-at-point for Elisp completion.
14102 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14103 Use completion-at-point.
14104 * ielm.el (ielm-map): Use completion-at-point.
14105 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14106 * progmodes/sym-comp.el: Move to...
14107 * obsolete/sym-comp.el: Move from progmodes.
14109 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14111 Prevent save-buffer in Rmail buffers from using the coding-system
14112 of the current message, and from clobbering the encoding mnemonics
14113 in the mode line (Bug#4623).
14115 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14117 (rmail-message-encoding): New variable.
14118 (rmail-write-region-annotate): Record the encoding of the current
14119 message in rmail-message-encoding.
14120 (rmail-after-save-hook): New function, restores the encoding of
14121 the current message after the message collection is saved.
14123 2009-12-07 Juri Linkov <juri@jurta.org>
14125 * progmodes/grep.el (grep-read-files): Use `completing-read'
14126 instead of `read-string'. Set its `collection' arg to
14127 `read-file-name-internal'. (Bug#4301)
14129 2009-12-07 Juri Linkov <juri@jurta.org>
14131 Correctly restore original Isearch point. (Bug#4994)
14133 * isearch.el (isearch-mode): Move `isearch-push-state' after
14134 `(run-hooks 'isearch-mode-hook)'.
14135 (isearch-cancel): When `isearch-push-state-function' is defined,
14136 let-bind `isearch-cmds' to the first state (the last element of
14137 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14138 function and restores the original point). Otherwise, move point
14139 to `isearch-opoint'.
14141 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14143 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14144 chars that don't have names, so the table can be built much faster at
14147 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14149 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14150 change. Suggested by David Kastrup.
14152 * simple.el (compose-mail): Check for incompatibilities and warn.
14153 (compose-mail-user-agent-warnings): New option.
14155 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14157 Support showing a single log entry from vc-annotate.
14158 * vc.el (print-log): Add a new argument: START-REVISION.
14159 (vc-print-log-internal): Add a new optional argument and
14160 pass it to the backend.
14161 (vc-print-log, vc-print-root-log): Adjust callers.
14162 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14163 buffer already displays the requested log entry, use it.
14164 Otherwise display only the log entry in question.
14165 * vc-svn.el (vc-svn-print-log):
14166 * vc-mtn.el (vc-mtn-print-log):
14167 * vc-hg.el (vc-hg-state):
14168 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14169 (vc-git-show-log-entry): Return t on success.
14170 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14171 (vc-bzr-show-log-entry): Return t on success.
14172 * vc-rcs.el (vc-rcs-print-log):
14173 * vc-sccs.el (vc-sccs-print-log):
14174 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14176 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14178 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14179 Add menus to the meta mode. (Bug#5043)
14181 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14183 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14186 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14188 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14190 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14191 Berbain <raphael.berbain@gmail.com>.
14193 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14195 (tramp-initial-end-of-output): New defconst.
14196 (tramp-methods, tramp-find-shell)
14197 (tramp-open-connection-setup-interactive-shell)
14198 (tramp-maybe-open-connection): Use it.
14199 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14200 Handle existence of `#' and `$'.
14202 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14203 Use `tramp-initial-end-of-output'.
14205 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14207 Get the background mode from the terminal for xterm, and set
14209 * term/xterm.el (xterm-set-background-mode): New function.
14210 (terminal-init-xterm): Use it in case xterm supports background
14211 color queries. Recompute faces after getting the background
14214 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14216 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14217 number comment back on its own line, for easier parsing.
14219 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14221 Make it work for non-file buffers (bug#5102).
14222 * doc-view.el (doc-view-current-cache-dir):
14223 Use doc-view-buffer-file-name rather than buffer-file-name.
14224 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14226 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14228 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14229 author field is too short.
14231 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14233 * vc-git.el (vc-git-print-log): Handle a limit argument.
14234 Display the short log in graph form and with labels.
14235 (vc-git-log-view-mode): Handle labels.
14237 Make vc-revert change VC state from 'added to 'unregistered.
14238 * vc-git.el (vc-git-revert): Call git reset first.
14240 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14242 * net/newst-backend.el, net/newst-plainview.el:
14243 * net/newst-reader.el, net/newst-ticker.el:
14244 * net/newst-treeview.el, net/newsticker.el:
14245 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14247 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14249 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14251 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14252 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14253 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14254 Update annotation regexp.
14256 * simple.el (beginning-of-visual-line): Constrain to field
14257 boundaries (Bug#5106).
14259 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14261 * xml.el (xml-substitute-numeric-entities):
14262 Move newsticker--decode-numeric-entities in newst-backend.el to
14263 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14264 * net/newst-backend.el (newsticker--parse-generic-feed)
14265 (newsticker--parse-generic-items)
14266 (newsticker--decode-numeric-entities):
14267 Move newsticker--decode-numeric-entities in newst-backend.el to
14268 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14270 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14272 * progmodes/js.el (js--js-not): Add null to the list of values.
14274 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14276 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14278 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14280 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14281 delimiter if it is at the end of the current line.
14282 (bibtex-generate-url-list): Fix docstring.
14284 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14286 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14287 minibuffer's content with itself.
14288 Fold the confirm-after-completion case into the `confirm' case.
14289 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14291 2009-12-06 Kevin Ryde <user42@zip.com.au>
14293 * ffap.el (ffap-rfc-path): Make this a defcustom since
14294 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14296 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14297 manuals, similar to existing setup for help-mode. (Bug#3913.)
14299 2009-12-05 Juri Linkov <juri@jurta.org>
14301 Save and restore dired buffer's point positions too. (Bug#4880)
14303 * dired.el (dired-save-positions): Return in the first element
14304 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14306 (dired-restore-positions): First restore buffer's position.
14307 While restoring window's positions, check if window still displays
14308 the original buffer.
14310 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14312 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14315 * shell.el (shell): Require ansi-color (Bug#5113).
14317 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14319 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14321 2009-12-05 Alan Mackenzie <acm@muc.de>
14323 * progmodes/cc-mode.el (c-before-hack-hook)
14324 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14325 `c-file-style' to work again. This reversion restores the current
14326 software to its state in Emacs 23.1. (Bug#4146)
14328 2009-12-05 Kevin Ryde <user42@zip.com.au>
14330 * textmodes/sgml-mode.el (sgml-lexical-context):
14331 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14333 2009-12-05 Juri Linkov <juri@jurta.org>
14335 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14336 for virtual nodes. (Bug#4147)
14337 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14338 when moving from a virtual node.
14339 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14340 (Info-mode): Add `Info-virtual-index' to the docstring.
14342 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14344 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14345 track of the buffer position of the end of a BibTeX entry as this
14346 position may change during reformatting.
14347 (bibtex-format-entry): Remove whitespace before processing
14348 numerical fields so that we recognize the latter properly.
14349 (bibtex-reformat): Do not use push which changes the global value
14350 of bibtex-entry-format.
14351 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14352 (bibtex-field-re-init): Replace only space characters by regexp
14354 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14355 (bibtex-initialize): Also update bibtex-strings.
14356 (bibtex-kill-field): Preserve white space at end of entry.
14357 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14358 Update bibtex-reference-keys.
14360 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14362 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14363 point after a star, if that's the only place where modifications can
14366 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14368 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14371 2009-12-04 Juri Linkov <juri@jurta.org>
14373 * proced.el (proced): Call `(proced-update t)' to update process
14374 information instead of only running proced-post-display-hook.
14375 (proced-send-signal): Add a leading space to the buffer name
14376 " *Marked Processes*" to make this buffer ephemeral.
14378 2009-12-04 Juri Linkov <juri@jurta.org>
14380 * dired.el (dired-auto-revert-buffer): New defcustom.
14381 (dired-internal-noselect): Use it.
14383 2009-12-04 Juri Linkov <juri@jurta.org>
14385 Change roles of modes and functions in image-mode.el (Bug#5062).
14387 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14388 in `auto-mode-alist'.
14389 (image-mode-previous-major-mode): New variable.
14390 (image-minor-mode-map): Rename from `image-mode-text-map'.
14391 (image-mode): Move graceful error-handling code from
14392 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14393 (image-minor-mode): Remove all image-handling code.
14394 Replace `image-mode-text-map' with `image-minor-mode-map'.
14395 Check for `image-type' in mode-line format string.
14396 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14397 (image-mode-as-text): New function with most code from
14398 `image-mode-maybe'.
14399 (image-toggle-display-text): Move code that removes image
14400 properties from `image-toggle-display' to here.
14401 (image-toggle-display-image): New function with code that adds
14402 image properties copied from `image-toggle-display'.
14403 (image-toggle-display): Remove most code with leaving only code
14404 that toggles between `image-mode-as-text' and `image-mode'.
14406 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14408 * net/newst-treeview.el
14409 (newsticker--treeview-list-highlight-start): Restored call to
14410 save-excursion: Selected item was stuck.
14411 (newsticker--treeview-list-select): New.
14412 (newsticker--treeview-item-show-text)
14413 (newsticker--treeview-item-show)
14414 (newsticker--treeview-item-update): Use new
14415 newsticker-treeview-item-mode.
14416 (newsticker-treeview-update): Keep current item.
14417 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14418 (newsticker--treeview-first-feed): Doc change.
14419 (newsticker-treeview-list-menu)
14420 (newsticker-treeview-item-menu): Add menu entries.
14421 (newsticker-treeview-item-mode): New.
14423 * net/newst-backend.el (newsticker-customize): Delete other
14426 2009-12-04 Sam Steingold <sds@gnu.org>
14428 * log-view.el (log-view-mode-map): "q" calls quit-window,
14429 like in all the other non-self-insert buffers.
14431 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14435 key decoding rather than do it manually via last-input-event +
14437 (term-exec): Use delete-and-extract-region.
14438 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14439 (term-process-pager): Remove unused var `i'.
14440 (term-dynamic-simple-complete): Make obsolete.
14441 (serial-update-config-menu): Remove unused vars `y' and `str'.
14442 (term-update-mode-line): Remove unused var `temp'.
14444 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14446 Limit the number of log entries displayed by default.
14447 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14448 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14449 using a prefix argument.
14451 2009-12-03 Glenn Morris <rgm@gnu.org>
14453 * progmodes/idlwave.el (class): Restore still useful declaration.
14455 2009-12-03 Alan Mackenzie <acm@muc.de>
14457 Enhance `c-parse-state' to run efficiently in "brace deserts".
14459 * progmodes/cc-mode.el (c-basic-common-init):
14460 Call c-state-cache-init.
14461 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14462 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14463 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14465 * progmodes/cc-langs.el (c-before-font-lock-function):
14466 c-extend-and-neutralize-syntax-in-CPP has been renamed
14467 c-neutralize-syntax-in-and-mark-CPP.
14469 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14470 with `category' properties now, not `syntax-table' ones.
14472 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14473 enhanced (but slower) version of c-end-of-macro that won't land
14474 inside a literal or on another awkward character.
14475 (c-state-cache-too-far, c-state-cache-start)
14476 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14477 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14478 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14479 (c-state-min-scan-pos, c-state-brace-pair-desert)
14480 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14481 buffer local variables.
14482 (c-state-literal-at, c-state-lit-beg)
14483 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14484 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14485 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14486 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14487 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14488 (c-renarrow-state-cache)
14489 (c-append-lower-brace-pair-to-state-cache)
14490 (c-state-push-any-brace-pair, c-append-to-state-cache)
14491 (c-remove-stale-state-cache)
14492 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14493 (c-invalidate-state-cache-1, c-parse-state-1)
14494 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14495 (c-parse-state): Enhance and refactor.
14496 (c-debug-parse-state): Amend to deal with all the new variables.
14498 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14499 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14500 modify to use category text properties rather than syntax-table ones.
14501 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14502 to switch off/on the syntactic paren property of C++ template
14503 delimiters using the category property.
14504 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14505 template delims suppressed.
14506 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14507 New constant/macros which apply category properties to the start
14508 and end of preprocessor constructs.
14509 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14510 "comment out" the syntactic value of characters in preprocessor
14512 (c-with-cpps-commented-out)
14513 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14514 with characters in all or all but one preprocessor constructs
14517 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14519 * proced.el (proced-filter-alist): Use regexp-quote.
14521 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14524 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14525 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14526 arguments. Expand `default-directory'.
14528 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14529 the benefit of returning an expanded localname.
14530 (tramp-tramp-file-p): Handle the case NAME is not a string.
14532 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14534 Add support for bzr shelve/unshelve.
14535 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14536 (vc-bzr-extra-menu-map): New variables.
14537 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14538 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14539 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14540 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14541 (vc-bzr-dir-extra-headers): Display shelves.
14543 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14545 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14547 * textmodes/bibtex.el (bibtex-complete-internal):
14548 Use completion-in-region.
14549 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14551 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14553 Support applying stashes. Improve UI.
14554 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14555 (vc-git-stash-apply, vc-git-stash-pop)
14556 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14557 (vc-git-stash-menu): New functions.
14558 (vc-git-stash-menu-map): New variable.
14559 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14561 2009-12-03 Glenn Morris <rgm@gnu.org>
14563 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14564 (vc-print-log-internal): Fix previous change.
14565 (vc-revert): Correct pluralization.
14567 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14569 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14570 it to be an alist any more.
14571 (makefile-complete): Use completion-in-region.
14573 * progmodes/octave-mod.el (octave-complete-symbol):
14574 Use completion-in-region.
14577 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14578 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14579 (idlwave-complete-class): Don't quote lambda.
14580 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14581 (idlwave-mode-map): Move initialization into declaration.
14582 (idlwave-action-and-binding): Use backquotes.
14583 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14585 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14586 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14587 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14588 `parts', and `all-parts'.
14589 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14590 (idlwave-convert-xml-system-routine-info): Remove unused string
14592 (idlwave-display-user-catalog-widget): Use dolist.
14593 (idlwave-scanning-lib): Declare dynamically-scoped var.
14594 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14595 (completion-highlight-first-word-only): Declare to silence bytecomp.
14596 (idlwave-popup-select): Tighten scope of `resp'.
14597 (idlwave-find-struct-tag): Remove unused var `beg'.
14598 (idlwave-after-load-rinfo-hook): Declare.
14599 (idlwave-sintern-class-info): Remove unused var `taglist'.
14600 (idlwave-find-class-definition): Remove unused var `list'.
14601 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14602 (idlwave-what-module-find-class): Remove unused var `classes'.
14604 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14606 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14608 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14610 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14611 buffers visited. Remove redundant current-buffer-saving.
14613 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14615 Use completion-in-buffer and remove uses of dynamic scoping.
14616 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14617 (pascal-buffer-to-use, pascal-flag): Don't declare.
14618 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14619 (pascal-get-completion-decl, pascal-keyword-completion):
14620 Add `pascal-str' argument, save-excursion,
14621 return the found completions, and don't filter with pascal-pred.
14622 (pascal-completion-cache): New var.
14623 (pascal-completion): Don't switch buffer any more (it was never
14624 necessary). Don't save-excursion any more (it's done by the called
14625 subroutines). Use a cache to avoid redundant computations.
14626 Use complete-with-action rather than pascal-completion-response and
14627 let it apply the predicate as well.
14628 (pascal-complete-word): Use completion-in-buffer when
14629 pascal-toggle-completions is nil.
14630 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14632 (pascal-comp-defun): Don't change buffer any more.
14633 Use complete-with-action rather than pascal-completion-response and
14634 let it apply the predicate as well.
14635 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14638 2009-12-02 Kenichi Handa <handa@m17n.org>
14640 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14641 shape for all Indic scripts.
14643 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14645 Use completion-in-buffer.
14646 * wid-edit.el (widget-field-text-end): New function.
14647 (widget-field-value-get): Use it.
14648 (widget-string-complete, widget-file-complete)
14649 (widget-color-complete): Use it and completion-in-region.
14650 (widget-complete): Don't narrow the buffer.
14652 2009-12-02 Glenn Morris <rgm@gnu.org>
14654 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14655 (rmail-select-summary): Use rmail-pop-to-buffer.
14656 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14657 rmail-pop-to-buffer, to prevent horizontal splits.
14659 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14660 save-excursion with save-current-buffer.
14661 Widen before searching. (Bug#5093)
14662 (diary-list-sexp-entries): Remove superfluous save-excursion.
14664 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14666 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14669 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14671 * ido.el (ido-file-internal): Handle filenames at point that do
14672 not have a directory part. (Bug#5049)
14674 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14676 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14677 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14679 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14681 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14682 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14685 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14687 * comint.el (comint-insert-input): Ignore clicks to the right of
14688 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14690 * vc.el (vc-print-log-internal): Don't wait for the process to
14691 terminate before setting up the major mode.
14693 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14696 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14699 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14701 2009-12-01 Glenn Morris <rgm@gnu.org>
14703 * window.el (window--display-buffer-2): Fix previous changes.
14705 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14707 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14709 2009-12-01 Glenn Morris <rgm@gnu.org>
14711 * Makefile.in (ELCFILES): Add mpc.elc.
14713 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * mpc.el: New file.
14717 2009-12-01 Glenn Morris <rgm@gnu.org>
14719 * window.el (window-to-use): Define for compiler.
14721 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14722 consistent with others (no final period).
14724 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14725 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14727 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14729 Make vc-print-log buttons work.
14730 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14732 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14734 * savehist.el (savehist-autosave-interval): Allow setting to nil
14735 through customize. (Bug#5056)
14737 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14739 Fix references to jit-lock properties.
14740 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14741 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14742 (perl-font-lock-special-syntactic-constructs):
14743 Quote jit-lock-defer-multiline property.
14745 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14747 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14749 2009-11-30 Juri Linkov <juri@jurta.org>
14751 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14752 value `buffer' of `multi-isearch-next-buffer-current-function'.
14753 Use `(current-buffer)' when `buffer' is nil.
14754 (multi-isearch-next-buffer-from-list): Don't fallback to
14755 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14757 2009-11-30 Juri Linkov <juri@jurta.org>
14759 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14760 of buffers with `get-buffer' to `multi-isearch-buffers'.
14761 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14762 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14763 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14764 FILES with `expand-file-name' converting relative file names
14765 to absolute. Doc fix. (Bug#4727)
14767 2009-11-30 Juri Linkov <juri@jurta.org>
14769 * misearch.el (multi-isearch-read-buffers)
14770 (multi-isearch-read-matching-buffers): New functions.
14771 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14772 Use them in the `interactive' spec. Doc fix.
14773 (multi-isearch-read-files, multi-isearch-read-matching-files):
14775 (multi-isearch-files, multi-isearch-files-regexp):
14776 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14778 2009-11-30 Juri Linkov <juri@jurta.org>
14780 * doc-view.el (doc-view-continuous):
14781 Rename from `doc-view-continuous-mode'.
14782 (doc-view-menu): Move "Toggle display" to the top.
14783 Add submenu "Continuous" with radio buttons "Off"/"On"
14784 and "Save as Default".
14785 (doc-view-scroll-up-or-next-page)
14786 (doc-view-scroll-down-or-previous-page)
14787 (doc-view-next-line-or-next-page)
14788 (doc-view-previous-line-or-previous-page):
14789 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14791 2009-11-30 Juri Linkov <juri@jurta.org>
14793 * comint.el (comint-mode-map): Rebind `M-r' from
14794 `comint-previous-matching-input' to
14795 `comint-history-isearch-backward-regexp'.
14796 Unbind `M-s' to allow global key binding `M-s'.
14797 Add menu items for `comint-history-isearch-backward' and
14798 `comint-history-isearch-backward-regexp'. (Bug#3746)
14800 2009-11-30 Juri Linkov <juri@jurta.org>
14802 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14803 For def=recenter, replace `recenter' with `recenter-top-bottom'
14804 that is called with `this-command' and `last-command' let-bound
14805 to `recenter-top-bottom'. When the last `def' was not `recenter',
14806 set `recenter-last-op' to nil. (Bug#4981)
14808 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14810 Minor cleanup and simplification.
14811 * filecache.el (file-cache-add-directory)
14812 (file-cache-add-directory-recursively)
14813 (file-cache-add-from-file-cache-buffer)
14814 (file-cache-delete-file-regexp, file-cache-delete-directory)
14815 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14816 (file-cache-temp-minibuffer-message): Delete function.
14817 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14819 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14820 Don't signal an error when bumping into EOB in tr, s, or y.
14822 2009-11-29 Juri Linkov <juri@jurta.org>
14824 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14827 * descr-text.el (describe-char-unidata-list): Use lowercase name
14828 for "Unicode name" like in other tags.
14830 2009-11-29 Juri Linkov <juri@jurta.org>
14832 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14833 New compatibility macro.
14834 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14836 2009-11-29 Juri Linkov <juri@jurta.org>
14838 Add defcustom to define the cycling order of `recenter-top-bottom'.
14841 * window.el (recenter-last-op): Doc fix.
14842 (recenter-positions): New defcustom.
14843 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14844 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14846 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14848 Improve integration of Tramp and ange-ftp in eshell.
14850 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14851 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14852 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14854 * eshell/esh-util.el (top): Require also Tramp when compiling.
14855 (eshell-directory-files-and-attributes): Check for FTP remote
14857 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14858 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14859 (eshell-file-attributes): Handle ".". Return `entry'.
14861 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14862 (ange-ftp-directory-files-and-attributes)
14863 (ange-ftp-real-directory-files-and-attributes): New defuns.
14865 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14866 shell with "exec" when possible. This prevents trailing prompts
14867 in `start-file-process'.
14869 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14871 Try and remove assumptions about point-min==1.
14872 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14873 (rng-compute-mode-line-string): Show the validation percentage in
14874 terms of the narrowed text, not the widened text.
14875 (rng-do-some-validation): Don't catch internal errors when debugging.
14876 (rng-first-error): Simplify.
14877 (rng-after-change-function): Remove work around. AFAIK the bug has
14878 been fixed a while ago.
14880 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14881 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14883 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14885 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14886 `cd' doesn't always do it for us (bug#5067).
14888 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14889 on 2009-10-25 as part of some other change (bug#5067).
14891 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14893 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14895 (byte-compile-warnings): Use byte-compile-warning-types.
14896 (byte-compile-save-excursion): Warn about use of set-buffer right
14897 after save-excursion.
14899 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14900 the excursion as well.
14902 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14904 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14905 providing a Tramp related implementation of "su" and "sudo".
14906 (eshell-unix-initialize): Add "su" and "sudo".
14908 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14910 * net/socks.el (socks-send-command): Convert binary request to
14911 unibyte before sending. This fixes mishandling of some port
14912 numbers such as 129.
14914 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14916 * help.el (describe-bindings-internal): Remove `interactive'.
14918 * man.el (Man-completion-table): Trim a terminating "(".
14919 Remove the space between name page a section.
14920 Add the command's description on the `help-echo' property.
14921 Remove `process-connection-type' binding since it's unused by
14923 Provide completion for the "<section> <name>" format as well.
14924 (Man-default-man-entry): Remove spurious var shadowing the argument.
14926 2009-11-26 Kevin Ryde <user42@zip.com.au>
14928 * log-view.el: Add "Keywords: tools", since its other keywords
14929 aren't in finder-known-keywords, and following vc.el.
14931 * sha1.el (sha1-string-external): default-directory "/" in case
14932 otherwise non-existent. process-connection-type pipe for touch of
14933 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14935 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14937 Misc coding convention cleanups.
14938 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14939 hfy-init-kludge-hooks.
14940 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14941 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14942 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14944 (hfy-slant, hfy-weight): Use tables rather than code.
14945 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14946 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14947 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14948 (hfy-face-to-css): Remove `nconc' with single arg.
14949 (hfy-p-to-face-lennart): Use `or'.
14950 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14951 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14952 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14953 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14954 (hfy-force-fontification): Use run-hooks.
14956 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14958 Various minor fixes.
14959 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14960 Javascript belongs in the header, not the body.
14961 (hfy-javascript): Remove.
14962 (hfy-fontify-buffer): Don't insert it any more.
14963 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14964 Fix bug in invis handling when there were no invis props in a chunk.
14966 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14968 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14970 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14972 * finder.el (finder-mode-map): Add a menu.
14974 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14976 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14977 "unsigned" structs.
14979 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14980 fork" statement better.
14982 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14984 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14985 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14986 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14987 Reported by Clay Douglass.
14989 (verilog-auto-inst, verilog-auto-star-safe)
14990 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14991 Fix removing "// Interfaces" when saving .* expansions.
14992 Reported by Pierre-David Pfister.
14994 2009-11-26 Glenn Morris <rgm@gnu.org>
14996 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14999 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15001 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15002 Really use previous revision.
15004 2009-11-25 Kevin Ryde <user42@zip.com.au>
15006 * man.el (Man-completion-table): default-directory "/" in case
15007 doesn't otherwise exist. process-environment COLUMNS=999 so as
15008 not to truncate long names. process-connection-type pipe to avoid
15009 any chance of hitting the pseudo-tty TIOCGWINSZ.
15010 (man): completion-ignore-case t for friendliness and since man
15011 itself is case-insensitive on the command line.
15012 Further to Bug#3717.
15014 * arc-mode.el: Add "Keywords: files", so the details in its
15015 commentary can be reached from finder-by-keyword.
15016 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15017 editing mode, but it's comms related and sgml-mode.el has "comm"
15019 * textmodes/bibtex-style.el: Add "Keywords: tex".
15020 * international/isearch-x.el, international/ja-dic-cnv.el:
15021 * international/ja-dic-utl.el, international/kkc.el:
15022 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15024 2009-11-25 Juri Linkov <juri@jurta.org>
15026 * man.el (Man-completion-table): Modify regexp to include
15027 section names to completion strings. (Bug#3717)
15029 2009-11-25 Juri Linkov <juri@jurta.org>
15031 Search recursively in gzipped files. (Bug#4982)
15033 * progmodes/grep.el (grep-highlight-matches): Add new options
15034 `always' and `auto'. Doc fix.
15035 (grep-process-setup): Check `grep-highlight-matches' for
15036 `auto-detect' to determine the need to compute grep defaults.
15037 Move Windows/DOS specific --colors settings handling
15038 to `grep-compute-defaults'. Check `grep-highlight-matches'
15039 to get the value of "--color=".
15040 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15041 has the value `auto-detect'. Move Windows/DOS specific settings
15042 from `grep-process-setup'.
15043 (zrgrep): New command with alias `rzgrep'.
15045 2009-11-25 Juri Linkov <juri@jurta.org>
15047 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15048 to nil instead of switching off view-mode. (Bug#4896)
15050 2009-11-25 Juri Linkov <juri@jurta.org>
15052 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15054 * mwheel.el (mwheel-scroll-up-function)
15055 (mwheel-scroll-down-function): New defvars.
15056 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15057 `scroll-up', and `mwheel-scroll-down-function' instead of
15060 * doc-view.el (doc-view-scroll-up-or-next-page)
15061 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15062 Use this ARG in the call to image-scroll-up/image-scroll-down.
15063 Change `interactive' spec to "P". Goto next/previous page only
15064 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15065 SPC/DEL case). Doc fix.
15066 (doc-view-next-line-or-next-page)
15067 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15069 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15070 `doc-view-scroll-up-or-next-page', and buffer-local
15071 `mwheel-scroll-down-function' to
15072 `doc-view-scroll-down-or-previous-page'.
15074 2009-11-25 Juri Linkov <juri@jurta.org>
15076 Provide additional default values (directories at other Dired
15077 windows) via M-n in the minibuffer of some Dired commands.
15079 * dired-aux.el (dired-diff, dired-compare-directories)
15080 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15081 `minibuffer-default' in `minibuffer-with-setup-hook'.
15082 (dired-dwim-target-directory): Find a window that displays Dired
15083 buffer instead of failing when the next window is not Dired.
15084 Use `get-window-with-predicate' to find for the next Dired window.
15085 (dired-dwim-target-defaults): New function.
15087 * ediff-util.el (ediff-read-file-name):
15088 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15089 in `minibuffer-with-setup-hook'.
15091 2009-11-25 Juri Linkov <juri@jurta.org>
15093 Provide additional default values (file name at point or at the
15094 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15096 * minibuffer.el (read-file-name-defaults): New function.
15097 (read-file-name): Reset `minibuffer-default' to nil when
15098 it duplicates initial input `insdef'.
15099 Bind `minibuffer-default-add-function' to lambda that
15100 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15101 (minibuffer-insert-file-name-at-point): New command.
15103 * files.el (file-name-at-point-functions): New defcustom.
15104 (find-file-default): Remove defvar.
15105 (find-file-read-args): Don't use `find-file-default'.
15106 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15107 to `read-file-name'.
15108 (find-file-literally): Use `read-file-name' with
15109 `confirm-nonexistent-file-or-buffer'.
15111 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15113 * dired.el (dired-read-dir-and-switches):
15114 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15115 to `read-file-name'.
15116 (dired-file-name-at-point): New function.
15117 (dired-mode): Add hook `dired-file-name-at-point' to
15118 `file-name-at-point-functions'.
15120 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15122 Really make the *Completions* window soft-dedicated (bug#5030).
15123 * window.el (window--display-buffer-2): Add `dedicated' argument.
15124 (display-buffer): Pass it when needed so the dedicated flag is set
15125 after calling set-window-buffer, which would otherwise reset it.
15127 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15129 * progmodes/meta-mode.el (meta-complete-symbol):
15130 * progmodes/etags.el (complete-tag):
15131 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15132 Use completion-in-region.
15134 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15135 (dabbrev-completion): Use completion-in-region.
15136 (dabbrev--abbrev-at-point): Simplify regexp.
15138 * abbrev.el (abbrev--before-point): Use word-motion functions
15139 if :regexp is not specified (bug#5031).
15141 * subr.el (string-prefix-p): New function.
15143 * man.el (Man-completion-cache): New var.
15144 (Man-completion-table): Use it.
15146 * vc.el (vc-print-log-internal): Make `limit' optional for better
15147 compatibility (e.g. with vc-annotate.el).
15149 2009-11-24 Kevin Ryde <user42@zip.com.au>
15151 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15152 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15154 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15155 when .el source file not found or other error.
15157 2009-11-24 Markus Triska <markus.triska@gmx.at>
15159 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15161 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15163 Handle the [back] button properly (bug#4979).
15164 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15165 Use help-setup-xref, help-buffer, and with-help-window.
15166 (describe-char): Add `buffer' argument.
15167 Pass proper command to help-setup-xref. Don't meddle with
15168 help-xref-stack-item directly.
15169 (describe-text-category): Use with-help-window and help-buffer.
15171 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15172 for the displayed buffer (bug#4887).
15174 * man.el (Man-completion-table): New function.
15177 2009-11-24 David Reitter <david.reitter@gmail.com>
15179 * vc-git.el (vc-git-registered): Use checkout directory (where
15180 .git is) rather than the file's directory and a relative path spec
15181 to work around a bug in git.
15183 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15185 Improve handling of processes on remote hosts.
15187 * eshell/esh-util.el (eshell-path-env): New defvar.
15188 (eshell-parse-colon-path): New defun.
15189 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15191 * eshell/esh-ext.el (eshell-search-path):
15192 Use `eshell-parse-colon-path'.
15193 (eshell-remote-command): Remove argument HANDLER.
15194 (eshell-external-command): Check for FTP remote connection.
15196 * eshell/esh-proc.el (eshell-gather-process-output):
15197 Use `file-truename', in order to start also symlinked files.
15198 Apply `start-file-process' instead of `start-process'.
15199 Shorten `command' to the local file name part.
15201 * eshell/em-cmpl.el (eshell-complete-commands-list):
15202 Use `eshell-parse-colon-path'.
15204 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15206 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15207 to `eshell-directory-change-hook'.
15209 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15211 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15212 because it could be enabled automatically if view-read-only is non-nil.
15214 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15216 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15217 made on 2009-11-22.
15219 2009-11-24 Glenn Morris <rgm@gnu.org>
15221 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15222 deleted variable bookmark-bmenu-bookmark-column.
15224 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15226 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15228 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15230 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15231 two slashes to the "file:" prefix.
15232 (browse-url-file-url): De-munge Cygwin filenames before passing
15233 them to Windows browser.
15234 (browse-url-default-windows-browser): Use call-process.
15236 2009-11-23 Juri Linkov <juri@jurta.org>
15238 Implement DocView Continuous mode. (Bug#4896)
15239 * doc-view.el (doc-view-continuous-mode): New defcustom.
15240 (doc-view-mode-map): Bind C-n/<down> to
15241 `doc-view-next-line-or-next-page', C-p/<up> to
15242 `doc-view-previous-line-or-previous-page'.
15243 (doc-view-next-line-or-next-page)
15244 (doc-view-previous-line-or-previous-page): New commands.
15246 2009-11-23 Juri Linkov <juri@jurta.org>
15248 Implement Isearch in comint input history. (Bug#3746)
15249 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15250 `isearch-mode-hook'.
15251 (comint-history-isearch): New defcustom.
15252 (comint-history-isearch-backward)
15253 (comint-history-isearch-backward-regexp): New commands.
15254 (comint-history-isearch-message-overlay): New buffer-local variable.
15255 (comint-history-isearch-setup, comint-history-isearch-end)
15256 (comint-goto-input, comint-history-isearch-search)
15257 (comint-history-isearch-message, comint-history-isearch-wrap)
15258 (comint-history-isearch-push-state)
15259 (comint-history-isearch-pop-state): New functions.
15261 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15263 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15265 (tramp-handle-make-symbolic-link)
15266 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15268 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15269 (tramp-handle-process-file): Use it.
15271 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15273 * window.el (move-to-window-line-last-op): Remove.
15274 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15276 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15278 Make M-r mirror the new cycling behavior of C-l.
15279 * window.el (move-to-window-line-last-op): New var.
15280 (move-to-window-line-top-bottom): New command.
15281 (global-map): Bind M-r move-to-window-line-top-bottom.
15283 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15285 * dired-x.el (dired-guess-shell-alist-default):
15286 Support xz format. (Bug#4953)
15288 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15290 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15291 last-command-char/last-command-event.
15292 (viper-prefix-arg-value): Do correct conversion of event-char for
15295 * emulation/viper-util.el, emulation/viper.el:
15296 Use viper-last-command-char instead of
15297 last-command-char/last-command-event.
15299 * ediff-init.el, ediff-mult.el, ediff-util.el:
15300 Replace last-command-char and last-command-event
15301 with (ediff-last-command-char) everywhere.
15303 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15304 created in fundamental mode.
15306 * ediff.el (ediff-version): Revert the change of interactive-p to
15307 called-interactively-p.
15309 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15311 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15312 generation from word-movement command names.
15314 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15316 * cus-start.el (all): Add native condition for font-use-system-font.
15318 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15320 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15321 Correct the patch from 2009-11-18. (Bug#3910)
15323 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15325 * progmodes/subword.el: Rename from lisp/subword.el.
15327 * subword.el: Rename to progmodes/subword.el.
15329 * Makefile.in (ELCFILES): Adapt to subword.el move.
15331 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15332 Stefan Monnier <monnier@iro.umontreal.ca>
15334 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15335 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15336 (bookmark-bmenu-show-filenames): Use push.
15337 (bookmark-bmenu-hide-filenames): Use local var instead of
15338 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15339 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15340 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15341 filenames now that the bookmark names are always available.
15343 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15345 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15346 (bookmark-search-pattern): Move and leave unbound.
15347 (bookmark-bmenu-mode-map): Change binding.
15348 (bookmark-read-search-input): Simplify.
15349 Don't use text-char-description. Don't error on non-char events.
15350 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15351 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15352 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15353 Use a local var for the timer.
15354 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15355 (i.e. bookmark-bmenu-search).
15357 2009-11-21 Glenn Morris <rgm@gnu.org>
15359 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15361 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15363 * net/browse-url.el (browse-url-default-windows-browser):
15364 Use cygstart for cygwin.
15366 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15368 * bookmark.el: Formatting and doc fixes only:
15369 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15370 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15371 Minor grammar and punctuation fixes in doc string.
15372 (bookmark-read-search-input): Adjust to fit within 80 columns.
15374 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15376 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15377 (c-backward-into-nomenclature): Adapt to subword renaming.
15379 * subword.el (subword-forward, subword-backward, subword-mark)
15380 (subword-kill, subword-backward-kill, subword-transpose)
15381 (subword-downcase, subword-upcase, subword-capitalize)
15382 (subword-forward-internal, subword-backward-internal):
15383 Rename from forward-subword, backward-subword, mark-subword,
15384 kill-subword, backward-kill-subword, transpose-subwords,
15385 downcase-subword, upcase-subword, capitalize-subword,
15386 forward-subword-internal, backward-subword-internal.
15388 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15390 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15392 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15394 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15395 (bookmark-bmenu-filter-alist-by-regexp)
15396 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15397 (bookmark-bmenu-search): New command.
15398 (bookmark-bmenu-mode-map): Bind it.
15400 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15402 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15403 backward-subword to quit the byte-compiler.
15405 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15407 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15409 * progmodes/cc-cmds.el (c-update-modeline)
15410 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15411 Refer to subword.el functions instead of cc-subword.el.
15413 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15414 subword.el functions instead of cc-subword.el.
15416 * progmodes/cc-subword.el: Rename to subword.el.
15417 * subword.el: Rename from progmodes/cc-subword.el.
15418 (subword-mode-map): Rename from c-subword-mode-map.
15419 (subword-mode): Rename from c-subword-mode.
15420 (global-subword-mode): New global minor mode.
15421 (forward-subword): Rename from c-forward-subword.
15422 (backward-subword): Rename from c-backward-subword.
15423 (mark-subword): Rename from c-mark-subword.
15424 (kill-subword): Rename from c-kill-subword.
15425 (backward-kill-subword): Rename from c-backward-kill-subword.
15426 (transpose-subwords): Rename from c-tranpose-subword.
15427 (downcase-subword): Rename from c-downcase-subword.
15428 (capitalize-subword): Rename from c-capitalize-subword.
15429 (forward-subword-internal): Rename from c-forward-subword-internal.
15430 (backward-subword-internal): Rename from c-backward-subword-internal.
15432 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15434 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15435 from a dired buffer.
15436 (vc-dired-deduce-fileset): New function.
15437 (vc-root-diff, vc-print-root-log): Use it.
15439 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15440 nil LIMIT argument to vc-print-log-internal.
15442 2009-11-20 Glenn Morris <rgm@gnu.org>
15444 * Makefile.in (ELCFILES): Regenerate.
15446 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15448 * calc/calc.el (calc-set-mode-line):
15449 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15450 (math-format-number): Rename `math-format-complement-signed' to
15451 `math-format-twos-complement'.
15453 * calc/calc-bin.el (math-format-twos-complement): Rename from
15454 math-format-complement-signed.
15455 (calc-radix): Rename `calc-complement-signed-mode' to
15456 `calc-twos-complement-mode'.
15457 (calc-octal-radix, calc-hex-radix): Add an argument for
15460 * calc/calc-embed.el (calc-embedded-mode-vars):
15461 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15463 * calc/calc-ext.el (calc-init-extensions):
15464 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15465 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15467 * calc/calc-units.el (math-build-units-table-buffer):
15468 Let `calc-twos-complement-mode' be nil.
15470 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15473 * calc/calc-vec.el (calcFunc-vunpack):
15474 * calc/calc-aent.el (calc-do-calc-eval):
15475 * calc/calc-forms.el (math-format-date):
15476 * calc/calc-graph.el (calc-graph-plot):
15477 * calc/calc-math.el (math-use-emacs-fn):
15478 * calc/calccomp.el (math-compose-expr):
15479 Let `calc-twos-complement-mode' be nil.
15481 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15483 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15484 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15485 * minibuffer.el (completion-in-region-functions): New hook.
15486 (completion-in-region): New function.
15487 * emacs-lisp/lisp.el (lisp-complete-symbol):
15488 * pcomplete.el (pcomplete-std-complete): Use it.
15490 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15492 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15493 (latex-complete-alist): New vars.
15494 (latex-string-prefix-p, latex-complete-bibtex-keys)
15495 (latex-complete-envnames, latex-complete-refkeys)
15496 (latex-complete-data): New functions.
15497 (latex-complete, latex-indent-or-complete): New commands.
15499 * window.el (display-buffer-mark-dedicated): New var.
15500 (display-buffer): Obey it.
15501 * minibuffer.el (minibuffer-completion-help): Use it.
15503 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15505 * filecache.el (file-cache-add-file): Use push and cons.
15506 (file-cache-delete-file-regexp): Use push.
15507 (file-cache-complete): Use completion-in-region.
15509 * simple.el (with-wrapper-hook): Fix thinko.
15511 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15512 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15513 Use with-current-buffer and string-to-number.
15514 (hfy-fallback-colour-values): Use assoc-string.
15515 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15516 (hfy-face-at): Remove unused var `found-face'.
15517 (hfy-compile-stylesheet): Remove unused var `css'.
15518 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15520 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15521 Use with-current-buffer.
15522 (hfy-text-p): Use expand-file-name and fewer setq.
15524 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15526 * htmlfontify.el, hfy-cmap.el: New files.
15528 2009-11-19 Juri Linkov <juri@jurta.org>
15530 * minibuffer.el (completions-format): New defcustom.
15531 (completion--insert-strings): Implement vertical format.
15533 * simple.el (switch-to-completions): Move point to the first
15534 completion when point was at the beginning of the buffer.
15536 2009-11-19 Juri Linkov <juri@jurta.org>
15538 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15540 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15542 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15544 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15545 (mail-signature): Change default to t.
15546 (mail-from-style): Deprecate `system-default' value.
15547 (mail-insert-from-field): For default value of mail-from-style,
15548 default to `angles' unless `angles' needs quoting and `parens'
15550 (mail-citation-prefix-regexp): Use citation regexp from
15553 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15555 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15556 Set variables for computing the prompt for reading password.
15558 2009-11-19 Glenn Morris <rgm@gnu.org>
15560 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15562 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15564 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15565 (newsticker-treeview-listwindow-height): Fix custom type.
15567 2009-11-19 Kenichi Handa <handa@m17n.org>
15569 * descr-text.el (describe-char-padded-string): Compose with TAB
15570 only if there's a font for CH.
15571 (describe-char): Fix the condition for detecting a trivial composition.
15573 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15575 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15576 more accurate version of the regexp. (Bug#3910)
15578 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15580 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15582 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15584 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15585 (font-setting-change-default-font): Fix typo in docstring.
15587 2009-11-18 Alan Mackenzie <acm@muc.de>
15589 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15591 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15593 * font-setting.el (font-use-system-font): Move ...
15595 * cus-start.el (all): ... to here.
15597 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15599 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15600 Don't set `ad-return-value' if `ad-do-it' doesn't.
15602 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15605 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15607 * menu-bar.el: Put "Use system font" in Option-menu.
15608 (menu-bar-options-save): Add font-use-system-font.
15610 * loadup.el: If feature system-font-setting or font-render-setting is
15611 there, load font-setting.
15613 * Makefile.in (ELCFILES): Add font-settings.el.
15614 * font-setting.el: New file.
15616 2009-11-17 Glenn Morris <rgm@gnu.org>
15618 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15620 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15621 Preserve point in the list buffer. (Bug#4939)
15623 (newsticker--treeview-list-update-highlight)
15624 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15626 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15628 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15631 * calc/calc-ext.el (calc-init-extensions): Remove references to
15634 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15636 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15637 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15640 2009-11-16 Kevin Ryde <user42@zip.com.au>
15642 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15643 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15645 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15646 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15647 Ignore trailing spaces by omit-nulls to split-string (fixing
15648 regression from Emacs 21 due to the incompatible split-string
15649 change). (Bug #4928.)
15651 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15653 * vc.el (vc-log-show-limit): Default to 2000.
15654 (vc-print-log-internal): Insert buttons to request more entries
15655 when limiting the output.
15657 * vc-sccs.el (vc-sccs-print-log):
15658 * vc-rcs.el (vc-rcs-print-log):
15659 * vc-cvs.el (vc-cvs-print-log):
15660 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15663 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15665 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15666 error when `tramp-gvfs-dbus-event-vector' is set.
15667 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15669 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15671 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15673 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15675 * net/dbus.el (dbus-unregister-service): New defun.
15676 (dbus-register-property): Register the handlers of
15677 "org.freedesktop.DBus.Properties" for SERVICE.
15678 (dbus-property-handler): Fix docstring.
15680 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15682 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15683 Quote doc string reference in defvaralias as it is not in special form.
15684 (byte-compile-output-docform): Doc fix.
15686 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15688 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15689 (calc-complement-signed-mode): New variables.
15690 (calc-set-mode-line): Add indicator for twos-complements.
15691 (math-format-number): Format twos-complement notation.
15693 * calc/calc-bin.el (calc-word-size): Reset the variables
15694 `math-2-word-size' and `math-half-2-word-size'.
15695 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15696 (calc-symclip): New functions.
15698 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15700 * calc/calc-embed.el (calc-embedded-mode-vars):
15701 Add `calc-complement-signed-mode' to the list of modes.
15703 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15704 (calc-b-oper-keys): Add `calc-symclip' to list.
15706 * calc/calc-ext.el (math-read-number-fancy): Read complement
15708 (calc-init-extensions): Add binding for `calc-symclip'.
15709 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15711 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15713 (calc-modes-menu): Add item for twos complement mode.
15715 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15717 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15719 * register.el (jump-to-register, insert-register): Handle Semantic
15720 tags. From commented-out advice in semantic/senator.el.
15722 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15724 * vc.el (vc-log-show-limit): New variable.
15725 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15726 when using a prefix argument.
15727 (vc-print-log-internal): Add new argument LIMIT.
15729 * vc-svn.el (vc-svn-print-log):
15730 * vc-mtn.el (vc-mtn-print-log):
15731 * vc-hg.el (vc-hg-print-log):
15732 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15733 pass it to the log command when set. Make the BUFFER argument
15736 * vc-sccs.el (vc-sccs-print-log):
15737 * vc-rcs.el (vc-rcs-print-log):
15738 * vc-git.el (vc-git-print-log):
15739 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15740 ignore it. Make the BUFFER argument non-optional
15742 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15744 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15746 * dired.el (dired-mode-map): Move encryption items to "Operate"
15749 * strokes.el (strokes-update-window-configuration): Make strokes
15750 buffer current before erasing (Bug#4906).
15752 2009-11-15 Juri Linkov <juri@jurta.org>
15754 * simple.el (set-mark-default-inactive): Add :type, :group
15755 and :version. (Bug#4876)
15757 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15759 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15760 (archive-unique-fname): ... here. (Bug#4929)
15762 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15764 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15767 * novice.el (disabled-command-function): Add useful args.
15768 Setup the help buffer so that [back] works.
15769 Remove redundant call to help-mode.
15770 (disabled-command-function): Use `case'.
15771 (en/disable-command): New function extracted from enable-command.
15772 (enable-command, disable-command): Use it.
15774 2009-11-14 Glenn Morris <rgm@gnu.org>
15776 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15777 constants. (Bug#4913)
15779 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15781 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15783 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15784 defined in C that have no doc-strings. (Bug#1063)
15786 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15788 * cus-edit.el (data, files):
15789 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15791 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15793 * simple.el (shell-command): Doc fix (Bug#4891).
15795 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15797 2009-11-14 Glenn Morris <rgm@gnu.org>
15799 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15800 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15801 If they are already loaded, eval-after-load will do the right thing.
15803 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15806 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15808 * simple.el (x-selection-owner-p): Declare.
15809 (read-mail-command): Use custom radio type rather than choice.
15810 (completion-no-auto-exit): Doc fix.
15812 * custom.el (defgroup):
15813 * epg-config.el (epg): Doc fixes.
15815 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15817 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15818 * international/ccl.el (define-ccl-program): Do not purecopy the
15819 docstring, defconst does it anyway.
15821 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15823 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15826 * x-dnd.el (x-dnd-maybe-call-test-function):
15827 * window.el (split-window-vertically):
15828 * whitespace.el (whitespace-help-on):
15829 * vc-rcs.el (vc-rcs-consult-headers):
15830 * userlock.el (ask-user-about-lock-help)
15831 (ask-user-about-supersession-help):
15832 * type-break.el (type-break-force-mode-line-update):
15833 * time-stamp.el (time-stamp-conv-warn):
15834 * terminal.el (te-set-output-log, te-more-break, te-filter)
15835 (te-sentinel, terminal-emulator):
15836 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15837 (term-write-input-ring, term-check-source, term-start-output-log):
15838 (term-display-buffer-line, term-dynamic-list-completions):
15839 (term-ansi-make-term, serial-term):
15840 * subr.el (selective-display):
15841 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15842 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15843 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15844 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15845 (speedbar-remove-localized-speedbar-support)
15846 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15847 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15848 (speedbar-buffers-line-directory):
15849 * simple.el (shell-command-on-region, append-to-buffer)
15850 (prepend-to-buffer):
15851 * shadowfile.el (shadow-save-todo-file):
15852 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15853 (scroll-bar-maybe-set-window-start):
15854 * sb-image.el (speedbar-image-dump):
15855 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15856 (load-save-place-alist-from-file):
15857 * ps-samp.el (ps-print-message-from-summary):
15858 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15859 (ps-background-image, ps-begin-job, ps-do-despool):
15860 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15861 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15862 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15863 (pr-call-process, pr-file-list, pr-interface-save):
15864 * novice.el (disabled-command-function)
15865 (enable-command, disable-command):
15866 * mouse.el (mouse-buffer-menu-alist):
15867 * mouse-copy.el (mouse-kill-preserving-secondary):
15868 * macros.el (kbd-macro-query):
15869 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15870 * informat.el (batch-info-validate):
15871 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15872 * hippie-exp.el (try-expand-dabbrev-visible):
15873 * help-mode.el (help-make-xrefs):
15874 * help-fns.el (describe-variable):
15875 * generic-x.el (bat-generic-mode-run-as-comint):
15876 * finder.el (finder-mouse-select):
15877 * find-dired.el (find-dired-sentinel):
15878 * filesets.el (filesets-file-close):
15879 * files.el (list-directory):
15880 * faces.el (list-faces-display, describe-face):
15881 * facemenu.el (list-colors-display):
15882 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15883 * epg.el (epg--process-filter, epg-cancel):
15884 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15885 (epa--read-signature-type):
15886 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15887 (emerge-file-names):
15888 * ehelp.el (electric-helpify):
15889 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15890 * ediff-vers.el (rcs-ediff-view-revision):
15891 * ediff-util.el (ediff-setup):
15892 * ediff-mult.el (ediff-append-custom-diff):
15893 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15895 * echistory.el (Electric-command-history-redo-expression):
15896 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15897 * disp-table.el (describe-display-table):
15898 * dired.el (dired-find-buffer-nocreate):
15899 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15900 * dabbrev.el (dabbrev--same-major-mode-p):
15901 * chistory.el (list-command-history):
15902 * apropos.el (apropos-documentation):
15903 * allout.el (allout-obtain-passphrase):
15904 (allout-copy-exposed-to-buffer):
15905 (allout-verify-passphrase): Use with-current-buffer.
15907 2009-11-13 Glenn Morris <rgm@gnu.org>
15909 * Makefile.in (ELCFILES): Regenerate.
15911 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15913 * net/dbus.el (dbus-registered-objects-table): Rename from
15914 `dbus-registered-functions-table', because it contains also properties.
15915 (dbus-unregister-object): Unregister also properties.
15916 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15917 Use a timeout of 500 msec, in order to not block.
15918 (dbus-register-property, dbus-property-handler): New defuns.
15920 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15922 * simple.el (minibuffer-default-add-completions): Drop deprecated
15925 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15927 * textmodes/artist.el (artist-mouse-choose-operation):
15928 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15929 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15930 (artist-compute-up-event-key): New function.
15931 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15933 2009-11-13 Kenichi Handa <handa@m17n.org>
15935 * language/japan-util.el: Make sure that the value of jisx0208
15936 property is jisx0208 character.
15938 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15940 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15941 car or each item, not the whole list.
15943 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * minibuffer.el (minibuffer-completion-help):
15946 Use minibuffer-hide-completions.
15948 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15950 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15951 (dired-revert): Use them (bug#4880).
15953 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15955 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15957 2009-11-12 Juri Linkov <juri@jurta.org>
15959 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15961 (find-file-literally-at-point): Alias of `ffap-literally'.
15963 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15965 * textmodes/ispell.el (ispell-skip-region-alist):
15966 * textmodes/css-mode.el (auto-mode-alist):
15967 * progmodes/compile.el (auto-mode-alist):
15968 * international/mule.el (ctext-non-standard-encodings-alist)
15969 (ctext-non-standard-encodings-regexp):
15970 * simple.el (shell-command-switch, text-read-only):
15971 * replace.el (occur-mode-map):
15972 * paths.el (rmail-file-name):
15973 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15974 * find-file.el (ff-special-constructs):
15975 * files.el (file-name-handler-alist):
15976 * composite.el: Purecopy strings.
15978 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15980 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15982 * widget.el (define-widget): Purecopy the docstring.
15983 * international/mule-cmds.el (charset): Do not purecopy the
15984 docstring here, define-widget does it.
15986 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15987 * textmodes/bibtex-style.el (auto-mode-alist):
15988 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15989 * progmodes/compile.el (compile-command):
15990 * language/korea-util.el (default-korean-keyboard):
15991 * international/mule-conf.el (file-coding-system-alist):
15992 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15993 * tooltip.el (tooltip-frame-parameters):
15994 * newcomment.el (comment-end, comment-padding):
15995 * dired.el (dired-trivial-filenames):
15996 * comint.el (comint-file-name-prefix): Purecopy initial values.
15998 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16000 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16001 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16003 (tramp-advice-make-auto-save-file-name)
16004 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16005 after removing the advice.
16007 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16009 * progmodes/grep.el (grep-regexp-alist):
16010 * international/mule-cmds.el (iso-2022-control-alist):
16011 * emacs-lisp/timer.el (timer-duration-words):
16012 * subr.el (version-separator, version-regexp-alist):
16013 * minibuffer.el (completion-styles-alist):
16014 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16015 Change defvars to defconsts.
16017 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16018 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16019 * international/mule-conf.el: Allow to be byte compiled.
16021 * international/mule.el (define-charset): Purecopy props.
16022 (load-with-code-conversion): Purecopy doc string and file name.
16023 (put-charset-property): Purecopy strings.
16024 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16026 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16027 (define-char-code-property): Correctly purecopy the table.
16029 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16031 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16033 * subr.el (add-hook): Purecopy strings.
16034 (eval-after-load): Purecopy load-history-regexp and the form.
16036 * custom.el (custom-declare-group): Purecopy load-file-name.
16038 * subr.el (menu-bar-separator): New defconst.
16039 * net/eudc.el (eudc-tools-menu):
16040 * international/mule-cmds.el (set-coding-system-map)
16041 (mule-menu-keymap):
16042 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16043 * vc-hooks.el (vc-menu-map):
16044 * replace.el (occur-mode-map):
16045 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16046 (menu-bar-edit-menu, menu-bar-goto-menu)
16047 (menu-bar-custom-menu, menu-bar-showhide-menu)
16048 (menu-bar-options-menu, menu-bar-tools-menu)
16049 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16050 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16051 (menu-bar-help-menu):
16052 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16053 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16055 * term/x-win.el (x-gtk-stock-map):
16056 * progmodes/vera-mode.el (auto-mode-alist):
16057 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16058 (inferior-lisp-program, inferior-lisp-load-command):
16059 * progmodes/hideshow.el (hs-special-modes-alist):
16060 * progmodes/gud.el (same-window-regexps):
16061 * progmodes/grep.el (grep-program, find-program, xargs-program):
16062 * net/telnet.el (same-window-regexps):
16063 * net/rlogin.el (same-window-regexps):
16064 * language/ethiopic.el (font-ccl-encoder-alist):
16065 * vc-sccs.el (vc-sccs-master-templates):
16066 * vc-rcs.el (vc-rcs-master-templates):
16067 * subr.el (cl-assertion-failed):
16068 * simple.el (next-error-overlay-arrow-position):
16069 * lpr.el (lpr-command):
16070 * locate.el (locate-ls-subdir-switches):
16071 * info.el (same-window-regexps, info)
16072 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16073 * image-mode.el (image-mode, auto-mode-alist):
16074 * hippie-exp.el (hippie-expand-ignore-buffers):
16075 * format.el (format-alist):
16076 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16078 * facemenu.el (facemenu-keybindings):
16079 * dired.el (dired-listing-switches, dired-chown-program):
16080 * diff.el (diff-switches, diff-command):
16081 * cus-edit.el (same-window-regexps):
16082 * bindings.el (mode-line-mule-info)
16083 (mode-line-buffer-identification): Purecopy strings.
16085 2009-11-11 Juri Linkov <juri@jurta.org>
16087 * simple.el (dired-get-filename) <declare-function>:
16088 Tell the byte-compiler about dired-get-filename.
16089 (shell-command): In Dired mode, get filename from the current line
16090 as the default value.
16092 2009-11-10 Glenn Morris <rgm@gnu.org>
16094 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16095 * calendar/holidays.el, progmodes/cperl-mode.el:
16096 Update x-popup-menu declarations.
16098 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16099 (list-load-path-shadows): Use dolist.
16100 (list-load-path-shadows): Use with-current-buffer.
16102 2009-11-10 Juri Linkov <juri@jurta.org>
16104 * minibuffer.el (read-file-name): Support a list of default values
16105 in `default-filename'. Use the first file name where only one
16106 element is required. Doc fix.
16108 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16110 * net/dbus.el (dbus-unregister-object): Release service, if no
16111 other method is registered for it.
16113 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16115 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16116 bookmark-sort-flag is non-nil (Bug#4653).
16118 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16120 * emulation/cua-base.el: Add CUA property to some CC mode commands
16123 2009-11-08 Kevin Ryde <user42@zip.com.au>
16125 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16126 at end of sentence (Bug#4818).
16128 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16130 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16131 Handle "see declaration of" MSFT statements (Bug#4100).
16133 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16135 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16136 (tramp-advice-file-expand-wildcards): Unload via
16137 `ad-remove-advice'.
16139 * net/trampver.el: Update release number.
16141 2009-11-08 Kevin Ryde <user42@zip.com.au>
16143 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16146 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16148 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16149 in order to keep context in SELinux.
16151 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16153 * dired-aux.el (dired-query): Place cursor in echo area and allow
16156 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16157 menu item if not on a directory (Bug#4701).
16159 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16161 Sync with Tramp 2.1.17.
16163 * net/tramp.el (tramp-handle-copy-directory): Don't use
16164 `file-remote-p' (due to compatibility).
16166 * net/tramp-compat.el (tramp-compat-copy-directory)
16167 (tramp-compat-delete-directory): New defuns.
16169 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16170 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16171 Use `tramp-compat-delete-directory'.
16173 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16174 (tramp-smb-handle-delete-directory):
16175 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16177 * net/trampver.el: Update release number.
16179 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16181 * tar-mode.el (tar-copy): Call write-region on the right buffer
16184 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16185 by hand, if necessary (Bug#4878).
16187 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16189 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16190 align size column (Bug#4839).
16192 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16195 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16197 * progmodes/ld-script.el (auto-mode-alist):
16198 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16200 * cus-face.el (custom-declare-face): Purecopy face spec.
16202 2009-11-06 Kenichi Handa <handa@m17n.org>
16204 * international/uni-bidi.el: Re-generated.
16205 * international/uni-category.el: Re-generated.
16206 * international/uni-combining.el: Re-generated.
16207 * international/uni-mirrored.el: Re-generated.
16209 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16211 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16212 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16213 (tex-start-options, slitex-run-command, latex-run-command)
16214 (tex-run-command, tex-directory):
16215 * textmodes/ispell.el (ispell-html-skip-alists)
16216 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16217 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16218 (adaptive-fill-regexp):
16219 * textmodes/dns-mode.el (auto-mode-alist):
16220 * progmodes/python.el (interpreter-mode-alist):
16221 * progmodes/etags.el (tags-compression-info-list):
16222 * progmodes/etags.el (tags-file-name):
16223 * net/browse-url.el (browse-url-galeon-program)
16224 (browse-url-firefox-program):
16225 * mail/sendmail.el (mail-signature-file)
16226 (mail-citation-prefix-regexp):
16227 * international/mule-conf.el (eight-bit):
16228 * international/latexenc.el (latex-inputenc-coding-alist):
16229 * international/fontset.el (x-pixel-size-width-font-regexp):
16230 * emacs-lisp/warnings.el (warning-type-format):
16231 * emacs-lisp/trace.el (trace-buffer):
16232 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16233 (emacs-lisp-mode-map):
16234 * calendar/holidays.el (holiday-solar-holidays)
16235 (holiday-bahai-holidays, holiday-islamic-holidays)
16236 (holiday-christian-holidays, holiday-hebrew-holidays)
16237 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16238 (hebrew-holidays-1, holiday-oriental-holidays)
16239 (holiday-general-holidays):
16240 * x-dnd.el (x-dnd-known-types):
16241 * tool-bar.el (tool-bar):
16242 * startup.el (site-run-file):
16243 * shell.el (shell-dumb-shell-regexp):
16244 * rfn-eshadow.el (file-name-shadow-tty-properties)
16245 (file-name-shadow-properties):
16246 * paths.el (remote-shell-program, news-directory):
16247 * mouse.el ([C-down-mouse-3]):
16248 * menu-bar.el (menu-bar-tools-menu):
16249 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16250 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16251 (jka-compr-compression-info-list):
16252 * isearch.el (search-whitespace-regexp):
16253 * image-file.el (image-file-name-extensions):
16254 * find-dired.el (find-ls-option):
16255 * files.el (directory-listing-before-filename-regexp)
16256 (directory-free-space-args, insert-directory-program)
16257 (list-directory-brief-switches, magic-fallback-mode-alist)
16258 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16259 (automount-dir-prefix):
16260 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16261 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16262 (face-font-registry-alternatives, face-font-registry-alternatives)
16263 (face-font-family-alternatives):
16264 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16265 (facemenu-foreground-menu, facemenu-face-menu):
16266 * epa-hook.el (epa-file-name-regexp):
16267 * dnd.el (dnd-protocol-alist):
16268 * textmodes/rst.el (auto-mode-alist):
16269 * button.el (default-button): Purecopy strings.
16271 2009-11-06 Glenn Morris <rgm@gnu.org>
16273 * Makefile.in (ELCFILES): Update.
16275 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16277 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16278 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16280 * nxml/xsd-regexp.el (xsdre-gen-categories):
16281 * nxml/xmltok.el (xmltok-parse-entity):
16282 * nxml/rng-parse.el (rng-parse-validate-file):
16283 * nxml/rng-maint.el (rng-format-manual)
16284 (rng-manual-output-force-new-line):
16285 * nxml/rng-loc.el (rng-save-schema-location-1):
16286 * nxml/rng-cmpct.el (rng-c-parse-file):
16287 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16288 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16290 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16292 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16293 Remove extra save-excursions and make-variable-buffer-local's.
16294 Suggested by Stefan Monnier.
16296 (verilog-getopt-file, verilog-module-inside-filename-p)
16297 (verilog-set-define): Merge GNU 1.35 and repair changes from
16298 switching to using with-current-buffer.
16300 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16301 being treated as a number and confusing AUTORESET.
16302 Reported by Dan Dever.
16304 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16305 Add verilog-auto-ignore-concat to fix backward compatibility with
16306 older verilog-modes. Reported by Dan Katz.
16308 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16309 containing closing anchors "...$".
16311 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16312 Reported by Wade Smith.
16314 (verilog-batch-execute-func): Comment on function usage.
16316 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16318 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16321 (verilog-label-re, verilog-calc-1): Support proper indent of named
16324 (verilog-backward-token, verilog-basic-complete-re)
16325 (verilog-beg-of-statement, verilog-indent-re): Support proper
16326 indent of the assert statement at the beginning of a block of text.
16328 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16329 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16332 2009-11-05 Glenn Morris <rgm@gnu.org>
16334 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16335 Emacs 19. (Bug#1531)
16336 (byte-compile-fix-header): Update for the above change.
16337 Drop test for epoch::version.
16339 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16340 * cus-dep.el (custom-make-dependencies):
16341 * finder.el (finder-compile-keywords):
16342 Use autoload-rubric's feature argument.
16344 * calendar/diary-lib.el (top-level): Make load behave more like require.
16346 * vc-git.el (vc-git-stash-map): Move definition before use.
16348 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16350 * custom.el (custom-declare-group): Purecopy standard-value.
16351 (custom-declare-group): Purecopy custom-prefix.
16353 * international/mule.el (load-with-code-conversion):
16354 Call do-after-load-evaluation unconditionally.
16356 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16358 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16360 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16362 2009-11-04 Glenn Morris <rgm@gnu.org>
16364 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16365 (byte-compile-compatibility): Remove option.
16366 (byte-compile-close-variables, byte-compile-fix-header)
16367 (byte-compile-insert-header, byte-compile-output-docform)
16368 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16369 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16370 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16371 (byte-compile-insert, byte-compile-defun):
16372 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16373 (byte-defop-compiler19): Remove.
16374 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16375 used by anything. Replace all calls with byte-defop-compiler.
16377 2009-11-04 Juri Linkov <juri@jurta.org>
16379 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16380 (menu-bar-options-menu): Don't quote the `prop' arg of
16381 `menu-bar-make-mm-toggle'.
16383 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16385 * calendar/calendar.el (cal-loaddefs):
16386 * calendar/diary-lib.el (diary-loaddefs):
16387 * calendar/holidays.el (hol-loaddefs):
16388 * eshell/esh-module.el (esh-groups): Load rather than require.
16390 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16394 (todo-top-priorities): Only display-buffer when called interactively.
16395 (todo-item-start): Don't save excursion point.
16396 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16397 (todo-insert-item-here, todo-file-item, todo-remove-item):
16398 Adjust uses of todo-item-start and todo-item-end.
16400 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16401 (autoload-rubric): Don't use any more.
16403 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16404 and only put a prop if it is non-nil.
16406 2009-11-03 Juri Linkov <juri@jurta.org>
16408 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16409 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16411 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16412 and "Menu" to make top-level menu item visually one unit (like
16413 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16414 multi-word menu items). Fix :help string for quit-window.
16416 2009-11-03 Glenn Morris <rgm@gnu.org>
16418 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16419 (byte-compile-file-form-define-abbrev-table)
16420 (byte-compile-file-form-custom-declare-variable)
16421 (byte-compile-variable-ref, byte-compile-defvar):
16422 Whether or not a warning is enabled should only affect whether we issue
16423 the warning, not whether or not we collect the relevant data.
16424 Eg warnings can be turned on and off throughout the course of a file.
16426 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16427 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16429 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16431 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16432 * play/mpuz.el (mpuz-create-buffer):
16433 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16434 (lm-print-y,s,noise, lm-print-w0, lm-init):
16435 * play/gomoku.el (gomoku-prompt-for-move):
16436 * play/fortune.el (fortune-in-buffer):
16437 * play/dissociate.el (dissociated-press):
16438 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16439 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16440 * mail/supercite.el (sc-eref-show):
16441 * mail/smtpmail.el (smtpmail-send-it):
16442 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16443 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16444 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16445 (rmail-summary-goto-msg, rmail-summary-expunge)
16446 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16447 (rmail-summary-add-label, rmail-summary-output-menu)
16448 (rmail-summary-output-body):
16449 * mail/rfc822.el (rfc822-addresses):
16450 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16451 * mail/mailpost.el (post-mail-send-it):
16452 * mail/hashcash.el (hashcash-generate-payment):
16453 * mail/feedmail.el (feedmail-run-the-queue)
16454 (feedmail-queue-send-edit-prompt-help-first)
16455 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16456 (feedmail-deduce-address-list):
16457 * eshell/esh-ext.el (eshell-remote-command):
16458 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16459 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16460 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16461 (viper-save-string-in-file, viper-valid-marker):
16462 * emulation/viper-keym.el (viper-toggle-key):
16463 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16464 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16465 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16466 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16467 (viper-exec-form-in-emacs, viper-brac-function):
16468 * emulation/viper.el (viper-delocalize-var):
16469 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16470 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16471 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16472 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16473 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16474 * emulation/edt.el (edt-electric-helpify):
16475 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16476 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16477 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16478 (cua-indent-to-global-mark-column):
16479 * calendar/diary-lib.el (calendar-mark-1):
16480 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16481 Use with-current-buffer.
16482 * emulation/viper.el (viper-delocalize-var): Use dolist.
16484 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16486 * comint.el (comint-replace-by-expanded-history-before-point):
16487 Replace !! with the previous input string literally (Bug#1795).
16489 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16491 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16492 to be made up of whitespace.
16494 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16496 * minibuffer.el (read-file-name): Don't use file dialogs for
16497 remote directories (Bug#99).
16499 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16501 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16503 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16505 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16506 instead of deleting the window or frame.
16508 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16510 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16511 Support face colors.
16513 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16514 New function. Support face colors (Bug#1168).
16515 (tex-common-initialization): Use it.
16517 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16518 mode allows it (Bug#1168).
16520 2009-10-31 Juri Linkov <juri@jurta.org>
16522 * facemenu.el (list-colors-display): Don't mark buffer as
16523 modified (Bug#3948).
16525 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16527 * international/mule-diag.el (list-character-sets-1):
16528 Minor message fix (Bug#3526).
16530 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16531 Fix face property (Bug#4834).
16532 (etags-list-tags, etags-tags-apropos-additional)
16533 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16536 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16539 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16541 * textmodes/two-column.el (2C-split):
16542 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16543 * textmodes/tex-mode.el (tex-set-buffer-directory):
16544 * textmodes/spell.el (spell-region, spell-string):
16545 * textmodes/reftex.el (reftex-erase-buffer):
16546 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16547 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16548 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16549 (reftex-select-item):
16550 * textmodes/reftex-ref.el (reftex-label-info-update)
16551 (reftex-offer-label-menu):
16552 * textmodes/reftex-index.el (reftex-index-change-entry)
16553 (reftex-index-phrases-info):
16554 * textmodes/reftex-global.el (reftex-create-tags-file)
16555 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16556 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16557 (reftex-view-crossref-from-bibtex):
16558 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16559 (reftex-extract-bib-entries-from-thebibliography)
16560 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16561 * textmodes/refbib.el (r2b-capitalize-title):
16562 (r2b-convert-buffer, r2b-help):
16563 * textmodes/page-ext.el (pages-directory)
16564 (pages-directory-goto-with-mouse):
16565 * textmodes/bibtex.el (bibtex-validate-globally):
16566 * textmodes/bib-mode.el (bib-capitalize-title):
16567 * textmodes/artist.el (artist-clear-buffer, artist-system):
16568 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16569 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16570 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16571 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16572 (xscheme-send-control-g-interrupt, xscheme-start-process)
16573 (xscheme-process-sentinel, xscheme-cd):
16574 * progmodes/verilog-mode.el (verilog-read-always-signals)
16575 (verilog-set-define, verilog-getopt-file)
16576 (verilog-module-inside-filename-p):
16577 * progmodes/sh-script.el:
16578 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16579 (python-pdbtrack-grub-for-buffer, python-execute-file):
16580 * progmodes/octave-inf.el (inferior-octave):
16581 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16582 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16583 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16584 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16585 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16586 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16587 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16588 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16589 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16590 (idlwave-shell-examine-display, idlwave-shell-run-region)
16591 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16592 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16593 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16594 (idlwave-help-get-help-buffer):
16595 * progmodes/gud.el (gud-basic-call, gud-find-class)
16596 (gud-tooltip-activate-mouse-motions-if-enabled):
16597 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16598 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16599 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16600 (ebrowse-tags-next-file):
16601 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16602 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16603 (ebnf-eps-finish-and-write):
16604 * progmodes/cpp.el (cpp-edit-save):
16605 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16606 * progmodes/cc-defs.el (c-emacs-features):
16607 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16608 (antlr-directory-dependencies):
16609 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16610 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16611 (ada-find-any-references, ada-make-filename-from-adaname)
16612 (ada-make-body-gnatstub):
16613 * obsolete/rnews.el (news-list-news-groups):
16614 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16615 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16616 * net/rcirc.el (rcirc-debug):
16617 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16618 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16619 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16620 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16621 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16622 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16623 (newsticker--treeview-list-clear-highlight)
16624 (newsticker--treeview-list-update-highlight)
16625 (newsticker--treeview-list-highlight-start)
16626 (newsticker--treeview-tree-update-highlight)
16627 (newsticker--treeview-get-selected-item)
16628 (newsticker-treeview-mark-list-items-old)
16629 (newsticker--treeview-set-current-node):
16630 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16631 * net/newst-backend.el (newsticker--get-news-by-funcall)
16632 (newsticker--get-news-by-wget, newsticker--image-get)
16633 (newsticker--image-sentinel):
16634 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16635 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16636 (eudc-ph-close-session):
16637 * net/eudc.el (eudc-save-options):
16638 * language/thai-word.el (thai-update-word-table):
16639 * language/japan-util.el (japanese-string-conversion):
16640 * international/titdic-cnv.el (tsang-quick-converter)
16641 (ziranma-converter, ctlau-converter):
16642 * international/mule-cmds.el (describe-language-environment):
16643 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16644 (skkdic-convert-postfix, skkdic-convert-prefix):
16645 (skkdic-convert-okuri-nasi, skkdic-convert):
16646 * emacs-lisp/re-builder.el (reb-update-overlays):
16647 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16648 * emacs-lisp/gulp.el (gulp-send-requests):
16649 * emacs-lisp/find-gc.el (trace-call-tree):
16650 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16651 (eieio-describe-generic):
16652 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16653 * emacs-lisp/edebug.el (edebug-outside-excursion):
16654 * emacs-lisp/debug.el (debugger-make-xrefs):
16655 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16656 * emacs-lisp/chart.el (chart-new-buffer):
16657 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16658 Use with-current-buffer.
16659 * textmodes/artist.el (artist-system): Don't call
16660 copy-sequence on a fresh string.
16661 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16663 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16665 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16666 is no item to edit. (Bug#4820)
16667 (todo-top-priorities): Restore point and restore narrowing in Todo
16670 2009-10-31 Glenn Morris <rgm@gnu.org>
16672 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16673 (comint-last-output-start, comint-last-input-start)
16674 (comint-last-input-end): Don't defvar when compiling.
16675 (ange-ftp-process-file): Use bound-and-true-p.
16677 * pcmpl-rpm.el (top-level): Move provide statement to end.
16678 (pcmpl-rpm): Remove unused custom group.
16680 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16682 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16684 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16685 (byte-compile-warnings): Add `constants' as an option.
16686 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16687 (display-call-tree): Update for byte-compile-fdefinition possibly
16688 returning `(macro lambda ...)'. (Bug#4778)
16689 (byte-compile-variable-ref, byte-compile-setq-default):
16690 Respect `constants' member of byte-compile-warnings.
16692 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16695 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16698 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16700 * textmodes/ispell.el (ispell-skip-region-alist):
16701 * international/mule-conf.el (eight-bit):
16702 * international/fontset.el (font-encoding-alist):
16703 * startup.el (pure-space-overflow-message):
16704 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16705 * paths.el (gnus-nntp-service, rmail-spool-directory)
16706 (term-file-prefix):
16707 * files.el (save-some-buffers-action-alist):
16708 * cmuscheme.el (same-window-buffer-names):
16709 * ielm.el (same-window-buffer-names):
16710 * shell.el (same-window-buffer-names):
16711 * mail/sendmail.el (same-window-buffer-names):
16712 * progmodes/inf-lisp.el (same-window-buffer-names):
16713 * bindings.el (mode-line-client)
16714 (mode-line-column-line-number-mode-map):
16715 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16716 (tibetan-precomposed-regexp): Purecopy string arguments.
16718 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16721 (calcDigit-nondigit):
16722 * calc/calc-yank.el (calc-copy-to-buffer):
16723 * calc/calc-units.el (calc-invalidate-units-table):
16724 * calc/calc-trail.el (calc-trail-yank):
16725 * calc/calc-store.el (calc-insert-variables):
16726 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16727 * calc/calc-prog.el (calc-read-parse-table):
16728 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16729 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16730 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16731 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16732 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16733 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16734 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16735 * calc/calc-ext.el (calc-realign):
16736 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16737 (calc-embedded-finish-edit, calc-embedded-make-info)
16738 (calc-embedded-finish-command, calc-embedded-stack-change):
16739 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16741 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16742 shell-dynamic-complete-filename in preference to
16743 comint-dynamic-complete-filename.
16745 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16746 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16747 Don't consider whether the display supports colors.
16748 (bookmark-import-new-list): Use dolist.
16749 (bookmark-bmenu-mode-map): Move initialization into declaration.
16750 (bookmark-bmenu-list): Use dolist, simplify.
16751 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16752 (menu-bar-final-items): Use push.
16754 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16756 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16757 it works on remote files.
16758 (vc-hg-diff): Don't pass any `--cwd' argument.
16760 2009-10-27 Kevin Ryde <user42@zip.com.au>
16762 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16763 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16764 (Further to Bug#3921).
16766 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16768 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16769 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16770 calling `tramp-imap-put-file'. Add file size to the call.
16771 (tramp-imap-get-file-entries): Compute also user name, file size,
16773 (tramp-imap-handle-insert-directory): Insert uid and gid.
16774 (tramp-imap-handle-file-attributes): Transform uid and gid
16775 according to `id-format'.
16776 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16777 size in header X-Size.
16779 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16781 * simple.el (transpose-subr): Give clearer error when the mark
16782 is not set. (Bug#4807)
16784 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16786 * net/tramp.el (tramp-perl-file-truename): New defconst.
16787 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16788 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16789 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16790 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16792 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16793 Ignore `dired-call-process'.
16794 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16796 2009-10-26 Julian Scheid <julians37@gmail.com>
16798 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16799 (tramp-get-remote-readlink): New defun.
16800 (tramp-handle-file-truename): Use it.
16801 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16802 file exists if cache value present.
16803 (tramp-check-cached-permissions): New defun.
16804 (tramp-handle-file-readable-p): Use it.
16805 (tramp-handle-file-writable-p): Likewise.
16806 (tramp-handle-file-executable-p): Likewise.
16807 (tramp-handle-file-name-all-completions): Try using Perl to get
16808 partial completions. When perl not available, combine `cd' and
16809 `ls' into single remote operation and use shell expansion to get
16810 partial remote directory contents. Set `file-exists-p' cache for
16811 directory and any files returned by ls. Change cache handling to
16812 support partial directory contents. Use error message emitted by
16813 remote `cd' or Perl code for local tramp-error.
16814 (tramp-do-copy-or-rename-file-directly): Avoid separate
16815 tramp-send-command-and-check call.
16816 (tramp-handle-process-file): Merge three remote ops into one.
16817 Do not flush all caches when `process-file-side-effects' is set.
16818 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16819 file-attributes shows uid/gid to be set already.
16821 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16823 * textmodes/tex-mode.el (tex-dvi-view-command)
16824 (tex-show-queue-command, tex-open-quote):
16825 * progmodes/ruby-mode.el (auto-mode-alist)
16826 (interpreter-mode-alist): Purecopy strings.
16828 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16830 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16831 string for the hook, keymap and abbrev table.
16833 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16835 * x-dnd.el (x-dnd-xdnd-to-action):
16836 * startup.el (fancy-startup-text, fancy-about-text): Change to
16837 defconst from defvar.
16839 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16841 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16842 Purecopy initialization strings.
16844 * mail/sendmail.el (mail-header-separator)
16845 (mail-personal-alias-file):
16846 * mail/rmail.el (rmail-default-dont-reply-to-names)
16847 (rmail-ignored-headers, rmail-retry-ignored-headers)
16848 (rmail-highlighted-headers, rmail-secondary-file-directory)
16849 (rmail-secondary-file-regexp):
16850 * files.el (null-device, file-name-invalid-regexp)
16851 (locate-dominating-stop-dir-regexp)
16852 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16853 (interpreter-mode-alist): Use mapcar instead of mapc.
16855 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16857 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16858 (completion-ignored-extensions):
16859 (debug-ignored-errors): Purecopy strings.
16861 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16863 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16864 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16865 (pcomplete--here): Use push.
16867 * subr.el (all-completions): Declare the 4th arg obsolete.
16869 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16872 (pcomplete-unquote-argument): New function.
16873 (pcomplete--common-suffix): Always pay attention to case.
16874 (pcomplete--table-subvert): Quote and unquote the text.
16875 (pcomplete--common-quoted-suffix): New function.
16876 (pcomplete-std-complete): Use it and pcomplete-begin.
16878 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16879 we're inside a dedicated or minibuffer window.
16881 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16883 * bookmark.el: Update documentation, especially documentation
16884 of `bookmark-alist' and of the bookmark file format.
16885 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16887 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16889 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16890 keybindings apply to the mail buffer (Bug#4003). Shrink help
16893 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16894 (global-whitespace-mode, global-whitespace-newline-mode)
16895 (whitespace-toggle-options, global-whitespace-toggle-options):
16896 Doc fix (Bug#3660).
16898 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16899 of xmltok-start before the end tag was inserted (Bug#2840).
16901 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16902 patterns that are preceded by an open-paren (Bug#1320).
16904 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16906 * files.el (delete-directory): Delete symlinks to directories with
16907 delete-file (Bug#4739).
16909 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16911 * vc.el (vc-backend-for-registration): Rename from
16912 vc-get-backend-for-registration. Update callers.
16914 * international/mule-cmds.el (set-language-info-alist):
16916 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16917 (charset): Purecopy the name.
16918 (define-char-code-property): Purecopy string arguments.
16920 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16921 Purecopy string arguments.
16923 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16924 * ediff-hook.el (menu-bar-ediff-menu):
16925 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16926 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16928 2009-10-24 Glenn Morris <rgm@gnu.org>
16930 * comint.el (comint-dynamic-list-completions):
16931 * term.el (term-dynamic-list-completions): Use choose-completion rather
16932 than obsolete alias mouse-choose-completion.
16934 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16935 file-cache-choose-completion.
16936 (file-cache-choose-completion): Handle an optional event argument.
16937 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16939 * progmodes/octave-mod.el (octave-complete-symbol):
16940 Use choose-completion if mouse-choose-completion is ever removed.
16942 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16945 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16948 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16950 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16952 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16953 Ignore `pred' now that we receive one.
16954 Handle test-completion specially.
16956 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16958 * vc.el (vc-responsible-backend): Throw an error if not backend is
16959 found. Remove the REGISTER argument. Move the code dealing with
16961 (vc-get-backend-for-registration): ... here. New function.
16962 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16963 of vc-responsible-backend, pass the file name instead of the
16966 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16968 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16970 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16971 (pcomplete-comint-setup): Don't modify a global var via
16972 accidental side-effects.
16973 (pcomplete-shell-setup): Adjust call accordingly.
16974 (pcomplete-parse-comint-arguments): Use push.
16976 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16978 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16979 Allow uncapitalized info node names (Bug#3921).
16981 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16982 to the DEBUG file (Bug#3781).
16984 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16986 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16987 dictionary entry (Bug#4579).
16989 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16991 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16992 from `rfn-eshadow-update-overlay-hook' when unloading.
16993 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16994 "rsyncc". Adjust doc string.
16995 (tramp-temp-buffer-file-name): New buffer-local defvar.
16996 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16997 Keep temporary file when indicated by method ("rsync" and
16999 (tramp-handle-write-region): Handle APPEND.
17000 (tramp-delete-temp-file-function): New defun. Added to
17001 `kill-buffer-hook'.
17003 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17005 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17007 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17009 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17010 (color-name-rgb-alist, tty-standard-colors)
17011 (tty-color-mode-alist): Change to defconst.
17013 * simple.el (mark-inactive): Purecopy message.
17015 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17016 (global-map, yank-menu):
17017 * textmodes/ispell.el (ispell-menu-map):
17018 * net/eudc.el (eudc-tools-menu):
17019 * international/mule-cmds.el (describe-language-environment-map)
17020 (setup-language-environment-map, set-coding-system-map)
17021 (mule-menu-keymap):
17022 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17023 * replace.el (occur-mode-map):
17024 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17026 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17028 * calc/calc.el (math-read-number, math-read-number-simple):
17029 Use `save-match-data'.
17031 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17033 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17034 rather than fiddling with global-map bindings, since it should only
17035 affect per-terminal settings.
17036 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17038 * minibuffer.el (completion-table-with-terminator): Allow to specify
17039 the terminator-regexp.
17041 * simple.el (switch-to-completions): Look for *Completions* in other
17044 * pcomplete.el: Allow the use of completion-tables.
17045 (pcomplete-std-complete): New command.
17046 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17047 (pcomplete--here): Use a function for `form' rather than an expression,
17048 so it can be byte-compiled.
17049 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17050 Add edebug declaration.
17051 (pcomplete-show-completions): Remove unused var `curbuf'.
17052 (pcomplete-do-complete, pcomplete-stub):
17053 Don't assume `completions' is a list of strings any more.
17055 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17057 * find-dired.el (find-name-arg): Fix typo in docstring.
17059 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17062 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17064 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17067 * comint.el (comint-read-input-ring, comint-write-input-ring)
17068 (comint-substitute-in-file-name)
17069 (comint-dynamic-complete-as-filename)
17070 (comint-dynamic-simple-complete)
17071 (comint-dynamic-list-filename-completions)
17072 (comint-dynamic-list-completions)
17073 (comint-redirect-results-list-from-process): Minor simplifications.
17075 2009-10-21 Kevin Ryde <user42@zip.com.au>
17077 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17078 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17079 the first form. And insert a blank line after ";;; Code" since
17080 that's usual style. (Bug#4612)
17082 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17084 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17086 * minibuffer.el (completion-table-with-terminator): Properly implement
17087 boundaries, in case `terminator' appears in the suffix.
17088 (completion--embedded-envvar-table): Don't return boundaries if
17089 there's no valid completion. Simplify.
17090 (completion-file-name-table): New completion table extracted from
17091 completion--file-name-table.
17092 (completion--file-name-table): Use it.
17093 (read-file-name-predicate): Declare obsolete.
17094 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17095 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17096 completion-file-name-table, and use the `pred' argument.
17097 * files.el (locate-file-completion-table): Use the `pred' arg rather
17098 than read-file-name-predicate.
17099 (abbreviate-file-name): Use \` rather than ^ for BOS.
17101 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17103 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17104 vc-responsible-backend to register, it causes problems.
17106 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17108 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17110 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17112 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17113 (tramp-smb-handle-file-attributes): Use it.
17114 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17115 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17116 `mapcar'. Use `tramp-smb-get-stat-capability'.
17117 Add `dired-filename' text properties.
17118 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17119 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17122 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17124 * subr.el (read-key-delay): Reduce to 0.01.
17125 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17128 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17130 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17132 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17133 (Info-menu): Remove unused vars `last' and `completions'.
17134 (Info-index-nodes): Remove unused var `node'.
17136 * info.el (Info-complete-menu-item): Use complete-with-action.
17138 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17140 Make vc-annotate work through copies and renames.
17141 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17142 Return the file name too.
17143 (vc-annotate-revision-at-line)
17144 (vc-annotate-find-revision-at-line)
17145 (vc-annotate-revision-previous-to-line)
17146 (vc-annotate-show-log-revision-at-line): Update to get the file
17147 name from vc-annotate-extract-revision-at-line.
17148 (vc-annotate-show-diff-revision-at-line-internal): Change the
17149 argument to mean whether to show a file diff or not. Get the file
17150 name from vc-annotate-extract-revision-at-line.
17151 (vc-annotate-show-diff-revision-at-line):
17152 Update vc-annotate-show-diff-revision-at-line call.
17153 (vc-annotate-warp-revision): Add an optional file argument.
17155 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17156 (vc-git-annotate-extract-revision-at-line): Also return the file
17159 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17160 command. Remove unused code.
17161 (vc-hg-annotate-re): Update to match --follow output.
17162 (vc-hg-annotate-extract-revision-at-line): Also return the file
17165 * vc.el: Update annotate-extract-revision-at-line documentation.
17167 2009-10-18 Kevin Ryde <user42@zip.com.au>
17169 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17170 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17172 * net/browse-url.el (browse-url): Identify alist with "consp and
17173 not functionp" and let all other things go down the `apply' leg,
17174 as suggested by Stefan. (Further to bug#4531.)
17176 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17178 * minibuffer.el (read-file-name): Check for repeat before putting
17179 a default argument in file-name-history (Bug#4657).
17181 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17182 read syntax (Bug#4737).
17184 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17186 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17188 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17189 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17190 entries and make note of obsolete tags.
17192 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17194 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17196 2009-10-18 Glenn Morris <rgm@gnu.org>
17198 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17199 grep, so that binary files (eg international/uni-bidi.el) can match.
17200 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17201 now, and in any case the file header format has changed.
17203 2009-10-17 Glenn Morris <rgm@gnu.org>
17205 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17206 (flyspell-get-word, flyspell-large-region)
17207 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17209 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17211 * Makefile.in (ELCFILES): Add ede/shell.
17213 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17215 * term/common-win.el (x-colors): Purecopy it.
17217 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17219 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17220 permissive for when the buffer is empty.
17221 (tar-header-block-tokenize): Decode the username and groupname.
17222 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17224 2009-10-17 Eric Ludlam <zappo@gnu.org>
17226 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17227 contains multibyte characters, choose first applicable coding
17228 system automatically.
17230 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17232 * international/mule-cmds.el (select-safe-coding-system): If the file
17233 has a coding cookie, use it regardless of any other setting (bug#4712).
17235 2009-10-17 Glenn Morris <rgm@gnu.org>
17237 * foldout.el (foldout-mouse-swallow-events):
17238 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17240 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17241 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17242 (dired-keep-marker-symlink, dired-dwim-target)
17243 (dired-copy-preserve-time): Do not autoload these defcustoms.
17245 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17246 messages from messing up the file coding. (Bug#4623)
17248 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17250 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17251 if no match is found for the current dictionary. (Bug#4578)
17253 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17254 optional, since that is how it is documented, and this is often called
17255 with a nil argument. (Bug#4577)
17256 (flyspell-external-point-words, flyspell-auto-correct-word)
17257 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17258 (flyspell-word-search-backward): Remove nil argument in calls to
17259 flyspell-get-word, since it is not needed now.
17261 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17263 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17265 2009-10-16 Glenn Morris <rgm@gnu.org>
17267 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17269 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17271 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17272 (ange-ftp-file-size): New function.
17273 (ange-ftp-file-attributes): Use it.
17275 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17277 * net/tramp-smb.el (tramp-smb-version): New defvar.
17278 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17281 2009-10-16 Glenn Morris <rgm@gnu.org>
17283 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17284 Maybe copy some custom properties from old to new name. (Bug#4706)
17286 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17288 * subr.el (error, sit-for, start-process-shell-command)
17289 (start-file-process-shell-command): Set the calling convention
17290 after the function definition.
17292 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * subr.el (error, sit-for, start-process-shell-command)
17295 (start-file-process-shell-command): Use the new
17296 set-advertised-calling-convention feature.
17298 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17300 * international/ucs-normalize.el (ucs-normalize-version):
17302 (check-range): Adjust for Unicode 5.2.
17304 2009-10-15 Juri Linkov <juri@jurta.org>
17306 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17307 to the `menu-item' format.
17309 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17311 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17312 if the environment variable does not exist.
17314 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17315 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17317 (tramp-smb-handle-add-name-to-file)
17318 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17319 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17320 (tramp-smb-handle-file-attributes)
17321 (tramp-smb-do-file-attributes-with-stat)
17322 (tramp-smb-handle-file-local-copy)
17323 (tramp-smb-handle-insert-directory)
17324 (tramp-smb-handle-make-directory)
17325 (tramp-smb-handle-make-directory-internal)
17326 (tramp-smb-handle-make-symbolic-link)
17327 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17328 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17329 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17330 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17331 Handle long file names.
17332 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17333 process is running.
17334 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17335 Read share names with "-g" option.
17337 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17339 * net/rcirc.el (rcirc-view-log-file): New command.
17340 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17341 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17344 2009-10-15 Glenn Morris <rgm@gnu.org>
17346 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17347 from the second command-line argument.
17348 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17349 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17350 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17351 w32-batch-update-autoloads.
17352 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17353 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17355 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17356 the headers cannot be located. Simplify, subtracting superflous
17359 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17361 Replace completion-base-size by completion-base-position to fix bugs
17362 such as (bug#4699).
17363 * simple.el (completion-base-position): New var.
17364 (completion-base-size): Mark as obsolete.
17365 (choose-completion): Make it work for mouse events as well.
17366 Pass the new base-position to choose-completion-string.
17367 (choose-completion-guess-base-position): New function, extracted from
17368 choose-completion-delete-max-match.
17369 (choose-completion-delete-max-match): Use it. Make obsolete.
17370 (choose-completion-string): Use the new base-position info.
17371 (completion-root-regexp): Delete.
17372 (completion-setup-function): Preserve completion-base-position.
17373 Eliminate obsolete base-size manipulation.
17374 * minibuffer.el (display-completion-list): Don't mess with base-size.
17375 (minibuffer-completion-help): Set completion-base-position instead.
17376 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17378 * textmodes/bibtex.el (bibtex-complete):
17379 * emacs-lisp/crm.el (crm--choose-completion-string):
17380 Adjust to new calling convention.
17381 * complete.el (partial-completion-mode): Use minibufferp to avoid
17382 bumping into incompatible change to choose-completion-string-functions.
17383 * ido.el (ido-choose-completion-string): Make its calling convention
17385 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17386 base-size manipulation.
17387 (comint-dynamic-list-input-ring): Use dotimes and push.
17388 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17389 fundamental-mode. Use `or'.
17391 2009-10-14 Juri Linkov <juri@jurta.org>
17393 * misearch.el (multi-isearch-next-buffer-from-list)
17394 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17396 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17401 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17402 string we return is all made up of text from the completions rather
17403 than part from the completions and part from the input (bug#4219).
17405 * ido.el (ido-everywhere): Use define-minor-mode.
17407 * buff-menu.el (list-buffers, ctl-x-map):
17408 Mark the entry points with ;;;###autoload cookies.
17410 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17412 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17413 correctly in the detached head case.
17414 (vc-git-print-log): Remove unused binding.
17416 * vc.el (vc-responsible-backend): When a directory is passed for
17417 for registration create a VC repository if no backend is
17418 responsible for the directory argument.
17419 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17421 * vc.el: Move comments about RCS and SCCS ...
17423 * vc-sccs.el: ... here, respectively.
17425 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17427 * minibuffer.el (completion--file-name-table): Return nil if there's
17428 no file completion, even if substitute-in-file-name changed
17429 the string (bug#4708).
17431 2009-10-13 Juri Linkov <juri@jurta.org>
17433 * files-x.el (read-file-local-variable-value): Don't filter out
17434 minor modes from mode name completion (bug#4664).
17436 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17438 * international/mule-cmds.el (ucs-names): Remove exclusion of
17439 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17441 2009-10-13 Kenichi Handa <handa@m17n.org>
17443 * international/uni-name.el: Regenerated.
17445 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17447 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17448 should be automatically buffer-local, but isn't.)
17450 2009-10-12 Sam Steingold <sds@gnu.org>
17452 * progmodes/compile.el (compilation-next-error-function): Fix the
17453 timestamps if the buffer has been visited before.
17454 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17455 non-anchored patterns, like the perl one (bug#3928).
17457 2009-10-12 Glenn Morris <rgm@gnu.org>
17459 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17462 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17464 * proced.el (proced-unload-function): New function.
17466 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17467 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17470 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17472 2009-10-11 Juri Linkov <juri@jurta.org>
17474 * files-x.el (read-file-local-variable-value):
17475 Provide default value only for bound variables (bug#4664).
17477 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17479 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17480 connection methods like smb.
17482 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17485 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17486 (tramp-smb-file-name-handler-alist): Add handlers for
17487 `add-name-to-file', `make-symbolic-link'.
17488 (tramp-smb-handle-add-name-to-file)
17489 (tramp-smb-do-file-attributes-with-stat)
17490 (tramp-smb-handle-make-symbolic-link)
17491 (tramp-smb-get-cifs-capabilities): New defuns.
17492 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17493 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17494 (tramp-smb-handle-file-local-copy)
17495 (tramp-smb-handle-make-directory-internal)
17496 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17497 The file name syntax depends on cifs capabilities.
17498 (tramp-smb-handle-file-attributes):
17499 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17500 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17501 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17503 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17505 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17506 (eieio-defclass): Apply deftype handler and setf-method properties
17508 (eieio-add-new-slot): Avoid union function from cl library.
17509 (eieio--typep): New function.
17510 (eieio-perform-slot-validation): Use it.
17512 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17514 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17515 Update documentation to refer to the variables documented in r1.135.
17518 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17520 * bookmark.el (Info-suffix-list): Remove this unused variable.
17521 (bookmark-current-point): Remove this obsolete variable.
17522 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17523 Adjust for removal of bookmark-current-point.
17525 (bookmarks-already-loaded, bookmark-current-buffer)
17526 (bookmark-yank-point): Document. (Bug#4188)
17528 2009-10-10 Glenn Morris <rgm@gnu.org>
17530 * frame.el (frame-height): Doc fix.
17532 * calendar/calendar.el (calendar-split-width-threshold): New option.
17533 (calendar-basic-setup): Use calendar-split-width-threshold.
17535 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17537 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17538 Ideographic Supplement" range (U+1F200..U+1F2FF).
17540 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17542 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17543 since the list will have been rebuilt anyway. (Bug#4349)
17545 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17547 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17548 (bookmark-bmenu-execute-deletions): Don't save here, as
17549 bookmark-delete will now do so if necessary.
17550 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17553 2009-10-09 Glenn Morris <rgm@gnu.org>
17555 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17557 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17559 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17560 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17561 argument now, so the two function's behaviors will match. (Bug#3645)
17563 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17565 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17566 (tramp-file-name-real-host, tramp-file-name-port):
17567 Apply `save-match-data'.
17569 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17570 case both directories are remote.
17571 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17572 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17574 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17576 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17578 2009-10-07 Glenn Morris <rgm@gnu.org>
17580 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17583 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17585 * files-x.el (read-file-local-variable): Include some
17586 non-user-variables in the completion table (bug#4664).
17588 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17590 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17593 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17594 (tramp-smb-file-name-handler-alist): Add handler for
17595 `copy-directory', `expand-file-name', `set-file-modes'.
17596 (tramp-smb-handle-copy-directory)
17597 (tramp-smb-handle-expand-file-name)
17598 (tramp-smb-handle-set-file-modes): New defuns.
17599 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17600 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17602 (tramp-smb-handle-insert-directory): Don't flush the cache.
17603 (tramp-smb-maybe-open-connection): Check for samba client and
17606 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17608 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17609 to not error out of search for "^lisp=" fails.
17611 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17613 * makefile.w32-in (WINS_UPDATES): New macro.
17614 (custom-deps, finder-data, autoloads): Use it.
17616 2009-10-07 Glenn Morris <rgm@gnu.org>
17618 * Makefile.in (autoloads): Revert previous change.
17619 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17620 the list of preloaded files passed on the command-line, get
17621 it from src/Makefile.
17623 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17624 show the original buffer rather than a random one.
17626 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17628 * help.el (describe-no-warranty): Place point in a slightly better
17629 position in the GPLv3 text.
17631 2009-10-06 Sam Steingold <sds@gnu.org>
17633 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17634 the comm attribute is present before calling regexp-quote.
17636 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17638 * play/animate.el (animate-string): For good effect, make sure
17639 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17641 * play/animate.el (animate-sequence, animate-birthday-present):
17642 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17644 2009-10-06 Glenn Morris <rgm@gnu.org>
17646 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17648 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17649 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17650 (batch-update-autoloads): Process a string value of autoload-excludes,
17651 set during the build process.
17652 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17654 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17655 inside with-parsed... macro so that `v' is defined.
17657 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17658 * progmodes/fortran.el (fortran-end-of-block)
17659 (fortran-beginning-of-block):
17660 Also push mark in the macro case.
17662 * emerge.el (emerge-show-file-name):
17663 * calc/calc.el (calc-quit):
17664 * calc/calc-misc.el (calc-big-or-small):
17665 * calc/calc-graph.el (calc-graph-view):
17666 * calc/calc-ext.el (calc-reset):
17667 * calendar/calendar.el (calendar-basic-setup):
17668 Use window-full-height-p.
17670 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17671 header we don't understand, don't insert another. (Bug#4624)
17672 If changing mime charset, insert the new one in the right place.
17674 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17676 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17677 (cal-tex-cursor-month): Correctly increment the end date for diary and
17678 holiday listing. (Bug#4626)
17680 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * help-fns.el (describe-function-1): Don't burp if the function is not
17685 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17687 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17688 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17689 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17690 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17692 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17693 (eieio-default-superclass): Reflow docstrings.
17694 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17695 (eieio-unbind-method-implementations, defmethod)
17696 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17697 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17698 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17699 (eieio-slot-originating-class-p, eieio-slot-name-index)
17700 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17701 (constructor, initialize-instance, no-next-method, object-print)
17702 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17703 Fix typos in docstrings.
17704 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17705 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17706 (next-method-p): Doc fixes.
17707 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17708 Fix typos in error messages.
17709 (eieio-defmethod): Fix typo in description of generic method.
17711 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17712 (eieio-persistent-save-interactive, slot-missing):
17713 Fix typos in docstrings.
17714 (eieio-instance-inheritor-slot-boundp): Doc fix.
17716 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17717 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17719 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17720 (eieio-custom-object-apply-reset):
17721 Fix typos in docstrings and error messages.
17723 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17724 Fix typo in docstring.
17726 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17727 (eieio-browse-tree): Doc fix.
17728 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17729 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17730 Fix typos in docstrings.
17732 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17733 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17734 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17735 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17738 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17740 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17741 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17742 Set log-view-vc-backend so that diff can work.
17744 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17746 (vc-diff-internal): Autoload this instead of vc-version-diff.
17748 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17750 * simple.el (eval-expression): Doc fix.
17752 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17754 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17756 * files.el (directory-files-no-dot-files-regexp): New defconst.
17757 (delete-directory): Use it.
17758 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17760 * net/tramp.el (tramp-verbose): Fix docstring.
17761 (tramp-methods): Add recursive option to `tramp-copy-args'.
17762 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17763 "scp1_old", "scp2_old", "rsync", "rsyncc".
17764 (tramp-default-method): Check also for `auth-source-user-or-password'.
17765 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17766 Add handler for `copy-directory'.
17767 (tramp-handle-copy-directory): New defun.
17768 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17769 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17770 Optimize sent command.
17772 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17774 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17775 window if necessary.
17777 * calendar/calendar.el (calendar-basic-setup): Don't call
17778 switch-to-buffer in a dedicated window.
17780 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17782 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17783 don't do anything related to relocating, just return nil.
17784 (bookmark-error-no-filename): New error.
17785 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17786 bookmark has no file. Don't even attempt to handle things that
17787 are not files; the whole point of custom handlers is to keep that
17788 knowledge elsewhere anyway. Tighten some comments.
17789 (bookmark-file-or-variation-thereof): Remove now-unused function.
17790 (bookmark-location): Doc string fix.
17793 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17795 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17796 don't use a file dialog, because they usually don't know how to read
17797 a directory target from the user. (Bug#4230)
17798 Also, make sure the prompt can display directories as well as files.
17800 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17802 * bookmark.el (bookmark-set, bookmark-buffer-name):
17803 Improve doc strings. (Bug#1193)
17805 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17807 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17808 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17809 (bookmark-get-annotation, bookmark-set-annotation)
17810 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17811 (bookmark-set-position, bookmark-get-front-context-string)
17812 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17813 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17814 (bookmark-jump-other-window, bookmark-handle-bookmark)
17815 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17816 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17817 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17818 Improve doc strings to say whether bookmark can be a string or
17819 a record or both, and make other consistency and clarity fixes.
17820 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17821 (bookmark-default-annotation-text, bookmark-yank-word)
17822 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17823 (bookmark-import-new-list, bookmark-maybe-rename)
17824 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17825 (bookmark-bmenu-bookmark): Give these doc strings.
17826 (bookmark-bmenu-check-position): Give this a doc string, but also
17827 add a FIXME comment about how the function may be pointless.
17828 (bookmark-default-handler): Rework doc string and change a
17829 parameter name, to clarify that this takes a bookmark record
17830 not a bookmark name.
17831 (bookmark-set): Change a parameter name to indicate its meaning,
17832 and improve the doc string a bit.
17835 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17837 * bookmark.el (bookmark-alist): Document the new `handler' element
17838 in the param alist.
17839 (bookmark-make-record-function): Adjust documentation for above.
17842 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17844 * info.el (Info-bookmark-make-record): Document this function.
17845 (Info-bookmark-jump): Document with a doc string, not just a comment.
17848 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17850 * files.el (copy-directory): New defun.
17852 * dired-aux.el (dired-copy-file-recursive): Use it.
17854 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17856 * files-x.el (modify-dir-local-variable)
17857 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17860 * recentf.el (recentf-unload-function): New function.
17862 2009-10-04 Glenn Morris <rgm@gnu.org>
17864 * window.el (window-full-height-p): Add doc string.
17866 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17868 * window.el (window-full-height-p): New function. (Bug#4543)
17870 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17872 * vc.el: Remove commented out code.
17873 (vc-derived-from-dir-mode): Remove, unused.
17874 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17876 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17878 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17879 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17880 there could be recursive loading when `default-directory' is a
17881 remote file name. (Bug#4614)
17883 2009-10-03 Glenn Morris <rgm@gnu.org>
17885 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17887 (calendar-generate-window): Test for shrinkability rather than width.
17889 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17890 reusing existing buffers, in case we happen to visit two files with the
17891 same basename. (Bug#4593)
17893 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17895 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17896 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17897 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17898 subdirs of cedet as well.
17899 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17901 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17903 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17904 Obey advertised-signature-table.
17906 * help-fns.el (help-function-arglist): Don't check
17907 advertised-signature-table.
17908 (describe-function-1): Do it here instead so it also applies to subrs.
17910 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17912 * simple.el (start-file-process): Say in the doc-string, that file
17913 handlers might not support pty association, if PROGRAM is nil.
17915 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17916 HOST and USER are strings. They are nil, when there are
17917 incomplete entries in ~/.netrc, for example.
17918 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17919 root directory ("device busy" error otherwise).
17921 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17922 Flush file properties of created directory.
17924 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17926 * makefile.w32-in (WINS_BASIC): Remove cedet.
17927 (WINS_CEDET): Add cedet.
17928 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17930 2009-10-02 Kevin Ryde <user42@zip.com.au>
17932 * net/browse-url.el (browse-url): Pass any symbol in
17933 browse-url-browser-function to `apply', since if you've mistakenly put
17934 an unbound symbol then the error is clearer. (Bug#4531)
17936 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17938 * allout.el (allout-init, allout-back-to-current-heading)
17939 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17940 (allout-ascend, allout-up-current-level, allout-end-of-level)
17941 (allout-previous-visible-heading, allout-forward-current-level)
17942 (allout-backward-current-level, allout-show-children):
17943 * apropos.el (apropos-describe-plist):
17944 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17945 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17946 * completion.el (add-completion, add-permanent-completion):
17947 * descr-text.el (describe-text-category, describe-char):
17948 * desktop.el (desktop-lazy-abort):
17949 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17950 * dired.el (dired-build-subdir-alist):
17951 * ediff.el (ediff-version):
17952 * elide-head.el (elide-head, elide-head-show):
17953 * emerge.el (emerge-version):
17955 * face-remap.el (variable-pitch-mode):
17956 * faces.el (describe-face):
17957 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17959 * files.el (find-file-existing, auto-save-mode):
17960 * font-lock.el (font-lock-fontify-buffer):
17961 * help-fns.el (describe-function, describe-variable)
17962 (describe-syntax, describe-categories):
17963 * help.el (view-lossage, describe-bindings, describe-key)
17965 * hexl.el (hexl-current-address):
17966 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17967 * info.el (Info-goto-emacs-key-command-node):
17968 * log-edit.el (log-edit-insert-cvs-template)
17969 (log-edit-insert-cvs-rcstemplate):
17970 * menu-bar.el (menu-bar-mode):
17971 * mouse.el (mouse-appearance-menu):
17972 * newcomment.el (comment-indent-new-line):
17973 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17974 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17975 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17976 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17977 * recentf.el (recentf-mode):
17978 * savehist.el (savehist-mode, savehist-save):
17979 * shadowfile.el (shadow-copy-files):
17980 * simple.el (kill-ring-save, next-line, previous-line)
17981 (normal-erase-is-backspace-mode):
17982 * strokes.el (strokes-update-window-configuration)
17983 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17984 (strokes-xpm-for-stroke):
17985 * time.el (emacs-uptime, emacs-init-time):
17986 * tutorial.el (tutorial--describe-nonstandard-key)
17987 (tutorial--detailed-help):
17988 * type-break.el (type-break-mode)
17989 (type-break-mode-line-message-mode, type-break-query-mode)
17990 (type-break-guesstimate-keystroke-threshold):
17991 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17992 * version.el (emacs-version):
17993 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17994 * winner.el (winner-mode):
17995 * calendar/timeclock.el (timeclock-in, timeclock-out)
17996 (timeclock-status-string, timeclock-change)
17997 (timeclock-workday-remaining-string)
17998 (timeclock-workday-elapsed-string)
17999 (timeclock-when-to-leave-string):
18000 * calendar/todo-mode.el (todo-add-category):
18001 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18002 * emacs-lisp/autoload.el (update-file-autoloads):
18003 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18004 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18005 (checkdoc-message-text, checkdoc-defun):
18006 * emacs-lisp/debug.el (debugger-list-functions):
18007 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18008 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18009 (eieio-describe-generic):
18010 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18011 * emacs-lisp/shadow.el (list-load-path-shadows):
18012 * emulation/cua-base.el (cua-mode):
18013 * emulation/edt.el (edt-set-scroll-margins):
18014 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18015 (tpu-toggle-regexp, tpu-toggle-search-direction)
18016 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18017 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18018 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18019 (viper-set-parsing-style-toggling-macro)
18020 (viper-set-emacs-state-searchstyle-macros):
18021 * emulation/viper.el (viper-set-hooks):
18022 * eshell/esh-mode.el (eshell-truncate-buffer):
18023 * international/mule-cmds.el (prefer-coding-system)
18024 (describe-input-method, describe-language-environment):
18025 * international/mule-diag.el (list-character-sets)
18026 (describe-character-set, describe-coding-system)
18027 (describe-fontset, list-fontsets, list-input-methods):
18028 * mail/sendmail.el (mail-signature):
18029 * net/ange-ftp.el (ange-ftp-copy-file):
18030 * net/browse-url.el (browse-url):
18031 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18032 * net/quickurl.el (quickurl-add-url):
18033 * net/rcirc.el (names, topic):
18034 * net/xesam.el (xesam-mode):
18035 * play/5x5.el (5x5-new-game):
18036 * play/yow.el (apropos-zippy):
18037 * progmodes/ada-mode.el (ada-mode-version):
18038 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18040 (f90-beginning-of-block):
18041 * progmodes/fortran.el (fortran-end-of-block)
18042 (fortran-beginning-of-block):
18043 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18044 * progmodes/python.el (python-describe-symbol, python-shell):
18045 * term/ns-win.el (ns-print-buffer):
18046 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18047 * textmodes/flyspell.el (flyspell-mode-on):
18048 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18049 (pages-directory-for-addresses):
18050 * textmodes/table.el (table-recognize-cell)
18051 (table-query-dimension, table-generate-source)
18052 (table-insert-sequence, table--warn-incompatibility):
18053 * textmodes/tex-mode.el (tex-validate-buffer):
18054 * textmodes/texinfmt.el (texinfmt-version)
18055 (texinfo-format-buffer):
18056 Use `called-interactively-p' instead of `interactive-p'.
18058 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18060 * image-mode.el (image-toggle-display):
18061 * emacs-lisp/elp.el (elp-instrument-function):
18062 * emacs-lisp/advice.el (ad-make-advised-definition):
18063 * emacs-lisp/easy-mmode.el (define-minor-mode):
18064 * net/browse-url.el (browse-url-maybe-new-window):
18065 * progmodes/sh-script.el (sh-learn-buffer-indent):
18066 Pass new argument 'any to `called-interactively-p'.
18068 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18070 * international/uni-bidi.el:
18071 * international/uni-category.el:
18072 * international/uni-combining.el:
18073 * international/uni-comment.el:
18074 * international/uni-decimal.el:
18075 * international/uni-decomposition.el:
18076 * international/uni-digit.el:
18077 * international/uni-lowercase.el:
18078 * international/uni-mirrored.el:
18079 * international/uni-name.el:
18080 * international/uni-numeric.el:
18081 * international/uni-old-name.el:
18082 * international/uni-titlecase.el:
18083 * international/uni-uppercase.el:
18084 Regenerate from Unicode 5.2.0 data.
18086 2009-10-01 Glenn Morris <rgm@gnu.org>
18088 * Makefile.in (ELCFILES): Regenerate.
18090 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18092 * subr.el (interactive-p): Mark obsolete.
18093 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18094 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18095 advertised-signature-table for subroutines as well.
18097 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18098 (set-advertised-calling-convention): New function.
18099 (make-obsolete, define-obsolete-function-alias)
18100 (make-obsolete-variable, define-obsolete-variable-alias):
18101 Make the optional-ness of `when' obsolete.
18102 (define-obsolete-face-alias): Make `when' non-optional.
18103 * help-fns.el (help-function-arglist):
18104 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18105 Use advertised-signature-table.
18107 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18109 * files.el (delete-directory): New defun. The original function
18110 in fileio.c has been renamed to `delete-directory-internal'.
18112 * dired.el (dired-delete-file): Call `delete-directory' with
18113 RECURSIVE parameter.
18115 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18116 parameter RECURSIVE. Implementation is missing.
18118 * net/tramp.el (tramp-handle-make-directory): Flush upper
18119 directory's file properties.
18120 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18121 (tramp-handle-dired-recursive-delete-directory): Flush directory
18122 properties after the remove command only.
18124 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18125 Handle optional parameter RECURSIVE.
18127 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18128 Handle optional parameter RECURSIVE.
18130 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18131 connection timeout.
18132 (tramp-smb-handle-delete-directory): Handle optional parameter
18135 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18137 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18138 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18139 (byte-compile-defmacro): Use backquotes.
18141 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18143 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18144 has no associated file.
18145 (vc-resynch-buffer): Use vc-dir-buffers.
18147 2009-10-01 Glenn Morris <rgm@gnu.org>
18149 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18150 (chart-file-count):
18151 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18152 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18153 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18154 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18155 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18156 (eieio-copy-parents-into-subclass, make-instance, class-children)
18157 (eieio-generic-form):
18159 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18160 match-data. (Bug#4555).
18162 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18163 rather than parsing it as a regexp. This relaxes the layout
18164 requirements and makes errors easier to detect.
18165 (check-declare-verify): Check file is regular.
18166 (check-declare-directory): Doc fix.
18167 * subr.el (declare-function): Doc fix.
18169 * ibuffer.el (ibuffer-format-qualifier):
18170 * isearch.el (hi-lock-regexp-okay):
18171 * calc/calc.el (math-zerop):
18172 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18173 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18174 Remove unused declarations.
18176 2009-09-30 Eric Ludlam <zappo@gnu.org>
18178 * emacs-lisp/eieio.el (boolean-p): Delete.
18180 2009-09-30 Glenn Morris <rgm@gnu.org>
18182 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18184 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18185 filename is not a string.
18187 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18189 * files.el (safe-local-eval-forms): Fix typo.
18191 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18193 * vc-hooks.el (vc-dir-buffers): New var.
18194 (vc-state-refresh): New function.
18195 (vc-state): Use it.
18196 (vc-after-save): Always ask the backend to recompute the new state.
18197 Always call vc-dir if necessary, using vc-dir-buffers.
18198 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18199 Use vc-dir-buffers.
18200 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18201 (vc-dir-prepare-status-buffer, vc-dir-update)
18202 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18203 Don't call expand-file-name on default-directory.
18205 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18207 * speedbar.el (speedbar-item-delete):
18208 * calc/calc-prog.el (calc-kbd-if):
18209 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18211 * epa.el (epa-key-list-mode-map):
18212 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18214 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18215 (hs-show-hook): Fix typo in docstring.
18217 2009-09-29 Glenn Morris <rgm@gnu.org>
18219 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18220 file-name-nondirectory call preventing location of cedet files.
18221 (check-declare-verify): Use literal search rather than re-search.
18222 Add basic defmethod and defclass, and define-overloadable-function.
18224 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18225 Use tramp-compat-file-attributes rather than nonexistent
18226 tramp-compat-handle-file-attributes.
18228 * Makefile.in (lisptagsfiles4): New.
18229 (AUTOGENEL): Add cedet loaddefs files.
18230 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18231 (update-elclist, compile-always, backup-compiled-files)
18232 (bootstrap-clean): Add yet another directory level.
18233 (update-elclist): Use LC_COLLATE rather than COLLATE.
18234 (ELCFILES): Update, via `make update-elclist'.
18236 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18238 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18239 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18240 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18242 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18244 * Makefile.in (lisptagsfiles3): Define.
18245 (TAGS, TAGS-LISP): Use it.
18246 (update-elclist): Add third directory level to look for elc files.
18247 (compile-always): Likewise.
18248 (backup-compiled-files): Likewise.
18249 (bootstrap-clean): Likewise.
18250 (ELCFILES): Update.
18252 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18254 * Makefile.in (ELCFILES): Add CEDET files.
18256 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18258 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18260 * net/tramp.el (top): Require tramp-imap.
18262 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18263 Use `tramp-compat-handle-file-attributes'.
18265 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18267 * net/tramp-imap.el: New package.
18269 2009-09-28 Eric Ludlam <zappo@gnu.org>
18271 * emacs-lisp/chart.el:
18272 * emacs-lisp/eieio-base.el:
18273 * emacs-lisp/eieio-comp.el:
18274 * emacs-lisp/eieio-custom.el:
18275 * emacs-lisp/eieio-datadebug.el:
18276 * emacs-lisp/eieio-opt.el:
18277 * emacs-lisp/eieio-speedbar.el:
18278 * emacs-lisp/eieio.el: New files.
18280 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18282 * whitespace.el (whitespace-trailing-regexp)
18283 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18286 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18288 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18291 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18292 menu-bar-ediff-menu.
18294 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18295 define-overloadable-function.
18297 * progmodes/autoconf.el: Provide autoconf as well, so that this
18298 file can be `require'd.
18300 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18302 * emacs-lisp/autoload.el (generated-autoload-feature)
18303 (generated-autoload-load-name): New vars.
18304 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18305 (make-autoload): Recognize define-overloadable-function and
18306 defclass forms (for EIEIO).
18308 * Makefile.in (update-subdirs): Exclude cedet directory.
18310 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18312 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18314 * faces.el: Default light-background background for region face to
18315 ns_selection_color under NS.
18317 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18319 * net/imap-hash.el: New library, see NEWS.
18321 * Makefile.in (ELCFILES): Add imap-hash.el.
18323 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18325 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18326 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18327 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18328 definition where the docstring could be taken for the return value.
18330 2009-09-26 Glenn Morris <rgm@gnu.org>
18332 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18333 Add option to only show images below a certain size.
18334 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18335 save-excursion calls.
18337 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18339 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18340 subdirectories) and eieio.
18342 2009-09-26 Alan Mackenzie <acm@muc.de>
18344 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18345 Correct buggy bracketing. (Bug#4289)
18347 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18348 character constants (as case labels). (Bug#4289)
18350 2009-09-25 Juri Linkov <juri@jurta.org>
18352 * files.el (safe-local-eval-forms): Allow time-stamp in
18353 before-save-hook (Bug#4554).
18355 2009-09-25 Drew Adams <drew.adams@oracle.com>
18357 * menu-bar.el (list-buffers-directory): Doc fix.
18359 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18361 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18362 Try and avoid copying twice the same paragraph.
18363 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18364 Remove save-excursion.
18365 (log-edit-changelog-entry): Do it here instead.
18367 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18369 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18370 when available, instead of hardcoding mode names. Doc fix.
18372 * menu-bar.el (list-buffers-directory): Add docstring.
18373 Make automatically buffer-local.
18375 * dired.el (dired-mode):
18376 * files.el (cd-absolute):
18377 * pcvs.el (cvs-temp-buffer):
18378 * pcvs-util.el (cvs-get-buffer-create):
18379 * shell.el (shell-mode):
18380 * vc-dir.el (vc-dir-mode):
18381 Don't make `list-buffers-directory' buffer local.
18383 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18385 * comint.el (comint-exec, comint-run, make-comint):
18386 Doc fixes (Bug#4542).
18388 2009-09-25 Glenn Morris <rgm@gnu.org>
18390 * mail/rmailmm.el (rmail-mime): New custom group.
18391 Move all defcustoms in this file into this group.
18392 (rmail-mime-media-type-handlers-alist): Revert previous change.
18393 (rmail-mime-show-images): New option.
18394 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18395 references to it, since it wasn't actually used for anything.
18396 (rmail-mime-insert-image): New function.
18397 (rmail-mime-image): Use rmail-mime-insert-image.
18398 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18399 obey the value of `rmail-mime-show-images' option. Print the size of
18402 2009-09-25 David Engster <deng@randomsample.de>
18404 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18406 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18408 * whitespace.el: Does not highlight trailing spaces While point is
18409 at end of line. Does not highligt spaces at beginning of buffer
18410 while point is at beginning of buffer. Does not highlight spaces
18411 at end of buffer while point is at end of buffer. (Bug#4177)
18413 (whitespace-display-mappings): Adjust initialization.
18414 (whitespace-point, whitespace-font-lock-refontify): New vars.
18415 (whitespace-color-on, whitespace-color-off): Adjust code.
18416 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18417 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18418 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18420 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18422 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18424 * textmodes/sgml-mode.el: Remove xml-mode alias.
18426 * files.el (auto-mode-alist, conf-mode-maybe)
18427 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18429 2009-09-24 Alan Mackenzie <acm@muc.de>
18431 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18432 c-forward-conditionals, but it doesn't move point and doesn't set
18434 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18435 (c-down-conditional-with-else, c-backward-conditional)
18436 (c-forward-conditional): Refactor to use c-scan-conditionals.
18438 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18440 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18441 (help-default-arg-highlight): Remove.
18442 (help-highlight-arg): New function.
18443 (help-do-arg-highlight): Use it.
18444 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18446 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18448 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18449 Undo last change, which didn't fix the problem and introduced others.
18451 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18453 * progmodes/gdb-mi.el: Don't require speedbar.
18454 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18456 2009-09-24 Glenn Morris <rgm@gnu.org>
18458 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18460 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18462 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18463 there is no newline after the final mime boundary. (Bug#4539)
18464 Move markers on insertion so that any buttons inserted don't end up in
18465 the next part of a multipart message.
18466 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18467 (rmail-mime-bulk-handler): Optionally handle images.
18468 (rmail-mime-image): New button action.
18469 (rmail-mime-image-handler): New function.
18470 (rmail-mime-mode): New mode.
18471 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18473 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18475 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18476 than just dropping elements from it (bug#4504).
18478 * term.el (term-set-scroll-region): Don't move cursor any more.
18479 (term-handle-ansi-escape): Call term-goto here instead.
18480 Suggested by Ivan Kanis <apple@kanis.eu>.
18482 * term.el: Require CL.
18483 (term-ansi-reset): New function.
18484 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18485 (term-handle-colors-array): Simplify.
18487 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18489 * allout.el (allout-overlay-interior-modification-handler)
18490 (allout-obtain-passphrase):
18491 * epa-file.el (epa-file-write-region):
18492 * ps-print.el (ps-begin-job):
18493 * vc-hooks.el (vc-toggle-read-only):
18494 * vc-rcs.el (vc-rcs-rollback):
18495 * vc-sccs.el (vc-sccs-rollback):
18496 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18497 (vc-version-diff, vc-revert, vc-rollback):
18498 * wdired.el (wdired-check-kill-buffer):
18499 * emacs-lisp/authors.el (authors):
18500 * net/socks.el (socks-open-connection):
18501 * net/zeroconf.el (zeroconf-service-add-hook):
18502 * obsolete/vc-mcvs.el (vc-mcvs-register):
18503 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18504 (gdb-select-frame):
18505 * progmodes/grep.el (lgrep, rgrep):
18506 * progmodes/idlw-help.el (idlwave-help-check-locations)
18507 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18508 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18509 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18510 (reftex-toc-rename-label): Fix typos in error messages.
18512 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18513 (dired-copy-how-to-fn): Doc fix.
18514 (dired-files-attributes, dired-read-shell-command):
18515 Fix typos in docstrings.
18517 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18518 (dired-x-find-file-other-window): Reflow docstrings.
18519 (dired-omit-marker-char, dired-read-shell-command)
18520 (dired-x-submit-report): Fix typos in docstrings.
18522 * shell.el (shell-mode-hook):
18523 * view.el (View-scroll-line-forward):
18524 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18525 Fix typos in docstrings.
18527 * net/dig.el (dig-invoke): Fix typo in docstring.
18528 (query-dig): Reflow docstring.
18530 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18531 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18532 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18533 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18534 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18535 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18536 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18537 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18538 (idlwave-completion-map, idlwave-current-indent)
18539 (idlwave-custom-ampersand-surround, idlwave-customize)
18540 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18541 (idlwave-define-abbrev, idlwave-determine-class-special)
18542 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18543 (idlwave-end-block-reg, idlwave-end-of-statement)
18544 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18545 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18546 (idlwave-explicit-class-listed, idlwave-file-header)
18547 (idlwave-fill-paragraph, idlwave-find-class-definition)
18548 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18549 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18550 (idlwave-in-quote, idlwave-indent-action-table)
18551 (idlwave-indent-expand-table, idlwave-indent-line)
18552 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18553 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18554 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18555 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18556 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18557 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18558 (idlwave-outlawed-buffers, idlwave-popup-select)
18559 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18560 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18561 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18562 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18563 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18564 (idlwave-statement-type, idlwave-struct-skip)
18565 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18566 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18567 (idlwave-what-module-find-class): Fix typos in docstrings.
18568 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18569 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18570 (idlwave-find-module, idlwave-find-structure-definition)
18571 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18572 (idlwave-list-load-path-shadows, idlwave-next-statement)
18573 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18574 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18575 (idlwave-template): Reflow docstrings.
18577 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18578 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18579 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18580 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18581 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18582 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18583 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18584 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18585 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18586 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18587 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18588 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18589 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18590 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18591 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18592 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18593 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18594 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18595 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18596 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18597 Fix typos in docstrings.
18598 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18599 (idlwave-shell-hide-output, idlwave-shell-mode)
18600 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18603 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18605 2009-09-24 Ivan Kanis <apple@kanis.eu>
18607 * term.el (term-bold-attribute): New var.
18608 (term-handle-colors-array): Use it.
18610 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18612 * progmodes/gdb-mi.el (gdb-version): New variable.
18613 (gdb-non-stop-handler): Set gdb-version.
18614 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18615 Condition "--thread" option on gdb-version.
18616 (gdb-invalidate-threads): Remove unused argument.
18618 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18620 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18621 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18623 2009-09-23 Glenn Morris <rgm@gnu.org>
18625 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18626 replying to mail without References or Message-Id. (Bug#4525)
18628 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18630 * term/ns-win.el (ns-reg-to-script): New variable.
18632 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18634 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18636 2009-09-22 Sam Steingold <sds@gnu.org>
18638 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18639 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18640 to 1 because hg returns status 1 when nothing is found.
18641 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18643 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18645 * textmodes/fill.el: Convert to utf-8 encoding.
18646 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18649 * add-log.el (change-log-fill-forward-paragraph): New function.
18650 (change-log-mode): Use it so fill-region DTRT.
18651 Set fill-indent-according-to-mode here rather than in
18652 change-log-fill-paragraph.
18653 (change-log-fill-paragraph): Remove.
18655 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18657 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18658 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18660 2009-09-22 Glenn Morris <rgm@gnu.org>
18662 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18663 the scroll-bar scroll the calendar window rather than the buffer.
18665 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18666 commands that move point (as opposed to scrolling).
18668 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18670 * emacs-lisp/elint.el (elint): New custom group.
18671 (elint-log-buffer): Make it a defcustom.
18672 (elint-scan-preloaded, elint-ignored-warnings)
18673 (elint-directory-skip-re): New options.
18674 (elint-builtin-variables): Doc fix.
18675 (elint-preloaded-env): New variable.
18676 (elint-unknown-builtin-args): Add an entry for encode-time.
18677 (elint-extra-errors): Make it a variable rather than a constant.
18678 (elint-preloaded-skip-re): New constant.
18679 (elint-directory): Skip files matching elint-directory-skip-re.
18680 (elint-features): New variable, local to linted buffers.
18681 (elint-update-env): Initialize elint-features. Possibly add
18682 elint-preloaded-env to the buffer's environment.
18683 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18685 (elint-init-form): New function, extracted from elint-init-env.
18686 Make non-list forms a warning rather than an error.
18687 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18688 easy-menu-define, put that adds an error-condition, and provide.
18689 When requiring cl, also require cl-macs. Really require cl, to handle
18690 some cl macros. Store required libraries in the list elint-features,
18691 so as not to re-load them. Treat cc-require like require.
18692 (elint-init-env): Call elint-init-form to do the work.
18693 Handle eval-and-compile and such like.
18694 (elint-add-required-env): Do not clear messages.
18695 (elint-special-forms): Add handlers for function, defalias, if, when,
18697 (elint-form): Add optional argument to ignore elint-special-forms,
18698 useful to prevent recursive calls from handlers. Doc fix.
18699 Respect elint-ignored-warnings.
18700 (elint-form): Respect elint-ignored-warnings.
18701 (elint-bound-variable, elint-bound-function): New variables.
18702 (elint-unbound-variable): Respect elint-bound-variable.
18703 (elint-get-args): Respect elint-bound-function.
18704 (elint-check-cond-form): Add some simple handling for (f)boundp and
18706 (elint-check-defalias-form): New handler.
18707 (elint-check-let-form): Make an empty let a warning rather than an
18709 (elint-check-setq-form): Make an empty setq a warning rather than an
18710 error. Respect elint-ignored-warnings.
18711 (elint-check-defvar-form): Accept null doc-strings.
18712 (elint-check-conditional-form): New handler. Does some simple-minded
18713 checking of featurep and (f)boundp tests.
18714 (elint-put-function-args): New function.
18715 (elint-initialize): Use elint-scan-doc-file rather than
18716 elint-find-builtin-variables. Use elint-put-function-args.
18717 Possibly scan preloaded-file-list.
18718 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18719 extend to handle functions as well.
18721 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18723 * linum.el (linum-delete-overlays, linum-update-window):
18724 Do not modify the right margin. (Bug#3971)
18726 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18728 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18729 Use nxml-mode instead of xml-mode.
18731 2009-09-21 Kevin Ryde <user42@zip.com.au>
18733 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18735 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18737 * net/dig.el (dig-mode): Use define-derived-mode.
18739 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18741 * vc-dispatcher.el (vc-do-command): Return the process object in
18742 the asynchronous case. Use when instead of if. Do not run
18743 vc-exec-after to display a message if not enabled. (Bug#4463)
18745 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18746 properties to the stash strings.
18747 (vc-git-stash-list): Return a list of strings.
18748 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18749 (vc-git-stash-show-at-point): New functions.
18750 (vc-git-stash-map): New keymap.
18752 * register.el (ctl-x-r-map): Define the keys here instead of
18755 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18757 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18758 list, to workaround performance problem (bug#4485).
18760 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18762 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18764 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18766 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18767 Document that this option is not recommended to use.
18769 2009-09-19 Glenn Morris <rgm@gnu.org>
18771 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18774 * calc/calc-alg.el (var):
18775 * calc/calcalg2.el (var): Define for compiler.
18777 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18779 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18780 Doc fix (Bug#3932).
18782 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18784 * time-stamp.el (time-stamp-month-dd-yyyy)
18785 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18786 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18787 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18788 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18789 Remove functions that have been obsolete since 1995 (Bug#4436).
18791 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18792 indent buffer only if called interactively (Bug#4452).
18794 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18795 Eli Zaretskii <eliz@gnu.org>
18797 This fixes bug#4197 (merged to bug#865, though not identical).
18798 * server.el (server-auth-dir): Add docstring note about FAT32.
18799 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18800 but warn against using them.
18802 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18804 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18805 older GDB where there is no has_more field.
18807 2009-09-19 Glenn Morris <rgm@gnu.org>
18809 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18811 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18813 * files.el (auto-mode-alist): Change default for XML files to nXML
18816 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18818 * server.el (server-ensure-safe-dir): Pass 'integer
18819 to `file-attributes', as suggested.
18821 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18823 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18824 (dired-query): Use read-key.
18826 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18828 * cus-start.el (ns-use-qd-smoothing): Remove.
18830 2009-09-18 Glenn Morris <rgm@gnu.org>
18832 * allout.el (top-level): Remove unnecessary progn.
18834 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18836 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18837 definition of abbrev table.
18839 * speedbar.el (speedbar-track-mouse):
18840 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18841 * net/eudc.el (eudc-expand-inline):
18842 * net/newst-backend.el (newsticker--cache-read-feed):
18843 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18844 condition-case handlers.
18846 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18848 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18849 (gdb-var-list): Add an element for has_more field.
18850 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18851 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18852 (gdb-var-update-handler-1): Parse output of dynamic variable
18853 objects (STL containers).
18854 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18855 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18857 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18859 (gud-speedbar-buttons): Make node expandable if expression "has more"
18862 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18864 * startup.el (emacs-quick-startup): Remove variable and all uses.
18865 (command-line): Set `inhibit-x-resources' instead.
18866 (command-line-1): Use `inhibit-x-resources' instead.
18868 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18870 * subr.el: Fix last change to avoid using the `unless' macro,
18871 which breaks bootstrapping.
18873 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18875 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18876 extended definitions, in case we reload subr.el after having
18878 (eval-next-after-load): Mark as obsolete.
18880 2009-09-17 Juri Linkov <juri@jurta.org>
18882 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18883 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18884 (menu-bar-showhide-menu, menu-bar-tools-menu)
18885 (menu-bar-describe-menu, menu-bar-help-menu)
18886 (minibuffer-local-completion-map, minibuffer-local-map):
18889 2009-09-17 Glenn Morris <rgm@gnu.org>
18891 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18892 arguments, whether or not it has a handler.
18894 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18896 * simple.el (hard-newline): Give it a doc-string.
18898 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18899 (lisp-mode-syntax-table): Give them doc-strings.
18901 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18903 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18904 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18905 (menu-bar-options-menu, menu-bar-showhide-menu)
18906 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18907 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18908 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18909 (menu-bar-options-menu, menu-bar-tools-menu)
18910 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18911 (menu-bar-help-menu):
18912 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18915 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18916 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18917 calls for the menu names and :help.
18919 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18921 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18922 to :minor-mode-function (bug#4455).
18924 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18926 * startup.el (command-line): Initialize the window-system after
18927 processing the command-line.
18929 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18930 page-delimiter matches the empty string.
18932 2009-09-16 Glenn Morris <rgm@gnu.org>
18934 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18935 byte-compile-not-obsolete-var. It's a list now.
18936 (byte-compile-not-obsolete-funcs): New variable.
18937 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18938 byte-compile-not-obsolete-funcs.
18939 (byte-compile-variable-ref, byte-compile-defvar): Update for
18940 byte-compile-not-obsolete-vars name-change and list nature.
18941 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18942 and variables behind (f)boundp tests.
18943 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18945 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18947 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18949 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18951 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18952 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18955 2009-09-15 Stephen Eglen <stephen@gnu.org>
18957 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18958 the virtual-buffers, use the name of the buffer specified by
18959 find-file-noselect, as the match may be a symlink. (This was a
18960 problem if the target and the symlink had different names.)
18962 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18964 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18966 * desktop.el (desktop-path): Check user-emacs-directory.
18968 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18970 * loadup.el: Use after-load-functions to GC after loading each file.
18971 Remove the explicit GC calls that used to be sprinkled around.
18973 * subr.el (after-load-functions): New hook.
18974 (do-after-load-evaluation): Run it. Use string-match-p to detect
18975 `obsolete' packages, rather than painfully extracting the relevant
18978 2009-09-15 Glenn Morris <rgm@gnu.org>
18980 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18981 free variable `doc'.
18983 * dired.el (dired-mode-map): Add menu entry for async shell command.
18985 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18986 variables, also consider the .elc files, since the .el files are
18987 normally gzipped (subsequent code locates the .el.gz from the .elc).
18989 * calc/calc-prog.el (arglist): Define for compiler.
18991 * calendar/diary-lib.el (diary-display-function): Change the default to
18993 (body): Define for compiler.
18995 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18996 (byte-compile-file-form, byte-compile-lambda)
18997 (byte-compile-top-level-body, byte-compile-form)
18998 (byte-compile-variable-ref, byte-compile-setq)
18999 (byte-compile-setq-default, byte-compile-body)
19000 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19001 (batch-byte-compile): Give some more local variables with common names
19002 a "bytecomp-" prefix to avoid masking warnings about free variables.
19004 * startup.el (command-line-1): Give local variables with common names a
19005 distinguishing prefix, so as not to hide free variable warnings during
19008 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19009 clever and add a suffix to make a unique name, just let the user decide
19010 whether or not to overwrite it. If the input is a directory, write the
19011 default filename to that directory. (Bug#4388)
19012 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19013 is a filename-as-a-directory.
19015 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19017 * textmodes/page.el (what-page): Don't move to beginning of line.
19018 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19020 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19022 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19024 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19026 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19027 * help.el (help-for-help-internal): Add purecopy calls for text.
19029 * vc.el (top): print-log method now takes an optional SHORTLOG
19030 argument. Add a new method: root.
19031 (vc-root-diff, vc-print-root-log): New functions.
19032 (vc-log-short-style): New variable.
19033 (vc-print-log-internal): Add support for showing short logs.
19035 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19036 vc-print-root-log and vc-print-root-diff.
19038 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19039 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19040 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19043 * vc-cvs.el (vc-cvs-print-log):
19044 * vc-mtn.el (vc-mtn-print-log):
19045 * vc-rcs.el (vc-rcs-print-log):
19046 * vc-sccs.el (vc-sccs-print-log):
19047 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19048 that is ignored for now.
19050 * vc-mtn.el (vc-mtn-annotate-command):
19051 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19053 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19055 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19056 to function-key-map, and give them ascii-character property.
19057 * term/x-win.el (x-alternatives-map):
19058 * term/ns-win.el (ns-alternatives-map):
19059 * term/internal.el (msdos-key-remapping-map):
19060 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19062 2009-09-14 Glenn Morris <rgm@gnu.org>
19064 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19065 temp-buffers (2009-09-12).
19067 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19069 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19070 the new read-key function.
19072 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19074 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19075 is defined (Bug#4405).
19077 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19079 * recentf.el (recentf-cleanup): Use a hash table to find
19080 duplicates (Bug#4407).
19082 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19084 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19085 kp-0 to ascii equivalents (Bug#4325).
19087 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19089 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19091 * eshell/em-hist.el:
19092 * eshell/em-dirs.el (eshell-complete-user-reference):
19093 Declare pcomplete functions and variables to avoid compiler warnings.
19095 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19097 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19098 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19099 * eshell/em-alias.el (eshell-aliases-file):
19100 * eshell/em-hist.el (eshell-history-file-name):
19101 Use expand-file-name instead of concat to make file names (Bug#4308).
19103 2009-09-13 Glenn Morris <rgm@gnu.org>
19105 * ediff-merg.el (ediff-do-merge):
19106 * filesets.el (filesets-run-cmd):
19107 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19108 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19109 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19110 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19111 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19112 Replace empty `let's with `progn'.
19114 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * mail/sendmail.el (send-mail-function):
19117 * tooltip.el (tooltip-mode):
19118 * simple.el (transient-mark-mode):
19119 * rfn-eshadow.el (file-name-shadow-mode):
19120 * frame.el (blink-cursor-mode):
19121 * font-core.el (global-font-lock-mode):
19122 * files.el (temporary-file-directory)
19123 (small-temporary-file-directory, auto-save-file-name-transforms):
19124 * epa-hook.el (auto-encryption-mode):
19125 * composite.el (global-auto-composition-mode):
19126 Use custom-initialize-delay.
19127 * startup.el (command-line): Don't explicitly call
19128 custom-reevaluate-setting for all the above vars.
19129 * custom.el (custom-initialize-safe-set)
19130 (custom-initialize-safe-default): Delete.
19132 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19134 * term/x-win.el (x-initialize-window-system):
19135 * term/w32-win.el (w32-initialize-window-system):
19136 * term/ns-win.el (ns-initialize-window-system): Don't call
19137 mouse-wheel-mode since it's enabled globally by default already.
19139 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19140 actually define the variable, but only silences the byte-compiler.
19141 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19142 before looking it up.
19143 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19146 2009-09-12 Glenn Morris <rgm@gnu.org>
19148 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19150 (elint-add-required-env): Don't beep on error.
19151 (elint-forms): In case of error, return ENV unchanged.
19152 (elint-init-env): Skip non-list forms.
19153 (elint-log): Handle unknown file positions.
19155 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19157 * epg.el (epg-make-context): Add autoload cookie.
19158 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19159 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19160 (epg-verify-string, epg-start-sign, epg-sign-file)
19161 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19162 (epg-encrypt-string, epg-start-export-keys)
19163 (epg-export-keys-to-file, epg-export-keys-to-string)
19164 (epg-start-import-keys, epg-import-keys-from-file)
19165 (epg-import-keys-from-string, epg-start-receive-keys)
19166 (epg-receive-keys, epg-import-keys-from-server)
19167 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19168 (epg-sign-keys, epg-start-generate-key)
19169 (epg-generate-key-from-file, epg-generate-key-from-string):
19170 Remove autoload cookie.
19172 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19174 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19175 reevaluation of trash-directory.
19177 * mwheel.el: Fix last change.
19178 (mouse-wheel-mode): New defvar.
19179 (mouse-wheel-mode): Remove autoload cookie.
19181 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19183 * mwheel.el (mwheel-installed-bindings): New var.
19184 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19185 the bindings we set last time. Use custom-initialize-delay.
19186 * loadup.el: Load mwheel after term/*-win.el.
19187 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19188 and mouse-wheel-up-event now that their first evaluation is done
19189 sufficiently late to be correct.
19191 * startup.el (tutorial-directory): Make it a defcustom.
19192 Use custom-initialize-delay rather than eval-at-startup to set it.
19193 * image.el (image-load-path): Make it a defcustom.
19194 Use custom-initialize-delay rather than eval-at-startup to set it.
19195 * subr.el (eval-at-startup): Remove.
19196 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19198 * subr.el (do-after-load-evaluation): Warn the user after loading an
19201 2009-09-12 Glenn Morris <rgm@gnu.org>
19203 * proced.el (proced-mark-alt): Remove alias.
19204 (proced-mode-map): Remove proced-mark-alt.
19206 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19207 Elint file and directory. Remove initialization entry.
19209 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19211 (elint-current-buffer): Set mode-line-process.
19212 (elint-init-env): Handle define-derived-mode.
19213 Fix declare-function with unspecified arglist. Guard against odd
19214 defalias statements (eg iso-insert's 8859-1-map).
19215 (elint-add-required-env): Use a temp buffer.
19216 (elint-form): Just print the function/macro name, not the whole form.
19217 Return env unchanged if we fail to parse a macro.
19218 (elint-forms): Guard against parse errors.
19219 (elint-output): New function, to handle batch mode.
19220 (elint-log-message): Add optional argument. Use elint-output.
19221 (elint-set-mode-line): New function.
19223 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19225 * emacs-lisp/elp.el (elp-not-profilable): Add more
19226 functions (Bug#4233).
19228 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19230 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19231 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19233 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19235 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19236 (gdb-var-list-children): Use json parsing.
19238 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19240 * progmodes/js.el (js--proper-indentation): Handle the case where
19241 char-before is null. Reported by Deniz Dogan.
19243 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19245 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19247 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19249 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19250 (epg-digest-algorithm-alist): Add SHA224.
19251 (epg-context-set-passphrase-callback)
19252 (epg-context-set-progress-callback): Add description about
19255 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19257 * custom.el (custom-delayed-init-variables): New var.
19258 (custom-initialize-delay): New function.
19259 * startup.el (command-line): "Re"evaluate all vars in
19260 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19261 explicitly any more.
19262 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19263 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19265 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19267 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19269 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19270 (gdb-var-update-handler): Use json parsing.
19272 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19274 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19275 decode annotated text, regardless of language environment. (Bug#2741)
19277 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19279 * Makefile.in (autoloads): Make rmail.el writable as well.
19281 2009-09-11 Glenn Morris <rgm@gnu.org>
19283 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19285 * dired.el: Regenerate with extracted autoloads.
19286 * Makefile.in (autoloads): Make dired.el writable.
19288 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19289 * ibuffer.el: Regenerate with extracted autoloads.
19290 * Makefile.in (autoloads): Make ibuffer.el writable.
19292 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19293 * version.el (emacs-copyright, emacs-major-version)
19294 (emacs-minor-version): Reformat doc-strings for make-docfile.
19296 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19297 functions and variables, since they must be stuff specific to some other
19299 (apropos-print): Make mouse-click message less specific about button.
19301 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19302 that records where a macro was defined.
19303 * help-fns.el (describe-function-1): Mention if a function has a
19305 * help-mode.el (help-function-cmacro): New button.
19307 * locate.el (top-level): Always require dired.
19308 (locate-mode-map): Initialize inside the defvar.
19310 * net/ange-ftp.el (dired-compress-file): Declare.
19311 (ange-ftp-dired-compress-file): Add doc string.
19313 * term/ns-win.el (x-display-name, x-setup-function-keys):
19314 Unify doc-strings with X versions.
19316 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19318 * emulation/crisp.el (crisp-mode-map): Move initialization
19320 (crisp-mode): Use define-minor-mode.
19322 * progmodes/xscheme.el (xscheme-evaluation-commands):
19323 Put a :advertised-binding property rather than using
19324 advertised-xscheme-send-previous-expression.
19325 (advertised-xscheme-send-previous-expression): Declare obsolete.
19326 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19328 (crisp-mode): Add corresponding bindings to
19329 undo's :advertised-binding instead.
19330 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19331 than using dired-advertised-find-file.
19332 (dired-advertised-find-file):
19333 * simple.el (advertised-undo):
19334 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19335 (widget-keymap): Put a :advertised-binding property rather
19336 than using advertised-widget-backward.
19337 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19338 than using advertised-undo.
19339 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19341 2009-09-10 Simon South <ssouth@slowcomputing.org>
19343 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19344 Mark mode is enabled and region is active; otherwise indent or
19345 insert TAB as usual.
19346 (delphi-mode): Update description of TAB-key binding.
19348 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19350 * subr.el (define-key-rebound-commands): Mark obsolete.
19351 * startup.el (precompute-menubar-bindings): Remove.
19352 (normal-top-level): Remove obsolete code that tried to precompute
19354 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19355 define-key-rebound-commands and precompute-menubar-bindings.
19357 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19359 * net/imap.el (imap-interactive-login): Better messages.
19360 (imap-open): Fix bug with renamed buffer on reconnect.
19361 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19362 for easier debugging and cleaner code. On successful (guessed based on
19363 server capabilities) secondary authentication, set imap-state
19365 (imap-last-authenticator): Define imap-last-authenticator as a variable
19368 2009-09-10 Glenn Morris <rgm@gnu.org>
19370 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19372 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19373 (byte-compile-file-form-autoload): Don't warn about unknown functions
19374 where the autoload statement comes after the use.
19375 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19376 that any handlers inside the body (eg require) are in turn respected.
19378 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19381 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19382 and syntax and abbrev tables basic docs, if they don't have any.
19384 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19386 * international/mule-cmds.el (top-level): Require cl when compiling.
19387 (view-hello-file): Use default-value rather than
19388 default-enable-multibyte-characters.
19390 * progmodes/fortran.el: Move all safe and risky properties into the
19393 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19394 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19395 * mail/undigest.el:
19396 Put autoloads in rmail.el rather than loaddefs.el.
19397 * mail/rmail.el: Regenerate with extracted autoloads.
19399 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19400 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19402 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19404 Reported in thread for Bug#4375.
19405 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19406 "-data-evaluate-expression" instead of print.
19407 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19408 (gdb-tooltip-print): Parse output from above MI command.
19409 (gdb): Revert 2009-08-11 change. User should detach inferior
19412 Remove the word "separate" from IO functions as inferior
19413 output is now never displayed in the GUD buffer.
19415 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19417 * startup.el (command-line-normalize-file-name): On Windows and
19418 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19420 2009-09-10 Juri Linkov <juri@jurta.org>
19422 * isearch.el (isearch-text-char-description): Propertize escape
19423 character sequences with the `escape-glyph' face. (Bug#4344)
19425 * simple.el (shell-command): Set asynchronous process filter to
19426 `comint-output-filter'. (Bug#4343)
19428 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19429 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19430 the list. Move "asm" to the bottom.
19431 (grep-find-ignored-directories): Add `choice' with nil value
19432 to empty the list easily.
19433 (grep-find-ignored-files): New option.
19434 (grep-files-history): Set to nil by default instead of '("ch" "el").
19435 (grep-compute-defaults): Add "<X>" to `grep-template'.
19436 (grep-read-files): Bind new local variables `default-alias' and
19437 `default-extension'. Use a list of default values for the file prompt.
19438 (lgrep): Add `--exclude=' command line options composed from
19439 `grep-find-ignored-files'.
19440 (rgrep): Add `-name' command line options composed from
19441 `grep-find-ignored-files'. (Bug#4301)
19443 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19445 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19448 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19450 * calendar/time-date.el (autoload):
19451 Expand define-obsolete-function-alias into defalias and make-obsolete
19452 for old Emacsen that Gnus supports.
19453 (with-no-warnings): Define it for old Emacsen.
19454 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19456 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19457 float-time is available; suppress compile warning for time-to-seconds.
19459 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19461 * net/imap.el (imap-message-map): Docstring fix.
19463 2009-09-09 Glenn Morris <rgm@gnu.org>
19465 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19466 line numbers too. (Bug#4374)
19468 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19470 * smerge-mode.el (smerge-remove-props, smerge-refine):
19471 Use with-silent-modifications (bug#4342).
19473 * subr.el (with-silent-modifications): New macro.
19475 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19477 * files.el (top-level): Require `cl' when compiling.
19479 2009-09-07 Glenn Morris <rgm@gnu.org>
19481 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19483 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19484 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19486 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19488 * vc-git.el (vc-git-annotate-command): Use separator to parse
19489 arguments correctly.
19491 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19493 * proced.el (proced-mode): Doc fix.
19495 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19497 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19499 (tramp-do-file-attributes-with-ls): Check for file existence at
19501 (tramp-do-file-attributes-with-stat): Likewise.
19502 (tramp-convert-file-attributes): Return nil when attr is nil.
19504 2009-09-05 Glenn Morris <rgm@gnu.org>
19506 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19507 properties to this button.
19508 (diary-fancy-display): Don't extend the button to the final newline.
19509 (diary-fancy-display-mode): Continue to define "q" as a local key.
19511 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19514 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19516 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19517 (byte-compile-dest-file-function): New option.
19518 (byte-compile-dest-file): Doc fix.
19519 Obey byte-compile-dest-file-function.
19520 (byte-compile-cl-file-p): New function.
19521 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19522 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19523 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19524 than for file being previously loaded.
19525 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19526 (byte-compile-file-form-require): Handle the case where requiring a file
19527 indirectly causes CL to be loaded.
19529 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19531 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19532 before killing the old buffer, since by the time `kill-buffer' is
19533 run so many buffer variables have been set to nil that it may not
19534 behave as expected. (Bug#4061)
19536 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19538 * files.el (find-alternate-file): If the old buffer is modified
19539 and visiting a file, behave similarly to `kill-buffer' when
19540 killing it, thus reverting to the pre-1.878 behavior; see
19541 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19542 for discussion. Also, consult `buffer-file-name' as a variable
19543 not as a function, for consistency with the rest of the code.
19545 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19547 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19548 also when adding a new directory.
19550 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19553 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19555 * files.el (locate-file-completion-table): Make it provide boundary
19556 information, so partial-completion works better.
19558 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19560 * mail/footnote.el (Footnote-text-under-cursor):
19561 Check footnote-text-marker-alist before using it (bug#4324).
19563 2009-09-04 Glenn Morris <rgm@gnu.org>
19565 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19566 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19567 * play/solitaire.el, play/tetris.el:
19568 Remove leading * from defcustom and defface docs.
19570 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19572 (diary-fancy-overriding-map): New variable.
19573 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19576 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19579 2009-09-03 Glenn Morris <rgm@gnu.org>
19581 * arc-mode.el (archive-mode):
19582 * dos-fns.el (set-default-process-coding-system):
19583 * man.el (Man-getpage-in-background):
19584 * menu-bar.el (menu-bar-describe-menu):
19585 * server.el (server-process-filter):
19586 * startup.el (command-line):
19587 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19588 * w32-fns.el (set-default-process-coding-system):
19589 * x-dnd.el (x-dnd-handle-file-name):
19590 * international/mule-cmds.el (mule-menu-keymap)
19591 (set-default-coding-systems, language-info-alist, set-language-info)
19592 (set-language-environment, standard-display-european-internal)
19593 (set-locale-environment):
19594 * international/mule-diag.el (mule-diag):
19595 * mail/emacsbug.el (report-emacs-bug):
19596 * mail/rmail.el (rmail-mode):
19597 * mail/sendmail.el (mail-setup):
19598 Use default-value rather than default-enable-multibyte-characters.
19600 * progmodes/f90.el: Move all safe properties into the defcustoms.
19601 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19603 * calendar/appt.el (appt-check):
19604 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19605 (diary-check-diary-file, diary-list-entries)
19606 (diary-include-other-diary-files, diary-simple-display)
19607 (diary-fancy-display, diary-print-entries)
19608 (diary-mark-included-diary-files, diary-make-entry):
19609 Don't call substitute-in-file-name on diary-file.
19611 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19612 Stefan Monnier <monnier@iro.umontreal.ca>
19614 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19615 (footnote-mode-map): Move initialization into the declaration.
19616 (footnote-minor-mode-map): Define it rather than changing global-map.
19617 (footnote-mode): Use define-minor-mode.
19619 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19621 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19622 (tramp-do-file-attributes-with-perl)
19623 (tramp-do-file-attributes-with-stat): Rename from
19624 `tramp-handle-file-attributes-with-*'.
19625 (tramp-handle-file-attributes): Use them.
19626 (tramp-do-directory-files-and-attributes-with-perl)
19627 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19628 `tramp-handle-directory-files-and-attributes-with-*'.
19629 (tramp-handle-directory-files-and-attributes): Use them.
19630 (tramp-method-out-of-band-p): Additional parameter SIZE.
19631 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19632 (tramp-handle-write-region): Use it.
19633 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19634 (tramp-handle-vc-registered): Check, whether the first run did
19635 return files to be tested.
19636 (tramp-advice-make-auto-save-file-name): Do not call directly
19637 `tramp-handle-make-auto-save-file-name', because this would bypass
19638 the locking mechanism.
19640 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19641 (file-remote-p, process-file, start-file-process, set-file-times)
19642 (tramp-compat-file-attributes): Compatibility functions shall not
19643 call directly `tramp-handle-*', because this would bypass the
19645 (tramp-compat-number-sequence): New defun.
19647 2009-09-02 Glenn Morris <rgm@gnu.org>
19649 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19650 alias for float-time.
19651 (time-to-number-of-days): In Emacs, use float-time.
19652 * net/newst-backend.el (time-add): Suppress warnings from compat
19654 * time.el (emacs-uptime, emacs-init-time):
19655 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19656 Use float-time rather than time-to-seconds.
19658 * minibuffer.el (completion-initials-expand): Fix typo.
19660 * faces.el (modeline, modeline-inactive, modeline-highlight)
19661 (modeline-buffer-id):
19662 * info.el (info-menu-5): Mark these face aliases as obsolete.
19664 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19666 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19668 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19669 no "--thread" option.
19670 (gdb-stopped): Don't print "Switched to thread" message when it is
19673 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19675 * minibuffer.el (completion-try-completion)
19676 (completion-all-completions): Remove ill-defined (and
19677 mistakenly installed and luckily never used nor documented)
19678 `completion-styles' property.
19679 (completion-initials-expand, completion-initials-all-completions)
19680 (completion-initials-try-completion): New functions.
19681 (completion-styles-alist): Add doc to each entry.
19682 Add new `initials' entry.
19684 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19686 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19687 MI command -var-evaluate-expression.
19688 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19689 and tweak for case of string child.
19690 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19692 2009-09-01 Glenn Morris <rgm@gnu.org>
19694 * add-log.el (change-log-date-face, change-log-name-face)
19695 (change-log-email-face, change-log-file-face, change-log-list-face)
19696 (change-log-conditionals-face, change-log-function-face)
19697 (change-log-acknowledgement-face):
19698 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19699 (custom-modified-face, custom-set-face, custom-changed-face)
19700 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19701 (custom-documentation-face, custom-state-face, custom-comment-face)
19702 (custom-comment-tag-face, custom-variable-tag-face)
19703 (custom-variable-button-face, custom-face-tag-face)
19704 (custom-group-tag-face-1, custom-group-tag-face):
19705 * diff-mode.el (diff-header-face, diff-file-header-face)
19706 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19707 (diff-added-face, diff-changed-face, diff-function-face)
19708 (diff-context-face, diff-nonexistent-face):
19709 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19710 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19711 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19712 (Info-title-4-face):
19713 * isearch.el (isearch-lazy-highlight-face):
19714 * log-view.el (log-view-file-face, log-view-message-face):
19715 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19716 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19717 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19719 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19720 (smerge-base-face, smerge-markers-face):
19721 * wid-edit.el (widget-documentation-face, widget-button-face)
19722 (widget-field-face, widget-single-line-field-face)
19723 (widget-inactive-face, widget-button-pressed-face):
19724 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19725 (woman-addition-face):
19726 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19727 (eshell-ls-executable-face, eshell-ls-readonly-face)
19728 (eshell-ls-unreadable-face, eshell-ls-special-face)
19729 (eshell-ls-missing-face, eshell-ls-archive-face)
19730 (eshell-ls-backup-face, eshell-ls-product-face)
19731 (eshell-ls-clutter-face):
19732 * eshell/em-prompt.el (eshell-prompt-face):
19733 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19734 * obsolete/old-whitespace.el (whitespace-highlight-face):
19735 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19736 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19737 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19738 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19739 (antlr-font-lock-literal-face):
19740 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19741 (ebrowse-root-class-face, ebrowse-file-name-face)
19742 (ebrowse-default-face, ebrowse-member-attribute-face)
19743 (ebrowse-member-class-face, ebrowse-progress-face):
19744 * progmodes/make-mode.el (makefile-space-face):
19745 * progmodes/sh-script.el (sh-heredoc-face):
19746 * textmodes/flyspell.el (flyspell-incorrect-face)
19747 (flyspell-duplicate-face):
19748 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19749 * textmodes/texinfo.el (texinfo-heading-face):
19750 Mark face aliases with "-face" suffix as obsolete.
19752 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19755 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19756 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19757 easy-menu-define wants to modify these.
19759 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19761 * net/browse-url.el (browse-url-file-url):
19762 * term/internal.el (dos-codepage-setup):
19763 Use default-value rather than default-enable-multibyte-characters.
19765 * progmodes/etags.el (etags-goto-tag-location):
19766 * progmodes/flymake.el (flymake-highlight-line)
19767 (flymake-goto-file-and-line, flymake-goto-line):
19768 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19769 (gdb-goto-breakpoint):
19770 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19771 * progmodes/python.el (python-find-function)
19772 (python-pdbtrack-track-stack-file):
19773 * progmodes/verilog-mode.el (verilog-surelint-off):
19774 * term/ns-win.el (ns-open-file-select-line):
19775 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19776 Use forward-line rather than goto-line.
19778 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19779 * textmodes/reftex-index.el (reftex-display-index):
19780 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19781 * textmodes/reftex-toc.el (reftex-toc):
19782 Remove unnecessary bindings of default-major-mode (all are followed by
19783 major-mode check and possible mode switch).
19785 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19787 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19788 Handle watchpoints (bug#4282).
19789 (def-gdb-thread-buffer-command): Enable thread to be selected by
19790 clicking without selecting threads buffer first.
19791 (gdb-current-context-command): Use selected frame so that "up",
19792 "down" etc work in the GUD buffer.
19793 (gdb-update): Find selected frame before rendering stack buffer.
19794 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19796 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19798 * progmodes/sym-comp.el (displayed-completions): Remove.
19799 (symbol-complete): Use minibuffer-complete.
19801 2009-08-31 Glenn Morris <rgm@gnu.org>
19803 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19805 * apropos.el (apropos-symbols-internal):
19806 Handle (obsolete) face aliases.
19808 * faces.el (describe-face): Adjust the output format to be more like
19809 describe-variable, and to mention (obsolete) face aliases.
19810 Adjust the whitespace so that help-setup-xref works.
19812 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19813 * calendar/diary-lib.el (diary-button-face):
19814 Mark these face aliases as obsolete.
19816 * calendar/calendar.el (calendar-today): Doc fix.
19818 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19820 * progmodes/gdb-mi.el (gdb-control-all-threads)
19821 (gdb-control-current-thread): Force tool bar update.
19822 (gdb-non-stop-handler): New function.
19823 (gdb-init-1): Use it to test if non-stop mode is supported.
19824 Remove unused gdbmi buffer type.
19826 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19828 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19829 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19831 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19833 * comint.el (comint-exec-1): Check command is non-null first.
19834 Part of gdb-mi.el change (2009-08-28).
19836 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19838 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19840 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19842 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19843 instead of `dolist' to avoid a recursive require when bootstrapping.
19845 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19847 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19849 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19851 * net/imap.el (imap-send-command): Simplify.
19852 (imap-wait-for-tag): point-max -> buffer-size.
19854 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19856 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19857 with constant argument.
19859 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19861 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19863 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19864 Change default, since most of our files don't have a history.
19865 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19868 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19871 * calc/calc.el: Improve commenting convention.
19872 (calc-digit-map, toplevel): Simplify.
19874 * comint.el (comint-insert-input): Be careful to only set point if we
19875 don't delegate to some other command.
19877 * proced.el (proced-signal-list): Make it an alist.
19878 (proced-grammar-alist): Capitalize names.
19879 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19880 Disable undo manually and make it read-only.
19881 Use completion-annotate-function.
19883 * minibuffer.el (minibuffer-message): If the current buffer is not
19884 a minibuffer, insert the message in the echo area rather than at the
19886 (completion-annotate-function): New variable.
19887 (minibuffer-completion-help): Use it.
19888 (completion--embedded-envvar-table): Environment vars are
19889 always case-sensitive.
19891 2009-08-30 Glenn Morris <rgm@gnu.org>
19893 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19894 from fortran-current-defun.
19895 (fortran-beginning-of-subprogram): Be more precise about finding the
19896 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19897 (fortran-end-of-subprogram): Simplify.
19898 (fortran-current-defun): Use fortran-start-prog-re.
19900 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19902 * subr.el (do-after-load-evaluation): Simplify.
19904 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19906 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19908 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19909 (vc-rcs-print-log): Use it.
19911 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19913 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19915 * paths.el (abbrev-file-name): Move to abbrev.el.
19916 * abbrev.el (abbrev-file-name): Move from paths.el.
19917 Obey user-emacs-directory.
19918 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19919 user-emacs-directory.
19920 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19921 abbrev-file-name and calc-settings-file any more.
19922 * startup.el (command-line): Recompute abbrev-file-name and
19923 abbreviated-home-dir.
19924 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19925 of the special code for when C-h bindings haven't been changed.
19926 (display-startup-echo-area-message): Use with-current-buffer.
19927 (command-line-1): Use a list of strings, rather than a list of lists
19928 of strings for longopts.
19930 * files.el (get-free-disk-space): Use / for default-directory.
19932 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19933 Use with-current-buffer.
19935 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19936 Recognize immutable variables like most-positive-fixnum.
19937 (byte-compile-setq-default): Check and warn if trying to assign
19938 to an immutable variable, or a non-variable.
19940 * progmodes/cc-vars.el (c-comment-continuation-stars):
19941 * progmodes/cc-engine.el (c-looking-at-bos):
19942 * progmodes/cc-cmds.el (c-toggle-auto-state)
19943 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19944 (c-comment-line-break-function): Add version of obsolescence.
19946 2009-08-28 Juri Linkov <juri@jurta.org>
19948 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19949 associated with `archive-mode'.
19951 * image.el (image-type-header-regexps): Use only JPEG magic number
19952 to determine JPEG images, and don't use `image-jpeg-p' because
19953 Emacs can display non-JFIF non-Exif JPEG images.
19955 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19957 * arc-mode.el (archive-mode):
19958 * emacs-lisp/re-builder.el (re-builder-unload-function):
19959 Protect against the default value of `major-mode' being nil.
19961 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19963 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19964 Fix typos in docstrings.
19966 * progmodes/js.el (js--macro-decl-re): Doc fix.
19967 (js--plain-method-re, js--split-name): Refloc docstring.
19968 (js--class-styles, js--make-merged-item, js--splice-into-items):
19969 Fix typos in docstrings; reflow docstrings.
19970 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19971 (js--variable-decl-matcher, js--inside-pitem-p)
19972 (js--parse-state-at-point, js--get-all-known-symbols)
19973 (js--symbol-history, js-find-symbol, js--js-references)
19974 (js--moz-interactor, js--js-encode-value, js--read-tab):
19975 Fix typos in docstrings.
19977 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19979 * textmodes/reftex.el (reftex-get-file-buffer-force):
19980 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19981 * emulation/viper.el (viper-go-away, viper-set-hooks):
19982 * emacs-lisp/re-builder.el (re-builder-unload-function):
19983 * emacs-lisp/bytecomp.el (byte-compile-file):
19984 * ses.el (ses-unload-function):
19985 * hexl.el (hexl-find-file):
19986 * files.el (normal-mode):
19987 * ehelp.el (with-electric-help):
19988 * autoinsert.el (auto-insert-alist):
19989 * arc-mode.el (archive-mode):
19990 Use (default-value 'major-mode) instead of default-major-mode.
19992 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19993 * international/mule.el (load-with-code-conversion):
19994 * emacs-lisp/debug.el (debug):
19995 * ediff-vers.el (ediff-rcs-get-output-buffer):
19996 * dired.el (dired-internal-noselect): Don't let-bind
19997 default-major-mode around code that doesn't use it.
19998 E.g. buffer creation via get-buffer-create doesn't use it.
20000 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20002 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20003 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20004 when writing the temp file. Otherwise, epa-file gets confused.
20005 (tramp-register-file-name-handlers): Make it a defun. Move also
20006 `epa-file-handler' to the front of `file-name-handler-alist'.
20008 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20010 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20011 start right after a ^M.
20012 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20013 (tramp-completion-file-name-regexp-separate)
20014 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20015 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20016 Don't modify last-coding-system-used by accident.
20017 (tramp-completion-file-name-handler): Apply the checks here,
20018 instead during registration.
20019 (tramp-register-file-name-handlers): Rename from
20020 `tramp-register-file-name-handler'. Register both
20021 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20022 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20024 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20026 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20027 Remove variable ...
20028 (gdb-init-1, gdb-display-separate-io-buffer)
20029 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20031 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20032 (gdb-inferior-filter): Use comint-output-filter to stop
20033 echoing and remove ^M characters.
20035 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20037 * emulation/viper-init.el (viper-restore-cursor-type):
20038 * emulation/cua-base.el (cua--update-indications):
20039 Replace default-cursor-type with (default-value 'cursor-type).
20041 * mail/sendmail.el (mail-recover-1):
20042 * international/mule-diag.el (describe-current-coding-system-briefly)
20043 (describe-current-coding-system):
20044 * international/mule-cmds.el (select-safe-coding-system)
20045 (select-message-coding-system)
20046 (set-language-environment-coding-systems, set-locale-environment):
20047 * hexl.el (hexl-insert-multibyte-char):
20048 * dos-w32.el (find-buffer-file-type-coding-system):
20049 * simple.el (what-cursor-position):
20050 Replace uses of default-buffer-file-coding-system
20051 with (default-value 'buffer-file-coding-system).
20053 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20054 Replace uses of default-cursor-in-non-selected-windows
20055 with (default-value 'cursor-in-non-selected-windows).
20056 Use with-current-buffer.
20058 * mail/feedmail.el: Use CL macros.
20059 (feedmail-run-the-queue, feedmail-send-it-immediately):
20060 * dos-w32.el (find-buffer-file-type): Replace uses of
20061 default-buffer-file-type with (default-value 'buffer-file-type).
20063 2009-08-28 Glenn Morris <rgm@gnu.org>
20065 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20066 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20067 Use default-value of major-mode rather than default-major-mode.
20069 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20071 * Makefile.in (update-elcfiles): Report left over elc files.
20073 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20074 expand-file-name and with-current-buffer.
20075 (mail-get-names, mail-directory): Use with-current-buffer.
20077 * vc.el (vc-read-revision): New function.
20078 (vc-version-diff, vc-merge): Use it.
20080 2009-08-27 Sam Steingold <sds@gnu.org>
20082 * simple.el (kill-do-not-save-duplicates): New user option.
20083 (kill-new): When it is non-nil, and the new string is the same as
20084 the latest kill, set replace to t to avoid duplicates in kill-ring.
20086 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20088 * net/tramp.el (tramp-handle-process-file): Do not flush all
20089 caches when `process-file-side-effects' is set.
20090 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20091 instead of `tramp-find-file-exists-command'.
20092 Unset `process-file-side-effects'.
20094 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20096 * net/tramp.el (tramp-methods): New method "rsyncc".
20097 (top): Add completion function for "rsyncc".
20098 (tramp-message-show-message): New defvar.
20099 (tramp-message, tramp-error): Use it.
20100 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20102 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20103 `tramp-methods' entry `copy-env' of "rsyncc".
20104 (tramp-vc-registered-read-file-names): New defconst.
20105 (tramp-vc-registered-file-names): New defvar.
20106 (tramp-handle-vc-registered): Implement optimization strategy.
20107 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20108 (tramp-vc-file-name-handler): New defun.
20109 (tramp-get-ls-command, tramp-get-test-command)
20110 (tramp-get-file-exists-command, tramp-get-remote-ln)
20111 (tramp-get-remote-perl, tramp-get-remote-stat)
20112 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20114 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20115 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20117 (tramp-get-file-property): Check for timestamps in
20118 `tramp-cache-inhibit-cache'.
20119 (tramp-set-file-property): Write timestamp.
20121 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20123 * language/japan-util.el (japanese-symbol-table): Add entries for
20126 * international/characters.el: Add category `j' to cp932-2-byte.
20128 2009-08-27 Kenichi Handa <handa@m17n.org>
20130 * international/fontset.el (build-default-fontset-data): New macro.
20131 (setup-default-fontset): Use build-default-fontset-data for CJK,
20132 tibetan, ethiopic, and ipa.
20134 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20136 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20137 (enable-multibyte-characters): Not customizable any more.
20139 * subr.el (default-mode-line-format, default-header-line-format)
20140 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20141 (default-direction-reversed, default-truncate-lines)
20142 (default-left-margin, default-tab-width, default-case-fold-search)
20143 (default-left-margin-width, default-right-margin-width)
20144 (default-left-fringe-width, default-right-fringe-width)
20145 (default-fringes-outside-margins, default-scroll-bar-width)
20146 (default-vertical-scroll-bar, default-indicate-empty-lines)
20147 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20148 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20149 (default-scroll-down-aggressively, default-fill-column)
20150 (default-cursor-type, default-buffer-file-type)
20151 (default-cursor-in-non-selected-windows)
20152 (default-buffer-file-coding-system, default-major-mode)
20153 (default-enable-multibyte-characters): Mark as obsolete.
20155 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20157 * vc-dir.el (vc-dir-update): Remove debug helper.
20159 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20161 2009-08-26 Sam Steingold <sds@gnu.org>
20163 * simple.el (save-interprogram-paste-before-kill): New user option.
20164 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20165 save the interprogram-paste into kill-ring before overriding it
20166 with the Emacs kill.
20168 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20170 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20171 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20172 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20173 and move to vc-rcs.el.
20174 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20176 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20177 (vc-rcs-update-changelog): Remove.
20178 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20179 and move to vc-rcs.el.
20181 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20182 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20184 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20185 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20186 vc.el, renamed to be RCS specific.
20188 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20190 (vc-cvs-update-changelog): Move here from vc.el.
20192 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20195 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20197 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20199 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20201 * vc-git.el (vc-git-register): Use "git add" for directories.
20202 (vc-git-stash, vc-git-stash-show): New functions.
20203 (vc-git-extra-menu-map): Bind them.
20205 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20206 directory correctly in case the item is a directory itself.
20208 * vc.el: Document the desired behavior for reverted files in the
20210 (vc-default-prettify-state-info): Remove function, unused.
20212 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20214 2009-08-26 Glenn Morris <rgm@gnu.org>
20216 * bindings.el (standard-mode-line-format): Reposition dashes in
20217 which-func entry. (Bug#4217)
20219 * files.el (enable-local-variables, enable-local-eval)
20220 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20222 (auto-mode-alist, ignored-local-variables)
20223 (save-some-buffers-action-alist): Move risky declarations to the
20225 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20226 (font-lock-defaults, format-alist, imenu--index-alist)
20227 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20228 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20229 (mode-line-modified, mode-line-mule-info, mode-line-position)
20230 (mode-line-process, mode-line-remote, outline-level)
20231 (parse-time-rules, rmail-output-file-alist)
20232 (special-display-buffer-names, vc-mode):
20233 Move risky declarations to the relevant files.
20234 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20235 (mode-line-modified, mode-line-process, mode-line-position)
20236 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20237 * font-core.el (font-lock-defaults):
20238 * format.el (format-alist):
20239 * vc-hooks.el (vc-mode):
20240 * window.el (special-display-buffer-names):
20241 * international/mule-cmds.el (input-method-alist):
20242 Define riskiness here (dumped file) rather than in files.el.
20243 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20244 * imenu.el (imenu-generic-expression, imenu--index-alist):
20245 * outline.el (outline-level):
20246 * time.el (display-time-string):
20247 * calendar/parse-time.el (parse-time-rules):
20248 * mail/rmailout.el (rmail-output-file-alist):
20249 Autoload riskiness here, rather than placing in files.el.
20251 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20253 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20255 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20257 * simple.el (process-file-side-effects): New defvar.
20259 * dired-aux.el (dired-show-file-type):
20260 * vc.el (vc-diff-internal):
20261 * vc-arch.el (vc-arch-diff):
20262 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20263 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20264 * vc-git.el (vc-git-registered, vc-git-working-revision)
20265 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20266 (vc-git--empty-db-p):
20267 * vc-hooks.el (vc-user-login-name):
20268 * vc-svn.el (vc-svn-registered, vc-svn-state)
20269 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20270 * progmodes/grep.el (grep-probe): Let-bind
20271 `process-file-side-effects' with nil.
20273 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20275 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20276 daemon. Replace ping by checking for running service for bluez
20277 and zeroconf. (Bug#4239)
20279 2009-08-25 Kevin Ryde <user42@zip.com.au>
20281 * net/dig.el (dig): Add autoload cookie.
20283 2009-08-25 Glenn Morris <rgm@gnu.org>
20285 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20286 load-history for absolute file-names.
20287 (byte-compile-file-form-require): Warn about use of the cl package.
20289 * format.el (format-alist): Doc fix.
20291 * play/bubbles.el (top-level): Don't require cl at run-time.
20293 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20296 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20298 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20300 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20302 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20304 * calc/calc-alg.el (math-trig-rewrite)
20305 (math-hyperbolic-trig-rewrite): New functions.
20306 (calc-simplify): Simplify trig functions when asked.
20308 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20310 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20312 2009-08-24 Kenichi Handa <handa@m17n.org>
20314 * language/ind-util.el (mapthread): Delete it.
20315 (combinatorial): New function.
20316 (indian--puthash-cv): Use combinatorial instead of mapthread.
20318 2009-08-22 Kevin Ryde <user42@zip.com.au>
20320 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20321 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20322 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20323 Clarify docstring that the value is strings not symbols.
20324 (checkdoc-list-of-strings-p): New function.
20326 2009-08-22 Glenn Morris <rgm@gnu.org>
20328 * files.el (auto-mode-alist):
20329 * hippie-exp.el (he-concat-directory-file-name):
20330 * lpr.el (lpr-windows-system, printer-name):
20331 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20332 * ps-print.el (ps-windows-system):
20333 * startup.el (command-line):
20334 * emulation/viper-ex.el (viper-glob-function):
20335 * international/mule-cmds.el (set-language-environment-coding-systems):
20336 * net/ange-ftp.el (ange-ftp-write-region):
20337 * obsolete/fast-lock.el (fast-lock-cache-name):
20338 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20339 unisoft-unix, vax-vms, win32, w32.
20341 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20342 given name if the pattern is not more specific.
20344 * calendar/lunar.el (lunar-phase-names): New option.
20345 (lunar-phase): Doc fix.
20346 (lunar-cycles-per-year): New constant.
20347 (lunar-index): New function.
20348 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20349 (lunar-phase-name): Use lunar-phase-names.
20350 (calendar-lunar-phases): Use format.
20351 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20353 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20354 Copy imenu-example--name-and-position function here for own use.
20355 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20357 * bs.el (bs--redisplay):
20358 * cus-edit.el (custom-redraw):
20359 * ibuffer.el (ibuffer-bury-buffer):
20360 * server.el (server-goto-line-column):
20361 * startup.el (command-line-1):
20362 * strokes.el (strokes-xpm-for-stroke):
20363 * term.el (term-display-buffer-line):
20364 * view.el (View-goto-line):
20365 * calc/calc.el (calc-do, calc-trail-buffer):
20366 * play/gamegrid.el (gamegrid-add-score-insecure):
20367 * progmodes/ada-mode.el (ada-compile-goto-error):
20368 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20369 (ebrowse-select-1st-to-9nth):
20370 * progmodes/cperl-mode.el (cperl-time-fontification):
20371 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20372 * progmodes/gud.el (gud-display-line):
20373 (idlwave-shell-display-line):
20374 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20375 * progmodes/make-mode.el (makefile-browser-toggle):
20376 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20377 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20378 * textmodes/picture.el (picture-draw-rectangle):
20379 * textmodes/reftex-index.el (reftex-index-goto-letter):
20380 (reftex-select-jump-to-previous):
20381 * textmodes/reftex-sel.el (reftex-find-start-point)
20382 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20383 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20384 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20385 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20386 * textmodes/two-column.el (2C-associated-buffer):
20387 Use forward-line rather than goto-line.
20389 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20392 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20393 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20394 (quick-check-list-to-regexp): Declare.
20396 * progmodes/make-mode.el (makefile-browser-insert-selection):
20397 Use goto-char rather than goto-line.
20399 * progmodes/prolog.el (compilation-error-regexp-alist)
20400 (compilation-forget-errors): Declare.
20402 2009-08-22 Juri Linkov <juri@jurta.org>
20404 * progmodes/grep.el (lgrep, rgrep): At the beginning
20405 set `dir' to `default-directory' unless `dir' is a non-nil
20406 readable directory. (Bug#4052)
20407 (lgrep, rgrep): Change a weird way to report an error
20408 from using `read-string' to using `error'.
20409 Instead of using interactive arguments in the function body,
20410 add new argument `confirm'.
20412 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20414 * textmodes/remember.el (remember-buffer):
20415 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20416 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20417 (icalendar-extract-ical-from-buffer):
20418 * net/newst-treeview.el (newsticker-groups-filename):
20419 * net/newst-backend.el (newsticker-cache-filename):
20420 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20421 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20422 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20423 (speedbar-buffers-line-path, speedbar-path-line)
20424 (speedbar-buffers-line-path):
20425 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20427 * epa.el (epa-display-verify-result):
20428 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20430 2009-08-21 Glenn Morris <rgm@gnu.org>
20432 * progmodes/js.el (inferior-moz-process): Fix declaration.
20434 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20436 * obsolete/rnewspost.el (news-mail-reply):
20437 Use goto-char rather than goto-line.
20439 * term/ns-win.el (ns-open-file-select-line):
20440 Use line-beginning-position rather than goto-line.
20442 * apropos.el (apropos-command):
20443 * ehelp.el (electric-helpify):
20444 * printing.el (pr-show-setup):
20445 * strokes.el (strokes-help):
20446 * tutorial.el (tutorial--describe-nonstandard-key)
20447 (tutorial--detailed-help):
20448 * woman.el (woman-mini-help, woman-display-extended-fonts):
20449 * calc/calc-help.el (calc-describe-key):
20450 * emulation/edt.el (edt-electric-helpify):
20451 * international/mule-diag.el (mule-diag):
20452 * play/yow.el (apropos-zippy):
20453 * progmodes/python.el (python-describe-symbol):
20454 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20455 * textmodes/table.el (*table--cell-describe-mode)
20456 (*table--cell-describe-bindings):
20457 Use help-print-return-message rather than the now obsolete alias.
20459 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20460 (calendar-cursor-to-visible-date):
20461 * play/5x5.el (5x5-position-cursor):
20462 * play/decipher.el (decipher):
20463 * play/gomoku.el (gomoku-goto-xy):
20464 * play/landmark.el (lm-goto-xy):
20465 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20466 (mpuz-paint-digit):
20467 Use forward-line, not goto-line.
20469 * mail/rmail.el (rmail-obsolete): Delete custom group.
20470 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20471 (rmail-remote-password, rmail-remote-password-required):
20472 Remove unneeded :set-after and :set properties.
20474 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20476 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20478 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20480 * loadup.el: Remove leftover macos code.
20482 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20483 Explicitly pass the date format to git blame so that user local
20484 so that the output format can be parsed.
20486 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20488 * net/dbus.el (top): Don't check for (getenv
20489 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20491 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20493 * log-edit.el (log-edit-strip-single-file-name): New var.
20494 (log-edit-insert-changelog): Use it. Bug#3571
20496 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20498 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20501 * help.el (help-print-return-message): Rename from
20502 print-help-return-message.
20504 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20505 cvs-mode-map parent hack.
20506 (log-view-mode): Derive from special-mode.
20508 * linum.el (linum-mode): window-size-change-functions is redundant.
20509 Adapt to new window-configuration-change-hook behavior.
20510 (linum-after-size, linum-after-config): Remove.
20512 * imenu.el (imenu-example--name-and-position)
20513 (imenu-example--lisp-extract-index-name)
20514 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20517 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20518 (inferior-prolog-mode): Use it.
20519 (inferior-prolog-load-file): Reset list of errors.
20521 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20523 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20525 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20527 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20529 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20530 is running already.
20532 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20534 * subr.el (listify-key-sequence-1): Use normal syntax since those
20535 integers are nowadays always represented by the same (positive) number
20537 (read-key-empty-map): New const.
20538 (read-key-delay): New var.
20539 (read-key): New function.
20540 (force-mode-line-update): Use with-current-buffer.
20541 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20542 (start-process-shell-command, start-file-process-shell-command):
20543 Discourage the use of command-args.
20545 2009-08-19 Glenn Morris <rgm@gnu.org>
20547 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20549 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20551 * simple.el (choose-completion-string): Don't rely on
20552 minibuffer-completing-file-name and ad-hoc checks to decide whether
20553 to continue completion or not.
20555 * minibuffer.el (minibuffer-hide-completions): New function.
20556 (completion--do-completion): Use it.
20557 (completions-annotations): New face.
20558 (completion--insert-strings): Use it.
20559 (completion-pcm--delim-wild-regex): Add docstring.
20560 (completion-pcm--string->pattern): Add support for 0-width delimiters
20561 in completion-pcm--delim-wild-regex.
20563 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20565 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20566 Remove unused var `buffer-modified-p'.
20568 * minibuffer.el (completion--do-completion): Move point for the #b001
20569 case as well (bug#4176).
20570 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20572 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20574 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20575 and :session buses.
20577 2009-08-18 Kenichi Handa <handa@m17n.org>
20579 * international/ucs-normalize.el (ucs-normalize-version):
20581 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20582 (utf-8-hfs): Make it perform normalization on encoding too.
20584 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20585 (sentence-end-without-space): Delete duplicated chars.
20586 (sentence-end-base): Likewise.
20588 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20589 (html-mode): Delete duplicated chars from sentence-end-base.
20591 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20592 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20594 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20596 * files.el (hack-one-local-variable): If the mode function is for
20597 a minor mode, pass it an argument (Bug#4148).
20599 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20601 * net/tramp.el (tramp-register-completion-file-name-handler):
20602 Check also for (member 'partial-completion completion-styles).
20604 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20606 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20609 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20611 * progmodes/cperl-mode.el: Merge upstream 6.2.
20612 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20613 (cperl-forward-re): Check cperl-brace-recursing.
20614 (cperl-highlight-charclass): New function.
20615 (cperl-find-pods-heres): Use it.
20616 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20617 (cperl-beautify-regexp-piece): Fix column calculation.
20618 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20619 (cperl-beautify-level): Don't process entire regexp.
20620 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20622 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20623 (cperl-init-faces): Build a list in the normal way.
20625 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20627 * calendar/parse-time.el (parse-time-string-chars): Save match
20630 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20632 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20633 (sql-product): Use it.
20634 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20635 (sql-set-product): Add completion.
20636 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20637 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20638 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20639 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20640 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20641 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20642 (sql-highlight-db2-keywords): Remove.
20643 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20644 (sql-highlight-product): Use derived-mode-p.
20645 (sql-set-sqli-buffer): Use with-current-buffer.
20646 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20649 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20651 * term.el: Fix commenting convention, turn comments into docstrings.
20653 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20655 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20657 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20659 * calendar/parse-time.el (parse-time-string-chars): Compute using
20660 character classes, to handle non-ascii characters (Bug#3190).
20662 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20664 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20665 another heredoc if the user adds another < (Bug#3226).
20667 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20668 Don't initialize based on window-system (Bug#4124).
20670 * facemenu.el (facemenu-read-color): Use a completion function
20671 that accepts any defined color, such as RGB triplets (Bug#3677).
20673 * files.el (get-free-disk-space): Change fallback default
20674 directory to /. Expand DIR argument before switching to fallback.
20675 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20677 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20679 * files.el (load-library): Doc fix.
20681 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20683 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20684 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20685 incremental search string.
20687 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20690 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20691 (ediff-merge-region-is-non-clash)
20692 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20693 Also check if the job is really a merge job.
20695 * ediff.el (ediff-current-file): New function.
20697 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20699 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20701 (js-insert-and-indent): Delete function.
20702 (js-mode-map): Don't bind keys to js-insert-and-indent.
20703 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20704 (js-end-of-defun): Rename from js--end-of-defun.
20705 (js-auto-indent-flag): Delete variable.
20707 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20709 * progmodes/js.el: Remove proclaim statement.
20710 Defvar which-func-imenu-joiner-function to silence compiler.
20712 * files.el (auto-mode-alist): Use js-mode for .js files.
20714 * progmodes/js2-mode.el: Remove file.
20716 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20718 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20720 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20722 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20723 Karl Landstrom <karl.landstrom@brgeight.se>
20725 * progmodes/js.el: New file.
20727 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20729 * timezone.el (timezone-parse-date): Add ability to understand ISO
20730 basic format (minimal separators) dates in addition to the
20731 already-supported extended format dates.
20733 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20735 * international/ucs-normalize.el: Add a `coding' file variable.
20737 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20739 2009-08-14 Sam Steingold <sds@gnu.org>
20741 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20743 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20745 * faces.el (help-argument-name): Define it here instead of
20746 help-fns.el, because in daemon mode help-fns.el may be loaded when
20747 faces are still uninitialized (Bug#1078).
20749 * help-fns.el (help-argument-name): Move defface to faces.el.
20751 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20753 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20754 create buffer with a pty but no process so that GDB can make the
20755 inferior the controlling process.
20757 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20759 * international/ucs-normalize.el: New file.
20761 2009-08-13 Richard Stallman <rms@gnu.org>
20763 * mail/rmail.el (rmail-get-attr-names):
20764 Accept an attribute header that is too short.
20766 * mail/rmail.el (rmail-forget-messages):
20767 Ignore nil elt in rmail-message-vector. Use dotimes.
20769 * progmodes/compile.el (compilation-goto-locus):
20770 Use next-error-move-function.
20772 * simple.el (next-error-move-function): New variable.
20774 2009-08-12 Juri Linkov <juri@jurta.org>
20776 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20777 always non-nil. (Bug#4052)
20779 * replace.el (read-regexp): Return empty string when
20780 `default-value' is nil.
20781 (keep-lines-read-args): Don't use empty string as the
20782 default value for `read-regexp'. (Bug#2495)
20784 2009-08-12 Juri Linkov <juri@jurta.org>
20786 * international/mule-cmds.el (ucs-insert): Change arguments
20787 from `arg' to `character', `count', `inherit' to be the same
20788 as in `insert-char'. Doc fix. (Bug#4039)
20790 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20792 2009-08-12 Juri Linkov <juri@jurta.org>
20794 * files-x.el: New file.
20796 * files.el: Move code that deals with adding/deleting
20797 file/directory-local variables to files-x.el.
20799 * Makefile.in (ELCFILES): Add files-x.elc.
20801 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20803 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20804 to use `goto-line'.
20805 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20807 (gdb-invalidate-disassembly): Do not refresh upon receiving
20808 'update signal. Instead, update all disassembly buffers only after
20810 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20811 (gdb-starting): Move -data-list-register-names...
20812 (gdb-stopped): ...here so it's sent when first thread stops.
20813 (gdb-registers-handler-custom): Do nothing if register names are
20816 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20817 from `gdb-mi.el' to avoid extra tangling.
20819 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20820 change which breaks `gud-def' definitions used in `gdb'.
20821 (gdb-update-gud-running): No extra fuss for updating frame number.
20823 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20825 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20826 (describe-language-environment-map, setup-language-environment-map)
20827 (set-coding-system-map): Move initialization into declaration.
20828 (set-language-info-alist): Last arg to define-key-after can be skipped.
20830 * international/quail.el (quail-completion-1): Simplify.
20831 (quail-define-rules): Use slightly more compact code.
20832 (quail-insert-decode-map): Propertize keys, compact columns.
20834 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20837 2009-08-10 Miles Bader <miles@gnu.org>
20839 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20840 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20841 (js2-instance-member, js2-private-member, js2-private-function-call)
20842 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20843 (js2-magic-paren, js2-external-variable):
20844 Remove "-face" suffix from face names.
20845 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20846 (js2-highlight-undeclared-vars, js2-peek-token)
20847 (js2-parse-function-params, js2-mode-show-errors)
20848 (js2-mode-show-warnings, js2-make-magic-delimiter)
20849 (js2-mode-highlight-magic-parens): Update to use new face names.
20851 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20853 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20854 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20856 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20858 * subr.el: Provide hashtable-print-readable.
20860 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20861 hs-c-like-adjust-block-beginning.
20862 (hs-hide-block-at-point): Stop hiding at the beginning of
20863 hs-block-end-regexp (Bug#700).
20865 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20867 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20869 (gdb-registers-handler-custom): Do not fail when register names
20872 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20874 * progmodes/gdb-mi.el (gdb-control-all-threads)
20875 (gdb-control-current-thread): Interactive setters for
20876 `gdb-gud-control-all-threads' to use in menu.
20877 (gdb-show-run-p): Show «Go» when process is not active.
20878 (gud-tool-bar-map): Add non-stop/A,T indicator.
20879 Uses gud/thread.xpm and gud/all.xpm.
20881 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20883 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20884 (nslookup-font-lock-keywords): Make it a variable.
20885 (net-utils-mode): New mode for viewing diagnostic network output.
20886 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20887 (net-utils-run-simple): New function.
20888 (ifconfig, iwconfig, netstat, arp, route): Use it.
20890 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20892 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20893 (gdb-memory-set-address, def-gdb-set-positive-number)
20894 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20895 after changing settings.
20896 (gdb-invalidate-disassembly): Update when first shown.
20897 (gdb-edit-locals-value): Fix.
20898 (gdb-registers-handler-custom): Print registers in right order and
20899 allow changing register values (only for current thread yet).
20900 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20901 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20902 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20903 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20904 Thread info in mode name.
20905 (gdb-registers-mode-map): TAB to switch to locals.
20907 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20909 * mail/rmail.el (rmail-add-mbox-headers)
20910 (rmail-set-message-counters-counter): Search for
20911 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20913 2009-08-08 Glenn Morris <rgm@gnu.org>
20915 * Makefile.in (ELCFILES): Update.
20917 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20919 * mail/sendmail.el (mail-yank-original):
20920 Set buffer-file-coding-system from the one used by the message whose
20923 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20924 to "windows" when "pgnuplot" is used.
20925 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20926 Don't call accept-process-output if "pgnuplot" is used.
20927 (calc-graph-init): Don't send -display and -geometry to
20928 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20929 running "pgnuplot -V" with shell-command-to-string.
20931 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20934 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20936 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20939 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20941 * vc-dispatcher.el (vc-resynch-window): Update comment.
20943 * term.el (term-handle-ansi-escape): Add comments with the
20944 terminfo capabilities implemented.
20946 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20948 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20949 (gdb-var-create-handler): Rewritten using JSON parser.
20950 (gdb-propertize-header): Move earlier.
20951 (gdb-set-header): Remove to avoid duplication.
20952 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20953 Refresh disassembly buffers only after threads list have been
20955 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20958 2009-08-04 Juri Linkov <juri@jurta.org>
20960 * files.el: Commands to add/delete file/directory-local variables.
20961 (read-file-local-variable, read-file-local-variable-value)
20962 (read-file-local-variable-mode, modify-file-local-variable)
20963 (modify-file-local-variable-prop-line)
20964 (modify-dir-local-variable): New functions.
20965 (add-file-local-variable, delete-file-local-variable)
20966 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20967 (add-dir-local-variable, delete-dir-local-variable)
20968 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20969 (copy-dir-locals-to-file-locals-prop-line): New commands.
20971 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20973 * abbrev.el (insert-abbrev-table-description): Prettify output.
20974 Suggested by Karl Chen.
20976 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20978 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20979 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20980 (gdb-overlay-arrow-position, gdb-thread-position)
20981 (gdb-disassembly-position): Declare variables.
20982 (gdb-wait-for-pending): Function now.
20983 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20984 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20985 compilation goes smoothly.
20986 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20987 (gdb-non-stop-setting): New customization setting which replaces
20988 `gdb-non-stop' so changing it doesn't break active GDB session.
20989 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20990 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20991 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20992 (gdb-show-threads-by-default): New customization options.
20993 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20995 (gdb-get-buffer-create): Send buffers update signal when they are
20997 (gdb-invalidate-locals, gdb-invalidate-registers)
20998 (gdb-invalidate-breakpoints)
20999 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21000 (gdb-invalidate-memory): Accept update signal.
21001 (gdb-current-context-command): Use --frame option.
21002 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21003 Implement `gdb-frame-number' selection logic.
21004 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21005 whether to show GUD toolbar buttons.
21006 (gdb-thread-exited): Unselect current thread when it exits.
21007 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21008 (gdb-mark-line): Routine which sets overlay arrow or inverses
21009 video on fringeless displays.
21010 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21011 to build aligned columns of data in GDB buffers and set text
21012 properties line-by-line.
21013 (gdb-invalidate-breakpoints)
21014 (gdb-breakpoints-list-handler-custom)
21015 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21016 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21017 (gdb-registers-handler-custom): Align data columns.
21018 (gdb-locals-handler-custom): Now prints data like in variable
21020 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21021 Remove confusing buttons.
21022 (gdb-invalidate-threads): Append --frame.
21023 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21024 between breakpoints/threads buffers.
21025 (gdb-set-window-buffer): Now can ignore dedicated windows.
21026 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21027 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21028 (def-gdb-thread-buffer-gud-command): Replaces
21029 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21030 for fine thread control.
21031 (gdb-preempt-existing-or-display-buffer): New function used to
21032 display bound buffers without breaking window layout.
21033 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21034 (gdb-select-frame): New version of `gdb-frames-select' which now
21035 sets `gdb-frame-number' so commands may use --frame option instead
21036 of inner debugger state.
21037 (gdb-frame-handler): Do not set `gdb-frame-number'.
21038 (gdb-threads-mode-map): Select threads with mouse.
21040 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21041 avoid compilation warning.
21042 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21045 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21046 Argument `key' renamed to `buffer-type'.
21047 (gdb-current-context-buffer-name): Do not add thread info to
21048 buffer name when no thread is selected.
21049 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21050 command (bug 3794).
21051 (gdb-thread-selected): Handle `=thread-selected' notification.
21052 (gdb-wait-for-pending): New macro to deal with congestion problems.
21053 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21055 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21056 This fixes problem similar to one described in bug 3947.
21057 (gud-menu-map): More menu items.
21058 (gdb-init-1): Reset `gdb-thread-number' to nil.
21060 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21063 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21064 (gdb-current-context-command): Do not append --thread if
21065 `gdb-thread-number' is nil.
21066 (gdb-running-threads-count, gdb-stopped-threads-count):
21068 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21069 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21070 New customization options.
21071 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21073 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21074 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21075 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21076 set `gdb-thread-number' and update `gud-running' properly.
21077 (gdb-running): Update threads list when new threads appear.
21078 (gdb-stopped): Support non-stop operation and new thread switching
21080 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21081 (gdb-json-partial-output): New set of JSON routines.
21082 (def-gdb-auto-update-trigger): New `signal-list' optional
21084 (gdb-thread-list-handler-custom): Update `gud-running',
21085 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21086 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21087 (gdb-continue-thread, gdb-step-thread): New commands for fine
21088 thread execution control.
21089 (gud-menu-map): New menu items to switch non-stop options.
21090 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21091 (gdb-send): Mimic RET properly (bug 3794).
21093 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21094 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21096 (def-gdb-auto-update-handler): New nopreserve optional argument.
21097 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21099 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21100 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21101 (gdb-parent-mode): New mode to derive other GDB modes from.
21102 (gdb-display-disassembly-for-thread)
21103 (gdb-frame-disassembly-for-thread): New commands for threads
21106 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21107 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21108 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21109 (gdb-update): We now store all GDB buffers in a list so that they
21110 can be updated by traversing a list instead of calling invalidate
21111 triggers explicitly.
21112 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21113 pair for GDB buffer.
21114 (gdb-stack-buffer-name): Add thread information.
21115 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21116 handle pending triggers.
21117 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21118 (def-gdb-thread-buffer-simple-command)
21119 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21120 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21121 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21122 New commands which show buffers bound to thread.
21123 (gdb-stack-list-locals-regexp): Remove unused regexp.
21125 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21126 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21127 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21128 to (gud-comint-buffer) in *-buffer-name functions
21129 because (gdb-get-target-string) already does that.
21130 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21131 (gdb-changed-registers-handler): Rewritten without regexps.
21133 * progmodes/gdb-mi.el: Basic thread selection support.
21134 (gdb-thread-number): New variable.
21135 (gdb-current-context-command): New macro which adds --thread
21137 (gdb-threads-mode-map): Select thread with SPC.
21138 (gdb-thread-list-handler-custom): Mark current thread with overlay
21139 arrow. Synchronize GDB thread and Emacs thread.
21140 (gdb-select-thread): New command which selects current thread.
21141 (gdb-invalidate-frames, gdb-invalidate-locals)
21142 (gdb-invalidate-registers): Use --thread option.
21144 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21146 * net/tramp.el (top): Make check for tramp-gvfs loading more
21148 (tramp-handle-insert-file-contents): `unwind-protect' must be
21149 inside `with-parsed-tramp-file-name'.
21151 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21154 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21156 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21157 directory if CLASSPATH is not set.
21159 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21161 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21163 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21165 2009-08-02 Kevin Ryde <user42@zip.com.au>
21167 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21168 Update freshmeat link. Delete newsforge.com as it seems gone.
21170 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21172 * select.el (x-set-selection): Doc fix (Bug#4021).
21174 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21176 * help-fns.el (describe-variable): Treat list return values from
21177 dir-locals-find-file properly (Bug#4005).
21179 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21181 * net/tramp.el (tramp-debug-message): Print also microseconds.
21183 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21185 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21187 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21188 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21191 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21192 (tramp-get-file-property): Use it.
21194 * autorevert.el (auto-revert-handler):
21195 Allow `auto-revert-tail-mode' for remote files.
21197 2009-08-02 Jason Rumney <jasonr@gnu.org>
21199 * minibuffer.el (read-file-name): Treat confirm options to
21200 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21202 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21204 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21205 (font-lock-variable-name-face, font-lock-constant-face):
21206 Darken the colors for light backgrounds.
21208 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21210 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21211 month names. (Bug#3987)
21213 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21215 * simple.el (line-move-finish): Pass whole number to
21216 line-move-to-column.
21217 (line-move-visual): Perform hscroll to the recorded position.
21219 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21221 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21223 2009-07-29 Alan Mackenzie <acm@muc.de>
21225 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21227 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21229 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21230 (gdb-place-breakpoints): Use full path when setting breakpoints.
21232 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21234 * calc/calc.el (calc-mode-map): Add keybinding for
21235 `calc-transpose-lines'.
21237 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21239 * calc/calc-misc.el (calc-transpose-lines): New function.
21241 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21243 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21244 Simplify check for out-of-band methods.
21245 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21246 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21248 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21250 * vc-git.el (vc-git-checkin): Fix typo.
21252 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21254 * progmodes/js2-mode.el: New file.
21256 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21258 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21259 (gud-menu-map): Adjust tooltip accordingly.
21261 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21263 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21264 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21266 * add-log.el (change-log-mode-map): Add a menu.
21268 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21270 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21271 function returns nil.
21272 (dbus-handle-event): Handle special return value :ignore.
21273 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21275 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21277 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21280 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21284 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21286 * term/pc-win.el (x-display-name, x-colors)
21287 (x-select-enable-clipboard, x-select-text): Doc fix.
21289 * term/common-win.el (x-display-name, x-colors): Doc fix.
21291 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21292 (xw-defined-colors): Doc fix.
21294 * w32-fns.el (x-select-text, x-setup-function-keys)
21295 (x-get-selection, x-set-selection): Doc fix.
21297 * term/x-win.el (x-select-text, x-setup-function-keys)
21298 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21300 * select.el (x-set-selection): Doc fix.
21302 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21304 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21305 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21306 "IsNSSSupportAvailable" method is not available.
21307 Reported by Steve Youngs <steve@sxemacs.org>.
21309 2009-07-24 Kenichi Handa <handa@m17n.org>
21311 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21312 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21313 (build-unicode-category-table): Fix range checks.
21315 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21317 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21318 the buffer we try to sync is current when calling
21321 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21322 not show up to date files.
21324 2009-07-24 Glenn Morris <rgm@gnu.org>
21326 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21327 Add autoload cookies. If necessary, initialize.
21328 (elint-log): Handle non-file buffers.
21329 (elint-initialize): Add optional argument to reinitialize.
21330 (elint-find-builtin-variables): Save excursion.
21332 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21334 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21337 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21339 * vc.el (vc-print-log-internal): New function, split out from ...
21340 (vc-print-log): ... here.
21341 (vc-dir-move-to-goal-column): Declare.
21343 * vc-git.el (vc-git-add-signoff): New variable.
21344 (vc-git-checkin): Use it.
21345 (vc-git-toggle-signoff): New function.
21346 (vc-git-extra-menu-map): Bind it to menu.
21347 (vc-git--run-command-string): Accept a nil FILE argument.
21348 (vc-git-stash-list): New function.
21349 (vc-git-dir-extra-headers): Use it.
21351 2009-07-23 Glenn Morris <rgm@gnu.org>
21353 * help-fns.el (describe-variable): Describe ignored and risky local
21354 variables in a similar way to that in which we describe safe ones.
21356 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21357 (byte-compile-output-file-form, byte-compile-output-docform)
21358 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21359 Give some more local variables with common names a "bytecomp-" prefix,
21360 so as not to shadow things during compilation.
21361 * emacs-lisp/cl-macs.el (load-time-value)
21362 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21363 `outbuffer' to `bytecomp-outbuffer'.
21365 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21366 since the next two variables cover them automatically now.
21367 (elint-builtin-variables, elint-autoloaded-variables): New.
21368 (elint-unknown-builtin-args): Remove all members, since they can be
21369 parsed automatically now.
21370 (elint-extra-errors): New.
21371 (elint-env-add-env, elint-env-add-macro): Use cadr.
21372 (elint-current-buffer): Use or. Change final message.
21373 (elint-get-top-forms): Use line-end-position.
21374 (elint-init-env): Use cadr. Handle autoload, declare-function,
21376 (elint-add-required-env): Doc fix. Use or. Standardize error.
21377 (regexp-assoc): Remove unused function.
21378 (elint-top-form): Set elint-current-pos, to record the start of the
21379 top-level form, for compilation-mode.
21380 (elint-form): Trap errors in macro expansion. Use dolist.
21381 (elint-unbound-variable): Use elint-builtin-variables and
21382 elint-autoloaded-variables.
21383 (elint-get-args): Use cadr, or.
21384 (elint-check-cond-form): Use dolist, cadr.
21385 (elint-check-condition-case-form): Doc fix. Use cadr.
21386 Use elint-extra-errors.
21387 (elint-log): New function.
21388 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21389 Distinguish errors and warnings.
21390 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21391 Use a bytecomp-style format.
21392 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21393 (elint-get-log-buffer): Use compilation mode. Disable undo.
21394 Don't truncate lines.
21395 (elint-initialize): Set builtin and autoloaded variable lists.
21396 Only process elint-unknown-builtin-args if non-nil.
21397 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21399 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21401 2009-07-22 Kevin Ryde <user42@zip.com.au>
21403 * net/newst-backend.el (newsticker--parse-atom-1.0)
21404 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21405 (newsticker--parse-rss-1.0):
21406 * progmodes/idlwave.el (idlwave-mode):
21407 * progmodes/idlw-shell.el (idlwave-shell-mode):
21408 * progmodes/vera-mode.el (vera-mode):
21409 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21410 * progmodes/vhdl-mode.el (vhdl-mode):
21411 * textmodes/table.el (table-generate-source)
21412 (table--warn-incompatibility):
21413 Hyperlink urls in docstrings with URL `...'.
21415 2009-07-22 Glenn Morris <rgm@gnu.org>
21417 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21418 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21419 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21420 Remove leading * from defcustom docs.
21422 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21424 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21426 (list-load-path-shadows): Optionally, just return shadows as a string.
21428 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21430 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21432 * mail/rmailedit.el (rmail-edit-mode):
21433 Use auto-save-include-big-deletions.
21435 * mail/rmail.el (rmail-variables):
21436 Use auto-save-include-big-deletions.
21438 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21441 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21443 * calc/calc.el (calc-undo-length): New variable.
21444 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21446 2009-07-21 Richard Stallman <rms@gnu.org>
21448 * files.el (auto-save-mode): Handle buffer-save-size = -2
21451 2009-07-21 Glenn Morris <rgm@gnu.org>
21453 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21455 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21457 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21458 silence compiler. Instead...
21459 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21460 (ps-print-ensure-fontified): Update for above function name changes.
21462 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21463 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21464 silence compiler. Instead...
21465 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21466 (mh-show-buffer): Only define for compiler.
21467 (pr-mh-current-message): Update for above function name changes.
21469 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21471 (find-file-noselect, insert-file-1): Update for above change.
21473 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21475 * mail/mailclient.el (mailclient-send-it): Fix message.
21477 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21478 (edebug-eval): Check cl-debug-env is bound.
21479 (print-level, print-circle): Don't redefine built-in variables.
21481 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21482 (custom-print-vectors): Remove old comments from doc.
21484 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21485 (emerge-version): Make the variable an obsolete alias for the
21486 emacs-version variable. Make the function obsolete.
21487 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21488 Emerge options, rather than merging in into the main Options menu.
21489 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21490 and auto advance modes. Disable edit/fast items when not relevant.
21492 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21494 * term/vt420.el (terminal-init-vt420): Fix typo.
21496 2009-07-20 Sam Steingold <sds@gnu.org>
21498 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21499 variable (removed from compile.el on 2004-03-11).
21501 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21503 * files.el (hack-local-variables-filter): Fix last change.
21505 2009-07-19 Juri Linkov <juri@jurta.org>
21507 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21508 (dir-local-variables-alist): New buffer-local variable.
21509 (hack-local-variables-filter): If variable is not dir-local,
21510 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21511 because file-local overrides dir-local.
21512 (c-postprocess-file-styles) <declare-function>:
21513 Remove obsolete declaration.
21514 (hack-dir-local-variables): Add dir-local variable/value pair to
21515 `dir-local-variables-alist' and remove duplicates. Doc fix.
21517 * help-fns.el (describe-variable): Add information about
21518 file-local and dir-local variables.
21520 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21522 * files.el (hack-local-variables-filter): Rewrite.
21524 2009-07-19 Glenn Morris <rgm@gnu.org>
21526 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21527 Silence compiler by only defining on XEmacs.
21529 * international/mule.el (auto-coding-regexp-alist): Only match
21530 BABYL... at the start of buffer, not of lines. (Bug#3790)
21532 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21533 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21534 (cal-menu-context-mouse-menu): Doc fix.
21536 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21538 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21540 2009-07-18 Juri Linkov <juri@jurta.org>
21542 * info.el: Virtual Info keyword finder.
21543 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21544 (Info-finder-file): New variable.
21545 (Info-finder-find-file): New function.
21546 (finder-known-keywords, finder-package-info)
21547 (find-library-name, lm-commentary): Use defvar and
21548 declare-function to silence compiler warnings.
21549 (Info-finder-find-node): New function.
21550 (info-finder): New command.
21552 * subr.el (process-kill-buffer-query-function): New function.
21553 (add-hook)<kill-buffer-query-functions>: Add hook
21554 `process-kill-buffer-query-function'.
21556 2009-07-18 Alan Mackenzie <acm@muc.de>
21558 * progmodes/cc-mode.el (c-before-hack-hook)
21559 (c-postprocess-file-styles): Give invocation of `c-set-style'
21560 DONT-OVERRIDE parameter of t. Already set style variables will
21561 thus not be overridden by style settings given by `c-file-syle'.
21563 * files.el (hack-local-variables-filter): Remove entries with
21564 duplicate keys from `file-local-variables-alist'.
21566 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21568 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21569 x-set-selection if display-selections-p returns nil for the
21572 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21574 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21576 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21578 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21579 Accept nil in addition to a regexp.
21580 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21581 Accept nil in addition to a regexp.
21582 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21583 buffers that have an associated file. Handle nil values of
21584 desktop-buffers-not-to-save and desktop-files-not-to-save.
21587 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21588 (x-disown-selection-internal): New functions.
21590 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21592 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21594 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21595 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21597 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21599 * simple.el (set-mark): Revert last change.
21601 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21603 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21604 rendering of pngs is not possible instead of messaging a long
21607 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21609 * w32-fns.el (x-selection-owner-p): New function.
21611 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21612 (mouse-yank-at-click, mouse-yank-primary):
21613 If select-active-regions is non-nil, deactivate the mark before
21616 * simple.el (deactivate-mark, set-mark): Only save selection if we
21619 2009-07-17 Kenichi Handa <handa@m17n.org>
21621 * case-table.el (describe-buffer-case-table): Fix for the case
21622 that KEY is a cons.
21624 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21626 * vc-rcs.el (vc-rcs-find-file-hook):
21627 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21629 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21631 * net/tramp.el (tramp-wait-for-output): Handle the case when
21632 commands do not return a newline but a null byte before the shell
21635 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21637 * term/ns-win.el (ns-set-alpha): Don't declare.
21638 (ns-set-background-alpha): Remove function.
21640 2009-07-16 Kevin Ryde <user42@zip.com.au>
21642 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21643 y-or-n-p, for safety.
21645 2009-07-16 Richard Stallman <rms@gnu.org>
21647 * files.el (auto-save-mode): If buffer-saved-size is -2,
21650 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21651 (rmail-retry-ignored-headers): Add more uninteresting fields.
21653 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21655 * net/rcirc.el (rcirc): Use history variables.
21656 (rcirc-server-name-history, rcirc-nick-name-history)
21657 (rcirc-server-port-history): New variables.
21659 2009-07-15 Kenichi Handa <handa@m17n.org>
21661 * international/mule-cmds.el (set-language-environment-charset):
21662 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21665 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21666 Delete unibyte-display.
21668 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21670 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21672 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21674 * simple.el (deactivate-mark): Optional argument FORCE.
21675 (set-mark): Use deactivate-mark.
21677 * info.el (Info-search): No need to check transient-mark-mode
21678 before calling deactivate-mark.
21680 * select.el (x-set-selection): Doc fix.
21681 (x-valid-simple-selection-p): Allow buffer values.
21682 (xselect--selection-bounds): Handle buffer values.
21683 Suggested by David De La Harpe Golden.
21685 * mouse.el (mouse-set-region, mouse-drag-track):
21686 Call copy-region-as-kill before setting the mark, to let
21687 select-active-regions work.
21689 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21691 * simple.el (deactivate-mark): If select-active-regions is
21692 non-nil, copy the selection data into a string.
21693 (activate-mark): If select-active-regions is non-nil, set the
21694 selection to the current buffer.
21695 (set-mark): Update selection if select-active-regions is non-nil.
21697 * select.el (x-valid-simple-selection-p): Allow buffer values.
21699 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21701 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21702 and more featureful message-mode.
21704 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21706 * select.el (x-set-selection): Doc fix.
21707 (x-valid-simple-selection-p): Disallow selection data consisting
21708 of a list or cons of integers, since that is not used.
21709 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21710 (xselect-convert-to-string, xselect-convert-to-length)
21711 (xselect-convert-to-filename, xselect-convert-to-charpos)
21712 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21714 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21716 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21717 output in -break-info command (Emacs bug #3794).
21719 2009-07-14 Glenn Morris <rgm@gnu.org>
21721 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21722 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21723 (edebug-print-length, edebug-print-level, edebug-print-circle)
21724 (edebug-sit-for-seconds, edebug-view-outside)
21725 (edebug-bounce-point, edebug-set-global-break-condition)
21726 (edebug-Go-nonstop-mode, edebug-trace-mode)
21727 (edebug-Trace-fast-mode, edebug-continue-mode)
21728 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21729 (edebug-visit-eval-list): Doc fixes.
21731 * subr.el (def-edebug-spec): Doc fix.
21733 2009-07-14 Kenichi Handa <handa@m17n.org>
21735 * international/characters.el: Fix setting of category ?C.
21737 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21739 * term/ns-win.el (x-select-font): defalias x-select-font to
21740 ns-popup-font-panel instead of generate-fontset-menu.
21742 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21744 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21746 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21748 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21749 the PK\003\004 header (Bug#3770).
21751 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21753 * pcomplete.el (pcomplete-comint-setup): Check for
21754 shell-dynamic-complete-filename too.
21756 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21758 * simple.el (temporary-goal-column): Change the value for
21759 line-move-visual to a cons cell.
21760 (line-move-visual): Record or set the window hscroll, if
21761 necessary (Bug#3494).
21762 (line-move-1): Handle cons value of temporary-goal-column.
21764 2009-07-11 Kenichi Handa <handa@m17n.org>
21766 * international/mule-diag.el (describe-character-set): Don't show
21769 2009-07-10 Sam Steingold <sds@gnu.org>
21771 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21772 Omake sometimes indents the errors it prints, so allow all
21773 regexps to start with spaces.
21775 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21777 * cus-edit.el (customize-changed-options-previous-release):
21778 Bump value to 22.1. (Bug#3804)
21780 2009-07-08 Sam Steingold <sds@gnu.org>
21782 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21783 to be a cons cell (test . ignored-directory) to selectively ignore
21784 some directories depending on the location of the search.
21786 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21788 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21789 remote user is root, on the local host.
21790 (tramp-local-host-p): Either the local user or the remote user
21791 must be root. (Bug#3771)
21793 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21795 * progmodes/gdb-mi.el (gdb): Remove description of
21796 gdb-use-separate-io-buffer.
21797 (menu): Don't allow toggling of or enable
21798 gdb-use-separate-io-buffer from menubar.
21800 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21802 * mail/unrmail.el (unrmail): Make sure the message ends with two
21803 newlines (Bug#3769).
21805 2009-07-08 Glenn Morris <rgm@gnu.org>
21807 * calendar/calendar.el (calendar-current-date): Rework previous change.
21809 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21811 * calendar/calendar.el (calendar-current-date):
21812 Add an optional argument giving an offset from today.
21814 2009-07-08 Glenn Morris <rgm@gnu.org>
21816 * tutorial.el (tutorial--describe-nonstandard-key):
21817 Adjust the message for when a key has been unbound.
21818 (help-with-tutorial): Hide the arch-tag.
21820 2009-07-08 Kenichi Handa <handa@m17n.org>
21822 * international/fontset.el (setup-default-fontset): For each
21823 script, append (not set) font-specs.
21825 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21828 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21830 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21831 -data-list-register-names to ...
21832 (gdb-starting): ... here because GDB 7.0 requires execution to
21833 have started when using this MI command.
21834 (gdb-set-header): New function to distinguish select and
21835 unselected tabs in gdb buffers.
21836 (gdb-propertize-header): New macro that uses gdb-set-header.
21837 (gdb-breakpoints-header, gdb-locals-header): Use it.
21838 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21840 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21842 * Makefile.in (ELCFILES): Remove fadr.elc.
21844 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21846 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21847 may contain frame information, so `string-match' should be used.
21848 (gdb-update): Disassembly is invalidated through
21849 `gdb-get-selected-frame'.
21850 (gdb-pad-string): New function to pad string with spaces.
21851 (gdb-invalidate-disassembly): Invalidate only if the buffer
21853 (gdb-disassembly-handler-custom): Column alignment.
21854 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21856 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21858 (gdb-frame-handler): Match convention to for disassembly buffer
21860 (gdb-stack-list-frames-handler): Rewritten without regexps.
21861 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21862 not highlight breakpoints without line information.
21863 (gdb-input): Add trailing newline to command.
21865 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21867 (gdb-breakpoints-list-handler-custom): Replacement for
21868 `gdb-break-list-handler'. Using real parser instead of regexps
21870 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21871 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21872 to place breakpoints.
21873 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21875 (gdb-disassembly-handler-custom): Show overlay arrow.
21876 (gdb-disassembly-place-breakpoints): Show breakpoints in
21877 disassembly buffer.
21878 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21879 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21880 instead of parsing breakpoints buffer. Fixed old menu references
21885 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21886 (gdb-memory-address): New variable which holds top address of
21887 memory page shown in memory buffer.
21888 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21889 New customization variables.
21891 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21892 display the memory buffer.
21893 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21894 buffer display parameters.
21895 (def-gdb-memory-format, gdb-memory-format-binary)
21896 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21897 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21898 Functions for setting memory buffer format.
21899 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21900 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21901 unit size used in memory buffer.
21902 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21903 Switch to next/previous page of memory buffer.
21904 Now using (bindat-get-field) instead of fadr functions.
21906 2009-07-07 Sam Steingold <sds@gnu.org>
21908 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21909 non-top-level files.
21911 2009-07-07 Kenichi Handa <handa@m17n.org>
21913 * international/mule-cmds.el (reset-language-environment):
21914 Put the highset priority to the charset iso-8859-1.
21916 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21918 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21919 to the end of the line when locating the block (Bug#700).
21921 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21923 * net/tramp.el (tramp-handle-write-region): Flush file properties
21924 in case of short track.
21926 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21928 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21929 Coded custom representation of verilog error regular expressions
21930 to work with Emacs-22's new format.
21931 (verilog-error-regexp-xemacs-alist): Coded custom representation
21932 of verilog error regular expressions to work with XEmacs format.
21933 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21934 error recognition into XEmacs.
21935 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21936 error recognition into Emacs-22.
21938 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21940 * woman.el: Remove stand-alone closing parentheses.
21941 (woman-file-name, woman2-format-paragraphs)
21942 (woman-leave-blank-lines): Code cleanup.
21943 (woman-use-own-frame): Change default to nil.
21944 (woman-italic, woman-bold, woman-unknown, woman-addition):
21945 Change defaults to inherit from default faces.
21946 (woman2-process-escapes): Consume the newline after a stand-alone
21947 filler character (Bug#3651).
21949 2009-07-06 Glenn Morris <rgm@gnu.org>
21951 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21952 (top-level): Move provide to the end.
21953 (ffap): Remove defunct URL from custom group.
21955 * subr.el (eval-after-load): Doc fix.
21957 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21959 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21960 `calc-embedded-word' is called twice.
21962 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21964 * files.el (find-alternate-file-other-window, find-alternate-file):
21965 Obey confirm-nonexistent-file-or-buffer.
21967 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21969 * dired-aux.el (dired-show-file-type): Handle remote files.
21971 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21973 * desktop.el (desktop-globals-to-save):
21974 Add file-name-history (Bug#2750).
21976 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21978 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21980 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21982 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21983 property on entire argument since this is what eshell-lisp-command
21986 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21988 * net/tramp-gvfs.el (tramp-gvfs-methods)
21989 (tramp-gvfs-zeroconf-domain)
21990 (tramp-bluez-discover-devices-timeout): Add version flag.
21991 (tramp-gvfs-handler-mounted-unmounted)
21992 (tramp-gvfs-connection-mounted-p): Polish handling of
21993 incompatibilities between GVFS 0.2 and 1.0.
21995 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21997 * cus-start.el (all): Add make-pointer-invisible.
21999 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22001 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22002 formatted correctly.
22004 2009-07-02 Juri Linkov <juri@jurta.org>
22006 * info.el: Virtual Info files and nodes.
22007 (Info-virtual-files, Info-virtual-nodes): New variables.
22008 (Info-current-node-virtual): New variable.
22009 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22011 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22012 to check for a virtual file instead of checking a fixed list
22014 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22015 instead of ad-hoc processing of "dir" and (apropos history toc).
22016 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22017 instead of ad-hoc processing of "dir" and (apropos history toc).
22018 Reread a file when moving from a virtual node.
22019 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22020 (Info-directory-toc-nodes, Info-directory-find-file)
22021 (Info-directory-find-node): New functions.
22022 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22023 (Info-history): Move part of code to
22024 `Info-history-find-node'.
22025 (Info-history-toc-nodes, Info-history-find-file)
22026 (Info-history-find-node): New functions.
22027 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22028 (Info-toc): Move part of code to `Info-toc-find-node'.
22029 (Info-toc-find-node): New function.
22030 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22031 the current Info file name to references because now the node
22032 "*TOC*" belongs to the same Info manual.
22033 (Info-toc-build): Rename from `Info-build-toc'.
22034 (Info-toc-nodes): Rename input argument `file' to `filename'.
22035 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22036 instead of ad-hoc processing of ("dir" apropos history toc).
22037 (Info-index-nodes): Use Info-virtual-file-p
22038 to check for a virtual file instead of checking a fixed list
22040 (Info-index-node): Add check for `Info-current-node-virtual'.
22041 Raise `save-match-data' higher up the tree to contain
22042 `search-forward' too (bug fix).
22043 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22044 (Info-virtual-index-nodes): New variable.
22045 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22046 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22047 (Info-apropos-file, Info-apropos-nodes): New variables.
22048 (Info-apropos-toc-nodes, Info-apropos-find-file)
22049 (Info-apropos-find-node, Info-apropos-matches): New functions.
22050 (info-apropos): Move part of code to `Info-apropos-find-node' and
22051 `Info-apropos-matches'.
22052 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22053 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22054 for a virtual file instead of checking a fixed list of node names.
22056 * simple.el (async-shell-command): New command.
22058 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22060 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22061 instead of `mount-info'.
22063 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22065 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22066 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22068 2009-07-02 Kenichi Handa <handa@m17n.org>
22070 * international/mule.el (set-keyboard-coding-system): Force *-unix
22071 coding-system to avoid eol conversion.
22073 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22076 Add handler for `process-file', `shell-command' and
22077 `start-file-process'.
22078 (tramp-gvfs-handle-shell-command)
22079 (tramp-gvfs-handle-start-file-process)
22080 (tramp-gvfs-handle-process-file): New defuns.
22081 (tramp-synce-list-devices): Simplify check for existence of property.
22083 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22085 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22087 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22089 * language/korean.el (set-language-info-alist): Add korean-cp949,
22092 2009-07-01 Kenichi Handa <handa@m17n.org>
22094 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22096 * international/encoded-kb.el: Deleted.
22098 * international/mule.el (set-keyboard-coding-system): Perform the
22099 necessary setup here instead of calling encoded-kbd-setup-display.
22101 2009-07-01 Glenn Morris <rgm@gnu.org>
22103 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22105 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22107 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22109 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22111 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22112 Handle also the 'rename case, when setting file modes. (Bug#3712)
22113 (tramp-default-file-modes): Remove execute permissions.
22115 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22116 (top): Add a default for "synce" in `tramp-default-user-alist'.
22117 Add completion function for "synce" method.
22118 (tramp-hal-service, tramp-hal-path-manager)
22119 (tramp-hal-interface-manager, tramp-hal-interface-device):
22121 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22122 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22125 * net/trampver.el: Update release number.
22127 2009-06-30 Kenichi Handa <handa@m17n.org>
22129 * international/fontset.el (setup-default-fontset): Add CJK fonts
22130 for symbols and the other miscellaneous characters.
22132 * language/korea-util.el (setup-korean-environment-internal):
22133 Make char-width-table suitable for Korean environments.
22134 (exit-korean-environment): Cancel above.
22136 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22137 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22138 setup-function to make char-width-table suitable for respective
22139 environments, and an exit-function to cancel that.
22141 * language/japan-util.el (setup-japanese-environment-internal):
22142 Call use-cjk-char-width-table with arg `ja_JP'.
22144 * international/characters.el (cjk-char-width-table): Delete it.
22145 (cjk-char-width-table-list): New variable.
22146 (use-cjk-char-width-table): New arg local-name.
22147 (use-default-char-width-table): Fix for the case that Emacs is
22148 already using the default char-width-table.
22150 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22152 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22153 modes mandatory. (Bug#3712)
22155 2009-06-29 Alan Mackenzie <acm@muc.de>
22157 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22158 correction between the visible width of TABs and their number of bytes.
22160 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22162 * server.el (server-buffer-done): Prevent kill-buffer from
22163 prompting by clearing the buffer modification flag (Bug#3696).
22165 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22167 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22168 (verilog-endcomment-reason-re): Support unique case and priority case.
22169 (verilog-basic-complete-re): Support localparam lineup.
22170 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22171 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22173 (verilog-leap-to-case-head): Now support *nested* unique &
22174 priority case statements.
22175 (verilog-auto-lineup): Make just declarations the default (as it
22177 (verilog-leap-to-case-head): Support priority/unique case statements.
22178 (verilog-auto-lineup): Rework to give users radio buttons to
22179 select the various styles of automatic lineup.
22180 (verilog-error-regexp-alist): Rework to support the XEmacs style
22181 of error regular expressions from compilers, lint tools &
22182 simulators. Note that GNU Emacs has made it impossible for a mode
22183 to load such things.
22184 (electric-verilog-terminate-line, verilog-indent-declaration)
22185 (verilog-auto-wiure): Rework for radio button selection of
22186 auto-lineup selection of specification of auto lineup.
22187 (verilog-beg-of-statement-1): Redesign to support proper operation
22188 in additional code, based on testing with auto-lineup.
22189 (verilog-calculate-indent, assignments & declarations)
22190 (verilog-backward-token): Enhance to support auto-lineup of
22191 assignments & declarations.
22192 (verilog-in-directive-p, verilog-at-struct-p): New function for
22193 easy test of whether we are.
22194 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22195 to support safe execution at almost anyline.
22196 (verilog-calc-1): Properly support indenting deep inside generate
22198 (verilog-init-font): Remove definition & use of verilog-init-font,
22199 as it is redundant with font-lock-defaults.
22200 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22201 to avoid circular calls if syntax-ppss is a function (as is the
22202 case now in 22.x GNU Emacs) as that function would sometimes call
22203 itself, leading to (nearly) infinite recursion.
22204 (verilog-ovm-begin-re, verilog-ovm-end-re)
22205 (verilog-ovm-statement-re, verilog-leap-to-head)
22206 (verilog-backward-token): Add support for OVM macros. Some are
22207 complete statements, and others open and close scopes like begin
22209 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22210 (verilog-defun-level-generate-only-re): Really fix the defun-list
22212 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22213 coverpoint, constraint and cross statements.
22214 (verilog-defun-level-list, verilog-generate-defun-level-list)
22215 (verilog-all-defun-level-list): Redo these specifications - it is
22216 too hard to support eval-when compile aggregation of lists also
22217 built at when-compile time.
22218 (verilog-defun-level-list): Place defconsts of variables used in
22219 building regular expressions which are built in eval-when-compile
22220 bodies in the same eval-when-compile body to facilitate compile
22222 (verilog-beg-block-re-ordered): Support indenting
22223 virtual/protected tasks and functions.
22224 (verilog-defun-level-list, verilog-in-generate-region-p)
22225 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22226 indentation of some module items (generate items).
22227 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22228 across virtual/protected tasks and functions.
22230 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22232 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22233 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22234 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22235 in concatenations. Reported by Yishay Belkind.
22236 (verilog-auto-ascii-enum): Support one-hot state machines in
22237 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22238 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22239 modport in AUTOINST and add vl-modport for users.
22240 Reported by David Rogoff.
22241 (verilog-auto-inout-module, verilog-auto-inst)
22242 (verilog-decls-get-interfaces, verilog-insert-definition)
22243 (verilog-insert-one-definition, verilog-read-decls)
22244 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22245 (verilog-sig-modport, verilog-signals-combine-bus)
22246 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22247 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22248 Suggested by David Rogoff.
22249 (verilog-repair-open-comma): Fix non-insertion of comma when
22250 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22251 (verilog-make-width-expression): Simplify [A-1:0] expression
22252 widths to just {A{1'b0}}.
22253 (verilog-mode): Cleanup checkdoc warnings.
22254 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22255 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22256 inputs/outputs or data type. Suggested by Vasu Kandadi.
22257 (next-error-last-buffer): Fix byte-compiler warning.
22258 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22259 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22260 or shell command text during AUTO expansion. Suggested by Tad Truex.
22261 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22262 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22263 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22264 in AUTOINOUT. Reported by Matthew Lovell.
22265 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22266 causing use of <= assignments. Reported by Alex Reed.
22267 (verilog-read-decls): Fix triand, trior, wand, wor to be
22268 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22269 (verilog-extended-complete-re): Support import "DPI-C" functions.
22270 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22271 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22272 (verilog-insert-date, verilog-insert-year)
22273 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22274 Windows systems. Reported by Michael Potts.
22275 (verilog-read-module-name): Fix AUTOINST when the child module
22276 declaration's name is a tick define. Reported by Elliot Mednick.
22277 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22278 passed to next parameter's definition. Reported by Bruce T.
22279 (verilog-read-decls): Fix detecting "parameter int" when using
22280 AUTOINSTPARAM. Reported by Bruce T.
22281 (verilog-goto-defun): Fix goto not finding modules unless first
22282 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22283 (verilog-mode): Expand -f flag arguments on entry to mode so
22284 verilog-goto-defun will work. Reported by Lawrence Butcher.
22285 (verilog-getopt): Expand environment variables in -f file
22286 arguments. Suggested by Lawrence Butcher.
22287 (verilog-set-define): Fix "Symbol's value as variable is void"
22288 when reading enumerations.
22289 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22290 Suggested by Stephen Peltan.
22291 (verilog-read-defines): Fix reading of enumerations in include
22292 files. Reported by Steve Peltan.
22294 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22296 * files.el (trash-directory): Fix defcustom type.
22298 2009-06-28 Juri Linkov <juri@jurta.org>
22300 * help-fns.el (describe-function-1): Correctly locate adviced
22301 functions in hyperlink (Bug#2438).
22303 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22305 * files.el (trash-directory): Change default to nil.
22306 (move-file-to-trash): If trash-directory is nil and
22307 system-move-file-to-trash is unbound, perform freedesktop-style
22310 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22312 * files.el (move-file-to-trash): Add freedesktop trash
22315 2009-06-28 Glenn Morris <rgm@gnu.org>
22317 * autorevert.el (global-auto-revert-non-file-buffers)
22318 (global-auto-revert-mode): Doc fixes.
22320 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22322 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22324 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22326 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22327 opened an X connection before calling x-get-resource (Bug#3194).
22329 * play/doctor.el: Remove reference to obsolete website.
22330 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22332 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22334 Remove find-file-not-found-hook VC method. (Bug#2757)
22335 * vc-hooks.el (vc-file-not-found-hook)
22336 (vc-default-find-file-not-found-hook): Remove functions.
22337 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22338 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22341 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22343 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22345 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22346 compatibility function for `looking-back'.
22348 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22349 Use `ispell-looking-back'.
22351 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22353 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22354 rather than `filename'.
22356 2009-06-23 Miles Bader <miles@gnu.org>
22358 * face-remap.el (text-scale-set): New function.
22360 2009-06-23 Glenn Morris <rgm@gnu.org>
22362 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22364 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22366 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22368 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22370 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22371 Simplify Persian conditionals.
22373 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22374 variable `filename'.
22376 * comint.el (comint-insert-input): Doc fix.
22378 * Makefile.in (ELCFILES): Fix typo in previous change.
22380 2009-06-23 Miles Bader <miles@gnu.org>
22382 * cus-start.el: Add entry for `recenter-redisplay'.
22384 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22386 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22387 Add an optional argument for the backend, use it instead of
22388 calling vc-backend.
22389 (vc-mode-line): Add an optional argument for the backend.
22390 Pass the backend to vc-state and vc-working-revision. Move code for
22391 special handling for vc-state being a buffer to ...
22393 * vc-rcs.el (vc-rcs-find-file-hook):
22394 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22396 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22397 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22398 vc-stay-local-p and vc-mode-line calls.
22400 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22401 (vc-cvs-diff, vc-cvs-annotate-command)
22402 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22403 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22404 vc-mode-line calls.
22406 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22408 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22409 backend when calling vc-mode-line.
22410 (vc-register): Do not create a closure for calling the vc register
22411 function, call it directly.
22413 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22415 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22416 to make it obvious item can be clicked.
22418 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22420 2009-06-23 Kenichi Handa <handa@m17n.org>
22422 * language/korea-util.el (korean-key-bindings): Change the binding
22423 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22426 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22428 Sync with Tramp 2.1.16.
22430 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22432 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22433 when a loading of a package fails. Completion function for rsync
22434 is `tramp-completion-function-alist-ssh'.
22435 (all): Replace all calls of `split-string' and
22436 `tramp-split-string' by `tramp-compat-split-string'.
22437 (tramp-default-method): Use `tramp-compat-process-running-p'.
22438 (tramp-default-proxies-alist): Allow also Lisp forms.
22439 (tramp-remote-path): Add choice "Private Directories".
22440 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22441 (tramp-domain-regexp): Allow also "-", "_" and ".".
22442 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22443 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22444 (tramp-debug-message): Insert header line in debug buffer.
22445 (tramp-handle-directory-files-and-attributes-with-stat):
22446 Care about filenames with spaces, or starting with "-".
22447 (tramp-handle-dired-uncache): New defun.
22448 (tramp-handle-insert-directory): Don't flush the directory from
22449 cache, this is handled by `dired-uncache' now.
22450 (tramp-handle-insert-file-contents): Improve error handling.
22451 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22452 Quote `tramp-end-of-output'.
22453 (tramp-action-password): Improve trace message.
22454 (tramp-check-for-regexp): Both echoes must be present, before removing.
22455 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22456 (tramp-compute-multi-hops): Eval cons cells of
22457 `tramp-default-proxies-alist'.
22458 (tramp-maybe-open-connection): Use the same command pattern for
22459 first hop and further hops.
22460 (tramp-wait-for-output): Remove handling of newlines.
22461 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22462 (tramp-split-string): Remove function. It is handled in
22465 * net/tramp-cmds.el (tramp-bug):
22466 Recommend `tramp-cleanup-all-connections' in the bug mail.
22468 * net/tramp-compat.el (tramp-compat-split-string)
22469 (tramp-compat-process-running-p): New defuns.
22471 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22472 for `dired-uncache'.
22474 * net/tramp-gvfs.el: New package.
22476 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22477 Add handler for `dired-uncache'.
22478 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22480 * net/trampver.el: Update release number. Make version check fit
22483 2009-06-22 Jim Meyering <meyering@redhat.com>
22485 Automatically handle .xz suffix (XZ-compressed files), too.
22486 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22487 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22489 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22490 Nick Roberts <nickrob@snap.net.nz>
22492 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22493 repository (http://sphinx.net.ru/hg/gdb-mi/).
22495 2009-06-22 Glenn Morris <rgm@gnu.org>
22497 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22498 `mode' and `eval' entries. (Bug#3430)
22500 * Makefile.in (ELCFILES): Add fadr.elc.
22502 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22503 differing behavior of \n and ^ in strings. (Bug#3385)
22505 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22507 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22509 (lisp-indent-function): Make it a defcustom.
22511 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22513 * progmodes/gdb-ui.el: Replace with ...
22514 * progmodes/gdb-mi.el: ... this file.
22515 * progmodes/gud.el: Modify for gdb-mi.el.
22517 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22519 * fadr.el: New file.
22521 See ChangeLog.14 for earlier changes.
22523 ;; Local Variables:
22527 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22529 This file is part of GNU Emacs.
22531 GNU Emacs is free software: you can redistribute it and/or modify
22532 it under the terms of the GNU General Public License as published by
22533 the Free Software Foundation, either version 3 of the License, or
22534 (at your option) any later version.
22536 GNU Emacs is distributed in the hope that it will be useful,
22537 but WITHOUT ANY WARRANTY; without even the implied warranty of
22538 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22539 GNU General Public License for more details.
22541 You should have received a copy of the GNU General Public License
22542 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.