1 2011-03-04 Glenn Morris <rgm@gnu.org>
3 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
5 2011-03-04 Tom Tromey <tromey@redhat.com>
7 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
9 2011-03-04 Glenn Morris <rgm@gnu.org>
11 * outline.el (outline-regexp): No longer allow nil.
12 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
14 * net/browse-url.el (browse-url):
15 Handle deleted default-directory. (Bug#6077)
17 * recentf.el (recentf-include-p): In case of a buggy predicate,
18 err on the side of including, not excluding. (Bug#5843)
20 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
22 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
25 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
27 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
28 if there is no node. (Bug#3261)
30 2011-03-04 Leo <sdl.web@gmail.com>
32 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
34 * time.el (display-time-world-list): Fix typo. (Bug#7571)
36 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
38 * cus-edit.el (custom-buffer-create-internal):
39 Split search string before passing it to `customize-apropos' (bug#8136).
41 2011-03-04 Drew Adams <drew.adams@oracle.com>
43 * image-dired.el (image-dired-cmd-read-exif-data-options):
44 Fix typo in docstring (bug#8156).
46 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
48 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
50 2011-03-03 Christian Ohler <ohler@gnu.org>
52 * emacs-lisp/ert.el (ert--explain-equal): New function.
53 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
55 (ert--explain-equal-including-properties): Renamed from
56 `ert--explain-not-equal-including-properties'. All callers
59 2011-03-03 Christian Ohler <ohler@gnu.org>
61 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
62 (ert-char-for-test-result, ert-string-for-test-result)
63 (ert-run-tests-batch, ert--print-test-for-ewoc):
64 Handle `ert-test-quit'.
66 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
68 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
69 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
71 2011-03-03 Glenn Morris <rgm@gnu.org>
73 * files.el (file-truename): Doc fix. (Bug#2341)
75 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
77 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
79 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
81 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
82 programs output backslashes. (Bug#7663)
84 2011-03-03 Glenn Morris <rgm@gnu.org>
86 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
87 (mail-mode): Remove mail-sent-via from the doc.
88 (mail-sent-via): Make it obsolete. (Bug#1776)
90 * progmodes/grep.el (grep-highlight-matches): Doc fix.
91 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
93 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
94 with no parents. (Bug#8025)
96 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
98 * password-cache.el (password-in-cache-p): Add autoload.
100 2011-03-02 Glenn Morris <rgm@gnu.org>
102 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
103 * dired-x.el (Man-support-local-filenames): Autoload it.
104 (dired-guess-shell-alist-default): Also handle Red Hat's man.
106 * dired-x.el (dired-default-directory-alist, dired-default-directory):
108 (dired-smart-shell-command): Just call dired-current-directory.
110 * dired-x.el (dired-jump-other-window): Add autoload.
111 (dired-default-directory-alist, dired-default-directory): Doc fixes.
112 (dired-default-directory-alist): Mark as risky.
114 * dired-x.el (dired-omit-here-always): Make it obsolete.
116 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
118 * textmodes/artist.el (artist-curr-go): Default to pen-line.
119 (artist-select-op-pen-line): New function.
120 (artist-menu-map): New variable.
121 (artist-mode-map): Add a menu to the menu-bar.
123 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
125 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
128 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
130 (math-logunits-add, math-logunits-mul, math-logunits-divide):
131 (math-logunits-quant, math-logunits-level):
132 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
134 (math-logunits-level): Extract units from ratio.
136 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
138 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
140 2011-03-01 Glenn Morris <rgm@gnu.org>
142 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
143 (diary-hebrew-birthday): Rename and rework functions added
146 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
148 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
149 (diary-hebrew-birthday): New functions.
151 2011-03-01 Glenn Morris <rgm@gnu.org>
153 * dired.el (dired-safe-switches-p): Beef it up.
154 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
156 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
158 * dired.el (dired-safe-switches-p): New function.
160 2011-03-01 Glenn Morris <rgm@gnu.org>
162 * files.el (dir-locals-collect-variables):
163 Add the ability to exclude subdirectories. (Bug#8100)
165 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
167 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
169 * ido.el (ido-everywhere): Doc fix.
172 2011-02-28 Glenn Morris <rgm@gnu.org>
174 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
176 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
178 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
181 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
183 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
185 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
187 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
188 Fix typos in docstrings.
190 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
192 * dired-aux.el (dired-update-file-line):
193 Fix 2010-11-09 change. (Bug#8131)
195 2011-02-28 Eli Zaretskii <eliz@gnu.org>
197 * international/mule-cmds.el (set-default-coding-systems): Use the
198 -unix variant of encoding in default-keyboard-coding-system.
201 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
203 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
205 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
207 * term/screen.el: New file (Bug#2650).
209 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
211 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
212 (pcase-mutually-exclusive-predicates): New var.
213 (pcase--split-consp, pcase--split-pred): Use it.
214 (pcase--split-equal, pcase--split-member): When splitting against
215 a pure predicate, run it to know the outcome.
216 (pcase--u1): Mark vars that are actually used.
217 (pcase--q1): Avoid introducing unused vars.
219 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
221 * calc/calc-ext.el (calc-init-extensions):
222 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
224 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
227 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
228 argument is a variable.
230 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
232 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
233 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
234 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
236 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
238 * password-cache.el (password-in-cache-p): Convenience function to
239 check if a key is in the cache, even if the value is nil.
241 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
243 * emacs-lisp/package-x.el (package--archive-contents-from-url)
244 (package--archive-contents-from-file): New functions.
245 (package-update-news-on-upload): New var.
246 (package-upload-buffer-internal): Extract archive-contents from
247 package-archive-upload-base if it is not found at archive-url.
248 Obey package-update-news-on-upload.
249 (package-upload-buffer, package-upload-file): Doc fix.
251 2011-02-24 Glenn Morris <rgm@gnu.org>
253 * files-x.el (modify-dir-local-variable): Handle dir-locals from
254 the cache, and from non-file sources.
256 * help-fns.el (describe-variable): Return consistent results when a
257 dir-local from a file came from the cache or did not. (Bug#8095)
258 If a dir-local has no associated file, say it came from a "directory".
260 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
261 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
263 * files.el (dir-locals-find-file): Doc fix.
264 Fix the check for cache elements that have no associated file,
265 and the mtime check for those that do. (Bug#8095)
267 * dired-x.el (dired-hack-local-variables):
268 Handle interrupts during hacking local variables. (Bug#5216)
270 * emacs-lisp/autoload.el (autoload-save-buffers)
271 (autoload-find-destination, update-directory-autoloads):
272 Avoid prompts when updating autoloads.
274 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
276 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
278 2011-02-23 Kenichi Handa <handa@m17n.org>
280 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
281 error when a multipart boundary in the nested multipart is found.
283 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
286 2011-02-23 Glenn Morris <rgm@gnu.org>
288 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
289 * dired-x.el (dired-omit-mode): Safe if boolean.
290 (dired-enable-local-variables): Fix doc and custom type.
291 (dired-enable-local-variables, dired-local-variables-file)
292 (dired-hack-local-variables): Make obsolete.
293 (dired-omit-here-always): Use dir-locals.el instead.
295 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
297 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
299 * help-fns.el (describe-function-1): Don't signal an error just because
300 the DOC file disappeared.
302 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
304 * eshell/esh-ext.el (eshell-external-command): Do not restrict
305 remote check to "ftp". (Bug#8089)
307 2011-02-21 Alan Mackenzie <acm@muc.de>
310 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
311 in macros finding their way into c-state-nonlit-pos-cache.
312 Strengthen the comments.
313 (c-state-dump): New commented out diagnostic routine.
315 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
318 `field' property of `rfn-eshadow-overlay'.
320 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
322 * net/netrc.el (netrc-parse): Comment fix.
324 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
326 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
327 Autoload. Add optional arg FRAME, and pass it to color-values.
328 (color-complement): Caller changed. Doc fix.
329 (color-gradient): Rewrite for better clarity and efficiency.
331 * faces.el (color-values): Use cond for clarity. Doc fix.
333 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
335 (list-colors-sort-key, list-colors-print):
336 Use color-normalized-values.
338 2011-02-20 Drew Adams <drew.adams@oracle.com>
340 * color.el: First part of merge from hexrgb.el.
341 (color-rgb-to-hex): Rename from color-rgb->hex.
342 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
343 saturation to zero if the value is too small.
344 (color-rgb-to-hsl): Rename from color-rgb->hsl.
345 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
346 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
347 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
348 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
349 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
350 (color-cie-de2000): Doc fix.
352 2011-02-20 Alan Mackenzie <acm@muc.de>
354 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
355 locating the beginning of a macro. (Bug#7595)
357 2011-02-20 Glenn Morris <rgm@gnu.org>
359 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
362 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
363 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
365 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
366 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
368 * progmodes/hideshow.el (hs-find-block-beginning)
369 (hs-hide-level-recursive): Ignore comments when parsing braces
372 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
374 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
375 (vc-bzr-pull): Use it.
377 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
379 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
380 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
381 but returning an alist. Ignore comments in bzr conffile.
382 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
383 (vc-bzr-error-regex-alist): New var.
384 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
386 * vc/vc-dispatcher.el (vc-do-async-command):
387 Bind inhibit-read-only to t.
389 * progmodes/compile.el (compilation--flush-directory-cache):
390 Handle the case where cdr of compilation--flush-directory-cache
391 points to no buffer, which can occur if we previously switched to
392 compilation-mode in a pregenerated buffer.
394 2011-02-19 Kenichi Handa <handa@m17n.org>
396 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
397 get the header copy into the temporary buffer.
398 (rmail-mime-insert-decoded-text): Ignore us-ascii.
399 (rmail-show-mime): When rmail-mime-coding-system is nil, set
400 buffer-file-coding-system to undecided.
402 2011-02-19 Eli Zaretskii <eliz@gnu.org>
404 * international/mule-cmds.el (read-char-by-name, ucs-insert):
405 Document completion with asterisk and a substring.
407 2011-02-19 Glenn Morris <rgm@gnu.org>
409 * files.el (find-file-literally): Doc fix.
411 * simple.el (rfc822-goto-eoh): Give it a doc-string.
413 * log-edit.el (log-edit-insert-changelog):
414 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
416 2011-02-19 Glenn Morris <rgm@gnu.org>
418 * dired-x.el: Don't require dired-aux.
419 (dired-do-create-files, dired-mark-read-regexp)
420 (dired-do-create-files-regexp): Autoload from dired-aux.
422 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
423 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
425 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
426 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
428 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
429 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
430 (dired-clean-up-buffers-too): Declare.
432 * dired-x.el (dired-initial-position): Merge into dired.el's version.
433 * dired.el (dired-initial-position): Merge dired-x's version here.
434 (dired-find-subdir): Declare.
436 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
437 * dired-aux.el (dired-add-entry): Give it a doc-string.
438 Merge dired-x's dired-omit handling here.
439 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
441 * international/mule-diag.el (list-input-methods-1):
442 Indent all lines of multi-line doc-strings. (Bug#8066)
444 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
446 Fix 2011-02-02 changes.
448 * apropos.el (apropos-print): Call apropos-mode before setting up
449 buffer variables. Use inhibit-read-only.
451 * emacs-lisp/package.el (package--list-packages):
452 Call package-menu-mode before setting up buffer variables.
454 * play/solitaire.el (solitaire): Call solitaire-mode before
455 setting up buffer variables. Use inhibit-read-only.
457 2011-02-18 Lawrence Mitchell <wence@gmx.li>
459 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
460 Bind case-fold-search to nil when looking for end of here-doc.
462 2011-02-18 Eli Zaretskii <eliz@gnu.org>
464 * image-mode.el (image-toggle-display-image):
465 Set find-file-literally non-nil in buffers visiting binary image
468 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
470 * files.el (cd): Make completion obey cd-path (bug#7924).
472 2011-02-18 Glenn Morris <rgm@gnu.org>
474 * progmodes/prolog.el: Don't require compile when compiling.
475 (compilation-shell-minor-mode, compilation-error-regexp-alist)
476 (compilation-forget-errors, compilation-fake-loc)
477 (compilation-parse-errors-function, compilation-error-list): Declare.
478 (prolog-inferior-mode): Require 'compile.
480 * emulation/cua-base.el (pc-selection-mode): Declare.
482 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
483 (customize-object): Add autoload cookie.
484 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
485 (eieio-browse, describe-class, eieio-describe-class)
486 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
487 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
488 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
489 * Makefile.in (autoloads): Make eieio.el writable.
491 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
492 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
493 (dired-hack-local-variables): Use inhibit-read-only.
494 (dired-guess-default): Simplify.
495 (dired-make-relative-symlink): Use dotimes.
496 (dired-simultaneous-find-file): Use dolist.
497 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
498 (dired-x-hands-off-my-keys): Doc fix.
499 (dired-x-bind-find-file): Doc fix. Use remapping.
500 (after-init-hook): No need to add dired-x-bind-find-file.
501 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
502 No need to call expand-file-name.
503 (dired-filename-at-point): Remove unused locals `end', `filename'.
505 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
507 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
509 2011-02-18 Christian Ohler <ohler@gnu.org>
511 * emacs-lisp/ert.el (ert--setup-results-buffer)
512 (ert-results-pop-to-backtrace-for-test-at-point)
513 (ert-results-pop-to-messages-for-test-at-point)
514 (ert-results-pop-to-should-forms-for-test-at-point)
515 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
516 were incorrect and unnecessary. This should make `make check'
519 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
521 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
522 (allout-widgets-icons-dark-subdir): Track relocations of icons
523 * lisp/allout.el: Remove commentary about remove encryption
524 passphrase mnemonic support and verification.
525 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
526 failure to decrypt gpg2 armored text using gpg1, and indicate that
527 the gpg version *might* be the problem in the error message.
529 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
531 * net/rcirc.el (rcirc-float-time): New function.
532 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
533 (rcirc-ctcp-sender-PING): Use it.
535 2011-02-17 Glenn Morris <rgm@gnu.org>
537 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
538 (speedbar-update-flag, speedbar-fetch-etags-command)
539 (speedbar-fetch-etags-arguments):
540 * term.el (term-buffer-maximum-size, term-input-chunk-size)
541 (term-completion-autolist, term-completion-addsuffix)
542 (term-completion-recexact, term-completion-fignore):
543 * term/sup-mouse.el (sup-mouse-fast-select-window):
544 * term/x-win.el (x-select-request-type):
545 Convert some defvars with "*" to defcustoms.
547 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
549 * vc/vc.el (vc-default-previous-version):
550 Remove alias that points nowhere. (Bug#4496)
552 * dired-x.el (dired-clean-up-after-deletion):
553 kill-buffer does not need save-excursion.
554 (dired-do-run-mail): Doc fix.
555 (dired-filename-at-point): Doc fix.
556 Use looking-at, and skip-chars rather than re search.
558 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
560 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
562 * allout-widgets.el: New allout extension that shows allout
563 outline structure with graphical widgets. 'allout-widgets'
564 customize group is an 'allout' subgroup, for easy discovery.
566 * allout.el: Include PGP and GnuPG in Keywords, and other
567 commentary refinements.
568 (allout-abbreviate-flattened-numbering): Rename to
569 allout-flattened-numbering-abbreviation, and
570 define-obsolete-variable-alias the old name.
571 (allout-flattened-numbering-abbreviation): Rename from
572 allout-abbreviate-flattened-numbering.
573 (allout-mode-p): Include among autoloads, for use by other modes
575 (allout-listify-exposed):
576 Use allout-flattened-numbering-abbreviation.
577 (allout-encrypt-string): Use set-buffer-multibyte directly.
578 (allout-set-buffer-multibyte): Remove.
580 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
582 * simple.el (just-one-space): Remove useless `or' call.
584 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
586 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
587 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
588 (soap-decoded-multi-refs, soap-current-wsdl)
589 (soap-encoded-namespaces): Rename CL-style *...* variables.
591 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
593 * net/soap-client.el: Add "comm" and "hypermedia" to the
594 keywords. Reflow too long lines.
596 * net/soap-inspect.el: Ditto. Require 'cl.
598 2011-02-16 Bastien Guerry <bzg@altern.org>
600 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
601 in a `doctor-type' argument.
603 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
605 * net/soap-client.el:
606 * net/soap-inspect.el: New files.
608 2011-02-16 Leo <sdl.web@gmail.com>
610 * dired-x.el (dired-mode-map, dired-extra-startup):
611 Remove dired-copy-filename-as-kill since it's already in dired.el.
613 2011-02-16 Glenn Morris <rgm@gnu.org>
615 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
616 Doc fixes. Add :set property, replacing top-level calls.
617 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
618 (dired-guess-shell-gnutar): Test tar version rather than system-type.
619 (dired-extra-startup, dired-man, dired-info): Doc fixes.
620 (dired-clean-up-after-deletion): Use when and dolist.
621 (dired-jump): Use unless and when.
622 (dired-virtual): Use line-end-position.
623 (dired-default-directory-alist): Rename from default-directory-alist.
624 (dired-default-directory): Update for above name change.
625 (dired-vm): Drop VM < 5 and simplify.
626 (dired-buffer-more-recently-used-p): Rewrite.
627 (dired-filename-at-point): Use when and or.
628 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
631 2011-02-15 Glenn Morris <rgm@gnu.org>
633 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
635 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
637 * vc/vc-git.el (vc-git-root-log-format): New option for
638 customizing log format.
639 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
640 (vc-git-log-view-mode): Use it.
641 (vc-git-expanded-log-entry): New function.
642 (vc-git-log-view-mode): Use it. Truncate lines in root log.
644 * vc/vc-hg.el (vc-hg-root-log-template): New option for
645 customizing log format.
646 (vc-hg-print-log): Use it.
647 (vc-hg-expanded-log-entry): New function.
648 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
649 vc-hg-expanded-log-entry. Truncate lines in root log.
651 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
653 * vc/log-view.el (log-view-mode-menu):
654 Add log-view-toggle-entry-display.
656 2011-02-14 Glenn Morris <rgm@gnu.org>
658 * dired-x.el: Don't require man when compiling.
659 (dired-omit-extensions, dired-local-variables-file)
660 (dired-x-hands-off-my-keys): Make them defcustoms.
661 (Man-support-local-filenames, Man-getpage-in-background): Declare.
662 (vm-visit-folder): Declare rather than defining.
663 (dired-x-help-address, dired-x-variable-list): Remove.
664 (dired-x-submit-report): Make it an obsolete alias.
666 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
668 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
670 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
672 * net/imap.el: Bring it back.
674 2011-02-13 Alan Mackenzie <acm@muc.de>
676 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
677 narrow-to-region call that cuts context off the end (Bug#7722).
679 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
680 Refactor nested if-forms with a simple cond.
681 (c-forward-<>-arglist): Revert 2011-01-31 change.
683 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
685 * vc/log-view.el: New command log-view-toggle-entry-display for
686 toggling log entries between concise and detailed forms.
687 (log-view-toggle-entry-display): New command.
688 (log-view-mode-map): Bind RET to it.
689 (log-view-expanded-log-entry-function): New variable.
690 (log-view-current-entry, log-view-inside-comment-p)
691 (log-view-current-tag): New functions.
692 (log-view-toggle-mark-entry): Use log-view-current-entry and
693 log-view-end-of-defun instead of searching directly with
695 (log-view-end-of-defun): Likewise. Add optional ARG for
696 compatibility with end-of-defun.
697 (log-view-end-of-defun): Ignore comments and VC buttons.
699 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
700 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
702 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
704 * net/imap.el: Remove file. All the functionality is in nnimap.el.
706 * net/imap-hash.el: Remove file.
708 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
710 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
712 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
715 * net/tramp-imap.el: Remove file.
717 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
719 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
720 widget library for buttons, just use button.el.
722 * vc/log-view.el (log-view-mode-map): Don't inherit from
725 2011-02-12 Glenn Morris <rgm@gnu.org>
727 * emacs-lisp/cl-seq.el (union, nunion, intersection)
728 (nintersection, set-difference, nset-difference)
729 (set-exclusive-or, nset-exclusive-or): Doc fix.
731 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
733 * faces.el (face-attr-match-p): Handle the obsolete :bold and
734 :italic props, so that frame-set-background-mode works. (Bug#7966)
736 * simple.el (next-error): Doc fix.
738 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
740 * dired-aux.el (dired-create-files): Adapt destination name to
741 match the new behavior of copy-directory.
743 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
745 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
746 from rmail-dont-reply-to-names. Callers changed.
747 (mail-dont-reply-to): Rename from mail-dont-reply-to.
748 (rmail-dont-reply-to): Make it an obsolete alias.
750 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
751 nil, and make obsolete (Bug#7888).
752 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
754 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
756 * mail/rmailsort.el (rmail-sort-by-correspondent)
757 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
759 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
761 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
763 * files.el (copy-directory): New argument COPY-CONTENTS for
764 copying directory contents into another existing directory.
766 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
768 * minibuffer.el (completion-table-case-fold): New function for
769 creating a case-insensitive completion table.
771 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
773 * net/tramp.el (tramp-default-method): Also check if
774 `auth-source-search' is bound.
775 (tramp-read-passwd): Use `auth-source-search' instead of
776 `auto-source-user-or-password'.
778 * net/tramp-imap.el: Autoload `auto-source-search' instead of
779 `auto-source-user-or-password.
780 (tramp-imap-passphrase-callback-function): Use it.
782 * net/imap-hash.el: Autoload `auto-source-search' instead of
783 `auto-source-user-or-password.
784 (imap-hash-open-connection): Use it.
786 * mail/smtpmail.el: Autoload `auto-source-search' instead of
787 `auto-source-user-or-password.
788 (smtpmail-try-auth-methods): Use it.
790 2011-02-12 Phil Hagelberg <phil@hagelb.org>
792 * emacs-lisp/package.el: Allow packages to be reinstalled.
793 (package--write-file-no-coding): Remove EXCL arg.
794 (package-unpack-single): Don't use it.
796 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
798 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
799 in each sub directory.
800 (vc-svn-registered): Use vc-svn-root.
801 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
802 (vc-svn-repository-hostname): Use "svn info".
804 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
806 * simple.el (delete-trailing-whitespace): New optional buffer
809 2011-02-11 Bastien Guerry <bzg@altern.org>
811 * files.el (basic-save-buffer): save unmodified buffers when
812 the file pointed by buffer-file-name doesn't exist.
814 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
816 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
818 2011-02-11 Glenn Morris <rgm@gnu.org>
820 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
822 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
824 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
826 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
828 * server.el (server-process-filter): Use pcase.
830 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
832 (smie-indent--parent): Extend to "parent of arg".
833 (smie-indent-inside-string): New function.
834 (smie-indent-functions): Use it.
836 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
837 bzr locking race condition.
839 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
840 still valid before using it.
842 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
843 `message' -> `compilation-message' rename (bug#8004).
845 Move keymap initialization into declaration.
846 * textmodes/enriched.el (enriched-mode-map):
847 * textmodes/bib-mode.el (bib-mode-map):
848 * term/lk201.el (lk201-function-map):
849 * tar-mode.el (tar-mode-map):
850 * replace.el (occur-mode-map):
851 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
852 * progmodes/idlw-help.el (idlwave-help-mode-map):
853 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
854 * play/solitaire.el (solitaire-mode-map):
855 * play/snake.el (snake-mode-map, snake-null-map):
856 * play/pong.el (pong-mode-map):
857 * play/handwrite.el (menu-bar-handwrite-map):
858 * play/gametree.el (gametree-mode-map):
859 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
860 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
861 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
862 (newsticker--url-keymap):
863 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
864 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
865 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
866 (menu-bar-edit-menu, menu-bar-custom-menu)
867 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
868 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
869 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
870 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
871 (menu-bar-tools-menu, menu-bar-describe-menu)
872 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
873 (menu-bar-help-menu):
874 * mail/rmailsum.el (rmail-summary-mode-map):
875 * kmacro.el (kmacro-step-edit-map):
876 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
877 (ibuffer-mode-operate-map):
878 * hi-lock.el (hi-lock-menu, hi-lock-map):
879 * emulation/vip.el (vip-mode-map):
880 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
881 * bookmark.el (bookmark-bmenu-mode-map):
882 * help-mode.el (help-mode-map): Move initialization into declaration.
884 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
886 * net/rcirc.el: Add PRIVMSG and CTCP functions.
887 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
888 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
889 (rcirc-cmd-me, rcirc-authenticate): Use them.
891 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
893 * allout.el: Synopsis: Change allout user configuration so
894 auto-activation is controlled solely by customization
895 `allout-auto-activation'.
897 (allout-auto-activation-helper) (allout-setup): New autoloads
898 implement new custom set procedure for allout-auto-activation.
899 Also, explicitly invoke
900 (allout-setup) after allout-auto-activation is custom-defined, to
901 effect the settings in emacs sessions besides the few where
902 allout-auto-activation customization is donea.
903 (allout-auto-activation): Use allout-auto-activation-helper to
904 :set. Revise the docstring.
905 (allout-init): Reduce functionality to just customizing
906 allout-auto-activation, and mark obsolete.
907 (allout-mode): Respect string values for allout-auto-activation.
908 Run allout-after-copy-or-kill-hook without any args.
909 (allout-mode) (allout-layout) (allout-default-layout)
910 (outlineify-sticky): Adjust docstring for new scheme.
911 (allout-after-copy-or-kill-hook): No arguments - hook implementers
912 should concentrate on the kill ring.
914 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
916 * password-cache.el (password-cache-remove): Accept secrets that are
919 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
921 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
922 of here-doc that immediately follows a comment.
924 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
926 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
928 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
930 (rcirc-ctcp-sender-PING): New function.
932 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
934 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
935 Remove the mark/nomark handling, and activate shift-select-mode instead.
937 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
939 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
941 * calc/calc-units.el (math-logunits-quant): Add support for
942 non-logarithmic units.
944 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
946 * allout.el (allout-after-copy-or-kill-hook): New hook for
947 extension-specific processing of killed text.
948 (allout-mode): Include new allout-after-copy-or-kill-hook among
950 (allout-kill-line) (allout-kill-topic): Ensure that processing
951 after kill happens even if barf-if-buffer-read-only is raised.
952 Include new allout-after-copy-or-kill-hook among that subsequent
954 (allout-deannotate-hidden): Actually remove the annotation text
957 * allout.el (allout-listify-exposed): Copy text sans text properties.
959 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
961 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
963 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
965 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
967 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
969 * calc/calc.el (calc-logunits-field-reference): Rename from
970 `calc-default-field-reference-level'.
971 (calc-logunits-power-reference): Rename from
972 `calc-default-power-reference-level'
974 * calc/calc-units.el (math-logunits-quant): Rename from
975 `math-logunits-level'
976 (math-logunits-plus): Rename from math-logcombine.
977 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
978 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
979 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
981 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
982 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
983 (calc-logunits-quantity): Rename from `calc-level'.
984 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
985 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
986 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
987 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
988 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
991 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
992 (calc-ul-prefix-help): Remove.
993 (calc-l-prefix-help): New function.
994 (calc-full-help): Add reference to `calc-l-prefix-help'.
996 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
998 * calc/README: Mention logarithmic units.
1000 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1002 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1003 non-ASCII characters (Bug#7925).
1005 2011-02-05 Glenn Morris <rgm@gnu.org>
1007 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1009 * calendar/diary-lib.el (diary-font-lock-keywords):
1010 Tweak diary-time-regexp match. (Bug#7891)
1012 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1013 (f90-mode): Use it for mode's `find-tag-default-function' property.
1015 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1017 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1019 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1021 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1024 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1027 font-lock-syntax-table remappings.
1028 (sh-here-doc-markers, sh-here-doc-re): Remove.
1029 (sh-font-lock-close-heredoc): Remove.
1030 (sh-syntax-propertize-here-doc): New function.
1031 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1032 instead of the sh-here-doc-re.
1033 (sh-font-lock-paren): Don't do anything in comments or strings.
1034 Handle line continuations. Accept a few more chars.
1035 Don't rely on the font-lock-syntax-table remappings.
1036 `esac' is not a valid pattern.
1037 (sh-syntax-propertize-function): Handle here-docs differently, so we
1038 don't bother syntax-propertizing the insides.
1040 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1041 Handle new bashisms ";&" and ";;&" (bug#7947).
1043 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1045 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1046 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1048 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1050 * net/tramp.el (tramp-postfix-method-format)
1051 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1052 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1053 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1054 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1055 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1058 2011-02-04 Sam Steingold <sds@gnu.org>
1060 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1062 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1064 * international/mule-util.el (with-coding-priority): Doc fix.
1066 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1068 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1070 2011-02-03 Sam Steingold <sds@gnu.org>
1072 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1073 Do not error out when `func' is nil.
1075 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1077 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1078 `tramp-default-remote-path' to the docstring.
1079 (tramp-get-remote-path): Suppress error message when `getconf
1082 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1084 2011-02-03 Glenn Morris <rgm@gnu.org>
1086 * vc/vc-hg.el (vc-hg-command): Doc fix.
1088 * term/w32-win.el (libpng-version): Declare for compiler.
1090 * msb.el: No need to load dired while compiling.
1092 * emacs-lisp/elint.el (elint-standard-variables):
1093 Remove a couple of built-ins that now have doc-strings.
1095 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1096 `require' is automatically `eval-and-compile'd.
1098 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1099 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1101 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1102 Move definition before use.
1103 (strokes-report-bug): Make it obsolete.
1105 2011-02-02 Sam Steingold <sds@gnu.org>
1107 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1108 from `special-mode', entering it makes the buffer read-only, so
1109 call it only when everything has been already inserted.
1110 * emacs-lisp/ert.el (ert--setup-results-buffer)
1111 (ert-results-pop-to-backtrace-for-test-at-point)
1112 (ert-results-pop-to-messages-for-test-at-point)
1113 (ert-results-pop-to-timings): Ditto.
1114 * emacs-lisp/package.el (package--list-packages): Ditto.
1115 * play/solitaire.el (solitaire): Ditto.
1117 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1119 * progmodes/compile.el: Make all faces inherit.
1120 (compilation-warning): Inherit from font-lock-variable-name-face.
1121 (compilation-info): Inherit from font-lock-type-face.
1122 (compilation-line-number): Reassign to font-lock-keyword-face.
1123 (compilation-column-number): Reassign to font-lock-doc-face.
1124 (compilation-leave-directory-face): Reassign to
1125 font-lock-builtin-face.
1127 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1129 * dired.el (dired-insert-directory): Don't invoke `ls' when
1130 ls-lisp.el is used to emulate it.
1132 2011-02-01 Julien Danjou <julien@danjou.info>
1134 * color.el (color-gradient): Add a color-gradient function.
1136 2011-02-01 Sam Steingold <sds@gnu.org>
1138 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1139 bind "z" to `kill-this-buffer'.
1140 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1141 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1142 (apropos-mode): Inherit from `special-mode'.
1143 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1144 * bookmark.el (bookmark-bmenu-mode): Define using
1145 `define-derived-mode' inheriting from `special-mode'.
1146 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1147 * image-mode.el (image-mode-map): Ditto.
1148 * replace.el (occur-mode): Define using
1149 `define-derived-mode' inheriting from `special-mode'.
1150 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1151 * calendar/diary-lib.el (diary-fancy-display-mode):
1152 Inherit from `special-mode-map'.
1153 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1154 Inherit from `special-mode'.
1155 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1157 (package-menu-mode): Define using `define-derived-mode'
1158 inheriting from `special-mode'.
1159 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1160 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1161 (xesam-mode-map): Define separately.
1162 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1163 * progmodes/compile.el (compilation-minor-mode-map)
1164 (compilation-mode-map): Inherit from `special-mode-map'.
1165 * vc/diff-mode.el (diff-mode-shared-map):
1166 Inherit from `special-mode-map'.
1167 * vc/log-view.el (log-view-mode-map): Add a comment.
1169 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1171 * custom.el (load-theme): Define return value. Drop use of
1172 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1173 (custom-theme-load-confirm): Scroll in the correct window.
1174 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1176 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1177 checkbox if load-theme fails.
1179 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * progmodes/compile.el (compilation-next-error): Check there's
1182 a message before using it (bug#7941).
1184 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1186 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1187 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1188 of potential pivots.
1190 2011-01-31 Alan Mackenzie <acm@muc.de>
1192 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1193 Continue parsing if we encounter a naked # (Bug#7595).
1194 (c-beginning-of-statement): Avoid loop in locating the beginning
1195 of a macro. (Not actually committed until 2011-02-20, see above).
1197 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1199 * files.el (copy-directory): Fix arguments to recursive call.
1201 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1203 * files.el (copy-directory): If destination is an existing
1204 directory, copy into a subdirectory there.
1206 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1208 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1211 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1213 * image-dired.el (image-dired-mouse-display-image): No-op if no
1214 file is found (Bug#7817).
1216 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1218 2011-01-31 Kenichi Handa <handa@m17n.org>
1220 * international/quail.el (quail-keyboard-layout-alist):
1221 Remove superfluous SPC for "pc105-uk" (bug#7927).
1223 2011-01-31 Glenn Morris <rgm@gnu.org>
1225 * msb.el (msb-menu-bar-update-buffers): Update for changed
1226 argument handling of menu-bar-select-frame. (Bug#7902)
1228 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1230 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1231 to the recursion depth (Bug#7722).
1233 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1235 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1236 command-line-default-directory (Bug#7872).
1238 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * progmodes/compile.el (compilation--flush-directory-cache):
1241 New function, extracted from compilation--remove-properties.
1242 (compilation--remove-properties, compilation--parse-region): Use it.
1243 (compilation--previous-directory): Handle one more case.
1244 (compilation-enable-debug-messages): Remove.
1245 (compilation-parse-errors, compilation--flush-parse): Just remove the
1246 left over debug messages.
1248 2011-01-31 Sam Steingold <sds@gnu.org>
1250 * progmodes/compile.el (compilation-enable-debug-messages):
1251 Add a variable to make the parsing messages introduced in
1252 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1253 (compilation-parse-errors, compilation--flush-parse): Use it.
1255 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1257 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1258 (rcirc-nick-completion-format): New defcustom.
1259 (rcirc-complete): Use it.
1261 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1263 * net/rcirc.el: Clean log filenames (Bug#7933).
1264 (rcirc-log-write): Use convert-standard-filename.
1265 (rcirc-log-filename-function): Documentation updates.
1267 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1269 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1270 Check report-emacs-bug-can-use-osx-open and use that if t.
1271 (report-emacs-bug-can-use-osx-open): New function.
1272 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1273 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1275 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1277 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1278 updating Dired or VC-dir buffers after async command completes.
1280 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1281 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1283 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1284 completions if it exists. Use vc-set-async-update.
1285 (vc-git-pull): Use vc-set-async-update.
1287 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1288 read-shell-command. Use vc-set-async-update.
1289 (vc-hg-merge-branch): Use vc-set-async-update.
1291 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1293 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1294 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1297 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * progmodes/compile.el: Avoid an N² behavior in grep.
1300 (compilation--previous-directory): New fun.
1301 (compilation--previous-directory-cache): New var.
1302 (compilation--remove-properties): Flush it.
1303 (compilation-directory-properties, compilation-error-properties):
1304 Use the new fun to speed up looking for the current directory.
1306 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1308 * vc/vc-hg.el (vc-hg-history): New var.
1309 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1310 (vc-hg-merge-branch): New function.
1312 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1313 the other way around.
1315 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1316 (vc-git-merge-branch): New functions.
1317 (vc-git-history): New var.
1319 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1321 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1323 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1324 vc-do-async-command.
1326 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1329 2011-01-28 Leo <sdl.web@gmail.com>
1331 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1332 highlighting to the "this function is advised" message.
1334 * help-mode.el (help-mode-finish): Apply highlighting here, to
1335 avoid clobbering by substitute-command-keys (Bug#6304).
1337 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1339 * woman.el (woman0-roff-buffer): Process roff escape sequences
1340 occurring prior to the first request (Bug#7843).
1342 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1344 * progmodes/compile.el: Don't use font-lock any more.
1345 (compilation-error-regexp-alist-alist): Change handling of makepp
1346 so it preserves the warning/error distinction on subsequent files.
1347 Simplify various rules.
1348 (compilation-directory-properties): Use font-lock-face.
1349 Add a compilation-message property.
1350 (compilation-internal-error-properties): Use font-lock-face.
1351 Don't set the compilation-debug property here.
1352 (compilation--put-prop, compilation--remove-properties)
1353 (compilation--parse-region, compilation--ensure-parse)
1354 (compilation--ensure-parse): New functions.
1355 (compilation-parse-errors): New function, largely inspired of
1356 compilation-mode-font-lock-keywords. Set compilation-debug here.
1357 (compilation--parsed): New var.
1358 (compilation--flush-parse): Use compilation--ensure-parse.
1359 (compilation-start): Don't call font-lock.
1360 (compilation-turn-on-font-lock): Remove.
1361 (compilation-setup): Don't set font-lock-extra-managed-props not change
1362 other font-lock settings, other than keywords.
1363 Don't activate font-lock-mode.
1364 Set change-major-mode-hook and before-change-functions.
1365 (compilation--unsetup): Remove properties and hooks.
1366 (compilation-next-single-property-change): New function.
1367 (compilation-next-error): Use it to parse when needed.
1368 (compile-goto-error): Parse buffer as needed.
1369 (compilation--compat-error-properties): Don't need a dummy `face'
1372 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1374 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1375 (compilation-process-setup-function): Fix docstring's false promises.
1376 (compilation-error-regexp-alist-alist): Catch omake's continuous
1377 recompilation message and avoid reuse of old markers.
1378 (compilation-parse-errors-function): Declare obsolete.
1379 (compilation-buffer-modtime): Remove.
1380 (compilation--make-cdrloc, compilation--loc->col)
1381 (compilation--loc->line, compilation--loc->file-struct)
1382 (compilation--loc->marker, compilation--loc->visited)
1383 (compilation--make-file-struct, compilation--file-struct->file-spec)
1384 (compilation--file-struct->formats)
1385 (compilation--file-struct->loc-tree): New macros. Use them.
1386 (compilation--message): New defstruct. Use them.
1387 (compilation-next-error-function): Don't mess with timestamps to try
1388 and guess when to reparse.
1390 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1393 (tex-old-error-file-name): New function,
1394 extracted from tex-compilation-parse-errors.
1395 (tex-compilation-parse-errors): Remove.
1396 (tex-error-regexp-alist): New var.
1397 (tex-shell): Use it to avoid compilation-parse-errors-function.
1399 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1400 (grep-mode-font-lock-keywords): Remove regexp that seems like
1401 a left-over from before we used compile.el.
1402 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1403 modifying the buffer within with-silent-modifications.
1405 * progmodes/compile.el: Cleanup text-properties namespace by using
1406 `compilation-message' instead of `message', `compilation-directory'
1407 instead of `directory', and `compilation-debug' instead of `debug'.
1408 (compilation-last-buffer, compilation-parsing-end)
1409 (compilation-error-list, compilation-old-error-list): Move to the
1410 compatibility part of the code.
1411 (compilation-error-properties): If `file' is a function, let it return
1413 (compilation-mode-font-lock-keywords): Be more conservative with the
1414 omake "^ *" pattern prefix, to try and minimize the risk of
1415 pathologically slow regexp matching.
1416 (compilation-start): Use inhibit-read-only.
1417 (compilation--unsetup): New function.
1418 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1419 (compilation-filter): Minor tweaks.
1420 (compilation-next-error-function): Try and avoid abusing variables.
1421 (compilation--flush-file-structure): New fun.
1422 (compilation-fake-loc): Use it to improve behavior when file is reused.
1423 (debug-ignored-errors): Add "Moved past last ...".
1424 (compilation--compat-error-properties)
1425 (compilation--compat-parse-errors): Rename by doubling the "-".
1427 Port features from the previous prolog.el to the new one.
1428 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1429 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1430 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1431 variable and use a function to compute the value dynamically.
1432 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1433 (prolog-continued-prompt-regexp): Remove, unused.
1434 (prolog-find-value-by-system): Try and use the value of prolog-system
1435 in the *prolog* buffer if it helps.
1436 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1437 (prolog-zip-on): ..and check prolog-system and version here instead.
1438 (prolog-inferior-self-insert-command): New command.
1439 (prolog-inferior-mode-map): Use it.
1440 (prolog-inferior-error-regexp-alist): New var.
1441 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1442 (prolog-input-filter): Use derived-mode-p.
1443 (prolog-inferior-guess-flavor): New function.
1444 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1445 make-comint to avoid running comint-mode twice.
1446 (prolog-inferior-buffer): New fun.
1447 (prolog-old-process-region, prolog-old-process-file):
1448 Don't call prolog-bsts here...
1449 (prolog-build-prolog-command): ...do it here instead.
1450 (prolog-old-process-region, prolog-old-process-file):
1451 Use compilation-fake-loc and compilation-forget-errors.
1452 (prolog-consult-compile-region): Use bolp.
1454 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1456 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1458 2011-01-27 Sam Steingold <sds@gnu.org>
1460 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1461 Remove "*server*" which is never created by emacs server.
1463 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1465 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1466 there are some diff switches.
1468 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1471 Copy change made to ruby-font-lock-syntactic-keywords.
1473 * htmlfontify.el: Make it obey the font-lock-face text property.
1474 Miscellaneous cleanup such as:
1475 - Don't hide expressions after a closing paren.
1476 - Move initial setq into let.
1477 - Hoist common parts out of ifs.
1478 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1479 (hfy-face-at): Use get-text-property instead.
1480 (hfy-prop-invisible-p): Use invisible-p if available.
1481 (htmlfontify-manual): Use \\[...].
1482 (hfy-html-quote-regex): Use [...].
1483 (hfy-combined-face-spec): Simplify.
1484 (hfy-compile-face-map): Don't presume point-min==1.
1485 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1486 match end of string.
1487 (hfy-text-p): η-reduce.
1488 (hfy-tags-for-file): Receive cache-hash directly.
1489 (hfy-mark-tag-names): Adjust call.
1491 2011-01-27 Glenn Morris <rgm@gnu.org>
1493 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1494 (msb-after-load-hook): Remove eval-after-load wackiness.
1496 2011-01-25 Sam Steingold <sds@gnu.org>
1498 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1499 literal "diff" (important for windows-nt).
1501 2011-01-25 Glenn Morris <rgm@gnu.org>
1503 * emacs-lisp/copyright.el (copyright-at-end-flag)
1504 (copyright-names-regexp): Add safety properties.
1505 (copyright-year-ranges): New option.
1506 (copyright-find-end): New function, split from copyright-update-year.
1507 (copyright-update-year): Use copyright-find-end.
1508 (copyright-fix-years): Optionally, convert years to ranges.
1509 Handle years continued over comment lines.
1510 Do not mess with the fill-prefix.
1511 Do not call copyright-update.
1512 (copyright-update-directory): Optionally, fix years rather than update.
1513 Skip directories. Find files with only safe local vars.
1515 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * files.el (file-name-non-special): Only change buffer-file-name after
1518 insert-file-contents if it's `visit'ing the file (bug#7854).
1520 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1522 * dired.el (dired-revert): Doc fix (Bug#7758).
1524 * simple.el (line-move-visual): Doc fix (Bug#7594).
1526 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1528 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1529 here-doc which ends with an underscore.
1530 (ruby-mode-set-encoding): Skip shebang line always.
1531 (ruby-mode-map): Bind C-c C-c to comment-region.
1532 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1533 (ruby-forward-sexp): Stop after literal hash key labels.
1534 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1537 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1539 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1540 the correct buffer (Bug#7650).
1542 2011-01-25 Glenn Morris <rgm@gnu.org>
1544 * comint.el (comint-mode): Doc fix. (Bug#7897)
1546 * simple.el (do-auto-fill): Give it a doc string.
1548 * button.el (make-text-button): Doc fix. (See bug#7881)
1550 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1553 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1555 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1556 Handle ?" and friends differently (e.g. don't use backrefs).
1558 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1560 * calc/calc.el (calc-default-power-reference-level)
1561 (calc-default-field-reference-level): New variables.
1562 * calc/calc-units.el (math-standard-units): Add dB and Np.
1563 (math-logunits): New variable.
1564 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1565 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1566 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1568 (math-find-base-units-rec): Add entry for ln(10).
1569 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1570 (calc-ul-prefix-help): New function.
1571 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1572 functions. Add keybindings for new units functions.
1574 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1576 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1577 rcirc buffers. (Bug#4940)
1579 2011-01-22 Glenn Morris <rgm@gnu.org>
1581 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1582 split out from copyright-update-year.
1583 (copyright-update): Don't mess with the GPL version if we don't own the
1584 copyright. Update license regexp, and remove no longer needed
1586 (copyright-fix-years): Use copyright-find-copyright.
1588 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1590 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1592 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1594 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1595 (lm): Rename to landmark.
1596 (lm-test-run): Rename to landmark-test-run.
1598 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1600 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1601 "Case sensitive" menu item.
1603 2011-01-22 Roland McGrath <roland@frob.com>
1605 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1606 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1608 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1612 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1614 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1615 Assume foo(bar) is a manpage reference rather than some unquoted
1618 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1621 Suggested by Flo <sensorflo@gmail.com>.
1623 2011-01-22 Glenn Morris <rgm@gnu.org>
1625 * progmodes/compile.el (compilation-error-regexp-alist):
1626 Fix custom type. (Bug#7812)
1628 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1630 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1631 allout-number-siblings, in keeping with what obtained due to
1632 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1634 (allout-before-change-handler): Better expose spots affected by
1637 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1639 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1641 2011-01-22 Phil Hagelberg <phil@evri.com>
1643 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1644 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1645 (pcmpl-ssh-config-hosts): New function.
1646 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1647 pcmpl-ssh-known-hosts.
1649 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1651 * calc/calc-undo.el (calc-undo): Autoload it.
1652 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1653 and autoload for `calc-undo'.
1654 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1655 * calc/calc-prog.el:
1656 * calc/calc-graph.el:
1657 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1659 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1661 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1662 keybindings to `calc-undo'.
1664 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1666 Don't mess with *temp*.
1667 * obsolete/spell.el: Move from textmodes/spell.el.
1669 * term.el (term-read-input-ring):
1670 * startup.el (display-startup-echo-area-message):
1671 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1672 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1673 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1676 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1678 * allout.el (allout-institute-keymap): Use fset instead of
1679 reapplying defalias.
1681 (allout-hotspot-key-handler): Check for non-control-modified
1682 bindings for hotspot characters if there are no control-modified
1685 * allout.el: Summary - migrate to defining allout mode using
1686 define-minor-mode instead of defun. Significantly clean-up
1687 internal keymap provisions, refactoring and, in the process,
1688 removing a lot of accumulated cruft.
1690 allout-mode-map is now a keymap by virtue of being a defalias to
1691 allout-mode-map-value, which contains the actual keymap structure.
1693 (allout-mode): Use define-minor-mode rather than defun.
1694 Remove now-unnecessary minor-mode setup activities from the body.
1695 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1696 entry will be '(allout-mode . allout-mode-map) - see
1697 allout-mode-map-value, below. Adjust docstring to track changes.
1698 (allout-minor-mode): Remove this defalias, now that we're using
1700 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1701 keymap is allout-mode-map-value, via defalias.
1702 (allout-mode-map-value): The variable holding the actual mode
1703 keymap structure, by virtue of defalias from allout-mode-map.
1704 (allout-compose-and-institute-keymap): Rename from
1705 allout-bind-keys, and including the binding-composition
1706 functionality of the former produce-allout-mode-map and
1707 allout-setup-mode-map.
1708 (allout-institute-keymap): Take over the "setup" part of the former
1709 allout-setup-mode-map. Reassign allout-mode-map-value value and
1710 update the defalias.
1711 (allout-command-prefix) (allout-prefixed-keybindings)
1712 (allout-unprefixed-keybindings):
1713 Use allout-compose-and-institute-keymap to process the bindings.
1714 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1715 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1716 user can customize if they want to use that binding.
1717 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1718 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1719 elided that, previously, instead of the one for \C-h.)
1720 (allout-hotspot-key-handler): Remove attempt to resolve the key
1721 through the literal key-string lookup on allout-keybindings-list.
1722 That probably hasn't worked for a Long Time, and removal of
1723 allout-keybindings-list further simplifies the keybindings situation.
1724 (allout-pre-command-business): Use allout-mode-map-value instead
1726 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1727 the bindings if they want to use a keybinding having a trailing
1728 \C-h. No deprecation needed since this feature was never in a release.
1729 (allout-keybindings-list): Remove. It's not been useful for a
1730 while. (See allout-hotspot-key-handler changes, above.)
1731 (produce-allout-mode-map): Remove. Consolidate into
1732 allout-compose-and-institute-keymap.
1733 (allout-mode-map-adjustments): Remove. No longer necessary with
1734 removal of allout-preempt-trailing-ctrl-h.
1735 (allout-setup-mode-map): Remove. Consolidate into
1736 allout-compose-and-institute-keymap and allout-institute-keymap.
1738 2011-01-20 Glenn Morris <rgm@gnu.org>
1740 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1742 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1744 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1746 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1748 * files.el (find-alternate-file, basic-save-buffer)
1749 (basic-save-buffer-2, revert-buffer, recover-file)
1750 (kill-buffer-ask, abort-if-file-too-large)
1751 (set-visited-file-name, write-file, backup-buffer)
1752 (basic-save-buffer, save-some-buffers):
1753 * dired-aux.el (dired-compress-file): Callers changed.
1755 2011-01-19 Glenn Morris <rgm@gnu.org>
1757 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1758 Also check the property status. (Bug#7861)
1760 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1762 * net/tramp.el (tramp-debug-message): Extend function exclude
1763 list. Use `regexp-opt'.
1765 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1768 highlighting doesn't spill over subsequent lines.
1770 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1771 keymap expression. Improve docstring.
1773 * electric.el (electric-indent-post-self-insert-function):
1774 Don't auto-indent for indent-to-left-margin, it's too often
1777 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1779 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1780 spaces if the frame was resized, so that the full visible buffer
1781 serves as canvas for strokes.
1783 2011-01-16 Glenn Morris <rgm@gnu.org>
1785 * info-xref.el (info-xref-docstrings): Replace cl function.
1786 Also skip directories.
1788 2011-01-16 Kevin Ryde <user42@zip.com.au>
1790 * info-xref.el: Version 3.
1791 (info-xref-check, info-xref-check-all): Move commentary details
1792 into docstrings for better visibility.
1793 Use compilation-mode for the results buffer.
1794 (info-xref-output, info-xref-output-error, info-xref-with-output)
1795 (info-xref-filename, info-xref-in-progress):
1796 New internals for this.
1797 (info-xref-check-list, info-xref-check-buffer)
1798 (info-xref-check-all-custom): Use those.
1799 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1800 (info-xref-output-heading): Rename from info-xref-filename-heading.
1801 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1802 (info-xref-filename-heading): Move to output managing section.
1803 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1804 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1805 (info-xref-subfile-p): Move to generic section with those two.
1806 (info-xref-check-node): New function split from
1807 info-xref-check-buffer, shared by info-xref-docstrings.
1808 (info-xref-goto-node-p): Move to a checking section with that func.
1809 (info-xref-unavail): New counter.
1810 (info-xref-check-node): Use it.
1811 (info-xref-with-output): Show count of unavailables at end of output.
1812 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1813 symlinks. Exclude .texi files. Exclude Emacs backup files.
1814 (info-xref-check-all-custom): Fix quietening viper-mode and
1815 gnus-registry-install -- use setq not let so as not to unbind
1818 2011-01-16 Juri Linkov <juri@jurta.org>
1820 * isearch.el (isearch-abort): Don't quit if search has
1821 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1823 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1825 * files.el (backup-buffer): Make last-resort backup file in
1826 .emacs.d (Bug#6953).
1828 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1829 make it with permission 700.
1831 2011-01-15 Kenichi Handa <handa@m17n.org>
1833 * mail/rmailmm.el (rmail-mime-insert-header):
1834 Set rmail-mime-coding-system to a cons whose car is the last coding
1835 system used to decode the header.
1836 (rmail-mime-find-header-encoding): New function.
1837 (rmail-mime-insert-decoded-text):
1838 Override rmail-mime-coding-system if it is a cons.
1839 (rmail-show-mime): If only a header part was decoded, find the
1840 coding system while ignoring mm-charset-override-alist.
1842 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1844 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1846 2011-01-15 Kenichi Handa <handa@m17n.org>
1848 * mail/rmailmm.el (rmail-mime-next-item)
1849 (rmail-mime-previous-item): Delete them.
1850 (rmail-mime-shown-mode): Recursively call for children.
1851 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1853 (rmail-mime-raw-mode): Recursively call for children.
1854 (rmail-mode-map): Change mapping of tab and backtab to
1855 forward-button and backward-button respectively.
1856 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1858 (rmail-mime-update-tagline): New function.
1859 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1860 body display is changed.
1861 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1862 (rmail-mime-image): Delete this button type.
1863 (rmail-mime-toggle): New button type.
1864 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1865 body display is changed. Change the save button label to "Save".
1866 Don't process show/hide button here.
1867 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1868 the body display is changed. Unconditionally call
1869 rmail-mime-insert for children.
1870 (rmail-mime-handle): Update `display' vector of the just inserted
1872 (rmail-mime-process): If mail-header-parse-content-type returns
1873 nil, use "text/plain" as the fallback type.
1874 (rmail-mime-insert): For raw-mode, recursively call
1875 rmail-mim-insert for children.
1876 (rmail-mime): Handle the case that the current buffer is not rmail
1877 buffer (e.g. in summary buffer).
1879 2011-01-15 Kenichi Handa <handa@m17n.org>
1881 * mail/rmailmm.el (rmail-mime-next-item)
1882 (rmail-mime-previous-item): Skip the body of a non-multipart
1883 entity if a tagline is shown.
1885 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1888 (tmm-prompt): Simplify.
1889 (tmm-add-prompt): Remove unused var `win'.
1891 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1892 to minor mode which used nil accidentally to mean "turn off".
1894 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1896 * net/tramp-sh.el (tramp-find-inline-compress)
1897 (tramp-get-inline-coding): Quote command after pipe symbol for
1898 local calls under W32. (Bug#6784)
1900 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1902 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1903 only when running under W32.
1905 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1907 * progmodes/grep.el (grep-compute-defaults): Quote the program
1908 file name after the pipe symbol in Grep templates. (Bug#6784)
1909 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1911 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1913 * buff-menu.el (Buffer-menu-buffer-list): New var.
1914 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1915 restricted buffer list is not lost on revert (Bug#7749).
1917 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1919 * net/ldap.el (ldap-search-internal): Discard stderr output.
1921 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1923 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1925 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1927 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1929 2011-01-15 Kenichi Handa <handa@m17n.org>
1931 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1932 part as a plain text.
1933 (rmail-mime-process-multipart): Set the default content-type to
1934 nil for unknown multipart subtypes (bug#7651).
1936 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * hexl.el (hexl-mode-old-*): Remove.
1939 (hexl-mode--old-var-vals): New var to replace them.
1940 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1941 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1942 Use them to set local vars (bug#7846).
1943 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1944 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1945 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1947 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1948 (smerge-resolve--normalize-re): New var.
1949 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1950 (smerge-resolve): Use them.
1951 * newcomment.el (comment-only-p): New function.
1952 (comment-or-uncomment-region): Use it.
1954 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1956 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1957 table, get the value before switching to the output buffer. (Bug#7733)
1959 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1963 2011-01-14 Kim F. Storm <storm@cua.dk>
1965 * emulation/cua-base.el (cua--init-keymaps):
1966 Remap exchange-point-and-mark in cua-global-keymap.
1968 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1970 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1973 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1975 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1977 (easy-menu-create-menu, easy-menu-convert-item-1):
1978 Use :label rather than nil for labels. Use `case'.
1979 Add :enable as alias for :active.
1980 (easy-menu-binding): Obey :label.
1982 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1984 Use run-mode-hooks for major mode hooks (bug#513).
1985 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1986 Rename from reftex-toc-map.
1987 (reftex-toc-mode): Use define-derived-mode.
1988 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1989 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1990 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1991 (reftex-select-label-mode, reftex-select-bib-mode):
1992 Use define-derived-mode.
1993 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1994 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1995 Move init into delcaration.
1996 (reftex-index-mode, reftex-index-phrases-mode):
1997 Use define-derived-mode.
1998 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1999 speedbar-syntax-table. Move init into declaration.
2000 (speedbar-mode-map): Rename from speedbar-key-map.
2001 Move init into declaration.
2002 (speedbar-file-key-map): Move init into declaration.
2003 (speedbar-mode): Use define-derived-mode.
2004 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2005 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2006 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2007 (chart-face-list): Move initialization into declaration.
2008 (chart-mode): Use define-derived-mode.
2009 * calculator.el (calculator-mode-map): Move init into declaration.
2010 (calculator-mode): Use define-derived-mode.
2012 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2013 work for nested comments.
2015 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2016 (prolog-use-prolog-tokenizer-flag): Change default when
2017 syntax-propertize can be used.
2018 (prolog-syntax-propertize-function): New var.
2019 (prolog-mode-variables): Move make-local-variable into `set'.
2020 Don't make comment-column local since we don't set it.
2021 Set comment-add (as it was in previous prolog.el). Use dolist.
2022 Set syntax-propertize-function.
2023 (prolog-mode, prolog-inferior-mode):
2024 Call prolog(-inferior)-menu directly, not through the mode-hook.
2025 (prolog-buffer-module, prolog-indent-level)
2026 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2027 (prolog-comment-limits, prolog-goto-comment-column):
2028 Use line-(end|beginning)-position.
2029 (prolog-build-prolog-command): Tighten up regexp.
2030 (prolog-consult-compile): Move make-local-variable into `set'.
2031 (prolog-consult-compile-filter, prolog-goto-next-paren)
2032 (prolog-help-on-predicate, prolog-clause-info)
2033 (prolog-mark-predicate): Don't let+setq.
2034 (prolog-indent-line): Use indent-line-to.
2035 Only call prolog-goto-comment-column if necessary.
2036 (prolog-indent-level): Use bobp.
2037 (prolog-first-pos-on-line): Remove, not used any more.
2038 (prolog-in-string-or-comment): Use syntax-ppss if available.
2039 (prolog-help-on-predicate): Use read-string.
2040 (prolog-goto-predicate-info): Simplify.
2041 (prolog-read-predicate): Use `default' rather than `initial'.
2042 (prolog-temporary-file): Use make-temp-file to close a security hole.
2043 (prolog-toggle-sicstus-sd): New command.
2044 (prolog-electric-underscore, prolog-variables-to-anonymous):
2045 Use dynamic-scoping as it was meant.
2046 (prolog-menu): Move menu definitions to top-level.
2047 Use a toggle-button for Sicstus's source debugger.
2048 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2050 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2051 Move other menu definition to top-level.
2053 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2055 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2056 name. Keep original document's directory as default-directory
2058 (doc-view-initiate-display): Fall back to normal mode when
2059 doc-view-mode cannot be enabled, also when extracting the document
2060 text into a separate buffer (bug#6446).
2062 * simple.el (shell-command): Don't error out if shell command
2063 buffer contains text with non-nil read-only property when erasing
2066 2011-01-13 Kim F. Storm <storm@cua.dk>
2068 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2069 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2070 items when cycling through the matches.
2072 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2074 * dired-x.el (dired-omit-verbose): New defcustom that allows
2075 disabling the omit messages.
2076 (dired-omit-expunge): Use it.
2078 2011-01-13 Christian Ohler <ohler@gnu.org>
2080 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2082 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2084 * font-lock.el (font-lock-verbose): Default to nil.
2086 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2088 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2089 (compose-mail): New arg RETURN-ACTION.
2090 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2092 * mail/sendmail.el (mail-return-action): New var.
2093 (mail-mode): Make it buffer-local.
2094 (mail-bury): Obey it. Move special Rmail window handling to
2096 (mail, mail-setup): New arg RETURN-ACTION.
2097 (sendmail-user-agent-compose): Move from simple.el.
2099 * mail/rmail.el (rmail-mail-return): New function.
2100 (rmail-start-mail): Pass it to compose-mail.
2102 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2104 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2105 menus. Add menu item for customize-themes.
2107 * cus-theme.el (customize-themes):
2108 * emacs-lisp/package.el (package--list-packages):
2109 Use switch-to-buffer.
2111 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2113 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2115 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * progmodes/prolog.el: Fix up coding convention and such.
2118 (prolog-indent-width): Use the same default as in
2119 previous prolog.el rather than tab-width which depends on which buffer
2120 is current when the file is loaded.
2121 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2123 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2124 (prolog-known-systems): Remove.
2125 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2126 Move initialization into declaration.
2127 (prolog-mode-map): Move initialization into declaration.
2128 Remove system-specific mode-map vars, since they referred to the same
2130 (prolog-mode-variables): Obey the user's preference w.r.t
2131 adaptive-fill-mode. Prefer symbol-value to `eval'.
2132 (prolog-mode-keybindings-edit): Add compatibility bindings.
2133 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2134 (mercury-mode-map): New var.
2135 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2136 (prolog-ensure-process, prolog-process-insert-string)
2137 (prolog-consult-compile): Use with-current-buffer.
2138 (prolog-guess-fill-prefix): Simplify data flow.
2139 (prolog-replace-in-string): New function to use instead of
2141 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2142 (prolog-uncomment-region): Use `uncomment-region' when available.
2143 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2144 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2145 of int-to-char and char-to-int.
2146 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2148 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2150 * progmodes/prolog.el: Replace by a whole new file.
2152 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2155 (declare-function, undefined, insert-for-yank)
2156 (replace-regexp-in-string): Follow checkdoc's recommendations.
2158 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2161 refreshing the diary buffer.
2163 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2165 * allout.el: Add 2011 to the file copyright.
2166 (allout-encrypt-string): Prevent encryption from adding an extra
2167 newline at the end of the topic body.
2168 (allout-version): Increment to 2.3.
2170 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2172 * net/dbus.el (dbus-unregister-service): Complete doc.
2173 Fix call of dbus-error signal.
2174 (dbus-register-property): Use `dont-register' keyword.
2176 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2178 * net/dbus.el (dbus-unregister-service): Translate returned
2179 integer into a symbol.
2180 (dbus-register-property): Use `dbus-register-service' to do the
2183 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2185 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2186 Suggested by Joakim Verona.
2188 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2190 * wid-edit.el (visibility): Replace :on-image and :off-image
2191 widget properties with :on-glyph and :off-glyph, for consistency
2192 with the `visibility' widget.
2193 (widget-toggle-value-create, widget-visibility-value-create):
2194 Merge into a single function `widget-toggle-value-create'.
2196 * cus-edit.el (custom-variable-value-create, custom-visibility)
2197 (custom-face-edit-value-create, custom-face-value-create):
2198 Replace :on-image and :off-image widget properties with :on-glyph and
2199 :off-glyph, for consistency with the `visibility' widget.
2201 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2203 * net/ldap.el (ldap-search-internal): Don't use eval.
2205 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2207 * subr.el (read-char-choice): Use read-key.
2209 * custom.el (custom-safe-themes): Rename from
2210 custom-safe-theme-files. Add :risky tag.
2211 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2212 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2214 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2216 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2217 from Search and add a label to Undo.
2219 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2220 inappropriate buttons and adding :vert-only tags.
2222 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2223 removal of Help tool-bar button. Remove Undo button for space.
2225 * info.el (info-tool-bar-map): Add :vert-only tags.
2227 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2229 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2230 image backend support. Either of them is fine.
2232 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2234 * subr.el (y-or-n-p): Doc fix.
2236 * custom.el (custom-safe-theme-files): New defcustom.
2237 (custom-theme-load-confirm): New function.
2238 (load-theme): Load theme using `load', confirming with
2239 custom-theme-load-confirm if necessary.
2241 * subr.el (read-char-choice): New function, factored out from
2242 dired-query and hack-local-variables-confirm.
2244 * dired-aux.el (dired-query):
2245 * files.el (hack-local-variables-confirm): Use it.
2247 * dired-aux.el (dired-compress-file):
2248 * files.el (abort-if-file-too-large, find-alternate-file)
2249 (set-visited-file-name, write-file, backup-buffer)
2250 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2251 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2252 Use new format string args for y-or-n-p and yes-or-no-p.
2254 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2256 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2257 [gcc-include]: Tighten file name match, add match for column
2259 [gnu]: Remove unused group.
2261 2011-01-08 Glenn Morris <rgm@gnu.org>
2263 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2265 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2267 2011-01-07 Sam Steingold <sds@gnu.org>
2269 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2270 the `explicit-shell-file-name' because that is the
2271 non-interactive shell.
2273 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2275 * subr.el (y-or-n-p): Accept format string args.
2277 2011-01-07 Glenn Morris <rgm@gnu.org>
2279 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2281 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2283 * allout.el (allout-back-to-current-heading): Ensure return to
2284 the visible containing topic, rather than a collapsed one.
2285 (allout-view-change-hook): Remove hook that was deprecated long ago.
2286 (allout-exposure-change-hook): Remove documentation remarks
2287 concerning removed allout-view-change-hook.
2288 (allout-flag-region): Remove invocation of and documentation
2289 remarks concerning allout-view-change-hook.
2291 2011-01-06 Glenn Morris <rgm@gnu.org>
2293 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2294 (vc-bzr-annotate-extract-revision-at-line):
2295 Handle authors with embedded spaces. (Bug#7792)
2297 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2299 * doc-view.el (doc-view-image-width): New variable.
2300 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2301 backend for PNG images, and do dynamic rescaling instead of
2302 reconverting the whole doc.
2304 2011-01-05 Glenn Morris <rgm@gnu.org>
2306 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2308 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2310 * allout.el: Reconcile with changes in line movement behavior for
2311 long text lines that cross more than a single physical window
2312 line, ie when truncate-lines is nil.
2313 (allout-next-visible-heading): Provide for change in line-move
2314 behavior on long lines when truncate-lines is nil. In that case,
2315 line-move can wind up on the same textual line when it moves to
2316 the next window line, and moving to the bullet position after the
2317 move yields zero advancement. Add logic to detect and compensate
2318 for the lack of progress.
2319 (allout-current-topic-collapsed-p): move-end-of-line respect for
2320 field boundaries is different when operating with body lines
2321 shorter than window width versus ones greater than window width,
2322 which can yield false negatives in this function. Avoid
2323 difference by applying move-end-of-line while field-text-motion is
2326 2011-01-04 Glenn Morris <rgm@gnu.org>
2328 * textmodes/rst.el (rst-compile-toolsets):
2329 Add pdf and s5 to option alist.
2331 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2333 * net/dbus.el (dbus-register-property): Add optional parameter
2334 dont-register-service. Updated docstring accordingly.
2336 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2338 * textmodes/rst.el (rst-compile-pdf-preview)
2339 (rst-compile-slides-preview): Remove extra line.
2341 2011-01-04 Glenn Morris <rgm@gnu.org>
2343 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2344 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2345 default to `prog' without a .py extension.
2346 (rst-compile-pdf-preview, rst-compile-slides-preview):
2347 Use program names from rst-compile-toolsets, rather than hard-coding.
2348 (rst-portable-mark-active-p): Fix presumed typo.
2350 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2352 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2353 libpng versions both before and after 1.4.0. (Bug#7716)
2355 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2357 * time.el (display-time-mode): Mention display-time-interval in
2358 the doc string. (Bug#7713)
2360 2011-01-02 Kenichi Handa <handa@m17n.org>
2362 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2363 condition-case and return an error message string if something
2365 (rmail-show-mime): Adjust for the above change. Insert the
2366 header by rmail-mime-insert-header.
2368 2011-01-02 Kenichi Handa <handa@m17n.org>
2370 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2371 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2372 (rmail-mime-mbox-buffer)
2373 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2374 (rmail-mime-entity): Argument changed. All codes handling an
2375 entity object are changed.
2376 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2378 (rmail-mime-entity-children, rmail-mime-entity-handler)
2379 (rmail-mime-entity-tagline): New functions.
2380 (rmail-mime-message-p): New function.
2381 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2382 (rmail-mime-entity-segment, rmail-mime-next-item)
2383 (rmail-mime-previous-item, rmail-mime-shown-mode)
2384 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2385 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2386 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2388 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2389 (rmail-mime-insert-decoded-text): New function.
2390 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2391 (rmail-mime-insert-image): Argument changed. Caller changed.
2392 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2393 (rmail-mime-set-bulk-data): New function.
2394 (rmail-mime-insert-bulk): Argument changed.
2395 (rmail-mime-multipart-handler): Return t.
2396 (rmail-mime-process-multipart): Argument changed.
2397 Handle "multipart/alternative" here.
2398 (rmail-mime-process): Argument changed.
2399 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2400 (rmail-mime-insert): Argument changed. Handle raw display mode.
2401 (rmail-mime): Argument changed. Handle toggling of raw display
2403 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2404 rmail-mime-view-buffer.
2405 (rmail-insert-mime-forwarded-message): Likewise.
2406 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2408 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2409 non-nil, handle the header in rmail-show-mime-function.
2411 2011-01-02 Leo <sdl.web@gmail.com>
2413 * help-fns.el (describe-variable): Fix previous change.
2415 2011-01-02 Juri Linkov <juri@jurta.org>
2417 * isearch.el (isearch-lazy-highlight-error): New variable.
2418 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2419 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2420 to the current value of `isearch-error' (Bug#7468).
2422 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2424 * help-fns.el (describe-variable): Don't emit trailing whitespace
2427 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2429 * textmodes/rst.el (rst-compile-pdf-preview)
2430 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2432 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2434 * emulation/edt-mapper.el: Override mapping of function keys so
2435 that the later call to read-key-sequence works.
2437 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2439 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2440 Unix EOLs. (Bug#7589)
2442 2011-01-02 Leo <sdl.web@gmail.com>
2444 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2445 if point is not behind eshell-last-output-end (Bug#7585).
2447 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * files.el (file-local-variables-alist):
2450 Make permanent-local (bug#7767).
2452 2011-01-02 Glenn Morris <rgm@gnu.org>
2454 * version.el (emacs-copyright): Set short copyright year to 2011.
2456 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2458 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2459 an existing temp buffer. (Bug#7746)
2461 2011-01-02 Glenn Morris <rgm@gnu.org>
2463 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2464 multiple addresses. (Bug#7760)
2466 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2468 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2469 do-auto-fill if everything points back to allout-auto-fill.
2470 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2471 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2473 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2475 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2478 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2480 * doc-view.el (doc-view-set-doc-type): New function refactored
2482 (doc-view-fallback-mode): New function.
2483 (doc-view-mode): Use it.
2484 (doc-view-mode-maybe): New function that checks if doc-view-mode
2485 can be used and falls back to the next best mode otherwise.
2487 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2488 DVI, OpenDocument, and MS Office files.
2490 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2492 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2494 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2496 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2497 on a copy of auto-mode-alist, because that deletes with side
2500 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2502 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2503 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2504 fallback instead of hard coding fundamental mode.
2506 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2508 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2509 Office) files also for searching.
2511 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2513 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2514 Office) files. Not yet enabled via auto-mode-list.
2515 (doc-view-unoconv-program): New custom variable.
2516 (doc-view-mode-p): Handle new odf document type.
2517 (doc-view-odf->pdf): New conversion function.
2518 (doc-view-convert-current-doc): Call it for odf files.
2519 (doc-view-mode): Recognize newly supported file extensions.
2521 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2523 * net/tramp.el (tramp-default-method-alist)
2524 (tramp-default-user-alist)
2525 (tramp-local-host-regexp, tramp-prefix-domain-format)
2526 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2529 * net/tramp-gvfs.el:
2531 * net/tramp-imap.el:
2533 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2534 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2536 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2538 * saveplace.el (save-place-alist-to-file): Save list sorted and
2539 pretty-printed, so that it is mergeable by line-based text merging,
2540 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2542 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2544 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2545 (allout-mode): Argument "toggle" => "force".
2546 Refine the docstring.
2547 Remove special provisions for reactivation, besides the 'force'
2549 Consolidate layout provisions coce directly into the activation
2550 condition branch, now that we've removed those provisions.
2551 (allout-unload-function): Explicitly activate the mode before
2552 deactivating, if it's initially deactivated.
2553 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2554 warnings for version of function used only where
2555 set-buffer-multibyte is unavailable.
2557 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2559 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2560 are handled by the menu-bar entries. As before, don't use
2561 :visibile to avoid changing the tool-bar.
2563 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2565 * net/secrets.el (secrets-delete-alias): New defun.
2567 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2569 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2570 methods, otherwise ~/.ssh/config would be ignored.
2572 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2574 * emacs-lisp/rx.el: Make it a superset of sregex.
2575 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2576 of args, add `regex' alias.
2577 (rx-info): Add arg to distinguish head and standalone forms.
2578 (rx-check, rx-form): Pass the corresponding arg.
2580 (rx-repeat): Make it work for any number of args.
2581 (rx-syntax): Make it accept syntax chars as is.
2582 * obsolete/sregex.el: Move from emacs-lisp/.
2583 * emacs-lisp/re-builder.el: Remove sregex support.
2584 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2586 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2588 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2589 PRIMARY first, then the clipboard. (Bug#7699)
2591 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2593 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2596 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2598 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2599 .emacs.elc (Bug#7530).
2601 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2602 image spec (Bug#7480).
2604 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2606 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2607 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2610 2010-12-20 Leo <sdl.web@gmail.com>
2612 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2613 always be performed (Bug#7680).
2615 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2617 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2618 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2621 * color.el: Move from gnus/.
2623 * vc/diff.el (diff-better-file-name): Function deleted.
2624 abbreviating file names causes problems with shell-quote-argument.
2625 (diff-no-select): Just use expand-file-name.
2627 * tool-bar.el (tool-bar--image-expression): New function.
2628 (tool-bar-local-item, tool-bar--image-exp): Use it.
2629 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2630 Use :enable instead of :visible to avoid changing the tool-bar
2631 configuration unnecessarily.
2633 * info.el (info-tool-bar-map): Add separators.
2635 2010-12-17 Ken Brown <kbrown@cornell.edu>
2637 * loadup.el: Use version numbers in Cygwin build.
2639 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2641 * ido.el (ido-file-internal): Ask for confirmation before
2642 overwriting an existing file (Bug#1238).
2644 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2646 * tool-bar.el (tool-bar-setup): Add separators.
2648 * menu-bar.el (featurep): Use menu-bar-separator.
2650 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2652 Migrate allout encryption provisions from pgg to epg.
2654 * allout.el (allout-toggle-current-subtree-encryption)
2655 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2656 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2657 for simpler universal argument interpretation.
2658 (allout-toggle-subtree-encryption): Adjust docstring to describe
2659 changed encryption provisions. Change fetch-pass to keymode-cue, for
2660 simpler universal argument interpretation. Remove provisions for
2661 handling key type and identity - they'll all be within
2662 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2663 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2664 for keypair recipients (universal argument > 1) and, in addition,
2665 associating the specified recipients with the outline (universal
2666 argument > 4) using a file local variable setting for
2667 'epa-file-encrypt-to'.
2668 Require epa, for recipients handling.
2669 Change how regexp filtering elements are named.
2670 Describe the problem with caching of incorrect symmetric-decryption
2672 Use the epa-passphrase-callback-function, in case the user is using
2674 Support saving of the selected keypair recipients when invoked with a
2676 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2678 Establish epg-context with armoring and default epg-protocol.
2679 Remove all passphrase cache, verification, and hinting code.
2680 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2681 No longer used, delete.
2682 (allout-mode): Adjust docstring to describe changed encryption
2683 provisions. Describe the problem with caching of incorrect
2684 symmetric-decryption keys.
2685 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2686 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2687 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2688 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2691 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2693 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2694 key selection prompt; make 'silent as default (Bug#7487).
2696 2010-12-16 Leo <sdl.web@gmail.com>
2698 * eshell/eshell.el (eshell-directory-name):
2699 Use locate-user-emacs-file (Bug#7578).
2701 2010-12-15 Glenn Morris <rgm@gnu.org>
2703 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2705 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2706 Scott Evans <gse@antisleep.com>
2708 * rect.el (rectange--default-line-number-format)
2709 (rectangle-number-line-callback): New functions.
2710 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2712 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2714 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2715 Delete unused variables.
2716 (move-to-column-force): Remove function obsolete since 21.2.
2718 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2720 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2721 (tramp-handle-insert-file-contents): Do not set permanent-local
2724 * net/tramp-cache.el (tramp-persistency-file-name):
2725 Use `locate-user-emacs-file' if fboundp.
2727 * net/tramp-sh.el (tramp-methods): Add "ksu".
2728 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2731 2010-12-14 Glenn Morris <rgm@gnu.org>
2733 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2734 (find-tag-marker-ring): Declare.
2735 (js-find-symbol): Require etags.
2737 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2739 (mail-alias-file): Don't autoload. Doc fix.
2740 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2741 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2742 Mark as obsolete, and risky.
2743 (mail-setup): Simplify.
2745 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2746 * mail/sendmail.el (build-mail-aliases): Update autoload.
2748 * dired.el (dired-trivial-filenames, dired-chown-program)
2749 (dired-auto-revert-buffer): Remove autoload cookies.
2750 * mail/sendmail.el (mail-recover-1): Require 'dired.
2752 * dired.el (dired-subdir-switches, dired-chown-program)
2753 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2754 Make into defcustoms.
2755 (dired-chown-program): Simplify initialization.
2757 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2759 2010-12-13 Romain Francoise <romain@orebokech.com>
2761 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2763 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2765 * net/netrc.el (netrc-point-at-eol): Remove the unused
2766 netrc-point-at-old and netrc-bound-and-true-p bindings.
2767 (netrc-parse): Cache the netrc contents.
2769 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2771 * subr.el (posn-col-row): Evaluate header-line-format in the
2772 context of the POSITION window's buffer.
2774 2010-12-13 Glenn Morris <rgm@gnu.org>
2776 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2777 (with-silent-modifications): Doc fixes.
2779 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2781 * net/tramp.el (tramp-action-password, tramp-process-actions):
2782 Revert previous from. Use `save-restriction'.
2784 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2786 * calendar/diary-lib.el (diary-list-sexp-entries):
2787 Handle case of no newline at end of file. (Bug#7536)
2789 2010-12-13 Glenn Morris <rgm@gnu.org>
2791 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2793 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2795 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2796 (tramp-process-actions): Do not widen.
2798 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2799 Protect buffer-modified value. (Bug#7557)
2801 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2803 * log-edit.el (log-edit-changelog-entries):
2804 Regexp quote filename. (Bug#7505)
2806 2010-12-13 Tom Breton <tehom@panix.com>
2808 * cus-edit.el (custom-save-all):
2809 Bind print-length and print-level to nil. (Bug#7581)
2811 2010-12-13 Glenn Morris <rgm@gnu.org>
2813 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2814 Run hooks to update menu contents. (Bug#7586)
2816 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2817 file names, for the sake of MS Windows. (Bug#7588)
2819 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2822 empty lines without a leading space.
2824 2010-12-13 Leo <sdl.web@gmail.com>
2826 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2827 while mapping over marks (Bug#6810).
2829 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2831 * image-dired.el (image-dired-db-file)
2832 (image-dired-temp-image-file, image-dired-gallery-dir)
2833 (image-dired-temp-rotate-image-file): Set default values relative
2834 to image-dired-dir (Bug#7518).
2836 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2838 * format.el (format-decode-run-method): Pass args FROM and TO, not
2839 point-min and point-max, to shell-command-on-region (Bug#7488).
2841 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2843 * frame.el (blink-cursor-mode): Make default t for ns.
2845 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2847 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2849 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2851 * comint.el (comint-dynamic-list-input-ring)
2852 (comint-dynamic-complete-filename)
2853 (comint-replace-by-expanded-filename)
2854 (comint-dynamic-simple-complete)
2855 (comint-dynamic-list-filename-completions)
2856 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2858 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2861 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2863 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2866 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2868 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2871 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2873 * files.el (file-relative-name): Handle UNC file names on
2874 DOS/Windows. (Bug#4674)
2876 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2878 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2879 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2880 (epg-context-set-passphrase-callback): Mention that the callback
2881 is not called when used with GnuPG 2.x.
2883 2010-12-13 Glenn Morris <rgm@gnu.org>
2885 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2886 Ensure ps-footer-font-size-internal is initialized.
2887 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2889 2010-12-13 Kenichi Handa <handa@m17n.org>
2891 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2892 within condition-case.
2893 (rmail-show-mime): Don't use condition-case.
2894 (rmail-search-mime-message): New function.
2895 (rmail-search-mime-message-function): Set to
2896 rmail-search-mime-message.
2898 2010-12-13 Leo <sdl.web@gmail.com>
2900 * ido.el (ido-common-initialization): New function. (bug#3274)
2902 (ido-completing-read): Call it.
2904 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2906 * bookmark.el (bookmark-name-from-full-record): Rename back to
2907 this original name from `bookmark-name-from-record' reverting part
2908 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2909 As Drew Adams pointed out, there was no reason to cause churn for
2910 third-party callers. (Bug#7609)
2912 2010-12-12 Alan Mackenzie <acm@muc.de>
2914 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2915 template arglist, check that the current language supports this.
2917 2010-12-11 Glenn Morris <rgm@gnu.org>
2919 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2920 state of the file matches. (Bug#7544)
2921 (vc-bzr-register, vc-bzr-checkin)
2922 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2923 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2925 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2927 2010-12-11 Karel Klíč <kklic@redhat.com>
2929 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2931 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2933 Derive from prog-mode, use derived-mode-p, and fix up various
2934 minor style issues in lisp/progmodes.
2936 * progmodes/vhdl-mode.el (vhdl-mode):
2937 * progmodes/verilog-mode.el (verilog-mode):
2938 * progmodes/vera-mode.el (vera-mode):
2939 * progmodes/sql.el (sql-mode):
2940 * progmodes/scheme.el (scheme-mode):
2941 * progmodes/perl-mode.el (perl-mode):
2942 * progmodes/octave-inf.el (inferior-octave-mode):
2943 * progmodes/autoconf.el (autoconf-mode):
2944 * progmodes/m4-mode.el (m4-mode):
2945 * progmodes/inf-lisp.el (inferior-lisp-mode):
2946 * progmodes/idlwave.el (idlwave-mode):
2947 * progmodes/icon.el (icon-mode):
2948 * progmodes/idlw-help.el (idlwave-help-mode):
2949 * progmodes/dcl-mode.el (dcl-mode):
2950 * progmodes/idlw-shell.el (idlwave-shell-mode):
2951 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2952 (ebrowse-member-mode, ebrowse-electric-position-mode):
2953 Use define-derived-mode.
2955 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2956 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2957 (xscheme-debugger-mode-p, xscheme-send-string-1):
2958 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2959 (tcl-load-file, tcl-restart-with-file):
2960 * progmodes/ps-mode.el (ps-run-running):
2961 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2962 * progmodes/js.el (js--get-all-known-symbols):
2963 * progmodes/inf-lisp.el (inferior-lisp-proc):
2964 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2965 (idlwave-template, idlwave-update-buffer-routine-info)
2966 (idlwave-update-current-buffer-info)
2967 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2968 (idlwave-scan-class-info, idlwave-fix-keywords)
2969 (idlwave-list-buffer-load-path-shadows):
2970 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2971 (idlwave-toolbar-remove):
2972 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2973 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2974 (idlwave-shell-menu-def):
2975 * progmodes/idlw-complete-structtag.el
2976 (idlwave-prepare-structure-tag-completion):
2977 * progmodes/gud.el (gud-set-buffer):
2978 * progmodes/f90.el (f90-backslash-not-special):
2979 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2981 * progmodes/xscheme.el (xscheme-start)
2982 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2983 * progmodes/which-func.el (which-function):
2984 * progmodes/vhdl-mode.el (vhdl-set-style):
2985 * progmodes/verilog-mode.el (verilog-set-compile-command)
2986 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2987 (verilog-set-define, verilog-auto-reeval-locals):
2988 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2989 * progmodes/simula.el (simula-mode):
2990 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2991 * progmodes/python.el (python-check, python-mode):
2992 * progmodes/prolog.el (prolog-mode-variables):
2993 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2994 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2995 * progmodes/delphi.el (delphi-mode):
2996 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2997 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2998 (c-font-lock-init): Move make-local-variable to their setq.
3000 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3001 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3003 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3004 (sh-set-shell): Don't set require-final-newline since it's already done
3006 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3007 since we never set it.
3008 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3009 Use read-string and standard prompt.
3010 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3011 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3012 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3013 (meta-common-mode-map): Rename from meta-mode-map.
3014 Remove C-m binding, which is a user preference, not mode specific.
3015 (meta-common-mode): New major mode; replace meta-common-initialization.
3016 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3017 around with font-lock.
3018 * progmodes/etags.el (select-tags-table-mode):
3019 Derive from special-mode.
3020 * progmodes/octave-mod.el (octave-mode):
3021 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3022 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3023 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3024 Let define-derived-mode do its job.
3025 * progmodes/cpp.el (cpp-edit-mode-map):
3026 Move initialization into declaration.
3027 (cpp-edit-mode): Use define-derived-mode.
3028 (cpp-edit-load): Use derived-mode-p.
3029 * progmodes/mixal-mode.el (mixal-mode):
3030 * progmodes/f90.el (f90-mode):
3031 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3032 require-final-newline since prog-mode does it already.
3033 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3034 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3035 * progmodes/antlr-mode.el: Require cc-mode upfront.
3036 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3038 (antlr-directory-dependencies, antlr-show-makefile-rules):
3040 (antlr-language-option): Don't assume point-min==1.
3041 (antlr-mode): Use define-derived-mode.
3042 * progmodes/ada-mode.el: Use derived-mode-p.
3043 (ada-mode): Use define-derived-mode.
3044 Use hack-local-variables-hook.
3046 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3048 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3049 (texinfo-mode): Don't disable adaptive-fill-mode.
3050 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3051 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3052 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3053 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3054 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3055 (texinfo-insert-@quotation, texinfo-insert-@samp)
3056 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3057 (texinfo-insert-@uref): Use define-skeleton.
3058 (texinfo-insert-@-with-arg): Delete.
3060 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3062 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3063 nil, do quote archive member names. (Bug#6144)
3065 2010-12-10 Glenn Morris <rgm@gnu.org>
3067 * files.el (diff-no-select): Declare.
3069 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3070 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3072 * comint.el (comint-input-ring-file-name): Doc fix.
3074 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3076 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3078 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3079 Use them instead of `nil' and `>', respectively.
3080 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3082 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3083 and menu-bar-positive-p instead of `nil' and `>', respectively.
3086 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3088 * whitespace.el (whitespace-newline-mode): Code fix.
3090 2010-12-09 Glenn Morris <rgm@gnu.org>
3092 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3093 Rename functions without commas, update callers.
3095 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3097 * whitespace.el (whitespace-cleanup-region):
3098 Clean up spaces before tabs. (Bug#7582)
3100 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3102 * bookmark.el: Adjust parameter names and doc strings to resolve
3103 confusion over whether "bookmark" meant a bookmark name or a
3104 bookmark record. Along the way, shorten one function's name for
3105 similar reasons. (Issue #7548)
3106 (bookmark-name-from-record): New name for
3107 `bookmark-name-from-full-record'. All callers changed.
3108 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3109 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3110 (bookmark-get-annotation, bookmark-set-annotation)
3111 (bookmark-get-filename, bookmark-set-filename)
3112 (bookmark-get-position, bookmark-set-position)
3113 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3114 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3115 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3116 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3117 Rename `bookmark' parameter to `bookmark-name-or-record', to
3118 clearly show its role, and shorten or adjust doc strings accordingly.
3119 (bookmark-set-name): Same, and pass the parameter directly to
3120 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3121 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3122 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3123 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3124 and in some cases shorten doc string accordingly.
3125 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3126 and `new-name', and adjust an internal variable to avoid confusion.
3127 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3128 parameter in doc string.
3130 2010-12-08 Glenn Morris <rgm@gnu.org>
3132 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3133 from gdb's history file. (Bug#7575)
3135 * mail/emacsbug.el (report-emacs-bug):
3136 Try to handle some other mail clients.
3138 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3140 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3141 Use string-prefix-p.
3142 (file-name-version-regexp): New var.
3143 (file-name-sans-versions):
3144 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3145 (jka-compr-get-compression-info): Use dolist.
3146 (jka-compr-compression-info-list): Don't bother specifying
3147 version/backup regexps.
3149 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3151 * simple.el (just-one-space): Make argument n default to 1 if
3154 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * electric.el (electric-indent-post-self-insert-function):
3157 Delete trailing newlines even if we don't reindent.
3159 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * minibuffer.el (completion-at-point): Remove the `arg'.
3162 * bindings.el (complete-symbol): Move back from minibuffer.el.
3164 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3166 * simple.el (just-one-space): Delete newlines for negative arg.
3168 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3170 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3171 (ansi-color-filter-apply): Simplify.
3172 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3174 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3176 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3178 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3180 * dired.el (dired-use-ls-dired): Set default to a special
3181 "unspecified" value.
3182 (dired-insert-directory): When called the first time, check
3183 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3185 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3187 * replace.el: Add "collect" feature to occur.
3188 (occur-collect-regexp-history): New var.
3189 (occur-read-primary-args): Return a replace string for nlines,
3191 (occur): Extend the meaning of nlines.
3193 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3196 (which-func-update-1): Distinguish symbols from strings.
3197 (which-function): Stay within 80 columns.
3199 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3203 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3205 (comment-style): Use comment-styles's docs to describe values.
3207 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3209 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3210 and ns-show-prefs (Bug#7535).
3212 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3213 bindings (Bug#7535).
3215 2010-12-03 Glenn Morris <rgm@gnu.org>
3217 * nxml/nxml-mode.el: Require rng-nxml.
3218 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3219 Remove declarations.
3221 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3222 * nxml/rng-nxml.el, nxml/rng-valid.el:
3223 Remove leading `*' from defcustom docs.
3225 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3226 (normal-top-level-add-to-load-path, tty-handle-args):
3227 Convert comments to basic doc-strings.
3229 * net/browse-url.el (browse-url-url-at-point)
3230 (browse-url-default-browser): Remove autoload cookies.
3232 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3233 Remove more undefined cl functions.
3235 * vc/diff.el (diff-sentinel): Make new arguments optional.
3236 * ibuf-ext.el (diff-sentinel): Update declaration.
3238 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3240 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3241 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3242 (epg-context-set-passphrase-callback): Mention that the callback
3243 is not called when used with GnuPG 2.x.
3245 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3247 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3248 (tramp-file-name-port): Check also for `tramp-default-port'.
3249 (tramp-get-connection-name): New defun.
3250 (tramp-get-connection-process): Use it.
3251 (tramp-debug-message): Extend function exclude list.
3252 (tramp-drop-volume-letter): Fix doc string.
3254 * net/tramp-cmds.el: Remove solved todo item.
3257 * net/tramp-gvfs.el:
3259 * net/tramp-imap.el:
3260 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3261 and `tramp-default-user-alist', respectively.
3263 * net/tramp-gw.el (tramp-gw-open-connection):
3264 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3266 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3267 `tramp-file-name-port'.
3269 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3270 and "psftp". Exchange "%k" marker with options.
3271 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3272 Compute size of link target.
3273 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3274 `tramp-current-*' up due to gateway methods. Optimize computing of
3275 copy arguments. Use `tramp-get-connection-name' and
3276 `tramp-get-connection-buffer'. Improve debug messages.
3277 (tramp-compute-multi-hops): Remove port determination.
3278 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3280 * net/trampver.el: Update release number.
3282 2010-12-02 Glenn Morris <rgm@gnu.org>
3284 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3285 Avoid infinite loop over windows. (Bug#7492)
3287 * progmodes/flymake.el (flymake-check-file-limit):
3288 Allow nil to mean "no limit".
3289 (flymake-check-patch-master-file-buffer): Update for above change.
3290 Allow a .tex file-name extension to be optional.
3291 (flymake-master-tex-init): Also match \include statements.
3293 2010-11-30 Sam Steingold <sds@gnu.org>
3295 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3296 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3297 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3298 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3299 define-derived-mode').
3300 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3301 users who want to call `nxml-parent-document-set'.
3303 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3305 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3306 stand-alone lines, since that is handled by log-edit-match-to-eoh
3309 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3311 * dired.el (dired-get-filename): Replace backslashes with slashes
3312 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3313 * locate.el (locate-default-make-command-line): Don't consider
3314 drive letter and root directory part of
3315 `directory-listing-before-filename-regexp'. (Bug#7308)
3316 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3318 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3321 of :smie-open/close-alist.
3322 (smie-next-sexp): Make it accept a "start token" as argument.
3323 (smie-indent-keyword): Be careful not to misidentify tokens that span
3324 more than one line, as empty lines. Add argument `token'.
3326 2010-11-27 Kenichi Handa <handa@m17n.org>
3328 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3329 multipart subtypes, insert all as usual.
3331 * mail/rmail.el: Require rfc2047.
3333 2010-11-27 Kenichi Handa <handa@m17n.org>
3335 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3336 (rmail-mime-entity-disposition)
3337 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3338 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3339 (rmail-mime-save): Handle the case that the button's `data' is a
3341 (rmail-mime-insert-text): New function.
3342 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3343 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3344 (rmail-mime-insert-bulk): New function mostly copied from the old
3345 rmail-mime-bulk-handler.
3346 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3347 (rmail-mime-process-multipart): New function mostly copied from
3348 the old rmail-mime-multipart-handler.
3349 (rmail-mime-show): Just call rmail-mime-process.
3350 (rmail-mime-process): New function mostly copied from the old
3352 (rmail-mime-insert-multipart, rmail-mime-parse)
3353 (rmail-mime-insert, rmail-show-mime)
3354 (rmail-insert-mime-forwarded-message)
3355 (rmail-insert-mime-resent-message): New functions.
3356 (rmail-insert-mime-forwarded-message-function): Set to
3357 rmail-insert-mime-forwarded-message.
3358 (rmail-insert-mime-resent-message-function): Set to
3359 rmail-insert-mime-resent-message.
3361 * mail/rmailsum.el: Require rfc2047.
3362 (rmail-header-summary): Handle multiline Subject: field.
3363 (rmail-summary-line-decoder): Change the default to
3364 rfc2047-decode-string.
3366 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3367 (rmail-mime-feature): Change the default to `rmailmm'.
3368 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3369 (rmail-display-labels): Likewise.
3370 (rmail-show-message-1): Check rmail-enable-mime, and use
3371 rmail-show-mime-function for a MIME message. Decode the headers
3372 according to RFC2047.
3374 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3376 * progmodes/which-func.el (which-func-imenu-joiner-function):
3377 Return a string, as expected.
3378 (which-function-mode): Make sure we stop any previous timer before
3381 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3383 * net/tramp.el (tramp-default-method-alist)
3384 (tramp-default-user-alist, tramp-default-proxies-alist):
3385 Adapt custom options type. (Bug#7445)
3387 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3389 * progmodes/python.el: Add Ipython support (Bug#5390).
3390 (python-shell-prompt-alist)
3391 (python-shell-continuation-prompt-alist): New options.
3392 (python--set-prompt-regexp): New function.
3393 (inferior-python-mode, run-python, python-shell):
3394 Require ansi-color. Use python--set-prompt-regexp to set the comint
3395 prompt based on the Python interpreter.
3396 (python--prompt-regexp): New var.
3397 (python-check-comint-prompt)
3398 (python-comint-output-filter-function): Use it.
3399 (run-python): Use a pipe (Bug#5694).
3401 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3403 * progmodes/python.el (run-python): Doc fix.
3404 (python-keep-current-directory-in-path): New var (Bug#7454).
3406 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3408 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3409 Prompt user before actually printing.
3411 2010-11-27 Glenn Morris <rgm@gnu.org>
3413 * startup.el (package-enable-at-startup, package-initialize):
3414 Remove unnecessary declarations.
3416 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3418 * international/characters.el (glyphless-char-display-control):
3419 Exclude newline and TAB from the c0-control group.
3421 2010-11-27 Glenn Morris <rgm@gnu.org>
3423 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3424 (expand-mail-aliases): Remove unnecessary autoload.
3426 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3428 * shell.el (shell-dir-cookie-re): Move definition before use.
3430 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3431 Replace undefined CL functions.
3433 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3435 * simple.el (prog-mode): Set bidi-paragraph-direction to
3438 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3440 2010-11-26 Glenn Morris <rgm@gnu.org>
3442 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3443 diary-outlook-formats can be sensitive to calendar-date-style.
3444 (diary-outlook-formats): Simplify the default setting.
3445 (diary-from-outlook-internal): Pass subject and body as arguments.
3446 Use dolist rather than dotimes. Don't save the diary buffer.
3447 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3448 Pass subject and body as explicit arguments to the -internal function.
3450 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3452 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3453 parsing them. This makes mailto:...?subject=foo\nbar work.
3455 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * vc/diff.el (diff): Fix last change.
3459 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3461 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3462 (pcase--dontcare-upats): New var.
3463 (pcase-let, pcase-let*): Generate better code.
3464 Accept the same bodies as `let'.
3465 (pcase-dolist): New macro.
3466 (pcase--trivial-upat-p): New helper function.
3467 (pcase--expand): Strip leading "(let nil" if any.
3469 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3471 * mail/mailclient.el (browse-url): Require.
3472 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3473 use the external browser function to send the mail (bug#7469).
3475 * net/browse-url.el (browse-url-browser-function): Revert the
3476 default back to the previous value, since the new value broke
3478 (browse-url-mailto-function): New variable for mailto: URLs.
3479 (browse-url): Use the new variable for mailto: URLs.
3481 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * eshell/esh-cmd.el (eshell-parse-command):
3484 * eshell/esh-arg.el (eshell-parse-arguments):
3485 * eshell/em-script.el (eshell-source-file):
3486 Use with-silent-modifications.
3488 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3490 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3491 for a merge location.
3493 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3494 (vc-bzr-merge-branch): Always prompt.
3495 (vc-bzr-async-command): Use the full branch filename.
3497 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3499 * shell.el (shell): Use current-buffer by default if it's already
3500 a shell mode buffer and its process is dead.
3501 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3503 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3505 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3506 Mention that the keywords should be comma separated.
3508 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3510 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3511 Accept optional prefix arg meaning to prompt for a command.
3512 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3513 prefix arg meaning to prompt for a command.
3514 (vc-pull): Alias for vc-update.
3516 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3517 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3518 (vc-bzr-merge-branch): New functions, implementing merge-branch
3519 and pull operations.
3521 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * Makefile.in: Fix up last merge.
3525 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3526 (diff-sentinel): Get them as arguments instead.
3527 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3528 (diff-file-local-copy, diff-better-file-name): New funs.
3529 (diff-no-select): Rename from diff-into-buffer.
3530 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3531 Prefer closures to buffer-local variables.
3532 (diff): Adjust accordingly.
3533 (diff-buffer-with-file): Move from files.el.
3534 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3535 (diff-buffer-internal): Remove.
3536 (diff-buffer-buffer): Remove.
3537 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3538 the buffer name used, and so as not to mess up windows and frames.
3540 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3542 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3543 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3544 (diff-buffer-with-file): Use it.
3545 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3548 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3550 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3551 \ref's or \pageref's value as default instead of initial input.
3553 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3555 * files.el (backup-by-copying-when-mismatch): The default value is
3558 * startup.el (normal-top-level):
3559 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3560 `backup-by-copying-when-mismatch'.
3562 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3564 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3566 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3568 * progmodes/python.el (python-font-lock-keywords):
3569 Highlight top-level augmented assignments (Bug#6445).
3571 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3573 * term/ns-win.el (ns-right-control-modifier)
3574 (ns-right-command-modifier): Defvar them.
3576 * cus-start.el (all): Add ns-right-control-modifier and
3577 ns-right-command-modifier (Bug#7458).
3579 2010-11-20 Glenn Morris <rgm@gnu.org>
3581 * emacs-lisp/authors.el (authors-ignored-files)
3582 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3584 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3586 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3587 (report-emacs-bug-parse-query-results)
3588 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3589 keywords used for querying the bug database to show them in the
3590 existing bugs buffer.
3592 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3594 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3596 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3598 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3600 * international/characters.el (glyphless-char-display-control):
3601 Make it a defcustom, with update-glyphless-char-display as its
3603 (top level): Don't call update-glyphless-char-display.
3605 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3607 Sync with Tramp 2.2.0.
3609 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3610 `file-remote-p' (due to compatibility).
3612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3613 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3615 * net/trampver.el: Update release number.
3617 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3619 * faces.el (glyphless-char): Define value for `pc'.
3621 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3623 Implemented a bug querying mechanism.
3624 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3625 (report-emacs-bug-create-existing-bugs-buffer)
3626 (report-emacs-bug-parse-query-results)
3627 (report-emacs-bug-query-existing-bugs): New functions.
3629 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3631 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3632 a \ref{} or \pageref{} macro, then use its value as initial input.
3634 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3636 * calc/calc-units.el (math-build-units-table-buffer):
3637 calc/README: Mention that the TeX specific units won't use the
3638 `tex' prefix in TeX mode.
3639 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3640 prefix for units in TeX mode.
3642 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * simple.el (kill-new, kill-append, kill-region):
3645 * comint.el (comint-kill-region): Make the yank-handler argument
3648 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3650 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3651 that are both openers (resp. closers) and something else.
3652 (smie-grammar): Loosen definition of valid values.
3653 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3654 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3655 (smie-indent-after-keyword): Adjust users.
3656 (smie-indent-keyword): Don't indent empty lines.
3658 * vc-hg.el (vc-hg-program): New var.
3659 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3660 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3662 2010-11-18 Glenn Morris <rgm@gnu.org>
3664 * emacs-lisp/autoload.el (autoload-find-destination): The function
3665 coding-system-eol-type may return non-numeric values. (Bug#7414)
3667 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3669 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3671 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3673 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3675 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3677 * textmodes/picture.el (picture-mouse-set-point): Don't use
3678 posn-col-row; explicitly compute the motion based on the posn at
3679 the window-start (Bug#7390).
3681 2010-11-18 Glenn Morris <rgm@gnu.org>
3683 * novice.el (disabled-command-function):
3684 Fix 2009-11-15 change. (Bug#7384)
3686 2010-11-18 Glenn Morris <rgm@gnu.org>
3688 * calendar/calendar.el (diary-iso-date-forms): Make elements
3689 mutually exclusive. (Bug#7377)
3691 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3694 when filling the remaining "unconstrained" values.
3696 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3701 * files.el (safe-local-variable-p): Gracefully handle errors.
3703 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3704 Use smie-indent-virtual when indenting relative to an opener.
3705 (smie-rule-separator): Use smie-rule-parent.
3706 (smie-indent-keyword): Consult rules, even for openers at bol.
3707 (smie-indent-comment-close): Try to align closer's content.
3709 2010-11-18 Glenn Morris <rgm@gnu.org>
3711 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3713 2010-11-18 Glenn Morris <rgm@gnu.org>
3715 * printing.el (pr-menu-bind): Doc fix.
3717 * speedbar.el (speedbar-toggle-images): Doc fix.
3719 * progmodes/python.el (python-shell): Doc fix.
3721 * wid-edit.el (widget-field-use-before-change)
3722 (widget-use-overlay-change): Doc fixes.
3724 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3726 Minor cleanup to improve style.
3727 * textmodes/rst.el (rst-update-section): Use point-marker.
3728 (rst-get-decoration): Eliminate unneeded assignment.
3729 (rst-promote-region, rst-straighten-decorations)
3730 (rst-section-tree, rst-adjust): Use point-marker.
3731 (rst-toc-mode-mouse-goto): Avoid setq.
3732 (rst-shift-region-guts, rst-shift-region-left)
3733 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3734 (rst-convert-bullets-to-enumeration): Use copy-marker.
3736 * minibuffer.el (completion-fail-discreetly): New var.
3737 (completion--do-completion): Use it.
3739 * electric.el (electric-pair-pairs): New var.
3740 (electric-pair-post-self-insert-function): Use it.
3741 (electric-layout-post-self-insert-function): Don't insert a before
3742 newline unless it's actually needed.
3744 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * progmodes/python.el (run-python): Explain why we remove the current
3747 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3749 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3751 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3753 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3754 (octave-mode-map): Don't bind ;, SPC, and LF.
3755 (octave-auto-indent, octave-auto-newline): Remove.
3756 (electric-layout-rules): Declare.
3757 (octave-mode): Set electric-layout-rules.
3758 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3759 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3760 (octave-electric-space): Remove.
3762 * electric.el (electric-layout-mode): New minor mode.
3763 (electric--after-char-pos): New function.
3764 (electric-indent-post-self-insert-function): Use it.
3765 (electric-layout-rules): New var.
3766 (electric-layout-post-self-insert-function): New function.
3767 (electric-indent-mode): Make them interact better.
3769 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3772 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3773 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3775 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3777 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3778 Make sure to check inside the word (Bug#6761).
3780 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3782 * startup.el (command-line): If the cursorColor resource is set,
3783 change the cursor face-spec (Bug#7392).
3785 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3787 The main features of the following allout.el changes are:
3788 - implement user customization for the allout key bindings
3789 - add a customization control by which the user can inhibit use of
3790 a trailing Ctrl-H, so by default it's reserved for use with
3791 describe-prefix-bindings
3792 - adapt to new version of called-interactively-p, while
3793 maintaining backwards compatibility with old version
3794 - fix hotspot navigation so i works properly with meta-modified keys
3796 * allout.el (allout-keybindings, allout-bind-keys)
3797 (allout-keybindings-binding, allout-prefixed-keybindings)
3798 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3799 (allout-keybindings-list, allout-mode-map-adjustments)
3800 (allout-setup-mode-map): Establish allout-mode keymaps as user
3801 customizable settings, and also establish a customizable setting which
3802 regulates whether or not a trailing control-h is reserved for use with
3803 describe-prefix-bindings - and inhibit it by default, so that control-h
3804 *is* reserved for describe-prefix-bindings unless the user changes it.
3806 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3807 and accurately between modified and unmodified events, and handle
3808 modified events more comprehensively.
3810 * allout.el (allout-substring-no-properties):
3811 Alias to use or provide version of `substring-no-properties'.
3812 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3814 * allout.el (allout-next-single-char-property-change):
3815 Alias to use or provide version of `next-single-char-property-change'.
3816 (allout-annotate-hidden, allout-hide-by-annotation):
3817 Use `allout-next-single-char-property-change'.
3819 * allout.el (allout-select-safe-coding-system):
3820 Alias to use or provide version of `select-safe-coding-system'.
3821 (allout-toggle-subtree-encryption):
3822 Use `allout-select-safe-coding-system'.
3824 * allout.el (allout-set-buffer-multibyte):
3825 Alias to use or provide version of `set-buffer-multibyte'.
3826 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3828 * allout.el (allout-called-interactively-p): Macro for using the
3829 different versions of called-interactively-p identically, depending on
3830 the subroutine's argument signature.
3831 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3832 Use `(interactive "p")' instead of `(called-interactively-p)'.
3834 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3835 (allout-previous-visible-heading, allout-forward-current-level)
3836 (allout-backward-current-level, allout-show-children):
3837 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3839 * allout.el (allout-before-change-handler):
3840 Exempt edits to the (overlaid) character after the allout outline
3841 bullet from edit confirmation prompt.
3843 * allout.el (allout-add-resumptions):
3844 Ensure that it respects correct buffer for keybindings.
3846 * allout.el (allout-beginning-of-line):
3847 Use `allout-previous-single-char-property-change' alias for the sake of
3848 diverse compatibility.
3850 * allout.el (allout-end-of-line):
3851 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3853 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3855 * frame.el (frame-notice-user-settings): Don't clobber other
3856 user-set parameters when calling face-set-after-frame-default in
3857 response to background-color parameter (Bug#7373).
3859 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3861 * international/characters.el (glyphless-char-display-control):
3862 Rename from glyphless-char-control; all users changed. Doc fix.
3863 Signal an error if display method is not one of the recognized
3866 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3868 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3869 (tramp-compat-line-end-position): Remove them.
3871 * net/tramp.el (tramp-parse-rhosts-group)
3872 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3873 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3874 (tramp-parse-netrc-group, tramp-parse-putty-group)
3875 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3876 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3877 (tramp-sh-handle-file-selinux-context)
3878 (tramp-sh-handle-file-name-all-completions)
3879 (tramp-sh-handle-insert-directory)
3880 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3881 (tramp-wait-for-output, tramp-send-command-and-read)
3882 * net/tramp-smb.el (tramp-smb-read-file-entry)
3883 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3885 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3887 (tramp-remote-coding-commands): Add an alternative using "base64
3888 -d -i". This is needed for older base64 versions from GNU
3889 coreutils. Reported by Klaus Reichl
3890 <Klaus.Reichl@thalesgroup.com>.
3892 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3894 * simple.el (count-words-region): New function.
3896 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * shell.el (shell-dir-cookie-re): New custom variable.
3899 (shell-dir-cookie-watcher): New function.
3901 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3902 and compilation-mode (bug#7350).
3904 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3905 highlight when one of them is empty.
3907 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3909 (skeleton-newline): New function.
3910 (skeleton-internal-1): Use it.
3912 * simple.el (open-line): `newline' may strip trailing space.
3914 2010-11-12 Kevin Ryde <user42@zip.com.au>
3916 * international/mule-cmds.el (princ-list): Use mapc.
3918 2010-11-12 Glenn Morris <rgm@gnu.org>
3920 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3921 Use it to replace all instances of "*Compile-Log*"
3923 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3925 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3928 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * progmodes/modula2.el: Use SMIE and skeleton.
3931 (m2-mode-syntax-table): (*..*) can be nested.
3932 Add //...\n. Fix paren syntax.
3933 (m2-mode-map): Remove LF and TAB bindings.
3934 (m2-indent): Add safety property.
3935 (m2-smie-grammar): New var.
3936 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3937 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3938 (m2-mode): Use define-derived-mode.
3939 (m2-newline, m2-tab): Remove.
3940 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3941 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3942 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3943 (m2-import): Use define-skeleton.
3945 2010-11-11 Glenn Morris <rgm@gnu.org>
3947 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3949 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3950 (ls-lisp-verbosity): Add custom :set-after property.
3951 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3952 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3953 (ls-lisp-insert-directory): Update caller.
3954 (ls-lisp-set-options): New function.
3955 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3958 * play/landmark.el (lm-prompt-for-move):
3959 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3961 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3963 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3964 (idlwave-study-twins): Prefix dynamic local variable `name'.
3965 (idlwave-routine-twin-compare): Update for above change.
3967 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3968 Prefix dynamic local variables `name', `kwd', and `link'.
3969 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3970 * progmodes/idlw-complete-structtag.el
3971 (idlwave-complete-structure-tag-help):
3972 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3973 (idlwave-complete-sysvar-tag-help)
3974 (idlwave-complete-class-structure-tag-help):
3975 Update for above name changes.
3977 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3979 * net/browse-url.el (browse-url-browser-function): Change the
3980 default to use `browse-url-mail' on mailto: URLs.
3982 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3984 * emacs-lisp/package.el (package-read-all-archive-contents):
3985 Reset package-archive-contents to nil before re-reading.
3987 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3989 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3990 already found as misspellings by (flyspell-large-region), just
3991 do highlighting (bug#7322).
3993 2010-11-10 Glenn Morris <rgm@gnu.org>
3995 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3997 * emulation/edt.el (edt-with-position): New macro.
3998 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3999 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4000 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4002 * emulation/tpu-extras.el (tpu-with-position): New macro.
4003 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4005 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4007 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4008 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4009 (texinfo-master-menu, texinfo-insert-node-lines)
4010 (texinfo-multiple-files-update):
4011 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4012 Use line-beginning-position.
4014 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4015 No recent Emacs supports system-type `emx'.
4017 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4018 (ada-command-separator, ada-default-prj-properties)
4019 (ada-find-any-references): Update for above name change.
4021 * dirtrack.el (dirtrack-directory-function)
4022 (dirtrack-canonicalize-function):
4023 * filecache.el (file-cache-completion-ignore-case)
4024 (file-cache-case-fold-search, file-cache-ignore-case):
4025 * term.el (serial-port-is-file-p): Cosmetic change.
4027 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4028 Remove non-existent `windows-95' system-type.
4029 * dired.el (dired-chown-program): Remove non-existent `linux'
4032 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4033 (ping-program-options): Remove non-existent `linux' system-type.
4035 * startup.el (package-initialize): Update declaration.
4037 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4038 (ls-lisp-handle-switches): Use time-less-p.
4039 (ls-lisp-format-time): Use float-time.
4041 * textmodes/remember.el (remember-time-to-seconds): Remove.
4042 (remember-store-in-mailbox): Use float-time.
4044 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4046 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4047 never a real function.
4048 (with-no-warnings): Remove compat stub, now unused.
4049 (time-less-p): Doc fix.
4050 (time-to-number-of-days): Simplify.
4052 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4054 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4055 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4056 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4057 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4058 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4060 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4061 (eshell-shuffle-files, eshell-shorthand-tar-command)
4062 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4063 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4064 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4065 Prefix dynamic local variable `matches'.
4067 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4068 Prefix dynamic local variable `skeleton'.
4070 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4072 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4073 in mail buffer; make yank-action always a command that yanks original
4076 2010-11-09 Glenn Morris <rgm@gnu.org>
4078 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4080 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4083 completion field (bug#7211).
4085 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4086 Fix handling of backslash escapes.
4087 (python-quote-syntax): Adjust accordingly.
4089 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4091 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4092 (vc-mtn-workfile-branch): Adjust to new output format.
4094 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * international/mule-cmds.el (princ-list): Mark as obsolete.
4098 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * emacs-lisp/smie.el: New package.
4102 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4104 * files.el (backup-by-copying-when-mismatch):
4105 Set `permanent-local' property.
4107 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4108 `permanent-local' property for `backup-by-copying-when-mismatch'.
4110 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4112 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4114 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4116 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4117 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4118 AUTOINOUT for SV style multidimensional arrays, bug294.
4119 Reported by Eric Mastromarchi.
4120 (verilog-preprocess): Use with-current-buffer and
4121 font-lock-fontify-buffer to cleanup style issues.
4123 2010-11-09 Glenn Morris <rgm@gnu.org>
4125 * locate.el (locate, locate-mode): Doc fixes.
4127 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4129 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4130 user for confirmation.
4131 (server-force-stop): Use it.
4132 (server-start): Use server-force-stop for kill-emacs-hook, to
4133 avoid user interaction while killing Emacs.
4135 2010-11-09 Glenn Morris <rgm@gnu.org>
4137 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4138 (meta-indent-line): Simplify.
4140 * vc/emerge.el (emerge-line-number-in-buf):
4141 * textmodes/ispell.el (ispell-region):
4142 * textmodes/fill.el (current-fill-column):
4143 * progmodes/xscheme.el (xscheme-send-current-line):
4144 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4145 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4146 * progmodes/sh-script.el (sh-handle-prev-do):
4147 * progmodes/meta-mode.el (meta-indent-line):
4148 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4150 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4151 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4152 * progmodes/fortran.el (fortran-looking-at-if-then):
4153 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4154 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4155 (cperl-find-pods-heres):
4156 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4157 * net/quickurl.el (quickurl-list-insert):
4158 * net/ldap.el (ldap-search-internal):
4159 * net/eudc.el (eudc-expand-inline):
4160 * mail/sendmail.el (sendmail-send-it):
4161 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4162 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4163 (viper-brac-function):
4164 * calc/calc-yank.el (calc-do-grab-region):
4165 * calc/calc-keypd.el (calc-keypad-press):
4166 * term.el (term-move-columns, term-insert-spaces):
4167 * speedbar.el (speedbar-highlight-one-tag-line):
4168 * simple.el (current-word):
4169 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4170 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4172 * hippie-exp.el (he-line-beg):
4173 * epa.el (epa--marked-keys):
4174 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4175 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4176 (dired-relist-entry):
4177 * buff-menu.el (Buffer-menu-buffer):
4178 * array.el (current-line):
4179 * allout.el (allout-resolve-xref)
4180 (allout-latex-verbatim-quote-curr-line):
4181 Replace yet more uses of end-of-line etc with line-end-position, etc.
4183 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4186 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4187 (checkdoc-syntax-table): Initialize in the declaration.
4188 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4189 the mode on unconditionally.
4191 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4192 (extent-end-position, extent-start-position): Remove setf method for
4193 non-existing functions (bug#7319).
4195 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4198 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4199 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4200 (smie-prec2->grammar): Rename from smie-prec2-levels.
4201 (smie-grammar): Rename from smie-op-levels.
4202 (smie-indent--hanging-p): Rename from smie-hanging-p.
4203 (smie-rule-hanging-p): New alias.
4204 (smie-indent--bolp): Rename from smie-bolp.
4205 (smie-indent--hanging-p): New alias.
4206 (smie--token): New dynamically bound variable.
4207 (smie-indent--parent): New function.
4208 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4209 (smie-rule-next-p): Rename from smie-next-p.
4210 (smie-rule-prev-p): Rename from smie-prev-p.
4211 (smie-rule-sibling-p, smie-rule-parent)
4212 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4213 (smie-rule-separator-outdent): New var.
4214 (smie-indent--rule): Merge with smie-indent--column.
4215 (smie-indent-forward-token, smie-indent-backward-token):
4216 Also recognize close parens.
4217 (smie-indent-keyword): Don't use smie-indent--column any more.
4218 (smie-indent-after-keyword): Ignore closers by default.
4219 (smie-indent-line): Use with-demoted-errors.
4220 * progmodes/octave-mod.el (octave-smie-grammar):
4221 Rename from octave-smie-op-levels.
4222 (octave-smie-rules): Adjust to new behavior.
4223 * progmodes/prolog.el (prolog-smie-grammar):
4224 Rename from prolog-smie-op-levels.
4226 2010-11-07 Glenn Morris <rgm@gnu.org>
4228 * eshell/esh-util.el (subst-char-in-string)
4229 (directory-files-and-attributes): These compatibility definitions are
4230 not needed on any version of Emacs since at least 21.4.
4232 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4233 (verilog-get-end-of-line): Remove.
4234 (verilog-within-string, verilog-re-search-forward-substr)
4235 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4236 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4237 Use point-at-bol, point-at-eol.
4238 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4240 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4241 (electric-pascal-terminate-line, pascal-set-auto-comments)
4242 (pascal-indent-paramlist, pascal-indent-declaration)
4243 (pascal-get-lineup-indent, pascal-func-completion)
4244 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4245 Use point-at-bol, point-at-eol.
4246 * progmodes/flymake.el (flymake-line-beginning-position)
4247 (flymake-line-end-position): Remove.
4248 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4249 * eshell/esh-util.el (line-end-position, line-beginning-position):
4250 Remove compat definitions.
4252 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4254 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4255 Use line-end-position.
4257 * emacs-lisp/chart.el (chart-zap-chars):
4258 * play/decipher.el (decipher-set-map):
4259 * progmodes/ada-mode.el (ada-get-current-indent)
4260 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4261 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4262 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4263 (ada-get-all-references):
4264 * progmodes/cperl-mode.el (cperl-electric-paren)
4265 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4266 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4267 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4268 (cperl-word-at-point-hard):
4269 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4270 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4271 (idlwave-shell-display-line):
4272 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4273 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4274 * progmodes/js.el (js--re-search-forward-inner)
4275 (js--re-search-backward-inner):
4276 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4277 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4278 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4279 * textmodes/flyspell.el (flyspell-process-localwords):
4280 * textmodes/ispell.el (ispell-buffer-local-parsing)
4281 (ispell-buffer-local-dict, ispell-buffer-local-words):
4282 Use point-at-bol and point-at-eol.
4284 * speedbar.el (speedbar-generic-item-info)
4285 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4286 (speedbar-add-indicator, speedbar-check-vc-this-line)
4287 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4288 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4289 Replace more uses of end-of-line etc with line-end-position.
4291 2010-11-06 Glenn Morris <rgm@gnu.org>
4293 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4294 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4295 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4296 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4297 (texinfo-multiple-files-update):
4298 * textmodes/table.el (table--probe-cell-left-up)
4299 (table--probe-cell-right-bottom):
4300 * textmodes/picture.el (picture-tab-search):
4301 * textmodes/page-ext.el (pages-copy-header-and-position)
4302 (pages-directory-for-addresses):
4303 * progmodes/vera-mode.el (vera-get-offset):
4304 * progmodes/simula.el (simula-calculate-indent):
4305 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4306 * progmodes/prolog.el (end-of-prolog-clause):
4307 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4308 * progmodes/icon.el (indent-icon-exp):
4309 * progmodes/etags.el (tag-re-match-p):
4310 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4311 * progmodes/ebnf2ps.el (ebnf-begin-file):
4312 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4313 (dcl-save-local-variable):
4314 * play/life.el (life-setup):
4315 * play/gametree.el (gametree-looking-at-ply):
4316 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4317 * mail/sendmail.el (mail-mode-auto-fill):
4318 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4319 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4320 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4321 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4322 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4323 * type-break.el (type-break-file-keystroke-count):
4324 * term.el (term-replace-by-expanded-history-before-point)
4325 (term-skip-prompt, term-extract-string):
4326 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4327 (speedbar-contract-line, speedbar-toggle-line-expansion)
4328 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4329 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4330 * sort.el (sort-skip-fields):
4331 * skeleton.el (skeleton-internal-list):
4332 * simple.el (line-move-finish, line-move-to-column):
4333 * shell.el (shell-forward-command):
4334 * misc.el (copy-from-above-command):
4335 * makesum.el (double-column):
4336 * ebuff-menu.el (electric-buffer-update-highlight):
4337 * dired.el (dired-move-to-end-of-filename):
4338 * dframe.el (dframe-popup-kludge):
4339 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4340 * arc-mode.el (archive-get-lineno):
4341 Use line-end-position and line-beginning-position.
4343 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4344 (idlwave-study-twins): Prefix dynamic local `class'.
4345 (idlwave-routine-twin-compare): Update for above name change.
4347 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4348 Use boundp tests to silence compiler. Update for changed name of
4349 bytecomp-filename variable.
4351 * emulation/viper-cmd.el (viper-read-string-with-history):
4352 Prefix dynamic local `initial'.
4353 (viper-minibuffer-standard-hook): Update for above name change.
4355 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4356 (elint-init-form): Update for above name change.
4358 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4359 local variables `cbeg' and `cend' a prefix.
4360 (mail-extr-voodoo): Update for above name change.
4362 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4363 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4364 (reftex-toc-promote-action): Doc fix.
4366 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4367 `prompt', `data' a prefix.
4368 (reftex-select-post-command-hook, reftex-select-callback)
4369 (reftex-select-mouse-accept, reftex-select-read-cite):
4370 Update for above name changes.
4372 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4373 `refstyle' to reftex-refstyle.
4374 (reftex-offer-label-menu): Update for above name change.
4375 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4376 `refstyle' name change.
4378 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4379 with with-current-buffer.
4380 (diff, template): Give dynamic local variables a prefix.
4381 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4382 (emerge-line-number-in-buf): Update for above name change.
4383 (emerge-combine-versions-internal): Rename local `template' to
4384 emerge-combine-template.
4385 (emerge-combine-versions-edit): Update for above name change.
4387 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4389 * textmodes/reftex-cite.el
4390 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4391 entries with whitespace after \bibitem.
4392 (reftex-create-bibtex-file): Match entries containing numbers and
4393 symbol constituents. Make sure that entries with whitespace at
4394 various places are found.
4396 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4398 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4400 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4402 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4404 2010-11-05 Glenn Morris <rgm@gnu.org>
4406 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4407 (woman2-roff-buffer): Give local variable `request' a prefix.
4408 (woman0-macro): Rename argument `request' in the same way.
4409 (woman-request): New name for `request' dynamic variable.
4410 (woman-unquote, woman-forward-arg): Update for above name change.
4411 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4412 (woman1-unquote): New name for `unquote' dynamic variable.
4413 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4414 (woman-translations): Rename from `translations'. No longer global.
4415 (woman2-tr, woman-translate): Update for above name change.
4416 (woman-translate): Check for bound variable.
4417 (woman2-roff-buffer): Give local variable `translations' a prefix.
4419 * play/doctor.el: Give all local variables a prefix. Update callers.
4420 (doc$, doctor-put-meaning): Use backquote.
4422 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4423 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4425 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4426 variables bytes, ptr, op a prefix.
4427 (disassemble-offset): Update for above change.
4429 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4431 * emacs-lisp/package.el (package-unpack): Remove no-op.
4432 (package--builtins, package--dir): Doc fix.
4433 (package-activate-1, package-activate, package-install)
4434 (package-compute-transaction): Fix error message.
4435 (package-delete): Use delete-directory. Omit system packages.
4436 (package-initialize): Set package-alist to nil first.
4437 (package-menu-mark-delete, package-menu-mark-install): Don't add
4438 symbols that are inconsistent with the package state.
4439 (package-menu-execute): Perform deletions and installations as
4440 single batch operations.
4442 2010-11-03 Glenn Morris <rgm@gnu.org>
4444 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4445 (props): Remove unnecessary declaration.
4447 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4448 set-process-query-on-exit-flag.
4450 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4451 (reftex-toc-do-promote): Remove unused local `mpos'.
4452 (reftex-toc-restore-region): Make `mpos' local to this function.
4454 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4456 * play/landmark.el (lm-losing-threshold): Correct spelling.
4457 (lm-human-plays): Use new name.
4459 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4460 (gomoku-human-plays): Use new name.
4462 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4463 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4464 (gomoku-score-trans-table, gomoku-winning-threshold)
4465 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4467 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4469 * emacs-lisp/package.el: Don't put built-in packages in
4470 package-alist, to avoid loading inefficiencies.
4471 (package-built-in-p): Make VERSION optional, and treat it as a
4472 minimum acceptable version.
4473 (package-activate): Search separately for built-in packages.
4474 Emit a warning if a dependency fails.
4475 (define-package): Handle most common case, where there is no
4476 obsolete package, first.
4477 (package-compute-transaction): Print required version in error.
4478 (package--initialized): New variable.
4479 (list-packages): Use it.
4480 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4481 built-in packages in packages-alist; keep it separate.
4482 Set package--initialized.
4483 (describe-package): Avoid activating packages as a side-effect.
4484 Search separately for built-in packages.
4485 (describe-package-1): Handle the case where an elpa package is
4486 simultaneously built-in and available/installed.
4487 (package-installed-p, package--generate-package-list):
4488 Search separately for built-in packages.
4489 (package-load-descriptor): Doc fix.
4491 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4493 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4494 Handle __DATA__ and __END__.
4496 2010-11-02 Noah Friedman <friedman@splode.com>
4498 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4499 nil, do not ask to recompile files that are not already compiled,
4500 and do not recompile them.
4502 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4504 * emacs-lisp/package.el (package-initialize): Ensure that
4505 obsoleted built-in packages are not in package-activated-list
4507 (describe-package-1): Make the "installed" status override
4510 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4512 * subr.el (version-separator, version-regexp-alist): Remove '*'
4514 (version-list-<=, version<=, version=): Doc fix.
4516 2010-11-01 Kenichi Handa <handa@m17n.org>
4518 * faces.el (glyphless-char): Inherit underline for tty.
4520 2010-11-01 Kenichi Handa <handa@m17n.org>
4522 Implement various display methods for glyphless characters.
4524 * international/characters.el (char-acronym-table): New variable.
4525 (glyphless-char-control): New variable.
4526 (update-glyphless-char-display): New function.
4528 * faces.el (glyphless-char): New face.
4530 2010-11-01 Glenn Morris <rgm@gnu.org>
4532 * calendar/holidays.el (general-holidays, oriental-holidays)
4533 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4534 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4535 the definitions of their targets.
4537 * emacs-lisp/smie.el (smie): New custom group.
4538 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4540 * faces.el (xw-defined-colors, x-setup-function-keys):
4541 * mouse-sel.el (x-select-text):
4542 * term/w32console.el (x-setup-function-keys): Update declarations.
4544 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4546 * textmodes/ispell.el (comment-add): Declare.
4548 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4551 * info.el (finder-keywords-hash, package-alist): Declare.
4553 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4555 * finder.el (finder-compile-keywords): Don't use intern-soft,
4556 since package names may not yet exist in the obarray.
4558 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4560 * vc/vc-arch.el (vc-arch-checkin):
4561 * vc/vc-cvs.el (vc-cvs-checkin):
4562 * vc/vc-mtn.el (vc-mtn-checkin):
4563 * vc/vc-rcs.el (vc-rcs-checkin):
4564 * vc/vc-sccs.el (vc-sccs-checkin):
4565 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4566 since 2010-04-21 commit by Stefan Monnier.
4568 2010-11-01 Glenn Morris <rgm@gnu.org>
4570 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4572 * startup.el (package-enable-at-startup, package-initialize):
4575 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4578 2010-10-31 Julien Danjou <julien@danjou.info>
4580 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4581 (byte-recompile-directory):
4582 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4583 Use `byte-recompile-file'.
4585 2010-10-31 Glenn Morris <rgm@gnu.org>
4587 * cus-start.el: Handle standard values via a keyword.
4588 Only set version property if specified.
4589 (cursor-in-non-selected-windows, menu-bar-mode)
4590 (tool-bar-mode, show-trailing-whitespace):
4591 Do not specify standard values.
4592 (transient-mark-mode, temporary-file-directory): Use :standard.
4594 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4596 * term/x-win.el (x-get-selection-value): New function that gets
4597 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4599 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4601 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4602 preserve owner and group when editing files. (Bug#7289)
4604 2010-10-31 Glenn Morris <rgm@gnu.org>
4606 * speedbar.el (speedbar-mode):
4607 * play/fortune.el (fortune-in-buffer, fortune):
4608 * play/gomoku.el (gomoku-mode):
4609 * play/landmark.el (lm-mode):
4610 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4611 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4613 * select.el (x-selection): Mark it as an obsolete alias.
4615 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4617 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4618 major-mode (bug#7284).
4620 2010-10-31 Glenn Morris <rgm@gnu.org>
4622 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4623 rather than just an unused variable that inherits from the real one.
4625 2010-10-31 Alan Mackenzie <acm@muc.de>
4627 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4628 This fixes bug #7185.
4630 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4632 * startup.el (command-line): Search for package directories, and
4633 don't load package.el if none are found.
4635 * emacs-lisp/package.el (describe-package, list-packages):
4636 Call package-initialize if it has not been called yet.
4638 2010-10-30 Alan Mackenzie <acm@muc.de>
4640 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4641 which fontifies the tail of an enum.
4642 (c-basic-matchers-after): Insert a call to the above new function.
4643 This fixes bug #7264.
4645 2010-10-30 Glenn Morris <rgm@gnu.org>
4647 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4648 tool-bar-mode, transient-mark-mode. (Bug#7306)
4649 Include the :set property in the dumped Emacs.
4651 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4653 SMIE: change indent rules format, improve smie-setup.
4654 * emacs-lisp/smie.el (smie-precs-precedence-table)
4655 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4656 Mark them pure so the tables gets built at compile time.
4657 (smie-bnf-precedence-table): Store the closer-alist in the table.
4658 (smie-prec2-levels): Preserve the closer-alist.
4659 (smie-blink-matching-open): Be more forgiving in case of indentation.
4660 (smie-hanging-p): Rename from smie-indent--hanging-p.
4661 (smie-bolp): Rename from smie-indent--bolp.
4662 (smie--parent, smie--after): New dynamic vars.
4663 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4664 (smie-indent-rules): Remove.
4665 (smie-indent--offset-rule): Remove fun.
4666 (smie-rules-function): New var.
4667 (smie-indent--rule): New fun.
4668 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4669 (smie-indent-exps): Use it.
4670 (smie-setup): Setup paren blinking; add keyword args for token
4671 functions; extract closer-alist from op-levels.
4672 (smie-indent-debug-log): Remove var.
4673 (smie-indent-debug): Remove fun.
4674 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4675 (prolog-smie-rules): New fun to replace it.
4676 (prolog-mode-variables): Simplify.
4677 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4678 it's setup automatically.
4679 (octave-smie-indent-rules): Remove.
4680 (octave-smie-rules): New fun to replace it.
4681 (octave-mode): Simplify.
4683 2010-10-29 Glenn Morris <rgm@gnu.org>
4685 * files.el (temporary-file-directory): Remove (already defined in C).
4686 * cus-start.el: Add temporary-file-directory.
4688 * abbrev.el (abbrev-mode):
4689 * composite.el (auto-composition-mode):
4690 * menu-bar.el (menu-bar-mode):
4691 * simple.el (transient-mark-mode):
4692 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4693 that they do not define the associated variables twice.
4694 * simple.el (transient-mark-mode): Remove defvar.
4695 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4696 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4697 Handle multiple groups, and also custom-delayed-init-variables.
4698 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4700 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4702 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4703 (pcase-if): Add one minor optimization.
4704 (pcase-split-equal): Rename from pcase-split-eq.
4705 (pcase-split-member): Rename from pcase-split-memq.
4706 (pcase-u1): Add strings to the member optimization.
4707 Add `guard' variant of predicates.
4708 (pcase-q1): Add string patterns.
4710 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4714 2010-10-28 Glenn Morris <rgm@gnu.org>
4716 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4717 Move menu-bar related settings to ../menu-bar.el.
4718 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4719 Move ns-specific settings here from term/ns-win.el.
4721 * simple.el (x-selection-owner-p): Remove unused declaration.
4723 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4725 * minibuffer.el (completion-cycling): New var (bug#7266).
4726 (minibuffer-complete, completion--do-completion):
4727 Use completion--flush-all-sorted-completions.
4728 (minibuffer-complete): Only cycle if completion-cycling is set.
4729 (completion--flush-all-sorted-completions): Unset completion-cycling.
4730 (minibuffer-force-complete): Set completion-cycling.
4731 (completion-all-sorted-completions): Move declaration before first use.
4733 2010-10-28 Leo <sdl.web@gmail.com>
4735 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4736 which changes the order of matches seen by users (bug#7231).
4738 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4740 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4741 Don't confuse -omega as "-o mega".
4743 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4746 (log-edit-author): New dynamic var.
4747 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4748 to return the author if different from committer.
4749 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4751 * play/landmark.el: Adjust commenting convention.
4752 (lm-nil-score): Rename from nil-score.
4753 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4754 (OOOOscore): Move into a let in lm-score-trans-table.
4755 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4757 * electric.el (electric-indent-chars): Autoload.
4758 * progmodes/octave-mod.el (octave-mode):
4759 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4760 (ruby-mode-abbrev-table): Merge initialization and declaration.
4762 2010-10-27 Glenn Morris <rgm@gnu.org>
4764 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4767 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4769 * term/ns-win.el: Restore require of cl when compiling.
4770 (menu-bar-final-items): Remove non-existent `windows' menu.
4771 (ns-handle-nxopen): Optionally handle the temp-case.
4772 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4773 (ns-insert-file, ns-find-file): Use `pop'.
4775 2010-10-26 Glenn Morris <rgm@gnu.org>
4777 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4779 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4781 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4783 * term/common-win.el (x-setup-function-keys): Remove most of the
4784 keymappings. Comment on the remaining ones.
4786 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4788 * server.el (server-port): New option. (Bug#854)
4789 (server-start): Use server-port.
4791 2010-10-26 Glenn Morris <rgm@gnu.org>
4793 * term/ns-win.el (ns-version-string): Remove unused declaration.
4794 (ns-invocation-args): Change to x-invocation-args.
4795 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4796 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4797 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4798 Use x-invocation-args instead of ns-invocation-args.
4799 (ns-initialize-window-system, handle-args-function-alist):
4800 Use x-handle-args instead of ns-handle-args.
4801 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4802 * startup.el (command-line-ns-option-alist): Replace
4803 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4804 ns-handle-iconic with the x- equivalents.
4806 * term/common-win.el (x-select-enable-clipboard):
4807 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4809 * term/ns-win.el: No need to require cl when compiling.
4810 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4811 (xw-defined-colors): Use the common-win definitions.
4812 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4813 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4814 * term/common-win.el (x-select-text, x-alternatives-map)
4815 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4816 * loadup.el [ns]: Load common-win.
4818 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4820 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4821 recipients; expand mail aliases (Bug#7280).
4823 2010-10-25 Glenn Morris <rgm@gnu.org>
4825 * term/common-win.el (x-handle-switch): Simplify with pop.
4826 Optionally handle numeric switches.
4827 (x-handle-numeric-switch): Just call x-handle-switch.
4828 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4829 (x-handle-name-switch, x-handle-display, x-handle-args):
4832 * term/ns-win.el: Do not require easymenu.
4833 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4834 <spell>: Move adjustments to menu-bar.el.
4835 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4836 <separator-undo, spell>: Move ns-win's adjustments here.
4837 * loadup.el [ns]: Do not load easymenu.
4839 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4841 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4844 * startup.el (fancy-startup-tail): Instead of using inline images,
4845 refer to image files from etc/.
4847 * wid-edit.el (checkbox): Likewise.
4848 (widget-image-find): Center image specs.
4850 2010-10-24 Glenn Morris <rgm@gnu.org>
4852 * term/ns-win.el (x-select-text): Doc fix.
4853 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4854 (x-select-text): Move to term/common-win.
4855 * term/w32-win.el (xw-defined-colors): Move to common-win.
4856 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4857 (x-setup-function-keys, x-select-text): Move to common-win.
4858 * term/common-win.el (x-select-text, x-alternatives-map)
4859 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4862 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4864 * net/mairix.el (mairix-searches-mode-map):
4865 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4867 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4869 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4870 auto-built for efficiency of execution and updating.
4871 (verilog-extended-complete-re): Support 'pure' fucntion & task
4872 declarations (these have no bodies).
4873 (verilog-beg-of-statement): General cleanup to enable support of
4874 'pure' fucntion & task declarations (these have no bodies).
4875 These efforts together fix Verilog bug210 from veripool; which was also
4876 noticed by Steve Pearlmutter.
4877 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4878 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4879 Support `elsif. Reported by Shankar Giri.
4880 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4881 attribute handling for lining up declarations and assignments.
4882 (verilog-beg-of-statement-1): Fix issue where continued declaration
4883 is indented differently if it is after a begin..end clock.
4884 (verilog-in-attribute-p, verilog-skip-backward-comments)
4885 (verilog-skip-forward-comment-p): Support proper treatment of
4886 attributes by indent code. Reported by Jeff Steele.
4887 (verilog-in-directive-p): Fix comment to correctly describe function.
4888 (verilog-backward-up-list, verilog-in-struct-region-p)
4889 (verilog-backward-token, verilog-in-struct-p)
4890 (verilog-in-coverage-p, verilog-do-indent)
4891 (verilog-pretty-declarations): Use verilog-backward-up-list as
4892 wrapper around backward-up-list inorder to properly skip comments.
4893 Reported by David Rogoff.
4894 (verilog-property-re, verilog-endcomment-reason-re)
4895 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4896 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4897 of if). Reported by Max Bjurling and
4898 (verilog-calc-1): Fix for clocking block in modport
4899 declaration. Reported by Brian Hunter.
4901 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4903 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4904 (verilog-gate-keywords, verilog-read-sub-decls)
4905 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4906 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4907 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4908 (verilog-read-decls): Fix spaces in V2K module parameters causing
4909 mis-identification as interfaces, bug287.
4910 (verilog-read-decls): Fix not treating "parameter string" as a
4911 parameter in AUTOINSTPARAM.
4912 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4913 treating `elsif similar to `endif inside AUTOSENSE.
4914 (verilog-do-indent): Implement correct automatic or static task or
4915 function end comment highlight. Reported by Steve Pearlmutter.
4916 (verilog-font-lock-keywords-2): Fix highlighting of single
4917 character pins, bug264. Reported by Michael Laajanen.
4918 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4919 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4920 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4921 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4922 (verilog-pretty-expr): Fix interactive arguments, bug272.
4923 Reported by Mark Johnson.
4924 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4925 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4926 bug269. Suggested by Gary Delp.
4927 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4928 (verilog-preprocessor, verilog-set-compile-command):
4929 Create verilog-preprocess and verilog-preprocessor to show
4930 preprocessed output.
4931 (verilog-get-beg-of-line, verilog-get-end-of-line)
4932 (verilog-modi-file-or-buffer, verilog-modi-name)
4933 (verilog-modi-point, verilog-within-string): Move defmacro's
4934 before first use to avoid warning. Reported by Steve Pearlmutter.
4935 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4936 (verilog-colorize-region, verilog-highlight-buffer)
4937 (verilog-highlight-includes, verilog-highlight-modules)
4938 (verilog-highlight-region, verilog-mode): Rename colorize to
4939 highlight to match other packages. Disable module highlighting,
4940 as received speed complaints, reenable for experimentation only
4941 using new verilog-highlight-modules.
4942 (verilog-read-decls): Fix regexp stack overflow in very large
4943 AUTO_TEMPLATEs, bug250.
4944 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4945 (verilog-scan): Create verilog-save-buffer-state to standardize
4946 making insignificant changes that shouldn't call hooks.
4947 (verilog-save-no-change-functions, verilog-save-scan-cache)
4948 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4949 Create verilog-save-no-change-functions to wrap verilog-scan
4950 preservation, and fix to work with nested preserved calls.
4951 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4952 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4953 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4954 (verilog-submit-bug-report): Update variable list to be complete.
4955 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4956 breaking on-the-fly font-locking.
4957 (verilog-colorize-buffer, verilog-colorize-include-files)
4958 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4959 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4960 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4961 AUTOINST cell instance name, middle mouse button now finds-file on
4962 it. Suggested by Brad Dobbie.
4963 (verilog-alw-get-temps, verilog-auto-reset)
4964 (verilog-auto-sense-sigs, verilog-read-always-signals)
4965 (verilog-read-always-signals-recurse): Fix loop indexes being
4966 AUTORESET. AUTORESET now assumes any variables in the
4967 initialization section of a for() should be ignored.
4968 Reported by Dan Dever.
4969 (verilog-error-font-lock-keywords)
4970 (verilog-error-regexp-emacs-alist)
4971 (verilog-error-regexp-xemacs-alist): Fix error detection of
4972 Cadence HAL, reported by David Asher. Repair drift between the
4973 three similar error variables.
4974 (verilog-modi-lookup, verilog-modi-lookup-cache)
4975 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4976 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4977 Fix slow verilog-auto expansion on very large files.
4978 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4979 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4980 "{1*2{...". Broke in last revision.
4981 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4982 submodule connections with replications "{#{a},#{b}}".
4984 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4986 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4987 Fix typo in docstring.
4989 2010-10-24 Kenichi Handa <handa@m17n.org>
4991 * face-remap.el (text-scale-adjust): Call read-event with a proper
4994 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4996 * emacs-lisp/unsafep.el: Don't mark functions that display
4997 messages as safe. Suggested by Johan Bockgård.
4999 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5001 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5002 Turn comments into docstrings.
5004 * minibuffer.el (completion--replace): Move point where it belongs
5005 when there's a common suffix (bug#7215).
5007 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5009 Merge read-color and facemenu-read-color (Bug#7242).
5011 * faces.el (read-color): Use the completion code from
5012 facemenu-read-color. Require match in completion. Doc fix.
5014 * facemenu.el (facemenu-read-color): Alias for read-color.
5015 (facemenu-set-foreground, facemenu-set-background):
5018 * frame.el (set-background-color, set-foreground-color)
5019 (set-cursor-color, set-mouse-color, set-border-color):
5022 2010-10-24 Leo <sdl.web@gmail.com>
5024 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5025 argument of delete-file and delete-directory (Bug#7011).
5027 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5029 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5032 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5034 * emacs-lisp/package.el (package--generate-package-list): Make the
5035 *Packages* buffer read-only.
5037 2010-10-24 Alan Mackenzie <acm@muc.de>
5039 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5040 result of `c-beginning-of-decl-1' between invocations of a lambda
5041 function (Bug #7265).
5043 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5045 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5046 executable is not available on the system (Bug#7268).
5048 2010-10-24 Glenn Morris <rgm@gnu.org>
5050 * select.el (selection-coding-system, next-selection-coding-system):
5051 Sync doc with C versions.
5053 * w32-vars.el (x-select-enable-clipboard):
5054 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5055 * term/common-win.el (x-select-enable-clipboard): Move here.
5057 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5058 definition of C variable.
5060 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5061 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5062 Don't redefine things that are defined in C.
5063 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5064 (show-trailing-whitespace, auto-hscroll-mode)
5065 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5066 Set up the appropriate custom properties.
5068 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5071 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5072 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5073 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5074 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5076 2010-10-23 Glenn Morris <rgm@gnu.org>
5078 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5081 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5082 Sync docs with C version.
5084 * term/ns-win.el (xw-defined-colors):
5085 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5087 * term/pc-win.el (x-select-enable-clipboard):
5088 * term/x-win.el (x-select-enable-clipboard):
5089 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5091 * comint.el (comint-password-prompt-regexp): Make it less vague.
5094 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5096 * help.el (finder-by-keyword): Remove unnecessary autoload.
5098 2010-10-22 Glenn Morris <rgm@gnu.org>
5100 * loadup.el: Unconditionally load float-sup.
5101 * paren.el (show-paren-delay):
5102 * emacs-lisp/float-sup.el:
5103 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5104 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5105 (lazy-lock-stealth-verbose): Assume float support.
5106 * ps-print.el: Assume float support on Emacs.
5107 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5108 Remove non-float branch.
5110 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5111 src/Makefile no longer being pre-processed.
5113 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * emacs-lisp/find-func.el (find-library): Use test-completion.
5117 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5119 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5121 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5123 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5124 space in stat format string.
5125 (tramp-send-command): Unset $PS1 when using here documents, in
5126 order not to get several prompts.
5127 (tramp-get-inline-coding): Return `nil' in case of errors.
5129 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5131 * hexl.el (hexl-mode, hexl-mode-exit):
5132 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5133 (hexl-revert-buffer-function): New function.
5134 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5136 2010-10-19 Alan Mackenzie <acm@muc.de>
5138 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5139 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5140 that these keywords aren't wrongly matched as identifiers.
5142 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5143 setting of c-new-BEG and c-new-END from c-before-change to
5144 c-after-change. (Bug#7181)
5146 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5148 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5151 * custom.el (custom-theme-set-variables): Likewise.
5152 (load-theme): Add custom-theme-set-faces and
5153 custom-theme-set-variables to safe-functions while loading.
5154 (custom-enabled-themes): Mark as risky.
5156 2010-10-18 Julien Danjou <julien@danjou.info>
5158 * bindings.el: Remove end dashes in default mode-line-format.
5160 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5162 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5163 to delete-forward-char.
5165 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5166 deletechar, and hence delete-forward-char.
5168 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * repeat.el (repeat): Use read-key (bug#6256).
5172 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5174 * emacs-lisp/unsafep.el: Don't mark functions that display
5175 messages as safe. Suggested by Johan Bockgård.
5177 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * minibuffer.el (completion--replace): Move point where it belongs
5180 when there's a common suffix (bug#7215).
5182 2010-10-19 Kenichi Handa <handa@m17n.org>
5184 * international/characters.el: Add category '|' (word breakable)
5185 to fullwidth characters.
5187 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5189 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5190 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5191 order to make stat results a float. Patch by Andreas Schwab
5192 <schwab@linux-m68k.org>.
5194 2010-10-18 Julien Danjou <julien@danjou.info>
5196 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5197 hidden by `make-pointer-invisible'.
5199 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5201 * files.el (locate-file-completion-table): Strip non-matching elements
5202 before checking length of list (bug#7238).
5204 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5206 * custom.el (custom-theme-set-variables): Mark as a safe function.
5207 (load-theme): Check forms using unsafep.
5209 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5211 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5213 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5214 Fix aspell data file searching (bug#7230).
5216 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5218 * cus-theme.el (custom-theme--migrate-settings): New var.
5219 (customize-create-theme): Allow editing the `user' theme.
5220 (custom-theme-add-variable, custom-theme-add-var-1)
5221 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5222 to the front of each variable or face widget.
5223 (custom-theme-write): Save theme settings in the correct order.
5224 Optionally, remove saved settings from user customizations.
5225 (custom-theme-write-variables, custom-theme-write-faces):
5226 Save only the checked widgets.
5227 (customize-themes): Add a link for migrating custom settings.
5229 * custom.el (custom-declare-theme, provide-theme):
5230 Use custom-theme-name-valid-p.
5231 (custom-theme-name-valid-p): Remove checks that are now
5232 unnecessary since themes no longer obey load-path.
5234 * cus-edit.el (custom-variable-value-create): For the simple
5235 style, hide documentation string when hidden.
5237 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5239 * cus-edit.el (custom-variable, custom-face): Combine the
5240 :inhibit-magic and :display-style properties into a single
5241 :custom-style property.
5242 (custom-toggle-hide-variable, custom-toggle-hide-face):
5243 New functions. If hiding an edited value, save it to :shown-value.
5244 (custom-variable-value-create, custom-face-value-create): Use them.
5245 (custom-magic-reset): Allow magic property to be unset.
5247 * custom.el: Custom themes no longer use load-path.
5248 (custom-theme-load-path): New option. Change built-in theme
5250 (custom-enabled-themes): Add custom-theme-load-path dependency.
5251 (custom-theme--load-path): New function.
5252 (load-theme, custom-available-themes): Use it.
5254 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5255 (customize-themes): Link to custom-theme-load-path variable.
5256 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5257 :custom-style property.
5259 * themes/*.el: Moved to etc/.
5261 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5263 * textmodes/reftex-cite.el
5264 (reftex-extract-bib-entries-from-thebibliography): Do not move
5265 point when searching for \bibitem entries. Match entries with
5266 spaces or tabs in front of arguments.
5268 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5270 * cus-theme.el (customize-create-theme): Delete overlays after
5271 erasing. If given a THEME arg, display only the faces of that arg
5272 instead of custom-theme--listed-faces.
5273 (custom-theme-variable-menu, custom-theme-variable-action)
5274 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5275 (custom-theme-add-variable, custom-theme-add-face): Apply value
5276 from the theme settings, instead of the current value.
5277 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5278 (custom-theme-visit-theme): Allow calling outside theme buffers.
5279 (custom-theme-merge-theme): Don't enable the theme when merging.
5280 (custom-theme-write-variables, custom-theme-write-faces): Use the
5281 :shown-value properties to save buffer values, not global ones.
5282 (customize-themes): Display a warning about user customizations.
5284 * cus-edit.el (custom-variable-value-create)
5285 (custom-face-value-create): Obey new special properties
5286 :shown-value and :inhibit-magic.
5288 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5290 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5291 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5294 2010-10-14 Kenichi Handa <handa@m17n.org>
5296 * mail/rmail.el (rmail-show-message-1): Catch an error of
5297 base64-decode-region and just show an error message (bug#7165).
5299 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5300 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5301 a font-spec (bug#7197).
5303 2010-10-14 Glenn Morris <rgm@gnu.org>
5305 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5307 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5309 * international/mule.el (define-coding-system):
5310 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5311 * composite.el (compose-region): Fix typo in docstring.
5313 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5315 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5316 only after checking the theme-face property.
5318 * faces.el (face-spec-reset-face): Reset all attributes in one
5319 single call to set-face-attribute.
5320 (face-spec-match-p): Make it a defsubst.
5321 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5322 (x-create-frame-with-faces, tty-create-frame-with-faces)
5323 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5324 frame-set-background-mode, since they are recomputed immediately
5325 afterwards in face-set-after-frame-default.
5326 (face-set-after-frame-default): Minor optimization.
5327 (cursor): Provide non-trivial defface spec.
5329 * custom.el (custom-theme-recalc-face): Simplify.
5331 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5333 * calc/calc-alg.el (math-var): Rename from `var'.
5334 (math-is-polynomial, math-is-poly-rec): Replace `var'
5337 * calc/calcalg2.el (math-var): Rename from `var'.
5338 (calcFunc-table, math-scan-for-limits): Replace `var'
5341 2010-10-13 Glenn Morris <rgm@gnu.org>
5343 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5345 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5347 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5349 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5351 * net/tls.el (tls-program): Remove spurious %s from openssl.
5352 (tls-starttls-switches): Remove starttls hack.
5353 (open-tls-stream): Ditto.
5354 (tls-find-starttls-argument): Ditto.
5356 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5358 * image.el (image-library-alist): Declare as obsolete alias.
5359 (image-type-available-p): Use `dynamic-library-alist'.
5361 * term/w32-win.el (dynamic-library-alist):
5362 Use instead of `image-library-alist'.
5364 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5366 * subr.el (last): Make it faster. (Bug#7174)
5368 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5370 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5372 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5374 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5375 (describe-theme-1): Extract doc from unloaded themes.
5377 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5379 * themes/tango-theme.el:
5380 * themes/tango-dark-theme.el:
5381 * themes/wheatgrass-theme.el: New files.
5383 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5385 * cus-theme.el (describe-theme, customize-themes)
5386 (custom-theme-save): New commands.
5387 (custom-new-theme-mode-map): Bind C-x C-s.
5388 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5389 (customize-create-theme): New optional arg THEME.
5390 (custom-theme-revert): Use it.
5391 (custom-theme-visit-theme): Remove dead code.
5392 (custom-theme-merge-theme): Use custom-available-themes.
5393 (custom-theme-write): Make interactive.
5394 (custom-theme-write): Use custom-theme-name-valid-p.
5395 (describe-theme-1, custom-theme-choose-revert)
5396 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5398 (custom-theme-allow-multiple-selections): New option.
5399 (custom-theme-choose-mode): New major mode.
5401 * custom.el (custom-theme-set-variables): Remove dead code.
5402 Obey custom--inhibit-theme-enable.
5403 (custom--inhibit-theme-enable): New var.
5404 (provide-theme): Obey it.
5405 (load-theme): Replace load with manual read/eval, in order to
5406 check for correctness. Use custom-theme-name-valid-p.
5407 (custom-theme-name-valid-p): New function.
5408 (custom-available-themes): Use it.
5410 * cus-edit.el (custom--initialize-widget-variables): New function.
5411 (Custom-mode): Use it.
5413 * cus-face.el (custom-theme-set-faces): Remove dead code.
5414 Obey custom--inhibit-theme-enable.
5416 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5418 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5420 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5422 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5424 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5425 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5426 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5428 * cus-start.el (all): ns-right-alternate-modifier is new.
5430 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5432 * emacs-lisp/lisp.el (lisp-completion-at-point):
5433 Use emacs-lisp-mode-syntax-table for the whole function.
5435 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5437 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5438 instead of font-lock-mode before adding keywords.
5439 Remove hi-lock-mode off code. Remove inhibit hack.
5440 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5441 non-nil; removed hook inhibit hack.
5443 2010-10-12 Glenn Morris <rgm@gnu.org>
5445 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5446 (load-path-shadows-find): ... to this.
5447 (list-load-path-shadows): Update for above change.
5449 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5451 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5453 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5454 Fix comment for declare-function.
5456 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5458 * custom.el (custom-fix-face-spec): New function; code moved from
5459 custom-face-edit-fix-value.
5460 (custom-push-theme): Use it when checking if a face has been
5461 changed outside customize.
5462 (custom-available-themes): New function.
5463 (load-theme): Use it.
5465 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5467 * custom.el (custom-push-theme): Cleanup (use cond).
5468 (disable-theme): Recompute the saved-face property.
5469 (custom-theme-recalc-face): Follow face alias before setting prop.
5471 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5472 New variables, containing checkbox images.
5474 * startup.el (fancy-startup-tail):
5475 * wid-edit.el (checkbox): Use them.
5477 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5479 * shell.el (shell-mode-map):
5480 * progmodes/modula2.el (m2-mode-map):
5481 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5482 * play/mpuz.el (mpuz-mode-map):
5483 * play/landmark.el (lm-mode-map):
5484 * play/decipher.el (decipher-mode-map):
5485 * play/5x5.el (5x5-mode-map):
5486 * net/telnet.el (telnet-mode-map):
5487 * net/quickurl.el (quickurl-list-mode-map):
5488 * net/mairix.el (mairix-searches-mode-map):
5489 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5490 * net/dig.el (dig-mode-map):
5491 * mail/mspools.el (mspools-mode-map):
5492 * hexl.el (hexl-mode-map):
5493 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5494 (wordstar-C-o-map, wordstar-C-q-map):
5495 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5496 * emacs-lisp/chart.el (chart-map):
5497 * edmacro.el (edmacro-mode-map):
5498 * erc/erc-list.el (erc-list-menu-mode-map):
5499 * array.el (array-mode-map): Declare and define in one step.
5501 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5503 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5505 * epa.el (epa-passphrase-callback-function): Display filename
5506 passed as the 3rd arg.
5507 * epa-file.el (epa-file-passphrase-callback-function):
5508 Pass filename to epa-passphrase-callback-function.
5510 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5512 * cus-edit.el (custom-face-widget-to-spec)
5513 (custom-face-get-current-spec, custom-face-state): New functions.
5514 (custom-face-set, custom-face-mark-to-save)
5515 (custom-face-value-create, custom-face-state-set): Use them.
5517 * cus-theme.el (custom-theme--listed-faces): New var.
5518 (customize-create-theme): Use *Custom Theme* as the buffer name.
5519 Set revert-buffer-function. Optional arg BUFFER. Insert all
5520 faces listed in custom-theme--listed-faces.
5521 (custom-theme-revert): New function.
5522 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5524 (custom-theme-write): Prompt for theme name if empty.
5525 (custom-theme-write-variables): Use dolist.
5526 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5528 2010-10-09 Alan Mackenzie <acm@muc.de>
5530 Enhance fontification of declarators to take account of the
5531 presence/absence of "typedef".
5533 * cc-engine.el (c-forward-type): New &optional param
5535 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5536 presence of either or both of a "struct"-like keyword and "typedef".
5538 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5539 fontification of declarators which follow a "}".
5540 (c-font-lock-declarations): Fontify declarators according to the
5541 presence/absence of "typedef".
5543 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5545 (c-typedef-decl-key): New lang variable built from
5546 c-typedef-decl-kwds.
5548 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5550 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5551 since that's too annoying. Move the filter groups commands to
5554 * epa.el (epa-passphrase-callback-function): Say what we're
5555 querying the password for.
5557 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5558 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5560 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5562 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5563 (custom-magic-value-create): Pad button tags with spaces.
5564 (custom-face-edit): New variable.
5565 (custom-face-value-create): Determine whether to use the usual
5566 face editor here, instead of using custom-face-selected.
5567 Pass face defaults to custom-face-edit widget.
5568 (custom-face-selected, custom-display-unselected): Delete widgets.
5569 (custom-display-unselected-match): Function removed.
5570 (custom-face-set, custom-face-mark-to-save):
5571 Accept custom-face-edit widgets as the direct widget child.
5573 * wid-edit.el (widget--completing-widget): New var.
5574 (widget-default-complete): Bind it when doing completion.
5575 (widget-string-complete, widget-file-complete): Use it.
5577 2010-10-09 Glenn Morris <rgm@gnu.org>
5579 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5580 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5581 (holiday-hebrew-misc): Small simplifications.
5583 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5585 * net/browse-url.el: Don't require thingatpt, term, dired,
5586 executable, or w3-auto when compiling.
5587 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5589 (browse-url-text-emacs): Require term.
5591 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5593 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5595 2010-10-08 Glenn Morris <rgm@gnu.org>
5597 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5599 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5600 (shadows-compare-text-p): Make it an obsolete alias for...
5601 (load-path-shadows-compare-text): ... new name.
5602 (find-emacs-lisp-shadows): Update for above name change.
5603 (load-path-shadows-same-file-or-nonexistent): New name for the old
5604 shadow-same-file-or-nonexistent.
5606 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5608 * minibuffer.el (completion--some, completion--do-completion)
5609 (minibuffer-complete-and-exit, minibuffer-completion-help)
5610 (completion-basic-try-completion)
5611 (completion-basic-all-completions)
5612 (completion-pcm--find-all-completions): Use lexical-let to
5613 avoid some false matches in variable completion (Bug#7056)
5615 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5617 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5619 2010-10-08 Leo <sdl.web@gmail.com>
5621 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5622 return non-nil if the file exists (Bug#7090).
5624 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5626 * minibuffer.el (completion--replace):
5627 Better preserve markers (bug#7138).
5629 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5631 * server.el (server-process-filter): Doc fix.
5633 2010-10-08 Drew Adams <drew.adams@oracle.com>
5635 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5637 2010-10-08 Glenn Morris <rgm@gnu.org>
5639 * vc/ediff-wind.el (ediff-setup-control-frame):
5640 * vc/ediff-ptch.el (ediff-default-backup-extension):
5641 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5642 (ediff-exec-process): Remove system-types emx, windows-95.
5644 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5646 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5648 * cus-edit.el (custom-variable, custom-face): Doc fix.
5649 (custom-face-edit): Add value-create attribute.
5650 (custom-face-edit-value-create)
5651 (custom-face-edit-value-visibility-action): New functions.
5652 Hide unused face attributes by default, and add a visibility toggle.
5653 (custom-face-edit-deactivate): Show empty values with shadow face.
5654 (custom-face-selected): Only use this for face specs with default
5656 (custom-face-value-create): Cleanup.
5658 * wid-edit.el (widget-checklist-value-create): Use dolist.
5659 (widget-checklist-match-find): Make second arg optional.
5661 2010-10-07 Glenn Morris <rgm@gnu.org>
5663 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5666 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5667 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5668 load-path-shadows-mode, update references.
5669 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5670 Rename variable and button.
5671 (list-load-path-shadows): Update button caller.
5673 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5675 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5676 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5677 (smie-merge-prec2s): Handle those new entries.
5678 (smie-prec2-levels): Only set precedence to nil for actual
5680 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5681 that is now unnecessary.
5683 2010-10-07 Miles Bader <miles@gnu.org>
5685 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5687 2010-10-07 Glenn Morris <rgm@gnu.org>
5689 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5690 (mail-position-on-field): Remove declarations.
5691 (mail-position-on-field): Autoload it.
5692 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5693 and mail-header-end. Don't require sendmail.
5695 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5696 (shadow-mode): New mode.
5697 (shadow-find-file): New button.
5698 (list-load-path-shadows): Use shadow-mode and buttons.
5700 * iimage.el (iimage-version): Remove.
5701 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5702 Turn into defcustoms.
5703 (iimage-mode-map): Give it a doc string.
5705 * calendar/appt.el (appt-activate): Give a warning rather than an error
5706 if there is no diary-file.
5708 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5710 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5711 Use `tramp-handle-find-backup-file-name'.
5713 2010-10-06 Glenn Morris <rgm@gnu.org>
5715 * font-core.el (font-lock-defaults-alist): Remove variable.
5716 (font-lock-mode): Doc fix.
5717 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5718 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5719 (font-lock-set-defaults): Doc fix.
5720 Do not consult font-lock-defaults-alist.
5722 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5724 * emacs-lisp/cl.el: No longer provide cl-19.
5726 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5728 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5729 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5730 New defuns, taken from tramp-smb.el.
5731 (tramp-coding-system-change-eol-conversion)
5732 (tramp-set-process-query-on-exit-flag): Remove.
5734 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5735 (tramp-compat-coding-system-change-eol-conversion)
5736 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5739 * net/tramp-gvfs.el:
5740 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5741 by `tramp-compat-set-process-query-on-exit-flag'.
5743 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5744 Use `tramp-handle-directory-files-and-attributes',
5745 `tramp-handle-file-exists-p' and
5746 `tramp-handle-file-newer-than-file-p'.
5747 (tramp-imap-handle-file-exists-p)
5748 (tramp-imap-handle-file-executable-p)
5749 (tramp-imap-handle-file-readable-p)
5750 (tramp-imap-handle-directory-files-and-attributes)
5751 (tramp-imap-handle-file-newer-than-file-p): Remove.
5753 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5754 by `tramp-compat-set-process-query-on-exit-flag' and
5755 `tramp-coding-system-change-eol-conversion' by
5756 `tramp-compat-coding-system-change-eol-conversion'.
5758 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5759 Use `tramp-handle-directory-files-and-attributes',
5760 `tramp-handle-file-exists-p' and
5761 `tramp-handle-file-newer-than-file-p'.
5762 (tramp-smb-handle-directory-files-and-attributes)
5763 (tramp-smb-handle-file-exists-p)
5764 (tramp-smb-handle-file-newer-than-file-p): Remove.
5765 (tramp-smb-maybe-open-connection):
5766 Replace `tramp-set-process-query-on-exit-flag' by
5767 `tramp-compat-set-process-query-on-exit-flag'.
5769 2010-10-05 Glenn Morris <rgm@gnu.org>
5771 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5773 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5775 Continue reorganization of load dependencies. (Bug#7156)
5777 * net/tramp.el (tramp-handle-file-local-copy-hook)
5778 (tramp-delete-temp-file-function): Move down.
5779 (tramp-exists-file-name-handler): Move up.
5780 (tramp-register-file-name-handlers): Simplify autoload.
5781 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5782 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5783 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5784 (tramp-handle-file-name-completion)
5785 (tramp-handle-file-name-directory)
5786 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5787 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5788 (tramp-handle-find-backup-file-name)
5789 (tramp-handle-insert-file-contents, tramp-handle-load)
5790 (tramp-handle-substitute-in-file-name)
5791 (tramp-handle-unhandled-file-name-directory)
5792 (tramp-mode-string-to-int, tramp-local-host-p)
5793 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5795 * net/tramp-gvfs.el (top):
5796 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5798 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5799 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5801 2010-10-04 Glenn Morris <rgm@gnu.org>
5803 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5804 (appt-activate): Give status messages.
5806 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5808 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5809 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5810 `gnutls-negotiate' (formerly `starttls-negotiate').
5811 Remove trivial wrapper `starttls-open-stream'.
5813 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5815 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5816 log-outgoing commands.
5817 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5818 to create a buffer local revert-buffer-function variable.
5819 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5820 revert-buffer-function lambda.
5822 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5824 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5825 `gnutls-boot'. Make TYPE the only required parameter.
5826 Allow TRUSTFILES and KEYFILES to be lists.
5827 (open-ssl-stream): Use it.
5829 2010-10-03 Glenn Morris <rgm@gnu.org>
5831 * subr.el (directory-sep-char): Remove obsolete variable.
5832 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5835 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5836 * vc/vc.el (vc-static-header-alist): Doc fix.
5837 * vc/vc-cvs.el (vc-cvs-header):
5838 * vc/vc-rcs.el (vc-rcs-header):
5839 * vc/vc-sccs.el (vc-sccs-header):
5840 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5841 * obsolete/vc-mcvs.el (vc-mcvs-header):
5842 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5845 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5847 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5848 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5850 2010-10-03 Glenn Morris <rgm@gnu.org>
5852 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5854 * textmodes/rst.el (rst-font-lock-keywords-function):
5857 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5859 * printing.el: Drop Emacs 20 code.
5861 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5862 without having used appt.el already).
5864 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5865 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5866 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5868 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5869 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5871 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5872 (charset-width, find-charset-region, chars-in-region, forward-point)
5873 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5874 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5875 Remove compatibility cruft (none of these are used by ps*.el).
5877 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5879 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5881 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5883 * server.el (server-process-filter, server-return-error):
5884 Give emacsclient time to shut down after receiving an error string.
5886 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5888 * files.el (remote-file-name-inhibit-cache): New defcustom.
5890 * time.el (display-time-file-nonempty-p):
5891 Use `remote-file-name-inhibit-cache'.
5893 * net/tramp.el (tramp-completion-reread-directory-timeout):
5896 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5897 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5898 `remote-file-name-inhibit-cache'. Check also for an integer
5899 value. Add/increase counter when `tramp-verbose' >= 10.
5900 (tramp-set-file-property): Add/increase counter when
5901 `tramp-verbose' >= 10.
5903 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5904 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5905 (tramp-bug): Set tramp-autoload cookie. Report all interned
5906 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5907 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5908 characters only in strings.
5910 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5911 to backward compatibility.
5913 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5914 (tramp-handle-file-name-all-completions)
5915 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5916 (tramp-open-connection-setup-interactive-shell):
5917 Call `tramp-cleanup-connection' directly.
5919 2010-10-02 Glenn Morris <rgm@gnu.org>
5921 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5923 * subr.el (char-bytes): Remove obsolete function.
5925 * isearch.el (isearch-return-char): Remove obsolete function.
5927 * mouse.el: No longer provide mldrag.
5928 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5929 Remove obsolete aliases.
5931 * comint.el (comint-kill-output): Remove obsolete alias.
5933 * composite.el (decompose-composite-char): Remove obsolete function.
5934 * ps-def.el (decompose-composite-char): Remove unused function.
5936 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5938 * outline.el (outline-visible): Remove obsolete function.
5940 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5941 * faces.el (internal-find-face, internal-get-face)
5942 (frame-update-faces, frame-update-face-colors)
5943 (x-frob-font-weight, x-frob-font-slant)
5944 (internal-frob-font-weight, internal-frob-font-slant)
5945 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5946 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5947 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5949 * emulation/viper-util.el (viper-get-face):
5950 * obsolete/lucid.el (find-face, get-face): Use facep.
5951 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5952 Remove unused functions.
5953 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5955 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5956 delete tempfile if interrupted during compilation.
5958 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5960 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5962 (tls-program): Add --insecure to be consistent with the defaults from
5963 openssl s_client. Now all three commands are insecure.
5965 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5967 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5968 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5969 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5971 2010-10-01 Glenn Morris <rgm@gnu.org>
5973 * obsolete/sc.el: Remove file.
5975 * files.el (temporary-file-directory): On darwin, also try
5976 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5978 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5980 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5981 Let's not break compatibility gratuitously, shall we?
5983 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5985 * net/tls.el (tls-starttls-switches): New variable.
5986 (tls-find-starttls-argument): Use it.
5987 (open-tls-stream): Ditto.
5989 * net/netrc.el (netrc-credentials): Return the value of the "default"
5991 (netrc-machine): Ditto.
5993 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5995 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5997 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5999 * server.el (server-start): Don't write pid to the authentication file.
6000 (server-create-tty-frame): Don't send pid.
6001 (server-process-filter): Send pid at the start of every connection.
6003 2010-09-30 Glenn Morris <rgm@gnu.org>
6005 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6006 (show-all-diary-entries): Remove obsolete function aliases.
6008 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6009 Remove options, obsolete since 22.1.
6010 (appt-display-format, appt-display-message):
6011 Remove backwards-compatibility code.
6012 (appt-check): No longer check appt-issue-message.
6013 (appt-make-list): No longer autoload it. Doc fix. No longer
6014 activate the package.
6016 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6019 (starttls-negotiate): Just call boot, and let the handshake be
6020 triggered from the read loop.
6022 2010-09-29 Glenn Morris <rgm@gnu.org>
6024 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6025 not displaying the diary.
6026 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6027 * calendar/appt.el (appt-check): No longer need to kill diary.
6029 * calendar/diary-lib.el (diary-list-entries): Move the
6030 "Preparing..." message entirely here.
6031 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6032 messages to diary-list-entries.
6033 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6034 diary-display-function.
6036 * calendar/diary-lib.el (diary-include-other-diary-files):
6037 Trap some recursive includes.
6039 * calendar/appt.el (appt-activate): Check diary file.
6041 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6043 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6046 * calendar/time-date.el: No need to require cl for Emacs 21.
6048 2010-09-28 Glenn Morris <rgm@gnu.org>
6050 * calendar/appt.el (appt-check): Minor simplification.
6052 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6054 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6057 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6059 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6060 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6062 2010-09-27 Kenichi Handa <handa@m17n.org>
6064 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6067 2010-09-27 Kenichi Handa <handa@m17n.org>
6069 * international/mule.el (define-coding-system): Docstring fixed.
6071 * international/mule-diag.el (describe-character-set): Use princ
6072 with proper print-length and print-level instead of insert.
6074 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6076 * window.el (walk-windows): Doc fix (bug#7105).
6078 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6080 * emacs-lisp/float-sup.el (e): Remove.
6082 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6084 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6086 (starttls-negotiate): Use it.
6088 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6090 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6093 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6097 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6099 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6101 * net/netrc.el (netrc-store-data): New function.
6103 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6105 * net/gnutls.el: GnuTLS glue code to set up a connection.
6107 2010-09-25 Julien Danjou <julien@danjou.info>
6109 * notifications.el: Call dbus-register-signal only if it is bound.
6111 2010-09-25 Glenn Morris <rgm@gnu.org>
6113 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6114 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6115 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6116 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6117 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6118 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6119 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6120 * eshell/esh-util.el, eshell/esh-var.el:
6121 Remove leading `*' from docs of faces and defcustoms.
6123 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6125 * eshell/em-ls.el (eshell-ls-archive-regexp):
6126 * eshell/esh-util.el (eshell-tar-regexp):
6127 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6128 * info.el (Info-suffix-list):
6129 * international/mule.el (auto-coding-alist):
6130 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6131 * progmodes/etags.el (tags-compression-info-list):
6132 Support xz compression.
6134 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6136 * files.el (get-free-disk-space): Don't assume the "df" output
6137 columns line up (Bug#6995).
6139 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6141 * finder.el (finder-unknown-keywords):
6142 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6143 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6145 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6147 * server.el (server-start): Revert part of 2010-08-08 change. Using
6148 address 127.0.0.1 for local host is now done in Fmake_network_process.
6150 2010-09-24 Glenn Morris <rgm@gnu.org>
6152 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6153 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6154 * textmodes/css-mode.el, textmodes/dns-mode.el:
6155 Move autoloaded auto-mode-alist entries to files.el.
6156 * files.el (auto-mode-alist): Move entries here.
6158 2010-09-23 Glenn Morris <rgm@gnu.org>
6160 * isearch.el (isearch-lazy-highlight-cleanup)
6161 (isearch-lazy-highlight-initial-delay)
6162 (isearch-lazy-highlight-interval)
6163 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6164 * net/net-utils.el (ipconfig-program-options):
6165 Move aliases to options before the associated definitions.
6167 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * newcomment.el (comment-normalize-vars): Better test validity of
6172 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6174 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6175 (float-e): New name for `e'.
6176 (degrees-to-radians, radians-to-degrees):
6177 * calendar/solar.el (solar-longitude):
6178 * calculator.el (calculator-registers, calculator-funcall):
6179 * textmodes/artist.el (artist-spray-random-points):
6180 * play/bubbles.el (bubbles--initialize-images): Use new names.
6182 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6184 Update to CEDET 1.0's version of EIEIO.
6186 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6188 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6189 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6190 (class-precedence-list): If class is nil, return nil.
6191 (eieio-generic-call): If class of first input arg is nil, don't
6192 look up static methods, and do check for primary methods.
6193 (initialize-instance): See if the default needs to be evaluated
6194 during the constructor.
6195 (eieio-perform-slot-validation-for-default): Don't do the check
6196 for values that will eventually be evaluated.
6197 (eieio-eval-default-p): New function.
6198 (eieio-default-eval-maybe): Use it.
6200 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6202 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6203 method-invocation-order.
6204 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6205 (eieio-class-precedence-dfs): Compute class precedence list using
6207 (eieio-class-precedence-bfs): Compute class precedence list using
6209 (eieio-class-precedence-c3): Compute class precedence list using
6211 (class-precedence-list): New function.
6212 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6213 (inconsistent-class-hierarchy): New error symbol.
6214 (call-next-method): Stow the replacement argument list for future
6215 call-next-method invocations.
6217 2010-09-23 Glenn Morris <rgm@gnu.org>
6219 * calendar/appt.el (appt-check): If not displaying the diary,
6220 use (diary 1) to only get the entries we need.
6221 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6222 that it is in day order. (Bug#7019)
6224 * calendar/appt.el (appt-check): Rather than showing the diary,
6225 just turn off invisible display, and only if needed.
6227 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6229 2010-09-23 Glenn Morris <rgm@gnu.org>
6231 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6232 (byte-compile-defvar, byte-compile-cl-warn):
6233 Start warnings with lower-case, like the majority.
6235 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6237 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6239 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6240 * files.el (auto-mode-alist): Move ld-script entries here, further down
6243 * vc/add-log.el: Don't require timezone when compiling.
6244 (timezone-make-date-sortable): Autoload it.
6245 (change-log-sortable-date-at): Don't require timezone.
6246 Use `ignore-errors'.
6248 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6249 Move alias before definition, so it does not need autoloading.
6251 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6252 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6253 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6254 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6255 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6256 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6257 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6258 * textmodes/tex-mode.el, textmodes/two-column.el:
6259 Remove leading `*' from docs of defcustoms etc.
6261 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6263 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6265 2010-09-22 Dan Christensen <jdc@uwo.ca>
6267 * calendar/time-date.el (date-to-time): Try using parse-time-string
6268 first before using the slower timezone-make-date-arpa-standard.
6270 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6272 * calendar/time-date.el (format-seconds): Comment fix.
6274 2010-09-22 Glenn Morris <rgm@gnu.org>
6276 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6277 is not automatically buffer-local.
6279 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6282 (smie-indent-comment): Be more careful with comment-start-skip.
6283 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6284 (smie-indent-functions): Use them.
6286 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6288 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6290 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6292 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6293 tool-bar-position. Don't modify frame parameters here.
6294 (menu-bar-options-save): Add tool-bar-position.
6296 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6298 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * textmodes/reftex-parse.el (reftex-what-macro)
6301 (reftex-context-substring): Let-bind forward-sexp-function to nil
6302 since we don't need/want to treat \begin...\end as a block (bug#7053).
6304 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6306 * simple.el (blink-matching-open): Use syntax-class.
6308 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6309 Set invisibility spec for pascal's outline mode.
6310 (pascal-outline-change): Clean up calling convention.
6311 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6313 * progmodes/prolog.el (prolog-smie-forward-token)
6314 (prolog-smie-backward-token): New functions.
6315 (prolog-mode-variables): Use them to parse "!," correctly.
6316 Set up smie-blink-matching for ".".
6318 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6320 (ispell-region, ispell-process-line): Update users.
6322 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6325 * textmodes/ispell.el: Fix commenting convention.
6326 (ispell-parse-output): Simplify, use push.
6327 (ispell-region): Use match-string-no-properties.
6328 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6329 (ispell-minor-mode): Use define-minor-mode.
6330 (ispell-message): Remove unused var `skip-regexp'.
6331 (ispell-add-per-file-word-list): Use dynamic let-binding.
6332 Try and use the proper comment marker.
6334 * mail/sendmail.el: Fix commenting convention.
6335 (sendmail-send-it): Use line-beginning-position.
6337 * help-fns.el (describe-variable): Add original value, if applicable.
6339 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6341 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6343 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6345 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6348 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6349 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6350 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6351 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6352 something like "." can also be a closer.
6353 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6354 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6355 Rename internal functions to use "--". Update callers.
6357 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6359 * fringe.el (fringe-styles): New var.
6360 (fringe-mode, fringe-query-style): Use it.
6362 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6364 * progmodes/sql.el: Version 2.8
6365 (sql-login-params): Update widget structure; changes still needed.
6366 (sql-product-alist): Add :list-all and :list-table features for
6367 SQLite, Postgres and MySQL products.
6368 (sql-redirect): Handle default value.
6369 (sql-execute, sql-execute-feature): New functions.
6370 (sql-read-table-name): New function.
6371 (sql-list-all, sql-list-table): New functions. User API.
6372 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6373 for above functions.
6374 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6375 for above functions.
6376 (sql-postgres-login-params): Add user and database defaults.
6377 (sql-buffer-live-p): Bug fix.
6378 (sql-product-history): New variable.
6379 (sql-read-product): New function. Use it.
6380 (sql-set-product, sql-product-interactive): Use it.
6381 (sql-connection-history): New variable.
6382 (sql-read-connection): New function. Use it.
6383 (sql-connect): New function.
6384 (sql-for-each-login): Redesign function interface.
6385 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6386 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6387 (sql-comint): Check for program. Existing live buffer.
6388 (sql-comint-postgres): Add port parameter.
6390 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * emacs-lisp/warnings.el: Fix commenting convention.
6393 (display-warning): Use special mode and make the buffer read-only.
6395 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6397 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6398 empty string when it follows a repeated or optional pattern.
6400 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6403 (indent-region): Use indent-according-to-mode.
6405 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6407 * fringe.el (fringe-mode): Doc fix.
6409 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6411 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6412 refreshing the preview buffer.
6414 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6417 (latex-syntax-propertize-rules): New consts; replace
6418 tex-font-lock-syntactic-keywords.
6419 (tex-env-mark, latex-env-before-change): New functions.
6420 (latex-electric-env-pair-mode): New minor mode.
6421 (tex-font-lock-verb): Change arguments; do move point.
6422 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6423 representation as a form of comment.
6424 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6425 (doctex-syntax-propertize-rules): New const; replaces
6426 doctex-font-lock-syntactic-keywords.
6427 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6429 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6430 (fortran-make-syntax-propertize-function): New function; replaces
6431 fortran-font-lock-syntactic-keywords.
6432 (fortran-mode): Use it.
6433 (fortran-line-length): Use it. Improve interactive spec.
6435 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6436 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6437 when adding surrounding \(..\).
6439 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6441 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6444 Use with-current-buffer.
6446 * isearch.el (isearch-face): Rename from `isearch'.
6447 (isearch-highlight): Use new name.
6449 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6451 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6452 5, for `half' width fringes. (Bug#6933)
6454 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6457 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6459 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6461 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6463 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6464 in calculating new frame position. Add more space between new and
6465 parent on the left (Bug#7048).
6467 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6469 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6472 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6474 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6476 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6477 obsolete alias for x-selection-value.
6479 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6481 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6483 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6486 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6488 * net/tramp-compat.el (tramp-compat-with-temp-message)
6489 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6490 (tramp-compat-process-put): New defuns.
6492 * net/tramp.el (top):
6493 * net/tramp-gvfs.el (top):
6494 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6496 * net/tramp.el (tramp-progress-reporter-update):
6497 Use `tramp-compat-funcall'.
6499 * net/tramp.el (tramp-process-actions):
6500 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6501 * net/tramp-sh.el (tramp-handle-vc-registered)
6502 (tramp-get-remote-stat, tramp-get-remote-readlink):
6503 Use `tramp-compat-with-temp-message'.
6505 * net/tramp-sh.el (top): Require 'cl.
6506 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6507 (tramp-open-connection-setup-interactive-shell):
6508 Use `tramp-compat-process-put'.
6510 2010-09-15 Alan Mackenzie <acm@muc.de>
6512 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6514 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6516 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6519 `lexical' for warnings related to lexical scoping.
6520 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6521 global vars which don't have a prefix and could hence affect lexical
6522 scoping in unrelated files.
6524 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6526 * net/imap.el: Revert back to version
6527 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6530 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6532 * obsolete/old-whitespace.el (whitespace-unload-function):
6533 Explicitly pass `obarray' to `unintern' to avoid a warning.
6535 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6538 Add `when' argument. Update callers.
6540 * subr.el (unintern): Declare the obarray arg mandatory.
6542 2010-09-14 Glenn Morris <rgm@gnu.org>
6544 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6547 * calendar/diary-lib.el (diary-included-files): New variable.
6548 (diary-list-entries): Maybe initialize diary-included-files.
6549 (diary-include-other-diary-files): Append to diary-included-files.
6550 * calendar/appt.el (appt-update-list): Also check the members of
6551 diary-included-files. (Bug#6999)
6552 (appt-check): Doc fix.
6554 2010-09-14 David Reitter <david.reitter@gmail.com>
6556 * simple.el (line-move-visual): Do not truncate goal column to
6557 integer size. (Bug#7020)
6559 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6561 * repeat.el (repeat): Allow repeating when the last event is a click.
6562 Suggested by Drew Adams (bug#6256).
6564 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6566 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6567 Replace setting HGRCPATH to "" by some less invasive --config options.
6569 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * font-lock.el (font-lock-beginning-of-syntax-function):
6574 2010-09-14 Glenn Morris <rgm@gnu.org>
6576 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6577 and tool-bar modes. (Bug#6211)
6578 (menu-bar-mode): Move setting of standard-value after the
6579 minor-mode definition, otherwise it seems to have no effect.
6581 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6583 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6584 Fix typo. (Bug#6976)
6586 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6588 * whitespace.el: Allow cleaning up blanks without blank
6589 visualization (Bug#6651). Adjust help window for
6590 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6591 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6592 (whitespace-style): Add new value 'face. Adjust docstring.
6593 (whitespace-space, whitespace-hspace, whitespace-tab):
6594 Adjust foreground property face.
6595 (whitespace-line-column): Adjust docstring and type declaration.
6596 (whitespace-style-value-list, whitespace-toggle-option-alist)
6597 (whitespace-help-text): Adjust const initialization.
6598 (whitespace-toggle-options, global-whitespace-toggle-options):
6600 (whitespace-display-window, whitespace-interactive-char)
6601 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6602 (whitespace-help-scroll): New fun.
6604 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6606 * calendar/time-date.el (format-seconds): Comment fix.
6608 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6610 * progmodes/sql.el: Version 2.7.
6611 (sql-buffer-live-p): Improve detection.
6612 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6613 (sql-set-sqli-buffer): Use it.
6614 (sql-product-interactive): Run `sql-set-sqli-hook'.
6615 (sql-rename-buffer): Code cleanup.
6616 (sql-redirect, sql-redirect-value): New functions. More to come.
6618 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6620 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.
6621 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6622 (TRAMP_SRC): New macro.
6623 ($(lisp)/net/tramp-loaddefs.el): New target.
6625 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6627 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6629 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6631 * net/tramp.el (top): Don't show loading message. Require just
6632 'tramp-compat, everything else is required there.
6633 Use `ignore-errors' where appropriate.
6634 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6635 (tramp-terminal-type, tramp-end-of-output)
6636 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6637 (tramp-completion-function-alist-ssh)
6638 (tramp-completion-function-alist-telnet)
6639 (tramp-completion-function-alist-su)
6640 (tramp-completion-function-alist-putty, tramp-remote-path)
6641 (tramp-remote-process-environment, tramp-sh-extra-args)
6642 (tramp-actions-before-shell, tramp-uudecode)
6643 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6644 (tramp-perl-file-attributes)
6645 (tramp-perl-directory-files-and-attributes)
6646 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6647 (tramp-perl-encode, tramp-perl-decode)
6648 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6649 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6650 (tramp-handle-make-symbolic-link, tramp-handle-load)
6651 (tramp-handle-file-name-as-directory)
6652 (tramp-handle-file-name-directory)
6653 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6654 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6655 (tramp-do-file-attributes-with-ls)
6656 (tramp-do-file-attributes-with-perl)
6657 (tramp-do-file-attributes-with-stat)
6658 (tramp-handle-set-visited-file-modtime)
6659 (tramp-handle-verify-visited-file-modtime)
6660 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6661 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6662 (tramp-handle-file-selinux-context)
6663 (tramp-handle-set-file-selinux-context)
6664 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6665 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6666 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6667 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6668 (tramp-handle-file-ownership-preserved-p)
6669 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6670 (tramp-handle-directory-files-and-attributes)
6671 (tramp-do-directory-files-and-attributes-with-perl)
6672 (tramp-do-directory-files-and-attributes-with-stat)
6673 (tramp-handle-file-name-all-completions)
6674 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6675 (tramp-handle-copy-file, tramp-handle-copy-directory)
6676 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6677 (tramp-do-copy-or-rename-file-via-buffer)
6678 (tramp-do-copy-or-rename-file-directly)
6679 (tramp-do-copy-or-rename-file-out-of-band)
6680 (tramp-handle-make-directory, tramp-handle-delete-directory)
6681 (tramp-handle-delete-file)
6682 (tramp-handle-dired-recursive-delete-directory)
6683 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6684 (tramp-handle-insert-directory)
6685 (tramp-handle-unhandled-file-name-directory)
6686 (tramp-handle-expand-file-name)
6687 (tramp-handle-substitute-in-file-name)
6688 (tramp-handle-executable-find, tramp-process-sentinel)
6689 (tramp-handle-start-file-process, tramp-handle-process-file)
6690 (tramp-handle-call-process-region, tramp-handle-shell-command)
6691 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6692 (tramp-handle-insert-file-contents)
6693 (tramp-handle-insert-file-contents-literally)
6694 (tramp-handle-find-backup-file-name)
6695 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6696 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6697 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6698 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6699 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6700 (tramp-find-file-exists-command, tramp-open-shell)
6701 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6702 (tramp-open-connection-setup-interactive-shell)
6703 (tramp-local-coding-commands, tramp-remote-coding-commands)
6704 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6705 (tramp-inline-compress-commands, tramp-find-inline-compress)
6706 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6707 (tramp-send-command, tramp-wait-for-output)
6708 (tramp-send-command-and-check, tramp-barf-unless-okay)
6709 (tramp-send-command-and-read, tramp-mode-string-to-int)
6710 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6711 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6712 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6713 (tramp-method-out-of-band-p, tramp-local-host-p)
6714 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6715 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6716 (tramp-get-test-command, tramp-get-test-nt-command)
6717 (tramp-get-file-exists-command, tramp-get-remote-ln)
6718 (tramp-get-remote-perl, tramp-get-remote-stat)
6719 (tramp-get-remote-readlink, tramp-get-remote-trash)
6720 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6721 (tramp-get-local-uid, tramp-get-local-gid)
6722 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6724 (tramp-methods, tramp-default-method-alist)
6725 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6726 Move initialization to tramp-sh.el.
6727 (tramp-temp-name-prefix): Make it a defconst.
6728 (tramp-dissect-file-name): Don't check anymore for multi-hop
6730 (tramp-debug-outline-regexp): Add a docstring.
6731 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6732 (tramp-get-debug-buffer): Use it.
6734 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6735 initialization forms.
6736 (tramp-set-connection-property): Don't protect `tramp-message'
6737 call, it isn't necessary any longer.
6738 (tramp-dump-connection-properties): Use `ignore-errors'.
6740 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6741 'password-cache and 'auth-source.
6743 * net/tramp-gvfs.el (top):
6744 * net/tramp-smb.el (top): Require 'tramp-sh.
6746 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6748 * net/tramp-sh.el: New file, derived from tramp.el.
6749 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6750 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6751 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6752 Use `ignore-errors' where appropriate.
6753 (tramp-sh-file-name-handler-alist): Rename from
6754 `tramp-file-name-handler-alist'.
6755 (tramp-send-command-and-check): Return t or nil. Remove all
6756 `zerop' checks, where called.
6757 (tramp-handle-set-file-modes)
6758 (tramp-do-copy-or-rename-file-directly)
6759 (tramp-handle-delete-directory, tramp-handle-delete-file)
6760 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6761 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6762 (tramp-get-remote-ln): Set tramp-autoload cookie.
6764 * net/tramp-fish.el: Remove file.
6766 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6768 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6769 buffer-file-name to avoid file-locking. (Bug#7026)
6771 2010-09-13 Julien Danjou <julien@danjou.info>
6773 * notifications.el (notifications-notify): Add support for
6774 image-path and sound-name.
6775 (notifications-specification-version): Add this variable.
6777 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6781 2010-09-12 Leo <sdl.web@gmail.com>
6783 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6784 (rcirc-completion-start): New variables.
6785 (rcirc-nick-completions): Rename to rcirc-completions.
6786 (rcirc-nick-completion-start-offset): Delete.
6787 (rcirc-completion-at-point): New function for constructing
6788 completion data for both nicks and irc commands. Add to
6789 completion-at-point-functions in rcirc mode.
6790 (rcirc-complete): Rename from rcirc-nick-complete; use
6791 rcirc-completion-at-point.
6792 (defun-rcirc-command): Update rcirc-client-commands.
6794 2010-09-11 Glenn Morris <rgm@gnu.org>
6796 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6797 atomically, to avoid parallel build errors. (Bug#4196)
6799 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6801 * progmodes/sql.el: Version 2.6
6802 (sql-dialect): Synonym for "sql-product".
6803 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6804 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6805 Set "sql-buffer" to buffer name not buffer object so multiple sql
6806 interactive buffers work properly. Reverts misguided changes in
6808 (sql-comint): Make sure different buffer name is used if "*SQL*"
6809 buffer is for a different product.
6810 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6812 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6813 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6814 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6815 Accept new buffer name or prompt for one.
6816 (sql-port): Default to zero.
6817 (sql-comint-mysql): Handle "sql-port" as a numeric.
6818 (sql-port-history): Delete unused variable.
6819 (sql-get-login): Default "sql-port" to a number.
6820 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6821 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6822 "sqlite3" executables.
6823 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6824 (sql-buffer-live-p): New function.
6825 (sql-mode-menu, sql-send-string): Use it.
6826 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6828 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6829 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6831 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6833 * net/netrc.el (netrc-credentials): New convenience function.
6835 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6838 to replace texinfo-font-lock-syntactic-keywords.
6839 (texinfo-mode): Use it.
6841 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6842 Use syntax-propertize-function.
6844 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6845 replace sgml-font-lock-syntactic-keywords.
6846 (sgml-mode): Use it.
6848 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6849 since we don't use it.
6851 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6853 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6855 (vhdl-fontify-buffer): Adjust.
6857 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6858 replace tcl-font-lock-syntactic-keywords.
6861 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6862 replace simula-font-lock-syntactic-keywords.
6863 (simula-mode): Use it.
6865 * progmodes/sh-script.el (sh-st-symbol): Remove.
6866 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6867 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6868 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6869 (sh-font-lock-paren): Set syntax-multiline.
6870 (sh-font-lock-syntactic-keywords): Remove.
6871 (sh-syntax-propertize-function): New function to replace it.
6874 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6875 Define while compiling.
6876 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6877 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6878 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6879 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6880 (ruby-here-doc-end-syntax): Only define when
6881 syntax-propertize is not available.
6882 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6884 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6885 (electric-indent-chars): Silence bytecompiler.
6886 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6887 electric-indent-chars.
6889 * progmodes/python.el (python-syntax-propertize-function): New var to
6890 replace python-font-lock-syntactic-keywords.
6891 (python-mode): Use it.
6892 (python-quote-syntax): Simplify and adjust to new use.
6894 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6895 replace perl-font-lock-syntactic-keywords.
6896 (perl-syntax-propertize-special-constructs): New fun to replace
6897 perl-font-lock-special-syntactic-constructs.
6898 (perl-font-lock-syntactic-face-function): New fun.
6899 (perl-mode): Use it.
6901 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6902 to replace octave-font-lock-close-quotes.
6903 (octave-syntax-propertize-function): New function to replace
6904 octave-font-lock-syntactic-keywords.
6905 (octave-mode): Use it.
6907 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6908 replaces mixal-font-lock-syntactic-keywords.
6909 (mixal-mode): Use it.
6911 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6912 New var; replaces makefile-font-lock-syntactic-keywords.
6913 (makefile-mode): Use it.
6914 (makefile-imake-mode): Adjust.
6916 * progmodes/js.el (js--regexp-literal): Define while compiling.
6917 (js-syntax-propertize-function): New var; replaces
6918 js-font-lock-syntactic-keywords.
6921 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6922 replaces gdb-script-font-lock-syntactic-keywords.
6923 (gdb-script-mode): Use it.
6925 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6926 (fortran--font-lock-syntactic-keywords): New var.
6927 (fortran-line-length): Update syntax-propertize-function and
6928 fortran--font-lock-syntactic-keywords.
6930 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6932 * progmodes/cfengine.el (cfengine-mode):
6933 Use syntax-propertize-function.
6934 (cfengine-font-lock-syntactic-keywords): Remove.
6936 * progmodes/autoconf.el (autoconf-mode):
6937 Use syntax-propertize-function.
6938 (autoconf-font-lock-syntactic-keywords): Remove.
6940 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6941 (ada-after-change-function, ada-initialize-syntax-table-properties)
6942 (ada-handle-syntax-table-properties): Only define when
6943 syntax-propertize is not available.
6944 (ada-mode): Use syntax-propertize-function.
6946 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6947 (font-lock-fontify-syntactic-keywords-region): Move handling of
6948 font-lock-syntactically-fontified to...
6949 (font-lock-default-fontify-region): ...here.
6950 Let syntax-propertize-function take precedence.
6951 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6953 * emacs-lisp/syntax.el (syntax-propertize-function)
6954 (syntax-propertize-chunk-size, syntax-propertize--done)
6955 (syntax-propertize-extend-region-functions): New vars.
6956 (syntax-propertize-wholelines, syntax-propertize-multiline)
6957 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6958 (syntax-propertize): New functions.
6959 (syntax-propertize-rules): New macro.
6960 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6961 (syntax-ppss): Call syntax-propertize.
6963 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6965 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6967 * textmodes/ispell.el (ispell-init-process): Improve comments.
6968 XEmacs compatibility changes regarding (add-hook) 'local option
6969 and (set-process-query-on-exit-flag).
6971 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6973 * net/tramp-cache.el (tramp-parse-connection-properties):
6974 Set tramp-autoload cookie.
6976 2010-09-09 Glenn Morris <rgm@gnu.org>
6978 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6979 (imagemagick-register-types): Doc fix.
6981 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6983 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6985 * progmodes/js.el (require): Require is already "eval-and-compile".
6986 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6987 (js--re-search-backward): Use js--re-search-forward.
6989 * progmodes/fortran.el (fortran-line-length): Don't recompute
6990 syntactic keywords redundantly a second time.
6992 * progmodes/ada-mode.el: Replace "(set '" with setq.
6993 (ada-mode): Simplify.
6994 (ada-create-case-exception, ada-adjust-case-interactive)
6995 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6996 (ada-search-ignore-string-comment, ada-move-to-start)
6997 (ada-move-to-end): Use with-syntax-table.
6999 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7000 (font-lock-unfontify-region, font-lock-default-fontify-region):
7001 Update usage correspondingly.
7002 (font-lock-fontify-syntactic-keywords-region):
7003 Set parse-sexp-lookup-properties buffer-locally here.
7004 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7006 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7008 2010-09-08 Glenn Morris <rgm@gnu.org>
7010 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7011 Error if not compiled with -DBYTE_CODE_METER.
7013 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7014 Ignore dir-locals-file.
7016 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7020 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7021 for the `gnu' messages.
7022 (compilation-set-skip-threshold): New command.
7023 (compilation-start): Use \' rather than $.
7024 (compilation-forget-errors): Use clrhash.
7026 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7028 * textmodes/ispell.el (ispell-valid-dictionary-list):
7031 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7033 Migrate to Tramp 2.2. Rearrange load dependencies.
7034 (Bug#1529, Bug#5448, Bug#5705)
7036 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7037 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7038 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7040 * net/tramp.el (top): Remove all other tramp-* loads except
7041 tramp-compat.el. Remove all changes to tramp-unload-hook for
7042 other tramp-* packages. Rearrange defun order. Change calls of
7043 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7044 `tramp-compat-octal-to-decimal' to new function names.
7045 (tramp-terminal-type, tramp-initial-end-of-output)
7046 (tramp-methods, tramp-foreign-file-name-handler-alist)
7047 (tramp-tramp-file-p, tramp-completion-mode-p)
7048 (tramp-send-command-and-check, tramp-get-remote-path)
7049 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7050 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7051 (with-file-property, with-connection-property): Move to
7053 (tramp-local-call-process, tramp-decimal-to-octal)
7054 (tramp-octal-to-decimal): Move to tramp-compat.el.
7055 (tramp-handle-shell-command): Do not require 'shell.
7056 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7058 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7060 * net/tramp-cache.el (top): Require 'tramp. Add to
7061 `tramp-unload-hook'.
7062 (tramp-cache-data, tramp-get-file-property)
7063 (tramp-set-file-property, tramp-flush-file-property)
7064 (tramp-flush-directory-property, tramp-get-connection-property)
7065 (tramp-set-connection-property, tramp-flush-connection-property)
7066 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7068 (with-file-property, with-connection-property): New defuns, moved
7070 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7073 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7074 (tramp-version): Set tramp-autoload cookie.
7076 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7077 changes to tramp-unload-hook for other tramp-* packages. Add to
7078 `tramp-unload-hook'.
7079 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7080 (tramp-compat-call-process): New defuns, moved from tramp.el.
7082 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7083 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7084 Add to `tramp-unload-hook'. Change call of
7085 `tramp-compat-decimal-to-octal' to new function name.
7086 (tramp-fish-method): Make it a defconst.
7087 (tramp-fish-file-name-p): Make it a defsubst.
7088 (tramp-fish-method, tramp-fish-file-name-handler)
7089 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7091 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7092 `tramp-foreign-file-name-handler-alist'. Add to
7093 `tramp-unload-hook'.
7094 (tramp-ftp-method): Make it a defconst.
7095 (tramp-ftp-file-name-p): Make it a defsubst.
7096 (tramp-ftp-method, tramp-ftp-file-name-handler)
7097 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7099 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7100 `tramp-foreign-file-name-handler-alist'. Add to
7101 `tramp-unload-hook'. Change checks, whether package can be
7103 (tramp-gvfs-file-name-p): Make it a defsubst.
7104 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7105 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7106 (tramp-gvfs-handle-file-directory-p): New defun.
7107 (tramp-gvfs-file-name-handler-alist): Use it.
7109 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7110 `tramp-foreign-file-name-handler-alist'. Add to
7111 `tramp-unload-hook'.
7112 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7113 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7115 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7116 (tramp-gw-open-connection): Set tramp-autoload cookie.
7118 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7119 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7120 Add to `tramp-unload-hook'. Change checks, whether package can be
7122 (tramp-imap-file-name-p): Make it a defsubst.
7123 (tramp-imap-method, tramp-imaps-method)
7124 (tramp-imap-file-name-handler)
7125 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7127 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7128 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7129 Add to `tramp-unload-hook'. Change checks, whether package can be
7130 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7132 (tramp-smb-tunnel-method): Make it a defconst.
7133 (tramp-smb-file-name-p): Make it a defsubst.
7134 (tramp-smb-method, tramp-smb-file-name-handler)
7135 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7137 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7138 (tramp-uuencode-region): Set tramp-autoload cookie.
7140 * net/trampver.el (top) Add to `tramp-unload-hook'.
7141 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7142 cookie. Update release number.
7144 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7146 * textmodes/ispell.el (ispell-start-process): Make sure original
7147 arg list is properly initialized (Bug#6993, Bug#6994).
7149 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7151 * files.el (directory-abbrev-alist): Use \` as default regexp.
7153 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7154 chars like - or ] (bug#6984).
7155 (rx-any-condense-range): Explode 2-char ranges.
7157 2010-09-06 Glenn Morris <rgm@gnu.org>
7159 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7161 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * textmodes/bibtex.el:
7164 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7166 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7168 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7169 since no callers use it.
7170 (imap-message-get): Ditto.
7171 (imap-message-put): Ditto.
7172 (imap-mailbox-map): Ditto.
7173 (imap-mailbox-put): Ditto.
7174 (imap-mailbox-get): Ditto.
7175 (imap-mailbox-get): Revert last change for this function.
7177 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7180 callers to use `imap-fetch' instead. According to the comments, this
7181 should be safe, since all other IMAP clients use the 1:* syntax.
7182 (imap-enable-exchange-bug-workaround): Remove.
7183 (imap-debug): Remove -- doesn't seem very useful.
7185 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7187 * net/imap.el (imap-log): New convenience function used throughout
7188 instead of repeating the same code all over the place.
7190 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7192 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7193 when mouse-drag-copy-region is non-nil (Bug#6956).
7195 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7197 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7198 Improve regexps (Bug#6987).
7199 (dired-sort-toggle): Search more robustly for -t flag.
7201 * files.el (get-free-disk-space): Search more robustly for
7202 "available" column. Suggested by Ehud Karni
7203 <ehud@unix.mvs.co.il>.
7205 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7207 * international/uni-bidi.el:
7208 * international/uni-category.el:
7209 * international/uni-combining.el:
7210 * international/uni-decimal.el:
7211 * international/uni-mirrored.el:
7212 * international/uni-name.el: Regenerate.
7214 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * electric.el (electric-indent-post-self-insert-function):
7217 Don't reindent with a sloppy indentation function.
7219 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7220 border case in change-log-mode.
7222 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7224 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7225 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7226 Recognize leading tab in gcc-include regexp. Ignore names with
7227 leading "from" or "in" in gnu regexp (Bug#6937).
7229 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7231 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7232 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7233 (ispell-start-process): Avoid setq and simplify logic.
7234 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7235 (kill-buffer-hook): Don't use it globally with code that uses
7236 expand-file-name since that may call kill-buffer via
7237 code_conversion_restore.
7239 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7241 * emacs-lisp/package.el (package-directory-list): Only call
7242 file-name-nondirectory on a string.
7244 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7246 * emacs-lisp/package.el (package--download-one-archive):
7247 Ensure that archive-contents is valid before saving it.
7248 (package-activate-1, package-mark-obsolete, define-package)
7249 (package-compute-transaction, package-list-maybe-add): Use push.
7251 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7253 Use SMIE's blink-paren for octave-mode.
7254 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7255 Backslashes do not escape single-quotes, single-quotes do.
7256 (octave-block-else-regexp, octave-block-end-regexp)
7257 (octave-block-match-alist): Remove.
7258 (octave-smie-bnf-table): New var, with old content.
7259 (octave-smie-op-levels): Use it.
7260 (octave-smie-closer-alist): New var.
7261 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7262 (octave-blink-matching-block-open): Remove.
7263 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7264 (octave-electric-space): Let self-insert-command run expand-abbrev and
7267 * electric.el (electricity): New group.
7268 (electric-indent-chars): New var.
7269 (electric-indent-post-self-insert-function): New fun.
7270 (electric-indent-mode): New minor mode.
7271 (electric-pair-skip-self): New custom.
7272 (electric-pair-post-self-insert-function): New function.
7273 (electric-pair-mode): New minor mode.
7275 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7276 calcAlg-blink-matching-open.
7277 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7278 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7279 Use the new blink-matching-check-function.
7281 Provide blink-matching support to SMIE.
7282 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7283 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7284 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7286 * simple.el (newline): Fix last change to properly remove itself from
7289 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * simple.el (newline): Eliminate optimization.
7292 Use post-self-insert-hook to set hard-newline and things before
7293 running post-self-insert-hook.
7294 (blink-matching-check-mismatch): New function.
7295 (blink-matching-check-function): New variable.
7296 (blink-matching-open): Use them.
7297 Skip back forward over prefix chars skipped by forward-sexp.
7298 Don't check if the parens are backslash escaped.
7299 (blink-paren-post-self-insert-function): Check backslash escaping here.
7301 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7303 * emacs-lisp/package.el (package-menu-mode-map):
7304 Change package-menu-revert bindings to revert-buffer.
7305 (package-menu-mode): Set revert-buffer-function.
7306 (package-menu-revert): Doc fix.
7308 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7310 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7311 `default-directory' unless using Ispell per-directory personal
7312 dictionaries and not in a mini-buffer under XEmacs.
7313 (kill-buffer-hook): Do not kill ispell process on exit when
7314 `ispell-process-directory' is "~/". (Bug#6143)
7316 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7318 * simple.el (kill-new): Call interprogram-cut-function with only
7321 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7322 Remove cut buffer from error message.
7324 * term/x-win.el (x-select-text):
7325 * term/pc-win.el (x-selection-value):
7326 * term/ns-win.el (x-selection-value):
7327 * eshell/em-term.el:
7328 * w32-fns.el (x-get-selection-value):
7329 * mouse-sel.el (mouse-sel-set-selection-function):
7330 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7332 * term/x-win.el: Update documentation for x-last-selected-text-*.
7333 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7334 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7335 (x-select-text): Remove argument PUSH, update documentation.
7336 Remove cut-buffer code.
7337 (x-selection-value-internal): Was previously x-selection-value.
7338 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7339 Update documentation, remove cut-buffer code.
7340 Call x-selection-value-internal.
7341 (x-clipboard-yank): Call x-selection-value-internal.
7342 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7344 * term/pc-win.el (x-last-selected-text):
7345 x-cut-buffer-or-selection-value renamed to x-selection-value
7346 (x-select-text): Remove argument PUSH, update documentation.
7348 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7349 x-cut-buffer-or-selection-value renamed to x-selection-value
7350 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7351 (x-select-text): Remove argument PUSH, update documentation.
7353 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7355 * w32-fns.el (x-last-selected-text):
7356 x-cut-buffer-or-selection-value renamed to x-selection-value.
7357 (x-cut-buffer-max): Remove.
7358 (x-select-text): Remove argument PUSH, update documentation.
7360 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7362 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7364 * mouse-sel.el (mouse-sel-get-selection-function):
7365 x-cut-buffer-or-selection-value renamed to x-selection-value.
7366 (x-select-text): Remove optional push.
7368 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * simple.el (blink-paren-function): Move from C to here.
7371 (blink-paren-post-self-insert-function): New function.
7372 (post-self-insert-hook): Use it.
7374 * emacs-lisp/pcase.el (pcase-split-memq):
7375 Fix overenthusiastic optimisation.
7376 (pcase-u1): Handle the case of a lambda pred.
7378 2010-08-31 Kenichi Handa <handa@m17n.org>
7380 * international/mule-cmds.el (standard-display-european-internal):
7381 Setup standard-display-table for 8-bit characters by storing 8-bit
7382 characters in the element vector.
7384 * disp-table.el (standard-display-8bit):
7385 Setup standard-display-table for 8-bit characters by storing 8-bit
7386 characters in the element vector.
7387 (standard-display-european): Likewise.
7389 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7391 * textmodes/nroff-mode.el (nroff-view): New command.
7392 (nroff-mode-map): Bind it to C-c C-c.
7394 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * emacs-lisp/smie.el (smie-down-list): New command.
7398 Remove old indentation and navigation code on octave-mode.
7399 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7400 smie-down-list rather than add a binding for octave-down-block.
7401 (octave-mark-block, octave-blink-matching-block-open):
7402 Rely on forward-sexp-function.
7403 (octave-fill-paragraph): Don't narrow, so you can use
7404 indent-according-to-mode.
7405 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7406 (octave-in-block-p, octave-re-search-forward-kw)
7407 (octave-re-search-backward-kw, octave-indent-calculate)
7408 (octave-end-as-array-index-p, octave-block-end-offset)
7409 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7410 (octave-down-block, octave-backward-up-block, octave-up-block)
7411 (octave-before-magic-comment-p, octave-indent-line): Remove.
7413 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7415 * emacs-lisp/package.el (package--read-archive-file): Just use
7416 `read', to avoid copying an additional string.
7417 (package-menu-mode): Set header-line-format here.
7418 (package-menu-refresh, package-menu-revert): Signal an error if
7419 not in the Package Menu.
7420 (package-menu-package-list): New var.
7421 (package--generate-package-list): Operate on the current buffer;
7422 don't assume that it is *Packages*, since the user may rename it.
7423 Allow persistent package listings and sort keys using
7424 package-menu-package-list and package-menu-package-sort-key.
7425 (package-menu--version-predicate): Fix version calculation.
7426 (package-menu-sort-by-column): Don't select the window.
7427 (package--list-packages): Create the *Packages* buffer.
7428 Set package-menu-package-list-key.
7429 (list-packages): Sorting by status is now the default.
7430 (package-buffer-info): Use match-string-no-properties.
7431 (define-package): Add a &rest argument for future proofing, but
7433 (package-install-from-buffer, package-install-buffer-internal):
7434 Merge into a single function, package-install-from-buffer.
7435 (package-install-file): Change caller.
7437 * finder.el: Load finder-inf using `require'.
7438 (finder-list-matches): Sorting by status is now the default.
7439 (finder-compile-keywords): Simpify printing.
7441 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7444 (octave-mode-map): Remove special bindings for forward/backward-block
7445 and octave-backward-up-block. Use smie-close-block.
7446 (octave-continuation-marker-regexp): New var.
7447 (octave-continuation-regexp): Use it.
7448 (octave-operator-table, octave-smie-op-levels)
7449 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7450 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7451 (octave-mode): Use SMIE.
7452 (octave-close-block): Delete.
7454 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7456 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7457 CLIPBOARD, not in PRIMARY. (Bug#6944)
7459 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7463 (smie-indent-column): Allow indirection through variables.
7465 * composite.el (save-buffer-state): Delete, unused.
7466 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7467 (font-lock-default-fontify-region): Use with-syntax-table.
7468 * jit-lock.el (with-buffer-unmodified): Remove.
7469 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7471 Use `declare' in defmacros.
7472 * window.el (save-selected-window):
7473 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7474 * progmodes/python.el (def-python-skeleton):
7475 * net/dbus.el (dbus-ignore-errors):
7476 * jka-cmpr-hook.el (with-auto-compression-mode):
7477 * international/mule.el (with-category-table):
7478 * emacs-lisp/timer.el (with-timeout):
7479 * emacs-lisp/lisp-mnt.el (lm-with-file):
7480 * emacs-lisp/eieio.el (with-slots):
7481 * emacs-lisp/easymenu.el (easy-menu-define):
7482 * emacs-lisp/debug.el (debugger-env-macro):
7483 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7484 (Multiple-value-call, Multiple-value-prog1):
7485 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7486 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7487 edebug rule to definition.
7488 * emacs-lisp/lisp-mode.el (save-selected-window)
7489 (with-current-buffer, combine-after-change-calls)
7490 (with-output-to-string, with-temp-file, with-temp-buffer)
7491 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7492 (dolist, dotimes, when, unless):
7493 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7495 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7497 * finder.el: Require `package'.
7498 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7499 (finder-package-info): Var deleted.
7500 (finder-keywords-hash, finder--builtins-alist): New vars.
7501 (finder-compile-keywords): Compute package--builtins and
7502 finder-keywords-hash instead of finder-keywords-hash, respecting
7503 the "Package" header.
7504 (finder-unknown-keywords, finder-list-matches):
7505 Use finder-keywords-hash and package--list-packages.
7506 (finder-mode): Don't set font-lock-defaults.
7507 (finder-exit): We don't use "*Finder-package*" and "*Finder
7508 Category*" buffers anymore.
7510 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7511 (package--builtins): Set default value to nil.
7512 (package-initialize): Load precomputed value of package--builtins
7514 (package-alist, package-compute-transaction)
7515 (package-download-transaction): Improve docstring.
7516 (package-read-all-archive-contents): Do not change
7517 package--builtins here.
7518 (list-packages): Make package-list-packages an alias for this.
7519 Sort by status by default.
7520 (package--list-packages): Add optional PACKAGES arg.
7521 (describe-package-1): Use font-lock-face property. For built-in
7522 packages, insert file commentary.
7523 (package--generate-package-list): Rename from
7524 package-list-packages-internal; all callers changed. Add optional
7525 PACKAGES arg. Add alphabetical sort fallbacks.
7526 (package-menu--version-predicate, package-menu--status-predicate)
7527 (package-menu--description-predicate)
7528 (package-menu--name-predicate): New functions.
7530 * info.el (Info-finder-find-node): Search package-alist instead of
7531 finder-package-info.
7533 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7535 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7537 (version-to-list): Handle versions like "10.3d".
7539 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7541 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7542 (macroexp-accumulate): Use `declare'.
7544 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7546 * whitespace.el (whitespace-style): Adjust type declaration.
7548 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7550 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7552 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7554 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7557 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7559 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7560 (js-paren-indent-offset, js-square-indent-offset)
7561 (js-curly-indent-offset): New options.
7562 (js--proper-indentation): Use them.
7564 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7566 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7567 instead of inspecting font-lock properties (Bug#6916).
7569 2010-08-26 David Reitter <david.reitter@gmail.com>
7571 * server.el (server-visit-files): Run pre-command-hook and
7572 post-command-hook for each buffer while it is current (Bug#6910).
7573 (server-execute): Do not run hooks here.
7575 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7577 Sync with Tramp 2.1.19.
7579 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7581 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7583 * net/tramp.el (tramp-handle-expand-file-name)
7584 (tramp-completion-handle-file-name-all-completions)
7585 (tramp-completion-handle-file-name-completion):
7586 Use `tramp-connectable-p'.
7588 * net/trampver.el: Update release number.
7590 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7592 * help.el (help-map): Bind `C-h P' to describe-package.
7594 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7596 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7597 when downloading archives.
7598 (describe-package-1): Add package commentary.
7599 (package-install-button-action): New function.
7600 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7601 (package-menu-view-commentary): Function removed.
7602 (package-list-packages-internal): Hide the `package' package too.
7604 2010-08-25 Kenichi Handa <handa@m17n.org>
7606 * language/misc-lang.el ("Arabic"): New language environment.
7607 Setup composition-function-table for Arabic characters.
7609 * international/fontset.el (setup-default-fontset): Fix typo for
7610 arabic OTF spec (fini->fina).
7612 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7614 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7617 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7619 * whitespace.el: Allow cleaning up blanks without blank
7620 visualization (Bug#6651). Adjust help window for
7621 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7622 instead of whitespace-line-column (from EmacsWiki). New version
7624 (whitespace-style): Add new value 'face. Adjust docstring.
7625 (whitespace-space, whitespace-hspace, whitespace-tab):
7626 Adjust foreground property face.
7627 (whitespace-line-column): Adjust docstring and type declaration.
7628 (whitespace-style-value-list, whitespace-toggle-option-alist)
7629 (whitespace-help-text): Adjust const initialization.
7630 (whitespace-toggle-options, global-whitespace-toggle-options):
7632 (whitespace-display-window, whitespace-interactive-char)
7633 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7634 (whitespace-help-scroll): New fun.
7636 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7638 * emacs-lisp/package.el (list-packages): Alias for
7639 package-list-packages.
7641 2010-08-24 Kevin Ryde <user42@zip.com.au>
7643 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7646 * progmodes/ruby-mode.el (ruby): Add defgroup.
7648 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7650 * progmodes/python.el: Add Ipython support (Bug#5390).
7651 (python-shell-prompt-alist)
7652 (python-shell-continuation-prompt-alist): New options.
7653 (python--set-prompt-regexp): New function.
7654 (inferior-python-mode, run-python, python-shell):
7655 Require ansi-color. Use python--set-prompt-regexp to set the comint
7656 prompt based on the Python interpreter.
7657 (python--prompt-regexp): New var.
7658 (python-check-comint-prompt)
7659 (python-comint-output-filter-function): Use it.
7660 (run-python): Use a pipe (Bug#5694).
7662 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7664 * progmodes/python.el (python-send-region): Send a different
7665 Python command if Ipython is in use.
7666 (python-check-version): Use a Python command to find the version.
7668 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7670 * mouse.el (mouse-yank-primary): Avoid setting primary when
7671 deactivating the mark (Bug#6872).
7673 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7675 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7676 with "else" (Bug#3991).
7678 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7680 * net/dbus.el: Accept UNIX domain sockets as bus address.
7681 (top): Don't initialize `dbus-registered-objects-table' anymore,
7682 this is done in dbusbind,c.
7683 (dbus-check-event): Adapt test for bus.
7684 (dbus-return-values-table, dbus-unregister-service)
7685 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7688 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7690 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7692 2010-08-22 Juri Linkov <juri@jurta.org>
7694 * simple.el (read-extended-command): New function with the logic
7695 for `completing-read' moved to Elisp from `execute-extended-command'.
7696 Use `function-called-at-point' in `minibuffer-default-add-function'
7697 to get a command name for M-n (bug#5364, bug#5214).
7699 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7701 * startup.el (command-line-1): Issue warning for ignored arguments
7702 --unibyte, etc (Bug#6886).
7704 2010-08-22 Leo <sdl.web@gmail.com>
7706 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7707 (ignore, bright, dim, keyword): Split list of nicknames before
7708 passing to rcirc-add-or-remove (Bug#6894).
7710 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7712 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7714 2010-08-22 Leo <sdl.web@gmail.com>
7716 Fix buffer-list rename&refresh after killing a buffer in ido.
7717 * ido.el: Revert Óscar's.
7718 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7719 Remember the buffers at head, rather than their name.
7720 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7722 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7723 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7726 extra backslash added to each line (bug#6890).
7728 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7730 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7732 2010-08-22 Glenn Morris <rgm@gnu.org>
7734 * menu-bar.el (menu-bar-games-menu): Add landmark.
7736 2010-08-22 Glenn Morris <rgm@gnu.org>
7738 * align.el (align-regexp): Make group and spacing arguments
7739 use the interactive defaults when non-interactive. (Bug#6698)
7741 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7742 expansion, so as not to need sendmail.
7743 (mail-text-start): Remove declaration.
7744 (rmail-retry-failure): Require sendmail.
7746 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7748 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7750 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7752 * progmodes/flymake.el (flymake-start-syntax-check-process):
7753 Use `start-file-process' in order to let it run also on remote hosts.
7755 2010-08-22 Kenichi Handa <handa@m17n.org>
7757 * files.el: Add `word-wrap' as safe local variable.
7759 2010-08-22 Glenn Morris <rgm@gnu.org>
7761 * woman.el (woman-translate): Case matters. (Bug#6849)
7763 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7765 * simple.el (kill-region): Doc fix (Bug#6787).
7767 2010-08-22 Glenn Morris <rgm@gnu.org>
7769 * calendar/diary-lib.el (diary-header-line-format):
7770 Fit it to the window, not the frame.
7772 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7774 * subr.el (ignore-errors): Add debug declaration.
7776 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7778 * whitespace.el (whitespace-color-off): Remove post-command-hook
7781 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7785 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7787 * cus-edit.el (custom-group-value-create): Add extra newline
7788 before end line (Bug#6876).
7790 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7792 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7793 when extending it. Before killing on the second click, check if
7794 the buffer is the correct one. Doc fix.
7795 (mouse-secondary-save-then-kill): Allow usage without first
7796 calling mouse-start-secondary, by defaulting to point. Don't save
7797 an empty secondary selection. Doc fix.
7799 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7801 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7802 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7804 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7805 Adjust initialization.
7806 (whitespace-bob-marker, whitespace-eob-marker)
7807 (whitespace-buffer-changed): New vars.
7808 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7809 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7810 (whitespace-post-command-hook, whitespace-display-char-on):
7812 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7813 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7815 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7817 * files.el (locate-file-completion-table): Only list the .el and .elc
7818 extensions if there's no other choice (bug#5955).
7820 * facemenu.el (facemenu-self-insert-data): New var.
7821 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7823 (facemenu-add-face): Use them.
7825 * simple.el (blink-matching-open): Obey forward-sexp-function.
7827 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * simple.el (prog-mode-map): New var.
7830 (prog-indent-sexp): New command.
7832 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7834 * progmodes/prolog.el (smie): Require.
7836 * emacs-lisp/smie.el (smie-default-backward-token)
7837 (smie-default-forward-token): Strip properties.
7838 (smie-next-sexp): Be more careful with associative operators.
7839 (smie-forward-sexp-command): Generalize.
7840 (smie-backward-sexp-command): Simplify.
7841 (smie-closer-alist): New var.
7842 (smie-close-block): New command.
7843 (smie-indent-debug-log): New var.
7844 (smie-indent-offset-rule): Add a few more cases.
7845 (smie-indent-column): New function.
7846 (smie-indent-after-keyword): Use it.
7847 (smie-indent-keyword): Use it.
7848 Fix up the opener code's point position.
7849 (smie-indent-comment): Only applies at BOL.
7850 (smie-indent-debug): New command.
7852 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7853 declarations that are useful before running the macro.
7855 2010-08-18 Joakim Verona <joakim@verona.se>
7857 * image.el (imagemagick-types-inhibit): New variable.
7858 (imagemagick-register-types): New function.
7859 * image-mode.el (image-transform-properties): New function.
7860 (image-transform-set-scale, image-transform-fit-to-height)
7861 (image-transform-set-rotation, image-transform-set-resize)
7862 (image-transform-fit-to-width, image-transform-fit-to-height):
7864 (image-toggle-display-image): Support image transforms.
7866 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7868 * image.el (create-animated-image): Don't add heuristic mask to image
7871 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7873 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7874 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7876 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7880 Font-lock '...' strings, plus various simplifications and fixes.
7881 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7882 (octave-font-lock-close-quotes): New function.
7883 (octave-font-lock-syntactic-keywords): New var.
7884 (octave-mode): Use it. Set beginning-of-defun-function.
7885 (octave-mode-map): Don't override the <foo>-defun commands.
7886 (octave-mode-menu): Pass it directly to easy-menu-define;
7887 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7888 (octave-block-match-alist): Fix up last change so that
7889 octave-close-block uses the more specific keyword.
7890 (info-lookup-mode): Silence byte-compiler.
7891 (octave-beginning-of-defun): Not interactive any more.
7893 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7894 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7895 (octave-completion-at-point-function): Make sure point is within
7897 (octave-reindent-then-newline-and-indent):
7898 Use reindent-then-newline-and-indent.
7899 (octave-add-octave-menu): Remove.
7901 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7903 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7904 (report-emacs-bug-can-use-xdg-email): New functions.
7905 (report-emacs-bug): Set can-xdg-email to result of
7906 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7907 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7910 * net/browse-url.el (browse-url-default-browser): Add cond
7911 for browse-url-xdg-open.
7912 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7914 2010-08-17 Glenn Morris <rgm@gnu.org>
7916 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7917 (c-fontify-recorded-types-and-refs): Define for compiler.
7918 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7921 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7924 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7926 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7928 (tramp-handle-process-file): Call the program in a subshell, in
7929 order to preserve working directory.
7930 (tramp-action-password): Hide password prompt before next run.
7931 (tramp-process-actions): Widen connection buffer for the trace.
7933 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7935 * net/rcirc.el (rcirc-log-process-buffers): New option.
7936 (rcirc-print): Use it.
7937 (rcirc-generate-log-filename): New function.
7938 (rcirc-log-filename-function): Change default to
7939 rcirc-generate-log-filename (Bug#6828).
7941 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7943 * simple.el (deactivate-mark): If select-active-regions is `only',
7944 only set selection for temporarily active regions.
7946 * cus-start.el: Change defcustom for select-active-regions.
7948 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7950 * mouse.el (mouse--drag-set-mark-and-point): New function.
7951 (mouse-drag-track): Use LOCATION arg to push-mark.
7952 Use mouse--drag-set-mark-and-point to take click-count into
7953 consideration when updating point and mark (Bug#6840).
7955 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7958 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7960 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7962 * font-lock.el (lisp-font-lock-keywords-2):
7963 Add combine-after-change-calls, condition-case-no-debug,
7964 with-demoted-errors, and with-silent-modifications (Bug#6025).
7966 2010-08-14 Kevin Ryde <user42@zip.com.au>
7968 * emacs-lisp/copyright.el (copyright-update-year)
7969 (copyright-update): Temporary switch-to-buffer to ensure the
7970 buffer change being queried is visible (Bug#5394).
7972 2010-08-14 Tom Tromey <tromey@redhat.com>
7974 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7977 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7979 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7982 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7984 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7985 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7986 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7987 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7988 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7989 Call menu-bar-set-tool-bar-position.
7991 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7993 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7994 comment style (bug#6834).
7995 * progmodes/scheme.el (scheme-mode-syntax-table):
7996 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7997 "b" flag in "' 14b" syntax.
7999 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8000 for (un)commenting the region and performing completion.
8001 (octave-mode-menu): Use standard commands for help and completion.
8002 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8003 (octave-mode): Use define-derived-mode.
8004 Set completion-at-point-functions and don't set columns.
8005 Don't disable adaptive-fill-regexp.
8006 (octave-describe-major-mode, octave-comment-region)
8007 (octave-uncomment-region, octave-comment-indent)
8008 (octave-indent-for-comment): Remove.
8009 (octave-indent-calculate): Rename from calculate-octave-indent.
8010 (octave-indent-line, octave-fill-paragraph): Update caller.
8011 (octave-initialize-completions): No need to make an alist.
8012 (octave-completion-at-point-function): New function.
8013 (octave-complete-symbol): Use it.
8014 (octave-insert-defun): Use define-skeleton.
8016 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8017 (octave-mode-map): Use comment-dwim (bug#6829).
8019 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8021 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8022 indentation of inserted comment.
8024 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8026 * faces.el (region): Add type gtk that uses gtk colors.
8028 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8029 Handle theme-name change.
8031 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8033 * progmodes/sql.el: Version 2.5
8034 (sql-product-alist): Add :prompt-cont-regexp property for several
8036 (sql-prompt-cont-regexp): New variable.
8037 (sql-output-newline-count, sql-output-by-send):
8038 New variables. Record number of newlines in input text.
8039 (sql-send-string): Handle multiple filters and count newlines.
8040 (sql-send-magic-terminator): Count terminator newline.
8041 (sql-interactive-remove-continuation-prompt): Filters output to
8042 remove continuation prompts; one for each newline.
8043 (sql-interactive-mode): Set up new variables, prompt regexp and
8045 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8046 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8048 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * emacs-lisp/pcase.el: New file.
8052 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8054 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8055 as here-document, otherwise the command could exceed maximum
8056 length of command line.
8057 (tramp-handle-vc-registered): Call script accordingly.
8058 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8060 2010-08-10 Kenichi Handa <handa@m17n.org>
8062 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8065 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8067 * emacs-lisp/package.el (package-version-split)
8068 (package--version-first-nonzero, package-version-compare):
8070 (package-directory-list, package-load-all-descriptors)
8071 (package--built-in, package-activate, define-package)
8072 (package-installed-p, package-compute-transaction)
8073 (package-read-all-archive-contents)
8074 (package--add-to-archive-contents, package-buffer-info)
8075 (package-tar-file-info, package-list-packages-internal):
8076 Use version-to-list and version-list-*.
8078 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8079 Use version-to-list.
8080 (package-upload-buffer-internal): Use version-list-<=.
8082 2010-08-09 Kenichi Handa <handa@m17n.org>
8084 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8087 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8089 * tutorial.el (tutorial--default-keys): C-d is now bound to
8090 delete-forward-char (Bug#6826).
8092 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8093 for `double' value of mouse-1-click-follows-link (Bug#6807).
8095 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8097 * replace.el (replace-highlight): Bind isearch-forward and
8098 isearch-error, ensuring that highlighting is updated if the user
8099 switches the search direction (Bug#6808).
8101 * isearch.el (isearch-lazy-highlight-forward): New var.
8102 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8103 (isearch-lazy-highlight-update): Use it.
8105 2010-08-08 Kenichi Handa <handa@m17n.org>
8107 * international/mule.el (define-charset): Store NAME as :base property.
8108 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8109 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8110 current priority. Force using the designation of the specific
8111 charset by adding `charset' text property. Improve the whole algorithm.
8113 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8115 * emulation/pc-select.el (pc-selection-mode-hook)
8116 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8117 (pc-selection-mode): Fix typos in docstrings.
8119 2010-08-08 Kenichi Handa <handa@m17n.org>
8121 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8122 ctext-non-standard-encodings-alist here.
8124 * international/mule.el (ctext-non-standard-encodings-alist):
8125 Add "koi8-r" and "microsoft-cp1251".
8126 (ctext-standard-encodings): New variable.
8127 (ctext-non-standard-encodings-table): List only elements for
8128 non-standard encodings.
8129 (ctext-pre-write-conversion): Adjust for the above change.
8130 Check ctext-standard-encodings.
8132 * international/mule-conf.el (compound-text): Doc fix.
8133 (ctext-no-compositions): Doc fix.
8134 (compound-text-with-extensions): Doc fix.
8136 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8140 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8142 * progmodes/which-func.el (which-func-format): Split help-echo text
8143 into lines, like other mode-line tooltips.
8145 * server.el (server-start): When using TCP sockets, force IPv4
8146 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8148 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8150 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8152 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8154 * term.el (term-delimiter-argument-list): Reflow docstring.
8155 (term-read-input-ring, term-write-input-ring, term-send-input)
8156 (term-bol, term-erase-in-display, serial-supported-or-barf):
8157 Fix typos in docstrings.
8159 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8163 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8165 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8167 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8169 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8170 Fix typo in docstring (bug#6747).
8172 2010-08-08 Leo <sdl.web@gmail.com>
8174 * eshell/esh-io.el (eshell-get-target): Better detection of
8175 read-only file (Bug#6762).
8177 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8179 * align.el (align-default-spacing): Doc fix.
8180 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8182 2010-08-08 Stephen Peters <speters@itasoftware.com>
8184 * calendar/icalendar.el
8185 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8186 (icalendar--get-weekday-numbers): New.
8187 (icalendar--convert-recurring-to-diary): Handle multiple byday
8188 values in weekly rules. (Bug#6766)
8190 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8192 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8193 (icalendar--create-uid, icalendar-export-region)
8194 (icalendar--parse-summary-and-rest): Code formatting.
8196 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8198 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8199 to italicize headers.
8200 (calc-highlight-selections-with-faces): New variable.
8201 (calc-selected-face, calc-nonselected-face): New faces.
8203 * calc/calccomp.el (math-comp-highlight-string): Use
8204 `calc-highlight-selections-with-faces' to determine how to highlight
8207 * calc/calc-sel.el (calc-show-selections): Change message to when
8208 using faces to highlight selections.
8210 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8212 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8213 Add SQLite 3 keywords, functions and datatypes.
8214 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8217 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8219 * simple.el (select-active-regions): Move to keyboard.c.
8220 (deactivate-mark): Used saved-region-selection.
8221 (select-active-region): Function removed.
8222 (activate-mark, set-mark, push-mark-command)
8223 (handle-shift-selection): Don't call it.
8224 (keyboard-quit): Avoid adding the region to the window selection.
8226 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8227 select-active-regions implementation.
8228 (mouse-yank-at-click): Doc fix.
8230 * cus-start.el: Add custom declaration for select-active-regions.
8232 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8234 * simple.el (delete-forward-char): Doc fix.
8236 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8237 after reading the tutorial.
8239 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8241 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8242 Fix for the case that a C style comment has its delimiters alone on
8243 their respective lines.
8245 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8247 * net/tramp.el (tramp-handle-start-file-process): Set connection
8249 (tramp-process-sentinel): Use it for flushing the cache.
8250 We cannot do it via the process buffer, the buffer could be deleted
8251 already when running the sentinel.
8253 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8255 * comint.el (comint-mode): Make directory tracking functions
8256 functional on remote files. (Bug#6764)
8258 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8260 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8262 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8264 * emacs-lisp/find-gc.el (find-gc-source-files):
8265 Rename unexec.c => unexcoff.c.
8267 * emacs-lisp/authors.el (authors-fixed-entries):
8268 Rename unexec.c => unexcoff.c.
8270 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8272 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8273 cache, not only file cache.
8274 (tramp-process-sentinel): New defun.
8275 (tramp-handle-start-file-process): Use it, in order to invalidate
8278 2010-08-03 Leo <sdl.web@gmail.com>
8280 * server.el (server-start): Simplify loop.
8282 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * frame.el (screen-height, screen-width, set-screen-width)
8285 (set-screen-height): Remove ancient compatibility aliases.
8287 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8288 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8290 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8291 that change current buffer.
8293 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8295 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8296 beginning of the string. Use `string-match-p'. (Bug#6765)
8298 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8300 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8302 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8304 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8305 (package--builtins): Tweak descriptions.
8306 (package-print-package): Upcase descriptions if necessary.
8307 Show all built-in packages in font-lock-builtin-face.
8308 (package-list-packages-internal): Omit "emacs" package.
8309 Show status of built-in packages as "built-in".
8311 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8313 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8314 before killing to preserve the primary selection (Bug#6701).
8316 * term/x-win.el (x-select-text): Doc fix.
8318 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8320 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8321 (objc-font-lock-extra-types):
8322 * progmodes/cc-mode.el (c-basic-common-init):
8323 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8324 (c++-make-template-syntax-table)
8325 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8326 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8327 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8328 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8329 * progmodes/cc-fonts.el (c-make-inverse-face)
8330 (c-basic-matchers-after):
8331 * progmodes/cc-engine.el (c-forward-keyword-clause)
8332 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8333 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8334 (c-guess-continued-construct, c-guess-basic-syntax):
8335 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8336 The above functions were modified or created.
8338 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8340 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8342 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8344 * files.el (bidi-paragraph-direction): Define safe local values.
8346 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8347 language-info-alist. Remove outdated FIXME in a comment.
8349 2010-07-31 Alan Mackenzie <acm@muc.de>
8351 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8352 Auto-fill broken in C/C++ modes.
8354 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8356 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8357 (menu-bar-showhide-tool-bar-menu-customize-disable)
8358 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8359 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8360 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8361 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8362 make a menu for Options => toolbar that can move it.
8364 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8366 * emacs-lisp/package-x.el (package--make-rss-entry):
8367 (package-maint-add-news-item, package--update-news)
8368 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8370 * emacs-lisp/package.el (package-archive-url): Rename from
8372 (package-install): Doc fix.
8373 (package-download-single, package-download-tar, package-install)
8374 (package-menu-view-commentary): Callers changed.
8376 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8378 * net/tramp.el (tramp-handle-start-file-process): Check only for
8379 `remote-tty' process property.
8380 (tramp-open-shell): Don't check for tty.
8381 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8384 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8387 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8389 * emacs-lisp/package.el (package-load-list, package-archives)
8390 (package-archive-contents, package-user-dir)
8391 (package-directory-list, package--builtins, package-alist)
8392 (package-activated-list, package-obsolete-alist): Mark as risky.
8394 2010-07-28 Phil Hagelberg <phil@evri.com>
8396 Add support for non-default package repositories.
8397 * emacs-lisp/package.el (package-archive-base): Var deleted.
8398 (package-archives): New variable.
8399 (package-archive-contents): Doc fix.
8400 (package-load-descriptor): Do nothing if descriptor file is missing.
8401 (package--write-file-no-coding): New function.
8402 (package-unpack-single): Use it.
8403 (package-archive-id): New function.
8404 (package-download-single, package-download-tar)
8405 (package-menu-view-commentary): Use it.
8406 (package-installed-p): Make second argument optional.
8407 (package-read-all-archive-contents): New function.
8408 (package-initialize): Use it.
8409 (package-read-archive-contents): Add ARCHIVE argument.
8410 (package--add-to-archive-contents): New function.
8411 (package-install): Don't call package-read-archive-contents.
8412 (package--download-one-archive): Store archive file in a
8413 subdirectory of package-user-dir.
8414 (package-menu-execute): Remove spurious line movement.
8416 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8418 * cus-start.el (tool-bar-style): Add text-image-horiz.
8420 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8422 * progmodes/gud.el (gud-common-init): Check for remoteness of
8423 `file', and not of `default-directory'.
8425 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8427 * net/tramp.el (tramp-methods): Move hostname to the end in all
8428 ssh `tramp-login-args'.
8429 (tramp-verbose): Describe verbose level 9.
8430 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8431 (tramp-open-connection-setup-interactive-shell): Trace stty
8432 settings if `tramp-verbose' >= 9.
8433 (tramp-handle-start-file-process): Implement tty setting.
8434 (Bug#4604, Bug#6360)
8436 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8437 `tramp-verbose' to 9.
8439 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8441 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8442 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8443 Remove references to package `lisp-re' (bug#4369).
8445 2010-07-27 Tom Tromey <tromey@redhat.com>
8447 * progmodes/js.el (js-mode):
8448 * progmodes/make-mode.el (makefile-mode):
8449 * progmodes/simula.el (simula-mode):
8450 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8452 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8454 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8456 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8457 (display-time-world-buffer-name, display-time-world-mode-map):
8458 Fix typos in docstrings.
8460 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8462 * image-mode.el (image-display-size): New function.
8463 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8464 (image-mode-fit-frame): Use it (Bug#6639).
8466 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8468 * dired.el (dired-buffers-for-dir): Handle list values of
8469 dired-directory (Bug#6636).
8471 2010-07-26 Sam Steingold <sds@gnu.org>
8473 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8474 Do not call `x-get-selection' the second time, reuse the value.
8476 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8478 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8479 which consist of control chars only. Suggested by Richard Stallman.
8481 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8483 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8484 exists before passing an error to find-file-not-found-functions
8487 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8489 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8490 Remove leading nil element, adjust values.
8491 (tetris-shapes, tetris-shape-scores):
8492 Change representation of shapes and remove some redundancy.
8493 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8494 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8495 Adjust for working with new representation of shapes.
8496 (tetris-shape-rotations): New function.
8497 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8498 (tetris-rotate-prev, tetris-rotate-next):
8499 Adjust for working with the new version of tetris-test-shape.
8501 2010-07-23 Markus Triska <markus.triska@gmx.at>
8503 * progmodes/ps-mode.el: Use comint (bug#5954).
8504 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8505 (ps-mode-other-newline): Simplify.
8506 (ps-run-mode): Derive from comint-mode instead of
8507 fundamental-mode, yielding input history etc.
8508 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8509 (ps-run-send-string): Adapt for comint-mode.
8510 (ps-run-newline): Remove now unneeded function.
8512 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8514 * net/tramp.el (tramp-methods): Move hostname to the end in all
8515 plink `tramp-login-args'.
8517 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8519 * net/tramp.el (tramp-open-shell): New defun.
8520 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8523 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8525 * net/tramp.el (tramp-file-name-regexp-unified)
8526 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8527 not regard the volume letter as remote filename. (Bug#5447)
8529 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8531 * custom.el (custom-declare-variable): Give a clearer error message
8532 when the docstring is missing (bug#6476).
8534 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8536 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8537 (sql-login-params): New widget definition.
8538 (sql-oracle-login-params, sql-mysql-login-params)
8539 (sql-solid-login-params, sql-sybase-login-params)
8540 (sql-informix-login-params, sql-ingres-login-params)
8541 (sql-ms-login-params, sql-postgres-login-params)
8542 (sql-interbase-login-params, sql-db2-login-params)
8543 (sql-linter-login-params): Use it.
8544 (sql-sqlite-login-params): Use it; Define "database" parameter as
8546 (sql-sqlite-program): Change to "sqlite3".
8547 (sql-comint-sqlite): Make sure database name is complete.
8548 (sql-for-each-login): New function.
8549 (sql-connect, sql-save-connection): Use it.
8550 (sql-get-login-ext): New function.
8551 (sql-get-login): Use it.
8552 (sql-make-alternate-buffer-name): Handle :file parameters.
8554 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8556 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8557 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8559 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8561 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8563 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8565 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8567 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8569 * net/tramp.el (tramp-get-ls-command)
8570 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8573 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8575 * progmodes/sql.el: Version 2.3.
8576 (sql-connection-alist): Change keys from symbols to strings;
8577 enhanced the widget definition.
8578 (sql-mode-menu): Add submenu to select connections.
8579 (sql-interactive-mode-menu): Add "Save Connection" item.
8580 (sql-add-product): Fix menu item.
8581 (sql-get-product-feature): Improved error handling.
8582 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8583 (sql-make-alternate-buffer-name): Simplified.
8584 (sql-product-interactive): Handle missing product.
8585 (sql-connect): Support string keys, minor improvements.
8586 (sql-save-connection): New function.
8587 (sql-connection-menu-filter): New function.
8589 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8591 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8592 (tramp-open-connection-setup-interactive-shell):
8593 Apply workaround for IRIX64 bug. Move argument of last
8594 `tramp-send-command' where it belongs to.
8596 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8598 * net/tramp.el (tramp-perl-file-attributes)
8599 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8600 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8601 front of `login-args'.
8603 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8605 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8606 Set `show-trailing-whitespace' to nil.
8607 (display-time-world-display): Simplify.
8609 2010-07-18 Alan Mackenzie <acm@muc.de>
8611 Enhance `c-file-style' in file/directory local variables.
8612 * progmodes/cc-mode.el (c-count-cfss): New function.
8613 (c-before-hack-hook): Call `c-set-style' differently according to
8614 whether c-file-style was set in file or directory local
8617 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8619 * progmodes/sql.el: Version 2.2.
8620 (sql-product, sql-user, sql-database, sql-server, sql-port):
8621 Use defcustom :safe keyword rather than putting safe-local-variable
8623 (sql-password): Use defcustom :risky keyword rather than putting
8624 risky-local-variable property.
8625 (sql-oracle-login-params, sql-sqlite-login-params)
8626 (sql-solid-login-params, sql-sybase-login-params)
8627 (sql-informix-login-params, sql-ingres-login-params)
8628 (sql-ms-login-params, sql-postgres-login-params)
8629 (sql-interbase-login-params, sql-db2-login-params)
8630 (sql-linter-login-params): Add `port' option.
8631 (sql-get-product-feature): Add NO-INDIRECT parameter.
8632 (sql-comint-oracle, sql-comint-sybase)
8633 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8634 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8635 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8636 (sql-comint-linter): Rename sql-connect-* functions to
8638 (sql-product-alist, sql-mode-menu): Rename as above and
8639 :sqli-connect-func to :sqli-comint-func.
8640 (sql-connection): New variable.
8641 (sql-interactive-mode): Set it.
8642 (sql-connection-alist): New variable.
8643 (sql-connect): New function.
8644 (sql--alt-buffer-part, sql--alt-if-not-empty)
8645 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8647 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8649 * image-mode.el (image-bookmark-make-record): Do not set context
8650 in an image (Bug#6650).
8652 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8654 * simple.el (select-active-region): New function.
8655 (push-mark-command, set-mark, activate-mark)
8656 (handle-shift-selection): Use it.
8657 (deactivate-mark): Don't check for size of region.
8659 * mouse.el (mouse-drag-track): Use select-active-region.
8661 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8663 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8666 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8668 * term/x-win.el (x-select-enable-primary): Change default to nil.
8669 (x-select-enable-clipboard): Add :version keyword.
8671 * mouse.el (mouse-drag-copy-region):
8672 * simple.el (select-active-regions): Likewise.
8674 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8676 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8677 (vc-coding-system-for-diff): Use it to decide whether to inherit
8678 from the file the EOL format for reading the diffs of that file.
8681 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8683 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8684 unibyte, so compressed attachments are not compressed again.
8686 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8688 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8689 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8690 (tramp-find-shell): Simplify setting connection property.
8691 (tramp-get-ls-command): Make test for "--color=never" stronger.
8693 2010-07-15 Simon South <ssouth@member.fsf.org>
8695 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8696 blocks within record declarations (i.e. variant parts) correctly.
8698 2010-07-15 Simon South <ssouth@member.fsf.org>
8700 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8701 over literal tokens when parsing so newlines aren't "absorbed" by
8702 single-line comments. Corrects the indentation of case blocks
8703 that have a comment on the first line.
8705 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8707 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8708 by Drew Adams (Bug#5504).
8710 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8712 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8713 now that Unicode is used (Bug#6594).
8715 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8717 * term/x-win.el (x-select-enable-clipboard): Default to t.
8718 (x-initialize-window-system): Don't overwrite Paste menu item.
8720 * simple.el (select-active-regions): Default to t.
8721 (push-mark-command): Don't overwrite primary with empty string.
8723 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8724 (mouse-drag-copy-region): Default to nil.
8726 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8727 Cut/Copy/Paste menu bar items.
8729 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8731 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8732 Patch applied by Karl Fogel.
8734 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8735 and `bookmark-current-buffer' if they have been already set in
8736 another buffer (e.g gnus-art).
8738 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8739 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8741 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8743 * bookmark.el (bookmark-make-record-default): Allow unneeded
8744 information to be omitted from the record.
8746 Adjust declarations and calls:
8748 * info.el (bookmark-make-record-default): Adjust declaration.
8749 (Info-bookmark-make-record): Adjust call.
8751 * woman.el (bookmark-make-record-default): Adjust declaration.
8752 (woman-bookmark-make-record): Adjust call.
8754 * man.el (bookmark-make-record-default): Adjust declaration.
8755 (Man-bookmark-make-record): Adjust call.
8757 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8759 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8761 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8763 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8764 This is also from Thierry Volpiatto's patch in bug #6444. However,
8765 because it was extraneous to the functional change in that patch,
8766 and causes a re-indendation, I am committing it separately.
8768 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8770 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8771 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8772 Patch applied by Karl Fogel (Bug#6444).
8774 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8776 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8778 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8780 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8781 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8782 (ns-alternatives-map): Change S-tab binding to backtab
8785 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8788 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8790 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8793 * language/tv-util.el (tai-viet-re): Remove format.
8795 2010-07-12 Kenichi Handa <handa@m17n.org>
8797 * language/hebrew.el: Remove no-byte-compile declaration.
8798 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8799 composition-function-table for 3-character looking back.
8800 (hebrew-font-get-precomposed): New function.
8801 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8803 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8805 * mouse.el (mouse-drag-track): Handle select-active-regions
8808 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8810 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8811 empty argument to gvfs-copy.
8813 2010-07-10 Glenn Morris <rgm@gnu.org>
8815 * calendar/calendar.el (calendar-week-end-day): New function.
8816 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8817 Respect calendar-week-start-day. (Bug#6606)
8818 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8819 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8820 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8821 respect calendar-week-start-day.
8823 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8825 * simple.el (use-region-p): Doc fix (Bug#6607).
8827 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8830 Add regexps for cucumber and ruby.
8832 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8834 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8835 (epa-file-insert-file-contents): Hack to prevent
8836 find-file from opening empty buffer when decryption failed
8839 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8841 * textmodes/ispell.el (ispell-alternate-dictionary):
8842 Use file-readable-p.
8843 Return nil if no word-list is found at default locations.
8844 (ispell-complete-word-dict): Default to nil.
8845 (ispell-command-loop): Use 'word-list' when using lookup-words.
8846 (lookup-words): Use ispell-complete-word-dict or
8847 ispell-alternate-dictionary. Check for word-list availability
8848 and handle errors if needed with better messages (Bug#6539).
8849 (ispell-complete-word): Use ispell-complete-word-dict or
8850 ispell-alternate-dictionary.
8852 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8854 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8855 builtins (BufferError, BytesWarning, WindowsError; callables
8856 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8858 2010-07-07 Glenn Morris <rgm@gnu.org>
8860 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8861 (zone-shift-left): Ignore intangibility, and any errors from
8863 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8864 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8865 deleting, and copying text properties.
8866 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8867 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8868 to point-max is hard.
8869 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8870 (zone-fill-out-screen): Ignore intangibility.
8872 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8874 * menu-bar.el (menu-bar-mode):
8875 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8878 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8879 word/line selection (Bug#6565).
8881 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8883 * net/dbus.el (dbus-send-signal): Declare function.
8885 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8887 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8888 (dbus-register-property): New optional argument EMITS-SIGNAL.
8889 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8891 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8893 * mouse.el (mouse-drag-overlay): Variable deleted.
8894 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8895 (mouse--remap-link-click-p): New function.
8896 (mouse-drag-track): Handle dragging by using temporary Transient
8897 Mark mode, instead of a special overlay.
8898 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8901 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8904 2010-07-02 Juri Linkov <juri@jurta.org>
8906 * autoinsert.el (auto-insert-alist): Fix readability
8907 by using dotted pair notation for lambda.
8909 2010-07-02 Juri Linkov <juri@jurta.org>
8911 * faces.el (read-face-name): Rename arg `string-describing-default'
8912 to `default'. Doc fix. Display the default value in quotes
8913 in the prompt. With empty input, return the `default' arg,
8914 unless the default value is a string (in which case return nil).
8915 (describe-face): Replace the string `default' arg of `read-face-name'
8916 with the symbol `default'.
8918 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8920 * emulation/viper-cmd.el (viper-delete-backward-char)
8921 (viper-del-backward-char-in-insert)
8922 (viper-del-backward-char-in-replace, viper-change)
8923 (viper-backward-indent): Replace delete-backward-char with
8924 delete-char (Bug#6552).
8926 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8928 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8930 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8932 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8933 argument passed to frame-creation-function (Bug#5378).
8935 * faces.el (x-handle-named-frame-geometry)
8936 (x-handle-reverse-video, x-create-frame-with-faces)
8937 (face-set-after-frame-default, tty-create-frame-with-faces):
8938 Don't separately consult default-frame-alist. It is now passed as the
8941 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8943 * startup.el (command-line): Don't call tool-bar-setup in a
8946 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8948 * ruler-mode.el (ruler--save-header-line-format): New fun.
8949 (ruler-mode): Use it as a setter function, so as not to overwrite
8950 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8952 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8954 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8955 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8956 (vc-log-outgoing): Use it.
8957 (vc-diff-internal): Set diff-vc-backend.
8959 * vc/diff-mode.el (diff-vc-backend): New var.
8961 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8963 * dynamic-setting.el (font-setting-change-default-font):
8964 Remove call to message.
8966 2010-06-28 Kenichi Handa <handa@m17n.org>
8968 * international/quail.el (quail-insert-kbd-layout): Fix the
8969 showing of untranslated characters.
8971 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8973 * simple.el (delete-active-region): New option.
8974 (delete-backward-char): Implement in Lisp.
8975 (delete-forward-char): New command.
8977 * mouse.el (mouse-region-delete-keys): Delete.
8978 (mouse-show-mark): Simplify.
8980 * bindings.el (global-map): Bind delete and DEL, the former to
8981 delete-forward-char.
8983 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8985 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8986 (ruby-mode): Bind indent-line-function (Bug#5119).
8988 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8990 * startup.el (command-line): Recognize "0" X resource value.
8992 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8994 * startup.el (command-line): Use X resources to set the value of
8995 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8997 * menu-bar.el (menu-bar-mode):
8998 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8999 Set init-value to t.
9001 * frame.el (frame-notice-user-settings): Don't change
9002 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9003 vice versa (Bug#2249).
9005 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9007 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9009 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9011 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9012 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9014 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9015 default directories are expanded (Bug#6143).
9017 2010-06-24 Juri Linkov <juri@jurta.org>
9019 * minibuffer.el (completions-format): Change default from nil to
9020 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9022 2010-06-24 Juri Linkov <juri@jurta.org>
9024 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9025 buffer-locally to lambda that re-runs the vc diff command.
9028 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9030 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9031 echo area is in use (Bug#3412).
9033 2010-06-22 Glenn Morris <rgm@gnu.org>
9035 * textmodes/texinfmt.el (texinfo-format-region)
9036 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9037 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9038 (texinfo-format-option, texinfo-noindent):
9039 Use line-beginning-position and line-end-position.
9041 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9042 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9043 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9046 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9048 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9049 forward-line fallout.
9051 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9053 * mouse.el (mouse-appearance-menu): Add docstring.
9055 * help.el (describe-key): Print up-event using key-description.
9057 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9059 * net/zeroconf.el (zeroconf-resolve-service)
9060 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9061 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9063 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9065 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9067 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9069 Avoid displaying files with a nil state in vc-dir.
9070 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9071 cases that cause insertion.
9072 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9075 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9077 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9079 2010-06-29 Leo <sdl.web@gmail.com>
9081 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9083 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9085 * generic-x.el (bat-generic-mode): Fix regexp for command line
9086 switches (Bug#5719).
9088 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9090 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9091 of nconc to avoid pure storage error (Bug#6239).
9093 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9095 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9096 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9097 bindings of bookmark-automatically-show-annotations (Bug#6515).
9099 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9101 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9102 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9104 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9106 * comint.el (make-comint, make-comint-in-buffer): Mention return
9107 value in the docstrings. (Bug#6498)
9109 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9111 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9112 since it is not present when using some non-default switches.
9114 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9116 * simple.el (compose-mail): Fix doc string to refer to
9117 `compose-mail-user-agent-warnings', instead of to the
9118 nonexistent `compose-mail-check-user-agent'.
9120 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9122 Fix an indentation bug:
9124 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9125 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9128 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9129 (c-clear->-pair-props-if-match-before): now return t when they've
9130 cleared properties, nil otherwise.
9131 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9132 by taking account of the existing value.
9134 * progmodes/cc-defs.el
9135 (c-clear-char-property-with-value-function): Fix this to clear the
9136 property rather than overwriting it with nil.
9138 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9140 * emacs-lisp/package.el (package-print-package): Add link to
9141 package description via describe-package.
9142 (describe-package-1): List package requirements. Add button to
9143 perform installation.
9144 (package-menu-describe-package): New command.
9146 * help-mode.el (help-package): New button type.
9148 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9150 * emacs-lisp/package.el: Move package-list-packages binding to
9152 (describe-package, describe-package-1, package--dir): New funs.
9153 (package-activate-1): Use package--dir.
9155 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9157 * help-mode.el (help-package-def): New button type.
9159 * menu-bar.el: Move package-list-packages binding here from
9162 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9164 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9166 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * emacs-lisp/edebug.el (edebug-read-list):
9169 Phase out old-style backquotes.
9171 2010-06-17 Juri Linkov <juri@jurta.org>
9173 * help-mode.el (help-mode): Set buffer-local variable
9174 revert-buffer-function to help-mode-revert-buffer.
9175 (help-mode-revert-buffer): New function.
9177 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9178 before popping to "*info*" (like in other Info functions).
9179 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9180 old-history-forward. Pop to old-buffer-name or "*info*" to
9181 recreate the killed buffer. Set Info-history-forward from
9182 old-history-forward.
9183 (Info-breadcrumbs-depth): Add :group and :version.
9185 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9187 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9189 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9191 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9192 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9194 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9196 * emacs-lisp/package.el (package-menu-mode-map):
9197 Move initialization into declaration.
9199 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9201 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9203 * emacs-lisp/package.el (package-archive-base): Point to
9205 (package-enable, package-load-list): New defcustoms.
9206 (package-user-dir, package-directory-list): Turn into defcustoms.
9207 Don't include package-user-dir in package-directory-list.
9208 (package--builtins-base): Don't include Emacs as a "package".
9209 (package-subdirectory-regexp): New var.
9210 (package-load-all-descriptors, package-compute-transaction)
9211 (package-download-transaction): Obey package-load-list.
9212 (package-activate-1): Rename from package-do-activate.
9213 (package-list-packages-internal): Check package-load-list.
9214 (package-load-descriptor, package-generate-autoloads)
9215 (package-unpack, package-unpack-single)
9216 (package--read-archive-file, package-delete):
9217 Use expand-file-name.
9219 * emacs-lisp/package-x.el: New file. Package uploading
9220 functionality split out from package.el.
9222 * startup.el (command-line): Load packages after reading init file.
9224 2010-06-17 Tom Tromey <tromey@redhat.com>
9226 * emacs-lisp/package.el: New file.
9228 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9230 Fix vc-annotate for renamed files when using Git.
9231 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9232 ls-files. Doe not pass the object as a file name to cat-file, it
9234 (vc-git-annotate-command): Pass the file name using -- to avoid
9235 ambiguity with the revision.
9236 (vc-git-previous-revision): Pass a relative file name.
9238 2010-06-22 Glenn Morris <rgm@gnu.org>
9240 * progmodes/js.el (js-mode-map): Use standard capitalization and
9241 ellipses for menu entries.
9243 * wid-edit.el (widget-complete): Doc fix.
9245 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9247 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9249 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9251 Fix annotating other revisions for renamed files in vc-annotate.
9252 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9253 VC backend. Use it when non-nil.
9254 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9257 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9258 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9259 Do not pass the file name to the 'previous-revision call when we
9260 don't want a file diff. (Bug#6489)
9262 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9264 Fix finding revisions for renamed files in vc-annotate.
9265 * vc/vc.el (vc-find-revision): Add an optional argument for
9266 the VC backend. Use it when non-nil.
9267 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9268 backend to vc-find-revision. (Bug#6487)
9270 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9272 Fix reading file names in Git annotate buffers.
9273 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9274 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9276 2010-06-20 Alan Mackenzie <acm@muc.de>
9278 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9279 in file local variables, set it first.
9281 2010-06-19 Glenn Morris <rgm@gnu.org>
9283 * descr-text.el (describe-char-unicode-data): Insert separating
9284 space when needed. (Bug#6422)
9286 * progmodes/idlwave.el (idlwave-action-and-binding):
9287 Fix typo in 2009-12-03 change. (Bug#6450)
9289 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9291 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9292 handling for `lambda' (misunderstanding).
9294 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9296 * calc/calc-poly.el (math-accum-factors): Make sure that
9297 constants aren't distributed after they are factored out.
9299 2010-06-16 Juri Linkov <juri@jurta.org>
9301 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9302 `list-colors-print'. (Bug#6332)
9304 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9306 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9309 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9311 * font-lock.el (font-lock-major-mode): Rename from
9312 font-lock-mode-major-mode to distinguish it from
9313 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9314 (font-lock-set-defaults):
9315 * font-core.el (font-lock-default-function): Adjust users.
9316 (font-lock-mode): Don't set it at all.
9318 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9320 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9322 2010-06-16 Glenn Morris <rgm@gnu.org>
9324 * calendar/appt.el (appt-time-msg-list): Doc fix.
9325 (appt-check): Let-bind appt-warn-time.
9326 (appt-add): Make the 3rd argument optional.
9327 Simplify argument names. Doc fix. Check for integer WARNTIME.
9328 Only add WARNTIME to the output list if non-nil.
9330 2010-06-16 Ivan Kanis <apple@kanis.eu>
9332 * calendar/appt.el (appt-check): Let the 3rd element of
9333 appt-time-msg-list specify the warning time.
9334 (appt-add): Add new argument with the warning time. (Bug#5176)
9336 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9338 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9339 older than version 1.6. (Bug#6361)
9341 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9343 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9344 used by cl-do-arglist. (Bug#6408)
9346 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9348 * textmodes/ispell.el (ispell-dictionary-base-alist):
9349 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9350 Suggested by Rolando Pereira (bug#6434).
9352 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9354 * facemenu.el (list-colors-sort): Doc fix.
9356 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9358 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9360 2010-06-14 Juri Linkov <juri@jurta.org>
9362 Add sort option `list-colors-sort'. (Bug#6332)
9363 * facemenu.el (color-rgb-to-hsv): New function.
9364 (list-colors-sort): New defcustom.
9365 (list-colors-sort-key): New function.
9366 (list-colors-display): Doc fix. Sort list according to the option
9368 (list-colors-print): Add HSV values to `help-echo' property of
9371 2010-06-14 Juri Linkov <juri@jurta.org>
9373 * compare-w.el: Move to the "vc" subdirectory.
9375 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * image-mode.el (image-mode-map): Remap left-char and right-char.
9379 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9381 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9383 * term/common-win.el (x-colors): Add all the color names defined
9384 in rgb.txt (Bug#6332).
9386 * facemenu.el (list-colors-print): Don't print extra names if it
9387 will overflow the window width.
9389 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9392 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9394 * files.el (make-directory): Doc fix (bug#6396).
9396 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9398 * net/tramp.el (tramp-remote-process-environment): Protect version
9399 string by apostroph.
9400 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9402 (tramp-file-name-for-operation): Add `call-process-region'.
9403 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9405 * net/tramp-compat.el (top): Do not autoload
9406 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9407 only when `start-file-process' is not bound.
9408 (tramp-advice-file-expand-wildcards): Do not use
9409 `tramp-handle-file-remote-p'.
9410 (tramp-compat-make-temp-file): Handle the case, that
9411 `make-temp-file' has no third argument EXTENSION.
9413 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9415 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9417 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9419 2010-06-11 Juri Linkov <juri@jurta.org>
9421 * finder.el (finder-known-keywords): Add keyword "vc"
9422 for version control.
9424 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9425 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9426 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9427 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9429 2010-06-11 Juri Linkov <juri@jurta.org>
9431 Move version control related files to the "vc" subdirectory.
9432 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9433 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9434 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9435 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9436 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9437 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9438 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9439 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9440 Move files to the "vc" subdirectory.
9442 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9444 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9447 2010-06-11 Stephen Eglen <stephen@gnu.org>
9449 * shell.el: Bind `shell-resync-dirs' to M-RET.
9451 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9453 * notifications.el: Move file from lisp/net, because it is
9454 supposed to talk locally to the user.
9456 2010-06-10 Julien Danjou <julien@danjou.info>
9458 * net/notifications.el (notifications-on-action-signal)
9459 (notifications-on-closed-signal): Pass notification id as first
9460 argument to the callback functions. Add docstrings.
9461 (notifications-notify): Fix docstring.
9463 2010-06-10 Glenn Morris <rgm@gnu.org>
9465 * emacs-lisp/authors.el (authors-ignored-files)
9466 (authors-valid-file-names): Add some files.
9468 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9471 merge conflict, giving preference to the emacs-23 version of the code.
9473 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * emacs-lisp/advice.el (ad-compile-function):
9476 Define warning-suppress-types before we let-bind it (bug#6275).
9478 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9479 declare it, make it buffer-local and permanent-local (bug#6324).
9480 (vc-resynch-window): Adjust name.
9481 * vc-hooks.el (vc-find-file-hook): Adjust name.
9483 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9485 * net/notifications.el (notifications-notify): Fix docstring.
9487 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9489 Update to Unicode 6.0.0 beta.
9490 * international/charprop.el: Update copyright.
9491 * international/mule-cmds.el (ucs-names): Update character ranges.
9492 * international/uni-bidi.el:
9493 * international/uni-category.el:
9494 * international/uni-combining.el:
9495 * international/uni-comment.el:
9496 * international/uni-decimal.el:
9497 * international/uni-decomposition.el:
9498 * international/uni-digit.el:
9499 * international/uni-lowercase.el:
9500 * international/uni-mirrored.el:
9501 * international/uni-name.el:
9502 * international/uni-numeric.el:
9503 * international/uni-old-name.el:
9504 * international/uni-titlecase.el:
9505 * international/uni-uppercase.el: Regenerate.
9507 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9509 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9510 (smie-precs-precedence-table): Fix typo in docstring.
9512 * vc-mtn.el (log-edit-extract-headers): Declare function.
9514 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9516 * net/notifications.el (dbus-register-signal): Declare function.
9517 (notifications-notify): Fix typos and reflow docstring.
9519 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9521 Improve VC create/retrieve tag/branch.
9522 * vc.el (vc-create-tag): Do not read the directory name for VCs
9523 with repository revision granularity. Adjust the tag/branch
9524 prompt. Reset VC properties.
9525 (vc-retrieve-tag): Do not read the directory name for VCs
9526 with repository revision granularity. Reset VC properties.
9528 2010-06-09 Julien Danjou <julien@danjou.info>
9530 * net/notifications.el: New file.
9532 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9534 Add optional support for resetting VC properties.
9535 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9536 call vc-file-clearprops when true.
9537 (vc-resynch-buffer): Add new optional argument, pass it down.
9538 (vc-resynch-buffers-in-directory): Likewise.
9540 Improve support for special markup in the VC commit message.
9541 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9542 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9543 * vc-git.el (vc-git-checkin):
9544 * vc-bzr.el (vc-bzr-checkin): Likewise.
9546 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9549 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9551 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9553 * iimage.el: Remove images as soon as the underlying text is modified.
9554 (iimage-modification-hook): New function.
9555 (iimage-mode-buffer): Use it.
9557 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9559 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9560 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9561 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9562 (smie-indent-keyword): Add handling of open-paren keywords.
9563 (smie-indent-comment-continue): Don't assume comment-continue.
9565 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9567 * window.el (pop-to-buffer): Remove the conditional that
9568 compares new-window and old-window, so it will reselect
9569 the selected window unconditionally.
9570 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9572 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * emacs-lisp/smie.el (smie-indent-offset-after)
9575 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9576 (smie-indent-after-keyword): Use them.
9577 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9578 (smie-indent-keyword): Tweak the black magic.
9579 (smie-indent-comment-continue): Strip comment-continue before use.
9580 (smie-indent-functions): Indent comments before keywords.
9582 2010-06-06 Juri Linkov <juri@jurta.org>
9584 * isearch.el (isearch-lazy-highlight-search): Fix looping
9585 by checking for empty match. This syncs this loop with the
9586 similar loop in `isearch-search'. (Bug#6362)
9588 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9590 * net/dbus.el (dbus-register-method): Declare function.
9591 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9592 (dbus-introspect): Doc fix.
9593 (dbus-event-bus-name, dbus-introspect-get-interface)
9594 (dbus-introspect-get-argument): Reflow docstrings.
9596 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9598 vc-log-incoming/vc-log-outgoing fixes for Git.
9599 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9600 incoming/outgoing logs.
9601 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9602 instead of vc-git-compute-remote.
9603 (vc-git-compute-remote): Remove.
9605 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9607 * term/common-win.el (x-colors): Add "dark green" and "dark
9608 turquoise" (Bug#6332).
9610 2010-06-04 Juri Linkov <juri@jurta.org>
9612 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9613 Instead of setting `replace' to t and replacing the same string
9614 with itself, don't do certain actions when
9615 kill-do-not-save-duplicates is non-nil and string is equal to car
9616 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9617 interprogram-paste strings to kill-ring, and don't push the input
9618 argument `string' to kill-ring.
9619 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9621 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9623 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9625 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9627 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9628 (tramp-gvfs-handler-mounted-unmounted)
9629 (tramp-gvfs-connection-mounted-p): Handle default-location.
9631 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9632 move files to trash.
9634 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9636 * international/mule-cmds.el (nonascii-insert-offset)
9637 (nonascii-translation-table): Add obsolescence information.
9639 * international/mule.el (make-translation-table-from-vector): Doc fix.
9641 2010-06-03 Glenn Morris <rgm@gnu.org>
9643 * desktop.el (desktop-clear-preserve-buffers):
9644 Add "*Warnings*" buffer. (Bug#6336)
9646 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9648 vc-log-incoming/vc-log-outgoing improvements for Git.
9649 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9651 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9653 Add bindings for vc-log-incoming and vc-log-outgoing.
9654 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9655 and vc-log-outgoing.
9656 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9657 and vc-log-outgoing.
9659 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9661 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9662 (rcirc-handler-366): Always sort nicknames.
9664 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9666 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9668 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9670 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9672 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9675 (rcirc-sort-nicknames-join): Avoid setq.
9677 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9679 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9680 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9681 (rcirc-handler-366): Use them.
9683 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9685 Split smie-indent-calculate into more manageable chunks.
9686 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9687 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9688 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9689 (smie-indent-exps): Extract from smie-indent-calculate.
9690 (smie-indent-functions): New var.
9691 (smie-indent-functions): Use them.
9693 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9696 (smie-indent-calculate): Simplify and cleanup.
9698 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9700 * net/tramp-gvfs.el (top): Require url-util.
9701 (tramp-gvfs-mount-point): Remove.
9702 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9704 (with-tramp-dbus-call-method): Format trace message.
9705 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9706 Implement backup call, when operation on local files fails.
9707 Use progress reporter. Flush properties of changed files.
9708 (tramp-gvfs-handle-make-directory): Make more traces.
9709 (tramp-gvfs-url-file-name): Hexify file name in url.
9710 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9711 into account for the resulting file name.
9712 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9713 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9714 (tramp-gvfs-handler-mounted-unmounted)
9715 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9716 attribute "default_location". Set "prefix" property.
9717 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9718 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9719 exists. Raise an error, if not (due to a corresponding answer
9720 "no" in interactive questions, for example).
9722 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9724 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9726 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9728 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9731 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9733 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9734 * vc-git.el (vc-git-compute-remote): New function.
9735 (vc-git-log-outgoing): Use it instead of hard coding a value.
9736 (vc-git-log-incoming): New function.
9738 Improve state updating for VC tag commands.
9739 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9740 to update the state of all buffers in the directory.
9742 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9744 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9747 `file-directory-p' to the filename part rather than to the whole text.
9749 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9751 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9753 2010-05-31 Drew Adams <drew.adams@oracle.com>
9755 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9757 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9759 * subr.el (momentary-string-display): Just use read-event to read
9760 the exit event (Bug#6238).
9762 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9764 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9766 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9768 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9769 Suggested by Eli Zaretskii <eliz@gnu.org>.
9771 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * minibuffer.el (completion-file-name-table): Don't return a boundary
9774 past the end of `string' (bug#6299).
9775 (completion--file-name-table): Delegate to completion-file-name-table
9776 for the `boundaries' case.
9778 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9780 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9783 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9784 `path-separator', but maintain compatibility with Emacs 20.2.
9786 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9788 * server.el (server-process-filter): Receive parent-id argument
9790 (server-create-window-system-frame): New arg. Pass parent-id as
9793 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9795 Bidi-sensitive word movement with arrow keys.
9796 * subr.el (right-arrow-command, left-arrow-command): Move to
9799 * bindings.el (right-char, left-char): Move from subr.el and
9800 rename from right-arrow-command and left-arrow-command.
9801 (right-word, left-word): New functions.
9802 (global-map) <right>: Bind to right-char.
9803 (global-map) <left>: Bind to left-char.
9804 (global-map) <C-right>: Bind to right-word.
9805 (global-map) <C-left>: Bind to left-word.
9807 * ls-lisp.el (ls-lisp-classify-file): New function.
9808 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9809 (ls-lisp-classify): Call ls-lisp-classify-file.
9810 (insert-directory): Remove blanks from switches.
9812 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9814 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9815 (ansi-color-drop-regexp): New constant.
9816 (ansi-color-apply, ansi-color-filter-region)
9817 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9818 (ansi-color-apply): Build string list before calling concat.
9820 2010-05-28 Juri Linkov <juri@jurta.org>
9822 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9823 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9826 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9828 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9829 to ignored backtrace functions.
9830 (with-progress-reporter): Expand docstring.
9831 (tramp-handle-delete-file): Implement TRASH argument.
9832 (tramp-get-remote-trash): New defun.
9834 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9836 * net/tramp-compat.el (tramp-compat-delete-file):
9837 Use `symbol-value' for backward compatibility.
9839 * net/tramp.el (tramp-handle-make-symbolic-link)
9841 (tramp-do-copy-or-rename-file-via-buffer)
9842 (tramp-do-copy-or-rename-file-directly)
9843 (tramp-do-copy-or-rename-file-out-of-band)
9844 (tramp-handle-process-file, tramp-handle-call-process-region)
9845 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9846 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9847 (tramp-delete-temp-file-function): Use `delete-file' instead
9848 of `tramp-compat-delete-file'.
9850 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9851 (tramp-fish-handle-make-symbolic-link)
9852 (tramp-fish-handle-process-file): Use `delete-file' instead
9853 of `tramp-compat-delete-file'.
9855 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9856 Use `delete-file' instead of `tramp-compat-delete-file'.
9858 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9859 `delete-file' instead of `tramp-compat-delete-file'.
9861 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9862 Use `delete-file' instead of `tramp-compat-delete-file'.
9864 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9865 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9866 (tramp-smb-handle-write-region): Use `delete-file' instead of
9867 `tramp-compat-delete-file'.
9868 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9870 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9872 * dired.el (dired-delete-file): New arg TRASH.
9873 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9874 (dired-do-flagged-delete, dired-do-delete): Use trash.
9876 * speedbar.el (speedbar-item-delete): Allow trashing.
9878 * files.el (delete-directory): New arg TRASH.
9880 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9881 (ange-ftp-rename-remote-to-remote)
9882 (ange-ftp-rename-local-to-remote)
9883 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9884 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9886 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9889 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9890 handle new TRASH arg of `delete-file'.
9892 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9893 (tramp-handle-make-symbolic-link, tramp-handle-load)
9894 (tramp-do-copy-or-rename-file-via-buffer)
9895 (tramp-do-copy-or-rename-file-directly)
9896 (tramp-do-copy-or-rename-file-out-of-band)
9897 (tramp-handle-process-file, tramp-handle-call-process-region)
9898 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9899 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9900 (tramp-delete-temp-file-function): Use null TRASH arg in
9901 tramp-compat-delete-file call.
9903 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9904 (tramp-fish-handle-delete-file)
9905 (tramp-fish-handle-make-symbolic-link)
9906 (tramp-fish-handle-process-file): Use null TRASH arg in
9907 `tramp-compat-delete-file' call.
9909 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9910 arg in `tramp-compat-delete-file' call.
9912 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9913 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9914 `tramp-compat-delete-file' call.
9916 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9917 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9918 `tramp-compat-delete-file' call.
9920 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9921 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9922 (tramp-smb-handle-write-region): Use null TRASH arg in
9923 tramp-compat-delete-file call.
9924 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9925 (tramp-smb-handle-delete-file): Rename arg.
9927 * diff.el (diff-sentinel):
9928 * epg.el (epg--make-temp-file, epg-decrypt-string)
9929 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9930 * jka-compr.el (jka-compr-partial-uncompress)
9931 (jka-compr-call-process, jka-compr-write-region):
9932 * server.el (server-sentinel): Remove optional arg from
9933 delete-file, reverting 2010-05-03 change.
9935 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9937 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9938 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9940 2010-05-27 Kenichi Handa <handa@m17n.org>
9942 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9943 element of GSTRING is nil.
9945 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9947 * emacs-lisp/smie.el (smie-forward-token-function)
9948 (smie-backward-token-function): New vars.
9949 (smie-backward-sexp, smie-forward-sexp)
9950 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9951 (smie-default-backward-token): Rename from smie-backward-token and
9953 (smie-default-forward-token): Rename from smie-forward-token and
9955 (smie-next-sexp): Handle nil results from next-token.
9956 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9958 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9960 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9961 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9963 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9965 * htmlfontify.el (hfy-face-resolve-face): New function.
9966 (hfy-face-to-style): Use it (Bug#6279).
9968 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9971 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9973 2010-05-26 Glenn Morris <rgm@gnu.org>
9975 * emulation/edt.el (edt-load-keys): Use locate-library.
9977 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9979 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9980 (log-edit-changelog-entries): Doc fix.
9981 (log-edit-changelog-insert-entries): Args changed.
9982 Rename relative filenames in ChangeLog entries. Delete tabs.
9983 (log-edit-insert-changelog-entries): Reorganize return value of
9984 `log-edit-changelog-entries' to pass filenames to
9985 log-edit-changelog-insert-entries.
9987 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9989 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9990 `image-dired-dired-insert-marked-thumbs' to
9991 `image-dired-dired-toggle-marked-thumbs'.
9993 * image-dired.el: Require cl when compiling.
9994 (image-dired-dired-toggle-marked-thumbs): Rename from
9995 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9996 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9997 to 'no-dir. Skip files whose names don't match
9998 `image-file-name-regexp'. When file has a thumbnail overlay,
9999 delete it. (Bug#5270)
10001 2010-05-25 Juri Linkov <juri@jurta.org>
10003 * image-mode.el (image-mode): Add image-after-revert-hook to
10005 (image-after-revert-hook): New function. (Bug#5669)
10007 2010-05-25 Juri Linkov <juri@jurta.org>
10009 * image.el (image-animated-p): When delay between animated images
10010 is 0, set it to 10 (0.1 sec). (Bug#6258)
10012 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10014 * net/tramp.el (tramp-handle-insert-directory): Don't use
10015 `forward-word', its default syntax could be changed.
10017 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10019 * net/tramp.el (tramp-progress-reporter-update): New defun.
10020 (with-progress-reporter): Use it.
10021 (tramp-process-actions):
10022 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10023 Preserve current message, in order to let progress reporter continue
10024 afterwards. (Bug#6257)
10026 2010-05-25 Glenn Morris <rgm@gnu.org>
10028 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10031 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10033 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10034 (rcirc-default-full-name): Change to "unknown".
10035 (rcirc-user-name-history): Add variable.
10037 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10038 Jonathan Rockway <jon@jrock.us>
10040 * net/rcirc.el (rcirc-server-alist): Add :pass.
10041 (rcirc): When prompting for connection parameters, also prompt for
10042 username and password.
10043 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10044 value to server when connecting.
10046 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10049 (smie-merge-prec2s): Pass the tables as separate args.
10050 (smie-bnf-precedence-table): Adjust call accordingly.
10051 (smie-prec2-levels): Set levels at the end.
10053 Replace Lisp calls to delete-backward-char by delete-char.
10054 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10055 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10056 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10057 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10058 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10059 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10060 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10061 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10062 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10063 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10064 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10065 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10066 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10067 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10068 delete-backward-char by calls to delete-char.
10070 2010-05-25 Kenichi Handa <handa@m17n.org>
10072 * language/hebrew.el (hebrew-shape-gstring): New function.
10073 Register it in composition-function-table for all Hebrew combining
10076 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * epa.el (epa--select-keys): Don't explicitly delete the window since
10079 that can fail (e.g. sole window in frame). Use dedication instead.
10081 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10083 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10085 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10087 * image.el (image-refresh): Define as an alias for image-flush.
10089 * image-mode.el (image-toggle-display-image): Caller changed.
10091 2010-05-21 Juri Linkov <juri@jurta.org>
10093 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10094 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10095 whitespace, call wildcard-to-regexp on substrings and concat them
10096 with "\\|". (Bug#6114)
10098 2010-05-21 Alan Mackenzie <acm@muc.de>
10100 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10101 Replace parameter `here' with `here-' and `here-plus', which sandwich
10102 any pertinent CPP construct.
10103 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10104 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10105 CPP construct from taking part in the scanning.
10107 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10109 * net/tramp.el (tramp-do-copy-or-rename-file)
10110 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10111 Tune `with-progress-reporter' messages.
10112 (tramp-handle-vc-registered):
10113 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10114 (tramp-fish-handle-insert-file-contents)
10115 (tramp-fish-maybe-open-connection):
10116 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10117 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10118 (tramp-imap-handle-insert-file-contents)
10119 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10121 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10123 * add-log.el (change-log-font-lock-keywords):
10124 Highlight all authors in multi-author entries.
10126 * smerge-mode.el (smerge-refine-ignore-whitespace)
10127 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10128 Fix typos in docstrings.
10129 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10131 2010-05-21 Glenn Morris <rgm@gnu.org>
10133 * progmodes/fortran.el (fortran-mode):
10134 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10136 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10137 having a relative path in src/Makefile.in.
10139 2010-05-20 Kevin Ryde <user42@zip.com.au>
10141 * help-mode.el (help-make-xrefs): For Info node links turn
10142 newlines into spaces. Link node names with newlines are matched
10143 by help-xref-info-regexp and buttonized, this change ensures they
10144 can be followed successfully with RET. (Bug#6206)
10146 2010-05-20 Juri Linkov <juri@jurta.org>
10148 * locate.el (locate): Use pop-to-buffer instead of
10149 switch-to-buffer-other-window. (Bug#6204)
10151 2010-05-20 Juri Linkov <juri@jurta.org>
10153 * replace.el (replace-highlight): Fix lazy-highlighting
10154 for `M-s w str M-% str RET'.
10156 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10158 * isearch.el (isearch-yank-word-or-char): Pull next subword
10159 when `subword-mode' is activated. (Bug#6220)
10161 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10163 * isearch.el (isearch-update-post-hook): New hook.
10164 (isearch-update): Use the new hook. (Bug#6225)
10166 2010-05-20 Juri Linkov <juri@jurta.org>
10168 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10169 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10172 2010-05-20 Juri Linkov <juri@jurta.org>
10174 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10177 2010-05-20 Juri Linkov <juri@jurta.org>
10179 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10180 FILE-NAME to read from the minibuffer when called interactively
10181 with prefix argument instead of using buffer-file-name.
10182 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10184 * dired.el: Update autoloads.
10186 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10188 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10189 nxml-finish-element, for consistency with SGML mode.
10191 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10192 octave-close-block.
10194 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10196 * composite.el: Require cl when compiling.
10197 (reference-point-alist, compose-gstring-for-graphic)
10198 (compose-gstring-for-terminal): Fix typos in docstrings.
10200 2010-05-19 Juri Linkov <juri@jurta.org>
10202 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10203 set-window-parameter.
10205 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10207 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10209 (tramp-maybe-open-connection): Use it.
10211 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10213 * simple.el (move-end-of-line): Make sure we are at line beginning
10214 before backing up to end of previous line.
10216 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10218 * password-cache.el (password-cache-remove): Fix docstring.
10220 * net/secrets.el: Autoload the widget functions.
10221 (secrets-search-items, secrets-create-item)
10222 (secrets-get-attributes, secrets-expand-item): Attributes will be
10223 stored on the password database without leading ":", as all other
10224 clients do as well.
10225 (secrets-mode): Fix docstring.
10226 (secrets-show-secrets): Provide it as autoloaded command only when
10227 D-Bus support is available. Check existence of Secret Service API.
10229 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10231 * indent.el (indent-region): Deactivate region (bug#6200).
10233 2010-05-19 Glenn Morris <rgm@gnu.org>
10235 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10237 2010-05-19 Kenichi Handa <handa@m17n.org>
10239 * composite.el: Register compose-gstring-for-graphic in
10240 composition-function-table only for combining characters (Mn, Mc, Me).
10242 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10244 * calc/calc-trail.el (calc-trail-isearch-forward)
10245 (calc-trail-isearch-backward): Ensure that the new window
10246 point is set correctly.
10248 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10250 * subr.el (read-quoted-char): Resolve modifiers after key
10251 remapping (bug#6212).
10253 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10255 Add visualization code for secrets.
10256 * net/secrets.el (secrets-mode): New major mode.
10257 (secrets-show-secrets, secrets-show-collections)
10258 (secrets-expand-collection, secrets-expand-item)
10259 (secrets-tree-widget-after-toggle-function)
10260 (secrets-tree-widget-show-password): New defuns.
10262 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10265 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10266 handled in smie-next-sexp.
10267 (smie-indent-calculate): Provide a starting indentation (so the
10268 recursion is well-founded ;-).
10270 Fix handling of non-associative equal levels.
10271 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10272 when it's not needed.
10273 (smie-op-left, smie-op-right): New functions.
10274 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10275 Better handle equal levels to distinguish the associative case from
10276 the "multi-keyword construct" case.
10277 (smie-backward-sexp, smie-forward-sexp): Use it.
10279 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10281 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10283 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10284 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10286 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10288 Provide a simple generic indentation engine and use it for Prolog.
10289 * emacs-lisp/smie.el: New file.
10290 * progmodes/prolog.el (prolog-smie-op-levels)
10291 (prolog-smie-indent-rules): New var.
10292 (prolog-mode-variables): Use them to configure SMIE.
10293 (prolog-indent-line, prolog-indent-level): Remove.
10295 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10297 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10298 order before computing the averages.
10300 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10302 * calc/calc-vec.el (calc-histogram):
10303 (calcFunc-histogram): Allow vectors as inputs.
10304 (math-vector-avg): New function.
10306 * calc/calc-ext.el (math-group-float): Have the number of digits
10307 being grouped depend on the radix (Bug#6189).
10309 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10311 * version.el (emacs-copyright, emacs-version): Don't define here,
10312 now that emacs.c defines it.
10314 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10316 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10317 "Describe Language Environment" menu item.
10319 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10321 Bidi-sensitive movement with arrow keys.
10322 * subr.el (right-arrow-command, left-arrow-command): New functions.
10324 * bindings.el (global-map): Bind them to right and left arrow keys.
10326 Don't override standard definition of convert-standard-filename.
10327 * files.el (convert-standard-filename):
10328 Call w32-convert-standard-filename and dos-convert-standard-filename on
10329 the corresponding systems.
10331 * w32-fns.el (w32-convert-standard-filename): Rename from
10332 convert-standard-filename. Doc fix.
10334 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10335 (convert-standard-filename): Don't defalias.
10336 (register-name-alist, make-register, register-value)
10337 (set-register-value, intdos): Obsolete aliases for the
10338 corresponding dos-* functions and variables.
10339 (dos-intdos): Add a doc string.
10341 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10343 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10344 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10345 (math-compose-tex-func):
10346 * calc/calccomp.el (math-compose-expr):
10347 * calc/calc-ext.el (math-format-flat-expr-fancy):
10348 * calc/calc-store.el (calc-read-var-name):
10349 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10351 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10352 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10353 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10354 (math-standard-units): Add units.
10356 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10358 * progmodes/asm-mode.el (asm-mode):
10359 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10361 * pcomplete.el (pcomplete-completions-at-point): New function,
10362 extracted from pcomplete-std-complete.
10363 (pcomplete-std-complete): Use it.
10365 2010-05-15 Glenn Morris <rgm@gnu.org>
10367 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10368 Remove references to CVS, RCS and Old directories.
10370 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10372 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10375 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10378 (sh-mode-syntax-table): Give it a default value instead.
10379 (sh-header-marker): Make buffer-local.
10380 (sh-mode): Move make-local-variable to the corresponding setq.
10381 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10382 Use complete-with-action.
10384 * simple.el (prog-mode): New (abstract) major mode.
10385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10386 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10388 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10390 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10391 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10392 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10393 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10394 (sql-escape-newlines-filter, sql-input-sender)
10395 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10397 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10399 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10401 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10402 latex-open-block and C-c / to latex-close-block.
10404 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10405 and C-c C-e to sgml-close-tag.
10407 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10409 * net/tramp.el (with-progress-reporter): Create reporter object
10410 only when the message would be displayed. Handle nested calls.
10411 (tramp-handle-load, tramp-handle-file-local-copy)
10412 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10413 (tramp-maybe-send-script, tramp-find-shell):
10414 Use `with-progress-reporter'.
10415 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10418 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10419 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10420 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10421 Use `with-progress-reporter'.
10423 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10425 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10426 process everytime when spellchecking from the minibuffer (bug#6143).
10428 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10430 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10432 * dos-fns.el: Add "dos-" prefix for namespace control.
10433 (convert-standard-filename): Define as alias for
10434 dos-convert-standard-filename but only if applicable.
10436 2010-05-12 Alan Mackenzie <acm@muc.de>
10438 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10439 Push the mark at the start of these functions when appropriate.
10441 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10443 * minibuffer.el (completion-cycle-threshold): New custom var.
10444 (completion--do-completion): Use it.
10445 (minibuffer-complete): Use cycling if appropriate.
10447 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10449 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10450 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10452 2010-05-11 Juri Linkov <juri@jurta.org>
10454 * scroll-all.el (scroll-all-check-to-scroll):
10455 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10457 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * iimage.el (iimage-mode-map): Move initialization into declaration.
10460 (iimage-mode-buffer): Use with-silent-modifications.
10461 Simplify calling convention. Adjust callers.
10462 (iimage-mode): Don't run hook redundantly.
10464 * minibuffer.el (completion-pcm--pattern->regex):
10465 Fix last change (bug#6160).
10467 2010-05-10 Juri Linkov <juri@jurta.org>
10469 Remove nodes visited during Isearch from the Info history.
10470 * info.el (Info-isearch-initial-history)
10471 (Info-isearch-initial-history-list): New variables.
10472 (Info-isearch-start): Record initial values of
10473 Info-isearch-initial-history and Info-isearch-initial-history-list.
10474 Add Info-isearch-end to isearch-mode-end-hook.
10475 (Info-isearch-end): New function.
10477 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10479 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10480 format string, in order to work around a bug in pdksh.
10481 Reported by Gilles Pion <gpion@lfdj.com>.
10482 (tramp-handle-verify-visited-file-modtime): Do not send a command
10483 when the connection is not established.
10484 (tramp-handle-set-file-times): Simplify the check for utc.
10486 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10488 Fix use of `filter-buffer-substring' (rework previous change).
10489 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10490 (cua-repeat-replace-region):
10491 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10492 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10493 (cua-cut-region-to-global-mark): Use it.
10495 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10497 * progmodes/sql.el: Version 2.1.
10498 (sql-product-alist): Redesign structure of product info.
10499 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10500 (sql-port, sql-port-history): New variables.
10501 (sql-interactive-product): New variable.
10502 (sql-send-terminator): New variable.
10503 (sql-imenu-generic-expression): Add "Types" imenu entry.
10504 (sql-oracle-login-params, sql-sqlite-login-params)
10505 (sql-mysql-login-params, sql-solid-login-params)
10506 (sql-sybase-login-params, sql-informix-login-params)
10507 (sql-ingres-login-params, sql-ms-login-params)
10508 (sql-postgres-login-params, sql-interbase-login-params)
10509 (sql-db2-login-params, sql-linter-login-params)
10510 (sql-oracle-scan-on): New variables.
10511 (sql-mode-map): Add C-c C-i to start interactive mode.
10512 (sql-mode-menu): Update existing menu entries.
10513 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10514 (sql-mode-oracle-font-lock-keywords)
10515 (sql-mode-postgres-font-lock-keywords)
10516 (sql-mode-ms-font-lock-keywords)
10517 (sql-mode-sybase-font-lock-keywords)
10518 (sql-mode-informix-font-lock-keywords)
10519 (sql-mode-interbase-font-lock-keywords)
10520 (sql-mode-ingres-font-lock-keywords)
10521 (sql-mode-solid-font-lock-keywords)
10522 (sql-mode-mysql-font-lock-keywords)
10523 (sql-mode-sqlite-font-lock-keywords)
10524 (sql-mode-db2-font-lock-keywords)
10525 (sql-mode-linter-font-lock-keywords): Update initialization to
10526 reduce run-time complexity.
10527 (sql-add-product, sql-del-product): New functions.
10528 (sql-set-product-feature, sql-get-product-feature): New functions.
10529 (sql-product-font-lock): Update product API.
10530 (sql-add-product-keywords): New function.
10531 (sql-highlight-product): Update product API.
10532 (sql-help-list-products): New function.
10533 (sql-help): Dynamically lists free and non-free products.
10534 (sql-get-login): Correct bug in handling history and added
10536 (sql-copy-column): Copy without properties.
10537 (sqli-input-sender): Apply filters to SQLi input.
10538 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10539 Implement as a filter.
10540 (sql-escape-newlines-filter): Implement as a filter.
10541 (sql-remove-tabs-filter): New function.
10542 (sql-send-magic-terminator): New function.
10543 (sql-send-string): Implement magic terminator.
10544 (sql-send-region): Use `sql-send-string'.
10545 (sql-interactive-mode): Use product API.
10546 (sql-product-interactive): Use product API.
10547 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10548 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10549 (sql-db2, sql-linter): Use `sql-product-interactive'.
10550 (sql-connect): New function.
10551 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10552 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10553 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10554 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10557 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10560 New custom variable.
10561 (completion-pcm--string->pattern): Use it.
10562 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10563 Make it handle any symbol as `any'.
10564 (completion-pcm--merge-completions): Extract common suffix for the new
10565 `prefix' symbol as well.
10566 (completion-substring--all-completions): Use the new `prefix' symbol.
10568 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10570 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10572 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10573 (tramp-compat-funcall): New defmacro.
10574 (tramp-compat-line-beginning-position)
10575 (tramp-compat-line-end-position)
10576 (tramp-compat-temporary-file-directory)
10577 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10578 (tramp-compat-copy-file, tramp-compat-copy-directory)
10579 (tramp-compat-delete-file, tramp-compat-delete-directory)
10580 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10581 * net/tramp.el (top, with-progress-reporter)
10582 (tramp-rfn-eshadow-setup-minibuffer)
10583 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10584 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10585 (tramp-completion-mode-p, tramp-check-for-regexp)
10586 (tramp-open-connection-setup-interactive-shell)
10587 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10588 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10589 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10590 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10591 (tramp-reporter-dump-variable, tramp-load-report-modules)
10592 (tramp-append-tramp-buffers)
10593 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10595 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10597 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10599 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10600 buffer-modtime. Adjust users.
10602 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10604 * international/mule.el (auto-coding-alist): Only purecopy
10605 car of each item, not the whole list (Bug#6083).
10607 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10609 * progmodes/js.el (js-mode): Make paragraph variables local before
10610 calling c-setup-paragraph-variables (Bug#6071).
10612 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10614 * composite.el (compose-region, reference-point-alist): Fix typos
10615 in the doc strings.
10617 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10619 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10620 gnuplot's "set" command.
10622 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10624 * abbrev.el (last-abbrev-text): Doc fix.
10625 (abbrev-prefix-mark): Don't escape parenthesis.
10627 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10629 * composite.el (find-composition): Doc fix.
10631 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10633 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10634 (sql-oracle-program, sql-sqlite-options)
10635 (sql-query-placeholders-and-send): Doc fixes.
10636 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10637 (sql-imenu-generic-expression, sql-buffer)
10638 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10639 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10640 (sql-mode-sybase-font-lock-keywords)
10641 (sql-mode-informix-font-lock-keywords)
10642 (sql-mode-interbase-font-lock-keywords)
10643 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10644 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10645 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10646 (sql-product-feature, sql-highlight-product)
10647 (comint-line-beginning-position, sql-rename-buffer)
10648 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10649 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10650 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10651 Fix typos in docstrings.
10653 2010-05-08 Juri Linkov <juri@jurta.org>
10655 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10656 property instead of `invisible' and `after-string' (bug#5998).
10658 2010-05-08 Juri Linkov <juri@jurta.org>
10660 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10662 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10664 * filecache.el (file-cache-add-directory-list)
10665 (file-cache-add-directory-recursively): Fix typos in docstrings.
10667 2010-05-08 Kenichi Handa <handa@m17n.org>
10669 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10670 (gujarati-composable-pattern): Fix typo.
10672 2010-05-08 Kenichi Handa <handa@m17n.org>
10674 * language/indian.el (oriya-composable-pattern)
10675 (tamil-composable-pattern, malayalam-composable-pattern):
10676 Add two-part vowels to "v" (vowel sign).
10678 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10680 * files.el (copy-directory): Handle symlinks (Bug#5982).
10682 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10684 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10685 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10688 2010-05-08 Glenn Morris <rgm@gnu.org>
10690 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10692 * minibuffer.el (completion-at-point): Doc fix.
10694 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * electric.el (Electric-command-loop): Minor tweak.
10698 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10699 better with dedicated windows.
10701 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10703 * Version 23.2 released.
10705 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10706 Stefan Monnier <monnier@iro.umontreal.ca>
10708 Highlight vendor specific properties.
10709 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10710 (css-proprietary-property): New face.
10711 (css-font-lock-keywords): Use them.
10713 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10715 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10717 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10720 * files.el (auto-mode-alist): Remove redundant entries.
10722 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10723 * simple.el (auto-save-mode): Move from files.el.
10724 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10726 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10728 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10730 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10732 * mail/binhex.el (binhex-decode-region-internal)
10733 * mail/uudecode.el (uudecode-decode-region-internal)
10734 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10735 (dns-read-type, dns-query)
10736 * pgg-parse.el (pgg-parse-armor)
10737 * pgg.el (pgg-verify-region)
10738 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10741 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10743 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10745 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10747 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10748 * emulation/cua-base.el (cua-repeat-replace-region):
10749 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10750 (cua-cut-region-to-global-mark):
10751 Remove text properties with `set-text-properties'.
10753 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10755 * net/tramp.el (top, with-progress-reporter):
10756 Use `symbol-function' inside `funcall'.
10758 * net/tramp-compat.el (tramp-compat-file-attributes)
10759 (tramp-compat-delete-file, tramp-compat-delete-directory):
10760 Handle only `wrong-number-of-arguments' error.
10762 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10763 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10766 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10768 * minibuffer.el (completion--sreverse, completion--common-suffix):
10770 (completion-pcm--merge-completions): Extract common suffix when safe.
10772 * emacs-lisp/easy-mmode.el (define-minor-mode):
10773 Make :variable more flexible.
10774 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10776 2010-05-05 Juri Linkov <juri@jurta.org>
10778 Add `slow' and `history' tags to the desktop data.
10780 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10781 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10782 (Info-finder-find-node): Require `finder.el' to be able
10783 to restore node from the desktop.
10784 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10785 data `Info-history' and `slow' tag in the assoc list.
10786 (Info-restore-desktop-buffer): Don't restore nodes with the
10787 `slow' tag. Restore `Info-history'.
10789 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10791 Add FORCE argument to `delete-file'.
10793 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10794 forcing to delete the temporary file.
10795 (ange-ftp-delete-file): Add FORCE arg.
10796 (ange-ftp-rename-remote-to-remote)
10797 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10798 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10799 Force file deletion.
10801 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10803 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10804 (tramp-handle-make-symbolic-link, tramp-handle-load)
10805 (tramp-do-copy-or-rename-file-via-buffer)
10806 (tramp-do-copy-or-rename-file-directly)
10807 (tramp-do-copy-or-rename-file-out-of-band)
10808 (tramp-handle-process-file, tramp-handle-call-process-region)
10809 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10810 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10811 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10813 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10814 (tramp-fish-handle-make-symbolic-link)
10815 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10817 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10818 Use `tramp-compat-delete-file'.
10820 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10821 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10823 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10824 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10826 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10827 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10828 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10829 Use `tramp-compat-delete-file'.
10831 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10834 * subr.el (add-minor-mode): Use push.
10835 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10836 * emulation/edt.el (edt-select-mode): Simplify.
10838 Use define-minor-mode in more cases.
10839 * term/tvi970.el (tvi970-set-keypad-mode):
10840 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10841 (normal-erase-is-backspace-mode):
10842 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10843 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10844 (get-scroll-bar-mode): New function.
10845 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10847 Use define-minor-mode for less obvious cases.
10848 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10849 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10850 * international/iso-ascii.el (iso-ascii-mode):
10851 * frame.el (auto-raise-mode, auto-lower-mode):
10852 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10854 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10856 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10857 in order to see error messages for failed logins.
10859 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10861 * diff.el (diff-sentinel):
10863 * epg.el (epg--make-temp-file, epg-decrypt-string)
10864 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10866 * jka-compr.el (jka-compr-partial-uncompress)
10867 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10869 * server.el (server-sentinel): Use delete-file's new FORCE arg
10872 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10874 Use define-minor-mode where applicable.
10875 * view.el (view-mode):
10876 * type-break.el (type-break-query-mode)
10877 (type-break-mode-line-message-mode):
10878 * textmodes/reftex.el (reftex-mode):
10879 * term/vt100.el (vt100-wide-mode):
10880 * tar-mode.el (tar-subfile-mode):
10881 * savehist.el (savehist-mode):
10882 * ibuf-ext.el (ibuffer-auto-mode):
10883 * composite.el (auto-composition-mode):
10884 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10885 Use define-minor-mode.
10886 (vhdl-mode): Use static mode-line format.
10887 (vhdl-mode-line-update): Delete.
10888 (vhdl-create-mode-menu, vhdl-activate-customizations)
10889 (vhdl-hs-minor-mode): Don't bother calling it.
10891 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * simple.el (with-wrapper-hook): Move.
10894 (buffer-substring-filters): Mark obsolete.
10895 (filter-buffer-substring-functions): New variable.
10896 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10898 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10899 Michael Albinus <michael.albinus@gmx.de>
10901 Implement compression for inline methods.
10903 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10904 (tramp-copy-size-limit): Allow also nil.
10905 (tramp-inline-compress-commands): New defconst.
10906 (tramp-find-inline-compress, tramp-get-inline-compress)
10907 (tramp-get-inline-coding): New defuns.
10908 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10909 replaced by `tramp-get-inline-coding'.
10910 (tramp-handle-file-local-copy, tramp-handle-write-region)
10911 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10913 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10915 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10916 Remove unused functions.
10918 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10919 Set find-tag-default-function as a variable rather than a property.
10921 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10922 * progmodes/etags.el (tags-completion-at-point-function):
10923 Remove left over interactive spec. Add autoloading stub.
10924 (complete-tag): Use tags-completion-at-point-function.
10926 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10928 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10930 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10932 * ido.el (ido-init-completion-maps): Remove C-v binding.
10933 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10935 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10937 * minibuffer.el (tags-completion-at-point-function): New function.
10938 (completion-at-point-functions): Use it.
10940 * progmodes/etags.el (complete-tag): Revert last change.
10942 2010-04-29 Alan Mackenzie <acm@muc.de>
10944 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10945 off-by-one error (in end of macro position).
10947 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10950 firefox is absent. Don't autoload.
10951 (browse-url-galeon-program): Don't autoload.
10953 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10955 * bindings.el (complete-symbol): Move into minibuffer.el.
10957 * minibuffer.el (complete-tag): Move from etags.el. If tags
10958 completion cannot be performed, return nil instead of signalling
10960 (completion-at-point): Make it an alias for complete-symbol.
10961 (complete-symbol): Move from bindings.el, and replace with the
10962 body of completion-at-point.
10964 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10966 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10968 * net/tramp.el (tramp-remote-selinux-p): New defun.
10969 (tramp-handle-file-selinux-context)
10970 (tramp-handle-set-file-selinux-context): Use it.
10972 2010-04-28 Sam Steingold <sds@gnu.org>
10974 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10975 `safe-local-variable' if the value is a string or a symbol with
10976 the property `bug-reference-url-format'.
10978 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10980 * progmodes/bug-reference.el (bug-reference-url-format):
10981 Revert 2010-04-27 change due to security risk.
10983 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10985 Make it possible to locally disable a globally enabled mode.
10986 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10987 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10988 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10989 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10990 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10991 that subsequent hooks get a chance to disable it.
10993 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10996 Avoid re-enabling a minor mode after the user turned the minor mode
10997 off if MODE-enable-in-buffers is run twice (typically once from
10998 fundamental-mode's after-change-major-mode-hook and a second time from
10999 run-mode-hook's own after-change-major-mode-hook).
11001 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11003 2010-04-27 Sam Steingold <sds@gnu.org>
11005 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11006 `safe-local-variable' if the value is a string or a function, as
11007 documented and implemented on 2010-04-02.
11009 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11011 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11012 when method is 'kill.
11014 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11016 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11017 condition in default directory check.
11018 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11019 Kill ispell process when killing its associated buffer.
11021 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11023 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11024 but we aren't using it.
11026 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11028 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11029 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11031 2010-04-24 Glenn Morris <rgm@gnu.org>
11033 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11034 Ignore VCS-ignore files, and deleted nextstep preferences files.
11035 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11036 (authors-ambiguous-files): New list.
11037 (authors-valid-file-names): Add some deleted files.
11038 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11039 (authors-disambiguate-file-name): New function. (Bug#5501)
11040 (authors-canonical-file-name): Doc fix.
11041 Don't warn about obsolete files.
11042 (authors-canonical-file-name, authors-scan-el):
11043 Use authors-disambiguate-file-name.
11045 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11046 Add autoload cookies.
11047 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11048 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11049 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11050 They have definitions / compiler macros in cl.el.
11051 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11052 Replace manual autoloads with generated ones.
11053 (htmlfontify-unload-rgb-file): Remove autoload.
11054 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11056 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11058 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11059 (byte-compile-setq-default): Optimize for the
11060 single-var case and don't call byte-compile-form in this case to avoid
11061 inf-loop with byte-compile-set-default.
11063 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11065 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11067 Implement SELINUX backends.
11069 * net/tramp.el (tramp-file-name-handler-alist):
11070 Add `file-selinux-context' and `set-file-selinux-context'.
11071 (tramp-handle-file-selinux-context)
11072 (tramp-handle-set-file-selinux-context): New defuns.
11073 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11074 Handle PRESERVE-SELINUX-CONTEXT.
11076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11077 Add `file-selinux-context' and `set-file-selinux-context'.
11078 (tramp-gvfs-handle-file-selinux-context)
11079 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11080 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11082 * net/ange-ftp.el (ange-ftp-copy-file):
11083 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11084 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11085 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11086 Add PRESERVE-SELINUX-CONTEXT.
11088 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11090 Synchronize with Tramp repository.
11092 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11093 (tramp-action-process-alive, tramp-action-out-of-band)
11094 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11095 (tramp-exists-file-name-handler): Fix docstring.
11096 (with-progress-reporter): New defmacro.
11097 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11098 (tramp-maybe-open-connection): Use it.
11100 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11102 Detect ssh 'ControlMaster' argument automatically in some cases.
11104 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11105 (tramp-default-method): Use it.
11107 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11109 * net/tramp.el (tramp-handle-copy-file): Add new optional
11110 parameter `preserve-selinux-context'.
11111 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11113 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11115 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11116 Ensure, that non remote files are still checked. Oops.
11118 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11122 * icomplete.el (icomplete-completions): Use `non-essential'.
11124 * net/tramp.el (tramp-connectable-p): New defun.
11125 (tramp-handle-expand-file-name)
11126 (tramp-completion-handle-file-name-all-completions)
11127 (tramp-completion-handle-file-name-completion): Use it.
11129 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11133 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11135 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11137 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11139 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11142 * info.el (info-tool-bar-map): Add labels.
11144 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11146 * cus-edit.el (custom-commands): Add labels for tool bar.
11147 (custom-buffer-create-internal, Custom-mode): Adjust for
11148 labels in custom-commands.
11150 * dynamic-setting.el: Renamed from font-setting.el.
11152 2010-04-21 John Wiegley <jwiegley@gmail.com>
11154 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11155 toggles the use of virtual buffers.
11156 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11157 (ido-toggle-virtual-buffers): New function.
11159 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11161 Use `define-derived-mode'; fix window selection; doc fixes.
11162 * play/tetris.el (tetris, tetris-update-speed-function)
11163 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11164 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11165 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11166 (tetris-pause-game): Fix typos in docstrings.
11167 (tetris-mode-map, tetris-null-map):
11168 Move initialization into declaration.
11169 (tetris-mode): Define with `define-derived-mode';
11170 set show-trailing-whitespace to nil.
11171 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11173 2010-04-21 Karel Klíč <kklic@redhat.com>
11175 * files.el (backup-buffer): Handle SELinux context, and return it
11176 if a backup was made by renaming.
11177 (backup-buffer-copy): Set SELinux context to the target file.
11178 (basic-save-buffer): Set SELinux context of the newly written file.
11179 (basic-save-buffer-1): Now it also returns any SELinux context.
11180 (basic-save-buffer-2): Set SELinux context of the newly created file,
11182 * net/tramp.el (tramp-file-name-for-operation):
11183 Add file-selinux-context.
11185 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11187 Make the log-edit comments use RFC822 format throughout.
11189 * vc.el (vc-checkin, vc-modify-change-comment):
11190 Adjust to new vc-start/finish-logentry.
11191 (vc-find-conflicted-file): New command.
11192 (vc-transfer-file): Adjust to new vc-checkin.
11193 (vc-next-action): Improve scoping.
11195 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11196 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11198 * vc-git.el (vc-git-log-edit-mode): Remove.
11199 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11200 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11202 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11203 (vc-start-logentry): Remove argument `extra'.
11204 (vc-finish-logentry): Remove extra args.
11206 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11207 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11208 (vc-bzr-conflicted-files): New function.
11210 * log-edit.el (log-edit-extra-flags)
11211 (log-edit-before-checkin-process): Remove.
11212 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11213 (log-edit-headers-alist): New var.
11214 (log-edit-header-contents-regexp): New const.
11215 (log-edit-match-to-eoh): New function.
11216 (log-edit-font-lock-keywords): Use them.
11217 (log-edit): Insert a "Summary:" header as default.
11218 (log-edit-mode): Mark font-lock rules as case-insensitive.
11219 (log-edit-done): Cleanup headers.
11220 (log-view-process-buffer): Remove.
11221 (log-edit-extract-headers): New function to replace it.
11223 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11225 * subr.el (default-direction-reversed): Remove obsolescence info.
11227 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11232 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11233 I.e. include text after point in the completion region.
11234 Also, return nil when we're not after/in a symbol.
11236 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11237 default enable-multibyte-characters.
11239 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * international/mule.el: Help the user choose a valid coding-system.
11242 (read-buffer-file-coding-system): New function.
11243 (set-buffer-file-coding-system): Use it. Prompt the user if the
11244 coding-system cannot encode all the chars.
11246 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11247 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11248 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11249 Don't use *vc-bzr-shelve*.
11251 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11253 Fix the version number for added files.
11254 * vc-hg.el (vc-hg-working-revision): Check if the file is
11255 registered after hg parent fails (Bug#5961).
11257 2010-04-19 Glenn Morris <rgm@gnu.org>
11259 * htmlfontify.el (htmlfontify-buffer)
11260 (htmlfontify-copy-and-link-dir): Autoload entry points.
11262 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11264 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11265 name relative to the project root (Bug#5960).
11267 2010-04-19 Glenn Morris <rgm@gnu.org>
11269 * vc-git.el (vc-git-print-log): Doc fix.
11271 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11273 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11275 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11277 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11278 default settings (Bug#5928).
11280 2010-04-19 Glenn Morris <rgm@gnu.org>
11282 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11284 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11286 2010-04-19 Kenichi Handa <handa@m17n.org>
11288 * language/indian.el (malayalam-composable-pattern): Fix previous
11289 change (add U+0D4D "SIGN VIRAMA").
11290 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11291 (tamil-composable-pattern): Fix typo in the regexp.
11292 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11293 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11294 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11296 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11298 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11299 paragraph-separate (Bug#5821).
11301 2010-04-19 Juri Linkov <juri@jurta.org>
11303 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11305 * info.el (Info-find-node-2): Comment out code that skips
11307 (Info-mouse-follow-link): New command.
11308 (Info-link-keymap): New keymap.
11309 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11310 Return a string with links instead of inserting breadcrumbs
11311 to the Info buffer.
11312 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11313 Instead of putting the `invisible' text property over the Info
11314 header, make an overlay over the Info header with the `invisible'
11315 property and `after-string' set to the string returned by
11316 `Info-breadcrumbs'.
11318 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11320 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11321 Reported by monkey@sandpframing.com.
11323 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11326 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11327 available in the "keyseq cache" any more.
11329 * custom.el (defcustom): Add edebug spec.
11331 2010-04-18 Juri Linkov <juri@jurta.org>
11333 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11335 * view.el (view-file, view-buffer): Move test for special mode-class
11336 from view-file to view-buffer.
11338 * tar-mode.el (tar-extract): Turn if's into one cond
11339 like in arc-mode.el.
11341 2010-04-18 Juri Linkov <juri@jurta.org>
11343 Add 7z archive format support (bug#5475).
11345 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11346 (archive-7z-extract): New defcustom.
11347 (archive-find-type): Add magic string for 7z.
11348 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11349 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11350 `buffer' arg of `call-process'.
11351 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11352 call the function `archive-7z-extract' with the variable
11353 `archive-7z-extract' let-bound to `archive-zip-extract'.
11354 (archive-7z-summarize, archive-7z-extract): New functions.
11356 * international/mule.el (auto-coding-alist):
11357 * files.el (auto-mode-alist): Add 7z file extension.
11359 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * loadup.el: Setup hash-cons for pure data.
11363 Fix duplicate entries in cedet's loaddefs.el files.
11364 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11365 Should make most file-local generated-autoload-file unnecessary.
11366 (print-readably): Silence warnings.
11367 (autoload-find-destination): Take load-name as an arg to make sure
11368 it's the same as the one that will be in the file.
11369 (autoload-generate-file-autoloads): Adjust to above changes.
11370 Try to make the dataflow a bit simpler.
11372 * cvs-status.el (cvs-refontify): Remove unused.
11374 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11376 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11378 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11379 twos-complement mode.
11381 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11383 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11384 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11385 (calc-inverse): Add "Option" to message, as appropriate.
11386 (calc-hyperbolic): Add "Option" to message, as appropriate.
11387 (calc-option, calc-is-option): New functions.
11389 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11390 (calc-option-prefix-help): New function.
11392 * calc/calc-misc.el (calc-help): Add "Option" entry.
11394 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11395 (calc-option-flag): New variable.
11396 (calc-do): Set `calc-option-flag to nil.
11397 (calc-set-mode-line): Add "Opt " as appropriate.
11399 2010-04-16 Juri Linkov <juri@jurta.org>
11401 Move scrolling commands from simple.el to window.el
11402 because their primitives are implemented in window.c.
11404 * simple.el (scroll-error-top-bottom)
11405 (scroll-up-command, scroll-down-command, scroll-up-line)
11406 (scroll-down-line, scroll-other-window-down)
11407 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11408 * window.el (scroll-error-top-bottom)
11409 (scroll-up-command, scroll-down-command, scroll-up-line)
11410 (scroll-down-line, scroll-other-window-down)
11411 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11412 Move from simple.el to window.el because their primitives are
11413 implemented in window.c.
11415 2010-04-16 Juri Linkov <juri@jurta.org>
11417 * isearch.el (isearch-lookup-scroll-key): Check both
11418 `isearch-scroll' and `scroll-command' properties.
11419 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11421 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11423 * simple.el (scroll-up-command, scroll-down-command)
11424 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11426 2010-04-15 Juri Linkov <juri@jurta.org>
11428 * simple.el (scroll-up-command, scroll-down-command)
11429 (scroll-up-line, scroll-down-line): Put `scroll-command'
11430 property on the these symbols. Remove them from
11431 `scroll-preserve-screen-position-commands'.
11433 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11434 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11435 Remove it from `scroll-preserve-screen-position-commands'.
11437 * isearch.el (isearch-allow-scroll): Doc fix.
11439 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11441 * net/tramp.el (tramp-error-with-buffer): Don't show the
11442 connection buffer when we are in completion mode.
11443 (tramp-file-name-handler): Catch the error for some operations
11444 when we are in completion mode. This gives the user the chance to
11445 correct the file name in the minibuffer.
11447 2010-04-15 Glenn Morris <rgm@gnu.org>
11449 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11451 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11453 Simplify by using `define-derived-mode'.
11454 * info.el (Info-mode):
11455 * calendar/todo-mode.el (todo-mode):
11456 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11457 (gomoku-mode-map): Move initialization into declaration.
11459 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11462 * ido.el (ido-file-name-all-completions-1):
11463 * minibuffer.el (minibuffer-completion-help):
11464 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11466 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11468 * simple.el (non-essential): New var.
11470 Add a new field `location' to bookmarks for non-file bookmarks.
11471 * bookmark.el (bookmark-location): Use the new field, if present.
11472 (bookmark-insert-location): Undo last change, not needed any more.
11473 * man.el (Man-bookmark-make-record):
11474 * woman.el (woman-bookmark-make-record): Add `location' field.
11476 2010-04-14 Juri Linkov <juri@jurta.org>
11478 * simple.el (scroll-error-top-bottom): New defcustom.
11479 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11481 * emulation/pc-select.el (pc-select-override-scroll-error):
11482 Obsolete in favor of `scroll-error-top-bottom'.
11484 2010-04-14 Juri Linkov <juri@jurta.org>
11486 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11487 `scroll-up-command' and `M-v' to `scroll-down-command'.
11489 * emulation/cua-rect.el (cua--init-rectangles):
11490 * forms.el (forms--change-commands):
11491 * image-mode.el (image-mode-map):
11492 Remap scroll-down-command and scroll-up-command
11493 in addition to scroll-down and scroll-up.
11495 2010-04-14 Juri Linkov <juri@jurta.org>
11497 * mwheel.el (scroll-preserve-screen-position-commands):
11498 Add mwheel-scroll to this list of commands.
11500 * simple.el (scroll-preserve-screen-position-commands):
11501 Add scroll-up-command, scroll-down-command, scroll-up-line,
11502 scroll-down-line to this list of commands.
11504 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * obsolete/complete.el: Move from lisp/complete.el.
11508 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11510 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11511 to the minor mode function now turns the mode ON unconditionally.
11513 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11515 * vc-dir.el (vc-dir-kill-line): New command.
11516 (vc-dir-mode-map): Bind it to C-k.
11518 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11520 * woman.el: Add bookmark declarations to silence the compiler.
11521 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11522 step to compatibility between man and woman bookmarks.
11523 Adjust for Man-default-bookmark-title renaming.
11524 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11526 * man.el: Add bookmark declarations to silence the compiler.
11527 (Man-name-local-regexp): Make it match NAME as well.
11528 (Man-getpage-in-background): Return the buffer.
11529 (Man-notify-when-ready): Use `case'.
11530 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11531 Don't hardcode "NAME". Simplify.
11532 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11533 Rename from Man-bookmark-make-record.
11534 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11535 we have the actual man-args. Use Man-getpage-in-background rather
11536 than `man' since the arg is already processed. Let bookmark.el do the
11537 window handling. Only wait for the relevant process.
11538 Don't forget to autoload.
11540 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11542 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11544 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11546 (woman-mode): Setup bookmark support.
11548 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11549 (man-bookmark-jump): New functions.
11550 (Man-mode): Setup bookmark support.
11552 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11554 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11555 recognize ssh-keygen prompt (Bug#2817).
11557 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11559 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11561 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11563 Synchronize with Tramp repository.
11565 * net/tramp.el (tramp-completion-function-alist)
11566 (tramp-file-name-regexp, tramp-chunksize)
11567 (tramp-local-coding-commands, tramp-remote-coding-commands):
11569 (tramp-remote-process-environment): Use `format' instead of `concat'.
11570 (tramp-handle-directory-files-and-attributes)
11571 (tramp-get-remote-path): Use `copy-tree'.
11572 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11573 compatibility: Use `completion-ignore-case' if
11574 `read-file-name-completion-ignore-case' does not exist.
11575 (tramp-do-copy-or-rename-file-directly): Do not use
11576 `tramp-handle-file-remote-p'.
11577 (tramp-do-copy-or-rename-file-out-of-band):
11578 Use `tramp-compat-delete-directory'.
11579 (tramp-do-copy-or-rename-file-out-of-band)
11580 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11581 Use `format-spec-make'.
11582 (tramp-find-foreign-file-name-handler)
11583 (tramp-advice-make-auto-save-file-name)
11584 (tramp-set-auto-save-file-modes): Remove superfluous check for
11585 `stringp'. This is done inside `tramp-tramp-file-p'.
11586 (tramp-debug-outline-regexp): New defconst.
11587 (tramp-get-debug-buffer): Use it.
11588 (tramp-check-for-regexp): Use (forward-line 1).
11589 (tramp-set-auto-save-file-modes): Adapt version check.
11591 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11592 Wrap call of `featurep' for 2nd argument.
11593 (tramp-compat-make-temp-file): Simplify fallback implementation.
11594 (tramp-compat-copy-tree): Remove function.
11595 (tramp-compat-delete-directory): Provide implementation for older
11598 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11599 Do not use `tramp-fish-handle-file-attributes.
11601 * net/trampver.el: Update release number.
11603 2010-04-10 Glenn Morris <rgm@gnu.org>
11605 * progmodes/compile.el (compilation-save-buffers-predicate):
11606 Add missing :version tag.
11608 2010-04-09 Sam Steingold <sds@gnu.org>
11610 * progmodes/compile.el (compilation-save-buffers-predicate):
11611 Remove the "autoload" cookie.
11613 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11614 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11615 and `bug-reference-prog-mode' can be used in hooks directly.
11617 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11619 Add --author support to git commit.
11620 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11621 (vc-git-log-edit-mode): New minor mode.
11622 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11625 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11627 * vc-hooks.el, vc-git.el: Improve documentation comments.
11629 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11631 Fix some of the problems in defsubst* (bug#5728).
11632 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11633 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11635 2010-04-07 Sam Steingold <sds@gnu.org>
11637 * progmodes/compile.el (compilation-save-buffers-predicate):
11638 New custom variable.
11639 (compile, recompile): Pass it to `save-some-buffers'.
11641 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11643 * wid-edit.el (widget-choose): Move cursor to the second line of
11644 the buffer (Bug#5695).
11646 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11648 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11649 * vc.el (vc-print-log-setup-buttons): New function split out from
11650 vc-print-log-internal.
11651 (vc-log-internal-common): New function, a parametrized version of
11652 vc-print-log-internal.
11653 (vc-print-log-internal): Just call vc-log-internal-common with the
11655 (vc-incoming-outgoing-internal):
11656 (vc-log-incoming, vc-log-outgoing): New functions.
11657 (vc-log-view-type): New permanent local variable.
11659 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11661 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11662 of the dynamic bound vc-short-log.
11663 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11665 * vc-git.el (vc-git-log-outgoing): New function.
11666 (vc-git-log-view-mode): Use vc-log-view-type instead
11667 of the dynamic bound vc-short-log.
11669 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11670 of the dynamic bound vc-short-log. Highlight the tag.
11671 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11672 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11673 (vc-hg-incoming-mode): Remove.
11674 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11676 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11678 Fix default-directory for vc-root-diff.
11679 * vc.el (vc-root-diff): Bind default-directory to the root
11680 directory for the diff command.
11682 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11684 * progmodes/verilog-mode.el (verilog-forward-sexp):
11685 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11686 word keywords, suggested by Steve Pearlmutter.
11687 (verilog-pretty-declarations): Support lineup of declarations in
11689 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11690 fix bug for /* / comments.
11691 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11692 Speed up and simplfy as this is never called with a bound.
11693 (verilog-pretty-declarations): Enhance to line up declarations
11694 inside a parameter list, suggested by Alan Morgan.
11695 (verilog-pretty-expr): Tune assignment regular expression match
11696 string for corner cases; also use markers instead of character
11697 number as indent changes the later.
11699 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11701 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11702 as missing keyword.
11703 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11704 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11705 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11706 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11708 (verilog-keywords):
11709 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11710 1800-2009 keywords, including "global.".
11712 2010-04-06 John Wiegley <jwiegley@gmail.com>
11714 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11715 appearing in buffer list (if a live buffer name matched a recentf
11716 file basename). Should use uniquify to offer a real solution.
11718 2010-04-06 John Wiegley <jwiegley@gmail.com>
11720 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11721 comment to code, and add a :version tag.
11722 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11724 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11726 Enable recentf-mode if using virtual buffers.
11727 * ido.el (recentf-list): Declare for byte-compiler.
11728 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11729 (ido-make-buffer-list): Simplify.
11730 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11732 2010-04-05 Juri Linkov <juri@jurta.org>
11734 Scrolling commands which scroll a line instead of full screen.
11735 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11737 * simple.el (scroll-up-line, scroll-down-line): New commands.
11738 Put property isearch-scroll=t on them.
11740 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11743 2010-04-05 Juri Linkov <juri@jurta.org>
11745 Scrolling commands which do not signal errors at top/bottom.
11746 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11748 * simple.el (scroll-up-command, scroll-down-command): New commands.
11749 Put property isearch-scroll=t on them.
11751 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11752 `scroll-down-command' and [next] from `scroll-up' to
11753 `scroll-up-command'.
11755 * emulation/cua-base.el: Put property CUA=move on
11756 `scroll-up-command' and `scroll-down-command'.
11757 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11758 and `scroll-down-command' to `cua-scroll-down'.
11760 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11762 * help.el (describe-mode): Return nil.
11764 2010-04-04 John Wiegley <jwiegley@gmail.com>
11766 * ido.el (ido-use-virtual-buffers): New variable to indicate
11767 whether "virtual buffer" support is enabled for IDO.
11768 (ido-virtual): Face used to indicate virtual buffers in the list.
11769 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11770 exists, but a virtual buffer of that name does (which would be why
11771 it was in the list), recreate the buffer by reopening the file.
11772 (ido-make-buffer-list): If virtual buffers are being used, call
11773 `ido-add-virtual-buffers-to-list' before the make list hook.
11774 (ido-virtual-buffers): New variable which contains a copy of the
11775 current contents of the `recentf-list', albeit pared down for the
11776 sake of speed, and with proper faces applied.
11777 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11778 create a list of "virtual buffers" to present to the user in
11779 addition to the currently open set. Note that this logic could
11780 get rather slow if that list is too large. With the default
11781 `recentf-max-saved-items' of 200, there is little speed penalty.
11783 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11785 * font-lock.el: Require CL when compiling.
11786 (font-lock-turn-on-thing-lock): Use `case'.
11788 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11790 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11793 2010-04-02 Juri Linkov <juri@jurta.org>
11795 * ehelp.el (electric-help-orig-major-mode):
11796 New buffer-local variable.
11797 (electric-help-mode): Set it to original major-mode. Doc fix.
11798 (with-electric-help): Use `electric-help-orig-major-mode' instead
11799 of (default-value 'major-mode). Doc fix.
11800 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11802 2010-04-02 Sam Steingold <sds@gnu.org>
11804 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11805 `vc-hg-command' with a list of flags.
11807 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11808 Also accept "patch" and "RFE".
11809 (bug-reference-fontify): `bug-reference-url-format' can also be a
11810 function to be able to handle the bug kind.
11811 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11813 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11815 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11816 value to fboundp, it may not be a symbol.
11818 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11820 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11822 2010-03-31 Juri Linkov <juri@jurta.org>
11824 * simple.el (next-line, previous-line): Re-throw a signal
11825 with `signal' instead of using `ding'.
11826 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11828 2010-03-31 Juri Linkov <juri@jurta.org>
11830 * simple.el (keyboard-escape-quit): Raise deselecting the active
11831 region higher than exiting the minibuffer.
11832 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11834 2010-03-31 Juri Linkov <juri@jurta.org>
11836 * image.el (image-animated-p): Use `image-metadata' instead of
11837 `image-extension-data'. Get GIF extenstion data from metadata
11838 property `extension-data'.
11840 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11842 * simple.el (append-to-buffer): Simplify.
11844 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11846 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11847 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11849 2010-03-31 Kenichi Handa <handa@m17n.org>
11851 * language/sinhala.el (composition-function-table): Fix regexp for
11852 the new Unicode specification.
11854 * language/indian.el (devanagari-composable-pattern)
11855 (tamil-composable-pattern, kannada-composable-pattern)
11856 (malayalam-composable-pattern): Adjust for the new Unicode
11858 (bengali-composable-pattern, gurmukhi-composable-pattern)
11859 (gujarati-composable-pattern, oriya-composable-pattern)
11860 (telugu-composable-pattern): New variables to cope with the new
11861 Unicode specification. Use them in composition-function-table.
11863 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11865 Make tmm-menubar work for the Buffers menu again (bug#5726).
11866 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11867 vectors rather than cons cells, as used in menu-bar-update-buffers.
11869 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11871 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11872 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11873 electric punctuation for "{}();,:" (Bug#5586).
11875 * mail/sendmail.el (mail-default-directory): Doc fix.
11877 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11879 * mail/sendmail.el (mail-default-directory): Doc fix.
11881 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11883 * subr.el (version-regexp-alist, version-to-list)
11884 (version-list-<, version-list-=, version-list-<=)
11885 (version-list-not-zero, version<, version<=, version=): Doc fix.
11888 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11890 * vc.el (vc-root-diff): Doc fix.
11892 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11894 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11896 * simple.el (append-to-buffer): Fix last change.
11898 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11900 * simple.el (append-to-buffer): Ensure that point is preserved if
11901 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11904 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * files.el (auto-mode-case-fold): Change default to t.
11908 2010-03-30 Juri Linkov <juri@jurta.org>
11910 * dired-x.el (dired-omit-mode): Doc fix.
11912 2010-03-30 Juri Linkov <juri@jurta.org>
11914 * replace.el (occur-accumulate-lines): Move occur-engine related
11915 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11916 to be located after `occur-engine'.
11918 2010-03-30 Juri Linkov <juri@jurta.org>
11920 Make occur handle multi-line matches cleanly with context.
11921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11923 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11924 (occur-engine): Add local variables `ret', `prev-after-lines',
11925 `prev-lines'. Use more arguments for `occur-context-lines'.
11926 Set first elem of its returned list to `data', and the second elem
11927 to `prev-after-lines'. Don't print the separator line.
11928 In the end, print remaining context after-lines.
11929 (occur-context-lines): Add new arguments `begpt', `endpt',
11930 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11931 after-lines of the previous match with before-lines of the
11932 current match and not overlap them. Return a list with two
11933 values: the output line and the list of context after-lines.
11935 2010-03-30 Juri Linkov <juri@jurta.org>
11937 * replace.el (occur-accumulate-lines): Fix a bug where the first
11938 context line at the beginning of the buffer was missing.
11940 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11942 * files.el: Make bidi-display-reordering safe variable for boolean
11945 2010-03-29 Phil Hagelberg <phil@evri.com>
11946 Chong Yidong <cyd@stupidchicken.com>
11948 * subr.el: Extend progress reporters to perform "spinning".
11949 (progress-reporter-update, progress-reporter-do-update):
11950 Handle non-numeric value arguments.
11951 (progress-reporter--pulse-characters): New var.
11953 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11955 * progmodes/compile.el (compilation-start): Fix regexp detection
11956 of initial cd command (Bug#5771).
11958 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11960 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11962 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11964 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11965 * progmodes/gdb-mi.el: Restore.
11966 * progmodes/gdb-ui.el: Remove.
11967 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11969 2010-03-25 Glenn Morris <rgm@gnu.org>
11971 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11972 all dired buffers, even tramp ones. (Bug#5755)
11974 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11976 Add "union tags" in mpc.el.
11977 * mpc.el: Remove backward compatibility code.
11978 (mpc-browser-tags): Change default.
11979 (mpc--find-memoize-union-tags): New var.
11980 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11981 (mpc-cmd-find): Handle the case where the playlist does not exist.
11983 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11984 (mpc-cmd-add): Use mpc-cmd-flush.
11985 (mpc-tagbrowser-tag-name): New fun.
11986 (mpc-tagbrowser-buf): Use it.
11987 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11989 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11993 Use replace-regexp-in-string.
11994 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11995 (makefile-imake-mode-syntax-table): Move init into defvar.
11996 (makefile-mode): Use define-derived-mode.
11998 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11999 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12000 not be present any more.
12002 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12004 * faces.el (set-face-attribute): Fix typo in docstring.
12005 (face-valid-attribute-values): Reflow docstring.
12007 2010-03-24 Glenn Morris <rgm@gnu.org>
12009 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12011 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12013 * indent.el (indent-for-tab-command): Doc fix.
12015 2010-03-24 Alan Mackenzie <acm@muc.de>
12017 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12018 Fix off-by-one error. Fixes bug #5747.
12020 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12022 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12023 (image-dired-read-comment): Doc fix.
12025 * json.el (json-object-type, json-array-type, json-key-type)
12026 (json-false, json-null, json-read-number):
12027 * minibuffer.el (completion-in-region-functions):
12028 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12029 (cal-tex-cursor-week):
12030 * emacs-lisp/trace.el (trace-function):
12031 * eshell/em-basic.el (eshell/printnl):
12032 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12033 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12034 * obsolete/levents.el (allocate-event, event-key, event-object)
12035 (event-point, event-process, event-timestamp, event-to-character)
12036 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12037 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12038 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12039 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12040 (reftex-highlight-selection): Fix typos in docstrings.
12042 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12044 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12046 2010-03-24 Glenn Morris <rgm@gnu.org>
12048 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12049 2008-02-13 without comment; mark it obsolete.
12050 (rmail-highlight-headers): Use rmail-highlight-face once more.
12052 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12054 * woman.el (woman2-process-escapes): Only consume the newline if
12055 the filler character is on a line by itself (Bug#5729).
12057 2010-03-24 Kenichi Handa <handa@m17n.org>
12059 * language/indian.el (devanagari-composable-pattern): Add more
12062 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12064 * net/trampver.el: Update release number.
12066 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12068 * net/tramp.el (tramp-find-executable):
12069 Use `tramp-get-connection-buffer'. Make the regexp for checking
12070 output of "wc -l" more robust.
12071 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12072 (tramp-open-connection-setup-interactive-shell): Remove workaround
12073 for OpenSolaris bug, it is not needed anymore.
12075 2010-03-24 Glenn Morris <rgm@gnu.org>
12077 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12079 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12081 * files.el (auto-mode-alist): Accept more verilog file patterns.
12083 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12085 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12087 2010-03-24 Glenn Morris <rgm@gnu.org>
12089 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12090 log-edit-before-checkin-process.
12092 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12094 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12096 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12097 (log-view-process-buffer, log-edit-extra-flags): Declare.
12099 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12101 2010-03-23 Sam Steingold <sds@gnu.org>
12103 Fix bug#5620: recalculate all markers on compilation buffer
12104 modifications, not on file modifications.
12105 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12106 variable: the buffer modification time, for buffers not associated with
12108 (compilation-mode): Create it.
12109 (compilation-filter): Update it.
12110 (compilation-next-error-function): Use it instead of
12111 `visited-file-modtime' for timestamp.
12113 2010-03-23 Juri Linkov <juri@jurta.org>
12115 Implement Occur multi-line matches.
12116 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12118 * replace.el (occur): Doc fix.
12119 (occur-engine): Set `begpt' to the beginning of the first line.
12120 Set `endpt' to the end of the last match line. At first, count
12121 line numbers between `origpt' and `begpt'. Split out code from
12122 `out-line' variable to new let-bindings `match-prefix' and
12123 `match-str'. In `out-line' add non-numeric prefix to all
12124 non-first lines of multi-line matches. Finally, count lines
12125 between `begpt' and `endpt' and add to `lines'.
12127 2010-03-23 Juri Linkov <juri@jurta.org>
12129 * replace.el (occur-accumulate-lines, occur-engine):
12130 Use `occur-engine-line' instead of duplicate code.
12131 (occur-engine-line): New function created from duplicate code
12132 in `occur-accumulate-lines' and `occur-engine'.
12134 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12135 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12137 2010-03-23 Juri Linkov <juri@jurta.org>
12139 * finder.el: Remove TODO tasks.
12141 * info.el (Info-finder-find-node): Add node "all"
12142 with all package info. Handle a list of multiple keywords
12143 separated by comma.
12144 (info-finder): In interactive use with a prefix argument,
12145 use `completing-read-multiple' to read a list of keywords
12146 separated by comma.
12148 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12150 Add a new completion style `substring'.
12151 * minibuffer.el (completion-basic--pattern): New function.
12152 (completion-basic-try-completion, completion-basic-all-completions):
12154 (completion-substring--all-completions)
12155 (completion-substring-try-completion)
12156 (completion-substring-all-completions): New functions.
12157 (completion-styles-alist): New style `substring'.
12159 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12161 Get rid of .elc files after removal of the corresponding .el.
12162 * Makefile.in (compile-clean): New target.
12163 (compile-main): Use it.
12165 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12167 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12168 don't do make there. When compiling with separate object dir, there
12169 is no Makefile there.
12171 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12173 Get rid of the ELCFILES abomination, again.
12174 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12175 (all, compile): Don't call compile-last.
12176 (compile-main): Build the "elcfiles" list dynamically.
12177 (compile-targets): New (internal) target.
12179 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12181 * Makefile.in (top_srcdir): Define.
12182 (abs_top_builddir): Define.
12183 (srcdir): Don't append `/..'.
12184 (EMACS): Use ${abs_top_builddir}.
12185 (all, compile, compile-always, compile-last): Don't set emacswd.
12186 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12188 (lisp): Use $(srcdir) instead of @srcdir@.
12190 2010-03-21 Juri Linkov <juri@jurta.org>
12192 Fix message of multi-line occur regexps and multi-buffer header lines.
12193 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12195 * replace.el (occur-1): Don't display regexp if it is longer
12196 than window-width. Use `query-replace-descr' to display regexp.
12197 (occur-engine): Don't display regexp in the buffer header for
12198 multi-buffer occur. Display a separate header line with total
12199 match count and regexp for multi-buffer occur.
12200 Use `query-replace-descr' to display regexp.
12202 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12204 * net/secrets.el: Fix parenthesis.
12205 (secrets-enabled): Fix parenthesis.
12207 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12209 Use more relative file and directory names.
12210 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12211 (setwins, setwins_almost, setwins_for_subdirs):
12212 Don't `cd'; output relative names.
12213 (all, compile, compile-always, compile-last): Set emacswd.
12214 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12215 Just cd to the lisp source dir so we can use relative file names.
12217 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12219 2010-03-20 Glenn Morris <rgm@gnu.org>
12221 * textmodes/rst.el: Use faces for font-lock customization, and make the
12222 old -face variables obsolete.
12223 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12224 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12225 (rst-block-face, rst-external-face, rst-definition-face)
12226 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12227 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12229 (rst-font-lock-keywords-function): Update for above changes.
12231 2010-03-20 Juri Linkov <juri@jurta.org>
12234 * obsolete/s-region.el: Move to obsolete.
12236 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12238 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12240 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12242 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12244 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12246 Add special markup processing for commit logs.
12247 * log-edit.el (log-edit-extra-flags): New variable.
12248 (log-edit): Add new argument MODE. Use that mode when non-nil
12249 instead of the log-view-mode.
12250 (log-view-process-buffer): New function.
12252 * vc.el: Document that the checkin method takes optional
12253 arguments. Document new backend specific method: log-view-mode.
12254 (vc-default-log-edit-mode): New function.
12255 (vc-checkin): Use a backend specific log-view-mode.
12256 Pass extra arguments to the checkin method.
12257 (vc-modify-change-comment): Pass a dummy extra argument.
12259 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12261 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12262 (vc-finish-logentry): Process the log buffer before passing it
12263 down. Pass log-edit-extra-flags.
12265 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12267 (log-edit-extra-flags, log-edit-before-checkin-process):
12270 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12272 (log-edit-extra-flags, log-edit-before-checkin-process):
12274 (vc-hg-log-edit-mode): New derived mode.
12276 * vc-arch.el (vc-arch-checkin):
12277 * vc-cvs.el (vc-cvs-checkin):
12278 * vc-git.el (vc-git-checkin):
12279 * vc-mtn.el (vc-mtn-checkin):
12280 * vc-rcs.el (vc-rcs-checkin):
12281 * vc-sccs.el (vc-sccs-checkin):
12282 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12284 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12286 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12289 2010-03-19 Glenn Morris <rgm@gnu.org>
12291 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12293 2010-03-18 Glenn Morris <rgm@gnu.org>
12295 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12297 * replace.el (query-replace-history): Give it a doc string.
12298 (map-query-replace-regexp): Use query-replace-from-history-variable
12299 and query-replace-to-history-variable.
12301 * mail/hashcash.el (declare-function): Remove duplicate definition.
12303 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12304 Make it an obsolete alias for report-emacs-bug-address.
12305 (message-strip-special-text-properties): Declare.
12306 (report-emacs-bug): Remove test for a pretest bug address.
12307 Combine message-mode-specific code.
12309 * mail/supercite.el: Don't require sendmail.
12310 (mh-in-header-p): Declare rather than using with-no-warnings.
12311 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12312 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12314 * calendar/cal-french.el: Convert to utf-8.
12316 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12319 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12321 * net/secrets.el (secrets-enabled): New variable. Use it instead
12324 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12326 * net/secrets.el (top): Register the D-Bus signals only when the
12327 service "org.freedesktop.secrets" can be pinged.
12328 Provide subfeature `enabled'.
12330 2010-03-14 Juri Linkov <juri@jurta.org>
12332 Add finder unknown keywords.
12334 * finder.el (finder-unknown-keywords): New function.
12336 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12337 to create a Finder node with unknown keywords.
12339 2010-03-14 Juri Linkov <juri@jurta.org>
12341 * finder.el (finder-compile-keywords): Replace `princ' with
12342 `prin1' on a list of symbols interned from keyword strings.
12344 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12345 a comma, then split keywords using a comma and optional whitespace.
12346 Otherwise, split by whitespace.
12354 * progmodes/mixal-mode.el: Fix keywords.
12356 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12358 * Makefile.in (ELCFILES): Add net/secrets.elc.
12360 * net/secrets.el: New file.
12362 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12364 * facemenu.el (list-colors-display, list-colors-print): New arg
12365 callback. Use it to allow selecting colors.
12367 * wid-edit.el (widget-image-insert): Insert image prop even if the
12368 current display is non-graphic.
12369 (widget-field-value-set): New fun.
12370 (editable-field): Use it.
12371 (widget-field-value-get): Clean up unused var.
12372 (widget-color-value-create, widget-color--choose-action):
12373 New funs. Allow using list-colors-display to choose color.
12375 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12377 * cus-edit.el: Resort topmost custom groups.
12378 (custom-buffer-sort-alphabetically): Default to t.
12379 (customize-apropos): Use apropos-parse-pattern.
12380 (custom-search-field): New var.
12381 (custom-buffer-create-internal): Add custom-apropos search field.
12382 (custom-add-parent-links): Don't display parent doc.
12383 (custom-group-value-create): Don't sort top-level custom group.
12384 (custom-magic-value-create): Show visibility button before option name.
12386 (custom-variable-state): New fun, from custom-variable-state-set.
12387 (custom-variable-state-set): Use it.
12388 (custom-group-value-create): Hide options with standard values
12389 using the :hidden-states property. Use progress reporter.
12391 (custom-show): Simplify.
12392 (custom-visibility): Disable images by default.
12393 (custom-variable): New property :hidden-states.
12394 (custom-variable-value-create): Enable images for
12395 custom-visibility widgets. Use :hidden-states property to
12396 determine initial visibility.
12398 * wid-edit.el (widget-image-find): Give images center ascent.
12399 (visibility): Add :on-image and :off-image properties.
12400 (widget-visibility-value-create): Use them.
12402 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12404 * cus-edit.el (processes): Remove from development group.
12405 (oop, hypermedia): Delete group.
12406 (comm): Promote to top-level group.
12408 * net/browse-url.el (browse-url):
12409 * net/xesam.el (xesam):
12410 * net/tramp.el (tramp):
12411 * net/goto-addr.el (goto-address):
12412 * net/ange-ftp.el (ange-ftp): Put in comm group.
12414 * view.el (view): Remove from editing group.
12416 * uniquify.el (uniquify): Put in files group.
12418 * net/browse-url.el (browse-url):
12419 * ps-print.el (postscript): Put in external group.
12421 * cus-edit.el (outlines):
12422 * textmodes/text-mode.el (text-mode-hook):
12423 * textmodes/table.el (table):
12424 * textmodes/picture.el (picture):
12425 * outline.el (outlines): Put in wp group.
12427 * nxml/nxml-mode.el (nxml): Remove from wp group.
12429 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12431 * mail/metamail.el (metamail): Remove from hypermedia group.
12433 * cus-edit.el (abbrev):
12434 * whitespace.el (whitespace):
12435 * vcursor.el (vcursor):
12436 * reveal.el (reveal):
12437 * hl-line.el (hl-line): Put in convenience group.
12439 * epg-config.el (epg): Put in data group.
12441 * emulation/pc-select.el (pc-select): Put in emulations group.
12443 * calculator.el (calculator): Put in applications group.
12445 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12447 Add .dir-locals.el support for file-less buffers.
12448 * files.el (hack-local-variables): Split out code to apply local
12449 variable settings ...
12450 (hack-local-variables-apply): ... here. New function.
12451 (hack-dir-local-variables): Use the default directory for when the
12452 buffer does not have an associated file.
12453 (hack-dir-local-variables-non-file-buffer): New function.
12454 * diff-mode.el (diff-mode):
12455 * vc-annotate.el (vc-annotate-mode):
12456 * vc-dir.el (vc-dir-mode):
12457 * log-edit.el (log-edit-mode):
12458 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12460 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12462 Add support for shelving snapshots and for showing shelves.
12463 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12464 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12466 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12467 (vc-bzr-extra-menu-map): Map them.
12469 2010-03-11 Glenn Morris <rgm@gnu.org>
12471 * cus-edit.el (customize-changed-options-previous-release):
12474 * image.el (image-animate-max-time): Fix :version tag.
12476 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12480 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12482 * vc-git.el (vc-git-revision-table): Include remote branches.
12484 2010-03-10 Kim F. Storm <storm@cua.dk>
12486 Animated image API.
12487 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12489 * image.el (image-animate-max-time): New defcustom.
12490 (image-animated-types): New defconst.
12491 (create-animated-image, image-animate-timer)
12492 (image-animate-start, image-animate-stop, image-animate-timeout)
12493 (image-animated-p): New functions.
12495 * image-mode.el (image-toggle-display-image):
12496 Replace `create-image' with `create-animated-image'.
12498 2010-03-09 Miles Bader <miles@gnu.org>
12500 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12501 instead of "format:"; this ensures that the output is
12502 newline-terminated.
12504 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12506 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12507 that all errors are caught, and that the return value is always a
12510 2010-03-08 Kenichi Handa <handa@m17n.org>
12512 * language/misc-lang.el (windows-1256): New coding system.
12513 (cp1256): New alias of windows-1256 (bug#5690).
12515 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12517 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12518 call to rfc822-bad-address. (Bug#5692)
12520 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12522 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12523 Use vc-git-root as default directory for revision path (Bug#5657).
12525 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12527 * calculator.el (calculator): Don't bind split-window-keep-point
12530 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * vc-git.el: Re-flow to fit into 80 columns.
12533 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12534 Remove spurious `quote' element in each case alternative.
12535 (vc-git-show-log-entry): Use prog1.
12536 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12538 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12542 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12544 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12545 definition, not the name (Bug#5481).
12547 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12549 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12550 argument with a local variable. (Bug#5670)
12552 2010-03-02 Juri Linkov <juri@jurta.org>
12554 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12556 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12558 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12559 error when FILENAME and NEWNAME are existing remote directories.
12561 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12562 parameter DIR-FLAG.
12564 2010-03-02 Glenn Morris <rgm@gnu.org>
12566 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12567 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12569 2010-03-01 Kenichi Handa <handa@m17n.org>
12571 * language/burmese.el (burmese-composable-pattern): Rename from
12572 myanmar-composable-pattern.
12574 * international/characters.el (script-list):
12575 * international/fontset.el (script-representative-chars):
12576 Change myanmar to burmese.
12577 (otf-script-alist): Likewise.
12578 (setup-default-fontset): Likewise. Re-fix :otf spec.
12580 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12582 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12584 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12586 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12588 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12590 * net/tramp.el (tramp-handle-write-region): START can be a string.
12591 Take care in the checks. Reported by Dan Davison
12592 <davison@stats.ox.ac.uk>.
12594 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12596 * net/dbus.el (dbus-introspect, dbus-get-property)
12597 (dbus-set-property, dbus-get-all-properties):
12598 Use `dbus-call-method' when noninteractive. (Bug#5645)
12600 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12602 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12603 * emacs-lisp/elint.el (elint-add-required-env):
12604 * calendar/icalendar.el (icalendar--add-diary-entry):
12605 * calc/calcalg2.el (math-tracing-integral):
12606 * files.el (recover-session-finish): Use with-current-buffer
12607 instead of save-excursion.
12609 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12611 Fix in-buffer completion when after-change-functions modify the buffer.
12612 * minibuffer.el (completion--replace): New function.
12613 (completion--do-completion): Use it and use relative movement.
12615 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12617 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12619 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12621 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12622 Allow the characters _<> in the stack entry (Bug#5653).
12624 2010-02-26 Kenichi Handa <handa@m17n.org>
12626 * language/burmese.el: Fix entries in composition-function-table.
12627 (myanmar-composable-pattern): New variable.
12629 * international/fontset.el (setup-default-fontset): Add an entry
12632 * international/characters.el (script-list): Add Myanmar
12635 2010-02-26 Glenn Morris <rgm@gnu.org>
12637 * custom.el (custom-initialize-delay): Doc fix.
12639 * mail/sendmail.el (send-mail-function): Autoload the call
12640 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12642 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12644 * files.el (hack-local-variables-filter): For eval forms, also
12645 check safe-local-variable-p (Bug#5636).
12647 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12649 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12650 setting the modes by `ignore-errors'. It might fail, for example
12651 if the file is not owned by the user but the group.
12652 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12654 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12656 * files.el (directory-listing-before-filename-regexp):
12657 Use stricter matching for iso-style dates, to avoid false matches with
12658 date-like filenames (Bug#5597).
12660 * htmlfontify.el (htmlfontify): Doc fix.
12662 * eshell/eshell.el (eshell): Doc fix.
12664 * startup.el (fancy-about-screen): In mode-line, apply
12665 mode-line-buffer-id face only to the buffer name (Bug#5613).
12667 2010-02-20 Kevin Ryde <user42@zip.com.au>
12669 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12670 In `watcom' anchor regexp to start of line, to avoid slowness
12673 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12675 * subr.el (remove-yank-excluded-properties): Explain in a comment
12676 why `category' property is removed.
12678 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12680 * isearch.el (isearch-update-post-hook, isearch-update):
12681 Revert 2010-02-17 change.
12683 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12685 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12686 (icalendar--convert-weekly-to-ical)
12687 (icalendar--convert-yearly-to-ical)
12688 (icalendar--convert-block-to-ical)
12689 (icalendar--convert-cyclic-to-ical)
12690 (icalendar--convert-anniversary-to-ical): Take care of time
12691 specifications where hour has 1-digit only (Bug#5549).
12693 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12695 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12696 of disassemble output in GDB 7.1.
12698 2010-02-19 Glenn Morris <rgm@gnu.org>
12700 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12701 property. (Bug#5593)
12703 2010-02-18 Sam Steingold <sds@gnu.org>
12705 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12707 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12709 Use abbreviated file names in bookmarks (bug#5591).
12710 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12711 calls to expand-file-name.
12712 (bookmark-relocate): Use abbreviated file names in bookmarks.
12713 (bookmark-load): Use abbreviated file names in messages.
12715 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12717 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12718 expand "." and "..". Reported by Thierry Volpiatto
12719 <thierry.volpiatto@gmail.com>.
12721 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12723 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12724 permissions of the temporary file to "0600". In case the remote
12725 file has no read permissions for the owner, there might be
12726 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12728 22010-02-18 Glenn Morris <rgm@gnu.org>
12730 * emacs-lisp/authors.el (authors-renamed-files-alist):
12731 Add entries for INSTALL.CVS.
12733 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12735 * vc-bzr.el: Fix typo in Known Bugs section.
12737 * isearch.el (isearch-update-post-hook): New hook.
12738 (isearch-update): Use the new hook.
12740 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12742 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12743 Fix errors in copying directories.
12744 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12745 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12746 (tramp-handle-delete-file)
12747 (tramp-handle-dired-recursive-delete-directory)
12748 (tramp-handle-write-region): Flush also the cache for the upper
12751 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12753 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12755 * cus-edit.el (hardware): Doc fix.
12757 * man.el (man): Add to external custom group.
12759 * delim-col.el (columns): Move to wp custom group.
12761 * doc-view.el (doc-view): Add to data custom group.
12763 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12765 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12766 by ispell-parse-output (Bug#5575).
12768 2010-02-16 Kenichi Handa <handa@m17n.org>
12770 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12771 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12772 (skkdic-convert): Use `euc-japan' coding system for writing.
12774 2010-02-16 Glenn Morris <rgm@gnu.org>
12776 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12777 tex-main-file before using it. (Bug#5562)
12779 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12781 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12782 warnings, since it is annoying for the user to see them each time he
12785 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12787 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12788 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12789 instead of PROC for caching "first-password-request". Otherwise,
12790 new processes would not profit from passwords already entered.
12792 * net/tramp-cache.el (tramp-dump-connection-properties):
12793 Don't save "first-password-request" property.
12795 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12797 * outline.el (outline-head-from-level):
12798 * simple.el (with-wrapper-hook):
12799 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12800 (elint-defun, elint-buffer-env, elint-top-form-logged)
12801 (elint-unbound-variable):
12802 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12803 Fix typos in docstrings.
12805 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12807 * files.el (insert-directory): When WILDCARD-REGEXP and
12808 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12809 whole directory. (Bug#5551)
12811 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12812 dired's alignment sanity. (Bug#5516)
12814 2010-02-14 Juri Linkov <juri@jurta.org>
12816 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12817 Remove remaining ^H with their preceding chars. (Bug#5566)
12819 2010-02-13 Glenn Morris <rgm@gnu.org>
12821 * simple.el (transpose-subr): Give it a doc-string.
12823 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12826 2010-02-12 Juri Linkov <juri@jurta.org>
12828 * arc-mode.el (archive-unique-fname): Make directories for nested
12829 archives. (Bug#5540)
12831 2010-02-12 Juri Linkov <juri@jurta.org>
12833 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12835 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12837 * subr.el (copy-overlay): Handle deleted overlays.
12839 * man.el (Man-completion-table): Don't signal an error if we can't run
12840 manual-program (bug#4056).
12842 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12844 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12846 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12848 * info.el (Info-bookmark-jump): Simplify.
12850 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12851 (bookmark-default-handler): Accept new bookmark field `buffer'.
12853 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12855 * iswitchb.el (iswitchb-completions): Revert last change.
12857 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12859 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12860 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12861 This prevents file names like "~/" being listed literally.
12863 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12865 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12866 Remove dead code. (Bug#5546)
12868 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12870 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12871 correctly (Bug#5548).
12873 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12875 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12876 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12878 2010-02-08 Kenichi Handa <handa@m17n.org>
12880 * international/mule-util.el (with-coding-priority): Add autoload
12881 cookie for putting `lisp-indent-function'.
12883 2010-02-07 Glenn Morris <rgm@gnu.org>
12885 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12886 Move F2003 named interfaces from keywords-2 to keywords-1, and
12887 use function-name-face rather than constant-face.
12888 Simplify "abstract interface" regexp.
12890 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12892 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12893 ID-FORMAT. Pass it to `file-attributes'.
12895 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12897 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12899 * faces.el (set-face-attribute): Allow calling
12900 internal-set-lisp-face-attribute with 'unspecified family and
12901 foundry argument (Bug#5536).
12903 2010-02-07 Glenn Morris <rgm@gnu.org>
12905 * progmodes/f90.el (f90-font-lock-keywords-2)
12906 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12907 Handle F2003 named interfaces.
12909 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12911 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12912 beg and end before calling c-get-state-before-change-functions.
12914 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12916 * vc-bzr.el (vc-bzr-dir-extra-headers):
12917 Disable the pending merges header.
12919 2010-02-05 Juri Linkov <juri@jurta.org>
12921 * doc-view.el (doc-view-mode):
12922 * image-mode.el (image-mode): Put property mode-class=special.
12925 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12927 * vc-svn.el (vc-svn-revision-table): New function.
12929 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12931 * net/ange-ftp.el (ange-ftp-insert-directory):
12932 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12933 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12934 Handle also directories. (Bug#5478)
12936 2010-02-05 Glenn Morris <rgm@gnu.org>
12938 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12940 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12942 * startup.el (command-line-1): Convert options beginning with a
12943 single dash as well (Bug#5519).
12945 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12947 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12948 * minibuffer.el (completion-initials-expand): Only check the presence
12949 of delims *within* the boundaries, since otherwise the / delim is
12950 always found for files.
12952 Fix up various corner case problems.
12953 * doc-view.el (doc-view-last-page-number): New function.
12954 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12955 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12956 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12957 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12958 (doc-view-convert-current-doc): Don't create the resolution.el file
12960 (doc-view-pdf/ps->png): Do it here instead.
12961 (doc-view-already-converted-p): Check that resolution.el is present.
12962 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12963 windows that are not yet showing images.
12965 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12967 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12968 `dired-uncache' for every elemnt which is an absolute file name.
12970 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12971 directory, handle its directory component.
12972 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12973 function is called permanently and creates noise, otherwise.
12975 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12976 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12977 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12979 2010-02-04 David Burger <dburger@google.com> (tiny change)
12981 * macros.el (apply-macro-to-region-lines):
12982 Minor simplification. (Bug#5485)
12984 2010-02-04 Glenn Morris <rgm@gnu.org>
12986 * mail/rmail.el (rmail-show-message-1): Handle malformed
12987 quoted-printable text. (Bug#5441)
12989 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12991 * simple.el (visual-line-mode): Capitalize lighter.
12993 2010-02-03 John Wiegley <jwiegley@gmail.com>
12995 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12996 list of files considered for "virtual buffer" completions.
12998 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13000 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13001 also in case of (and (not full) (not wildcard)). This is needed
13002 when dired is called with a list of files, which are not in
13003 `default-directory'. (Bug#5478)
13005 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13007 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13009 2010-02-02 Juri Linkov <juri@jurta.org>
13011 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13012 from unidiff to allow function-line after @@.
13014 2010-02-02 Juri Linkov <juri@jurta.org>
13016 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13017 '(RCS SCCS) with inverted condition.
13019 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13021 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13024 2010-02-01 Juri Linkov <juri@jurta.org>
13026 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13027 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13028 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13029 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13031 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13033 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13034 (doc-view-revert-buffer): New command.
13035 (doc-view-mode-map): Use it.
13037 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13039 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13040 pending merge is detected.
13042 2010-01-31 Juri Linkov <juri@jurta.org>
13044 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13045 beginning of interactive spec like all other grep commands do.
13046 Put "all" in front of "gz". (Bug#5260)
13048 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13050 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13052 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13054 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13055 regexp is incorrect (Bug#5476).
13057 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13059 * net/tramp.el (tramp-handle-insert-directory): Handle also
13060 symlinks, when FILENAME is not in `default-directory'.
13062 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13064 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13065 FILE is not in `default-directory'. (Bug#5478)
13067 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13068 of SWITCHES. Handle the case, FILENAME is not in
13069 `default-directory'. (Bug#5478)
13070 (tramp-register-file-name-handlers): Add safe-magic property.
13072 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13074 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13077 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13079 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13080 (flymake-master-make-header-init): Add other C++ filename masks.
13081 (flymake-find-possible-master-files)
13082 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13084 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13086 Fix some busybox annoyances.
13088 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13089 not responding." string.
13090 (tramp-open-connection-setup-interactive-shell): Dump stty
13091 settings. Enable "neveropen" arg for all `tramp-send-command'
13092 calls. Handle "=" in variable values properly.
13093 (tramp-find-inline-encoding): Raise an error, when no encoding is
13095 (tramp-wait-for-output): Check, whether PROC buffer is available.
13096 Remove spurious " ^H" sequences, sent by busybox.
13097 (tramp-get-ls-command): Suppress coloring, if possible.
13099 2010-01-28 Glenn Morris <rgm@gnu.org>
13101 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13103 * log-edit.el (log-edit-strip-single-file-name): Add missing
13104 :safe, :group, and :version tags.
13106 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13108 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13109 buffers. (Bug#5477)
13111 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13113 * files.el (delete-directory): Handle moving to trash without
13114 first doing recursion (Bug#5436).
13116 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13118 * vc-hooks.el (vc-path): Mark as obsolete.
13120 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13122 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13125 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13127 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13129 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13131 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13133 * vc-bzr.el (vc-bzr-revision-table): New function.
13135 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13137 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13138 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13140 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13142 Remove support for adding --signoff on commit.
13143 Future support will use an incompatible generic mechanism.
13144 * vc-git.el (vc-git-add-signoff): Remove variable.
13145 (vc-git-toggle-signoff): Remove function.
13146 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13148 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13149 Rename from xterm-set-background-mode. Return t if the background mode
13151 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13152 earlier, call it again in case the background mode has changed.
13154 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13156 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13159 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13161 * emacs-lisp/assoc.el (aelement): Doc fix.
13162 (aput, adelete, amake): Use lexical-let (Bug#5450).
13164 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13166 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13167 is the same as subprogram call, not declaration. (Bug#5435).
13169 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13171 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13172 (tramp-smb-maybe-open-connection): Use it.
13174 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13176 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13178 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13181 just because we see "encoding: 8bit".
13182 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13184 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13186 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13188 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13190 * jka-compr.el (jka-compr-load): If load-file is not in
13191 load-history, try its file-truename version. (bug#5447)
13193 2010-01-21 Alan Mackenzie <acm@muc.de>
13195 Fix a situation where deletion of a cpp construct throws an error.
13196 * progmodes/cc-engine.el (c-invalidate-state-cache):
13197 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13198 special cpp construct is still in the buffer.
13199 (c-parse-state): Record the special cpp with markers, not numbers.
13201 2010-01-21 Kenichi Handa <handa@m17n.org>
13203 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13204 process last-command-event, as it is now decoded first (Bug#5380).
13206 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13208 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13210 2010-01-20 Glenn Morris <rgm@gnu.org>
13212 * indent.el (tab-always-indent): Fix custom-type.
13214 2010-01-19 Alan Mackenzie <acm@muc.de>
13216 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13217 buffer throws "args out of range".
13218 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13219 playing the role of delimiter.
13221 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13223 * progmodes/ada-mode.el: Fix bug#5400.
13224 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13225 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13226 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13227 Improve comments in "is" portion. Handle null procedure declaration.
13228 (ada-move-to-end): Improve doc string.
13230 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13232 * ido.el (ido-cur-list): Initialize to nil.
13233 Remove obsolete information from commentary.
13234 (ido-choice-list): Initialize to nil.
13235 (ido-get-bufname): Reject minibuffers.
13236 (ido-make-buffer-list): If "default" is a nonexistent
13237 buffer, ignore it, as per the function's comment.
13238 (ido-kill-buffer-internal): New function.
13239 (ido-kill-buffer-at-head): Use it.
13240 (ido-visit-buffer): Likewise.
13242 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13244 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13246 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13248 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13249 Fix typos in chart titles.
13251 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13252 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13253 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13254 (describe-class, eieio-describe-generic, describe-generic):
13255 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13256 (eieio-speedbar-expand):
13257 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13258 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13259 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13260 (viper-del-backward-char-in-replace, viper-backward-indent)
13261 (viper-brac-function, viper-register-to-point, viper-submit-report):
13262 * net/tramp.el (tramp-remote-coding-commands):
13263 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13264 Fix typos in docstrings.
13266 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13268 * mail/sendmail.el (mail-yank-original): Set the mark if the
13269 specified function for yanking does not do it.
13271 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13273 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13275 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13276 resyncing a directory.
13278 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13280 * progmodes/ada-mode.el: Fix bug#1920.
13281 (ada-ident-re): Delete ., allow multibyte characters.
13282 (ada-goto-label-re): New; matches goto labels.
13283 (ada-block-label-re): New; matches block labels.
13284 (ada-label-re): New; matches both.
13285 (ada-named-block-re): Delete; callers changed to use
13286 `ada-block-label-re' instead.
13287 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13288 Use `ada-block-label-re'.
13289 (ada-indent-on-previous-lines): Improve handling of goto labels.
13290 (ada-get-indent-block-start): Special-case block label.
13291 (ada-get-indent-label): Split into `ada-indent-block-label' and
13292 `ada-indent-goto-label'.
13293 (ada-goto-stmt-start, ada-goto-next-non-ws):
13294 Optionally ignore goto labels.
13295 (ada-goto-next-word): Simplify.
13296 (ada-indent-newline-indent-conditional): Insert newline before
13297 trying to fix indentation; doc fix.
13299 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13301 * calc/calc.el (calc-command-flags): Give it an initial value.
13303 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13305 * files.el (minibuffer-with-setup-hook):
13306 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13307 (artist-key-draw-continously, artist-key-do-continously-continously)
13308 (artist-key-set-point-continously, artist-mouse-draw-continously):
13309 Fix typos in docstrings.
13311 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13313 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13314 Never return t (Bug#3898).
13316 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13318 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13319 can parse the output of the external commands (Bug#5279).
13321 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13323 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13325 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13327 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13329 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13331 * startup.el (command-line): Remove unused --icon-type arg.
13332 Handle --display arg, passing it to command-line-1 (Bug#5392).
13334 2010-01-16 Mario Lang <mlang@delysid.org>
13336 * emacs-lisp/chart.el (chart-translate-namezone):
13337 * textmodes/artist.el (artist-compute-popup-menu-table):
13338 Remove duplicated words in doc-strings.
13340 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13342 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13343 to mairix-search to suppress threading (Bug#5342).
13345 2010-01-15 Kenichi Handa <handa@m17n.org>
13347 * international/mule-cmds.el (canonicalize-coding-system-name):
13348 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13350 2010-01-15 Glenn Morris <rgm@gnu.org>
13352 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13354 * wid-edit.el (widget-keymap): Doc fix.
13356 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13357 former seems to be more widely accepted by various svn versions.
13359 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13361 * find-cmd.el (find-constituents):
13362 * vc-arch.el (vc-arch-root):
13363 * window.el (window-body-height, pop-up-frames):
13364 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13365 * progmodes/ada-stmt.el (ada-if):
13366 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13367 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13368 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13369 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13371 * progmodes/flymake.el (flymake-post-syntax-check):
13372 Fix typo in error message.
13374 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13376 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13377 which is always a string. (Bug#5313)
13379 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13381 * progmodes/ada-xref.el (ada-default-prj-properties):
13382 Simplify previous change.
13384 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13386 * progmodes/ada-xref.el (ada-default-prj-properties):
13387 Default ada_project_path to $ADA_PROJECT_PATH.
13389 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13391 * progmodes/ada-mode.el (ada-create-keymap):
13392 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13394 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13396 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13397 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13398 (ada-get-current-indent, ada-imenu-generic-expression)
13399 (ada-which-function): Check for it.
13401 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13403 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13404 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13406 2010-01-14 Glenn Morris <rgm@gnu.org>
13408 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13410 2010-01-14 Kenichi Handa <handa@m17n.org>
13412 * composite.el (auto-composition-mode): Make it a buffer local
13413 variable (permanent-local).
13414 (auto-composition-function): Set the default value to
13415 auto-compose-chars.
13416 (auto-composition-mode): Make it a simple function, not a minor mode.
13417 (global-auto-composition-mode): Likewise.
13418 (turn-on-auto-composition-if-enabled): Delete it.
13420 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13422 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13424 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13426 * files.el (copy-directory): Compute target for recursive
13427 directories with identical names. (Bug#5343)
13429 2010-01-12 Glenn Morris <rgm@gnu.org>
13431 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13432 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13434 2010-01-11 Sam Steingold <sds@gnu.org>
13436 * imenu.el (imenu-default-create-index-function): Detect infinite
13437 loops caused by imenu-prev-index-position-function.
13439 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13441 * htmlfontify.el (htmlfontify-load-rgb-file)
13442 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13443 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13444 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13445 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13446 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13447 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13448 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13449 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13450 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13451 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13452 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13453 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13454 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13455 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13456 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13457 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13458 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13459 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13460 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13461 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13462 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13463 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13464 backslash-quoting from parentheses, etc.
13466 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13468 * progmodes/js.el: Autoload javascript-mode alias.
13470 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13472 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13473 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13474 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13475 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13476 Fix typos in docstrings.
13477 (ffap-url-regexp): Doc fix.
13478 (ffap-at-mouse): Fix typo in message.
13480 2010-01-11 Glenn Morris <rgm@gnu.org>
13482 * version.el (emacs-copyright): Set copyright year to 2010.
13484 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * format.el (format-annotate-function): Only set
13487 write-region-post-annotation-function after running to-fn so as not to
13488 affect nested write-region calls (bug#5273).
13490 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13492 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13495 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13497 * man.el (Man-goto-section): Signal error if the section is not
13500 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13502 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13503 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13505 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13507 * progmodes/compile.el: Don't treat compile-command as safe if
13508 compilation-read-command might be nil (Bug#4218).
13510 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13512 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13515 2010-01-08 Kenichi Handa <handa@m17n.org>
13517 * international/fontset.el (build-default-fontset-data):
13518 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13520 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13522 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13523 to `create-file-buffer' as it expects, not just a buffer name.
13524 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13525 to help uniquify. (Bug#3224)
13527 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13529 * font-setting.el (font-setting-change-default-font): Use user-spec
13532 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13534 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13536 2010-01-05 Tom Tromey <tromey@redhat.com>
13538 * progmodes/python.el (python-font-lock-keywords):
13539 Handle qualified decorators (Bug#881).
13541 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13543 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13544 in a lightweight checkout.
13546 2010-01-05 Kenichi Handa <handa@m17n.org>
13548 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13550 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13552 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13554 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13556 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13557 checkouts. (Bug#618)
13558 (vc-bzr-log-view-mode): Also highlight the author.
13559 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13560 (vc-bzr-shelve-menu-map):
13561 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13562 (vc-bzr-shelve-apply): Make prompt more explicit.
13564 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13566 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13567 They are valid characters in URL paths (rfc3986), and at least
13568 Firefox does not understand the encoded version (Bug#3166).
13570 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13572 * progmodes/octave-mod.el (octave-end-keywords)
13573 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13574 Add "end" keyword (Bug#3061).
13575 (octave-end-as-array-index-p): New function.
13576 (calculate-octave-indent): Use it.
13578 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13580 * bookmark.el: Consistently put the text property on the bookmark name.
13581 (bookmark-bmenu-marks-width): Bump back to 2, to include
13583 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13584 property on the bookmark name, instead of not putting it at all.
13585 (bookmark-bmenu-list): Fix where we put the text property.
13587 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13589 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13590 for showing buffer modified state (as added in the previous change).
13592 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13594 * bookmark.el: Show modified state of bookmark buffer more accurately.
13595 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13596 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13597 (with-buffer-modified-unmodified): New macro.
13598 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13599 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13600 Use new macro to preserve the buffer modified state.
13602 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13604 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13605 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13606 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13607 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13608 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13609 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13610 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13612 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13614 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13615 Make the lines in the generated doc string shorter. (Bug#4668)
13617 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13619 * net/rcirc.el: Add follow-link binding (Bug#4738).
13621 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13623 * Makefile.in (bzr-update): Rename from cvs-update.
13624 (cvs-update): New target for backward compatibility.
13626 * makefile.w32-in (bzr-update): Rename from cvs-update.
13627 (cvs-update): New target for backward compatibility.
13629 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13631 * bookmark.el: Remove gratuitous gratitude.
13633 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13635 * bookmark.el (bookmark-bmenu-any-marks): New function.
13636 (bookmark-bmenu-save): Clear buffer modification if no marks.
13638 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13640 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13641 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13642 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13643 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13645 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13646 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13647 To: emacs-devel {_AT_} gnu.org
13648 Subject: bookmark.el bug report
13649 Date: Mon, 28 Dec 2009 14:19:16 +0800
13650 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13652 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13654 * bookmark.el: Improvements suggested by Drew Adams:
13655 (bookmark-bmenu-ensure-position): New name for
13656 `bookmark-bmenu-check-position'. Just ensure the position,
13657 don't return any meaningful value.
13658 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13661 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13663 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13664 (bookmark-yank-point, bookmark-bmenu-check-position):
13665 Fix typos in docstrings.
13666 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13667 (bookmark-name-from-full-record, bookmark-get-position)
13668 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13669 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13670 Remove useless quoting of parenthesis, etc. in docstrings.
13672 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13673 (ediff-append-custom-diff): Fix typo in error message.
13674 (ediff-meta-mark-equal-files): Fix typos in messages.
13676 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13678 * net/imap-hash.el (imap-hash-make): Doc fix.
13679 (imap-hash-test): Fix typo in error message; reflow docstring.
13680 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13681 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13682 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13683 Fix typos in docstrings.
13684 (imap-hash-open-connection): Fix typo in error message.
13686 * play/gomoku.el (gomoku): Fix typos in docstring.
13688 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13689 (gdb-jsonify-buffer): Fix typos in docstring.
13690 (gdb-goto-breakpoint): Fix typo in error message.
13691 ("Display Other Windows"): Fix typo in help message.
13692 (gdb-speedbar-expand-node): Fix typo in question.
13694 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13695 (idlwave-html-system-help-location, idlwave-html-help-location)
13696 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13697 (idlwave-help-browser-generic-args, idlwave-help-directory)
13698 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13699 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13700 (idlwave-online-help, idlwave-help-html-link)
13701 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13702 Fix typos in docstrings.
13703 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13705 (idlwave-help-assistant-start): Fix typo in error message.
13707 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13708 (octave-electric-space): Fix typos in docstrings.
13710 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13712 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13714 2010-01-01 Juri Linkov <juri@jurta.org>
13716 * comint.el (comint-input-ring-size): Make it a defcustom and
13717 increase the default to 500 (Bug#5148).
13719 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13721 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13722 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13723 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13725 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13727 Show working revision correctly for mercurial.
13728 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13729 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13731 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13733 Declare some functions for the byte-compiler.
13734 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13735 (speedbar-timer-fn, speedbar-change-expand-button-char)
13736 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13738 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13740 This changeset reverts GDB Graphical Interface to use annotations.
13741 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13743 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13745 Make vc-dir work on subdirectories of the bzr root.
13746 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13747 Return file names relative to it.
13748 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13749 relative directory to vc-bzr-after-dir-status.
13751 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13753 * font-lock.el (font-lock-refresh-defaults): New function, which
13754 can be used to let font-lock react to external changes in
13755 variables like font-lock-defaults and keywords.
13756 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13758 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13760 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13762 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13764 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13766 Supersede color.diff settings in git log (bug#5211).
13768 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13769 escape chars in its output when the user has color.diff set to `always'.
13770 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13772 2009-12-26 Kevin Ryde <user42@zip.com.au>
13774 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13775 node. Keep previous "Index" name to work with past coreutils too.
13777 * man.el (man): Revise docstring a bit to show -a and -l as
13778 examples. Add -k description since support for it has otherwise
13779 been a secret. (Further to bug#3717.)
13780 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13781 "no matches" rather than "Can't find manpage", as the latter reads
13782 like -k was interpreted as a page name, which is not so. (Bug#5431)
13784 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13786 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13787 switches. Check also for //SUBDIRED// line.
13789 2009-12-25 Kenichi Handa <handa@m17n.org>
13791 * language/indian.el (devanagari-composable-pattern): Fix to
13792 handle ZWNJ and ZWJ. Use it in composition-function-table for
13794 (malayalam-composable-pattern): Fix previous change.
13796 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13798 * ps-print.el (ps-face-attributes): It was not returning the
13799 attribute face for faces specified as string. Reported by harven
13800 <harven@free.fr>. (Bug#5254)
13801 (ps-print-version): New version 7.3.5.
13803 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13805 * calendar/icalendar.el (icalendar--convert-tz-offset):
13806 Fix timezone names.
13807 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13808 (icalendar--add-diary-entry): Remove the trailing blank that
13809 diary-make-entry inserts.
13811 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13813 Make `file-expand-wildcards' work for remote files.
13815 * files.el (file-expand-wildcards): In case of remote files, check
13816 only local file name part for wildcards. Provide feature 'files
13817 and subfeature 'remote-wildcards. (Bug#5198)
13819 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13820 if there is already an established connection.
13821 (tramp-advice-file-expand-wildcards): Remove it.
13823 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13824 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13825 Activate advice for older GNU Emacs versions. (Bug#5237)
13827 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13829 Some doc fixes (more needed).
13831 * find-cmd.el (find-constituents): Reflow docstring.
13832 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13833 (find-generic): Doc fix.
13835 2009-12-17 Juri Linkov <juri@jurta.org>
13837 Fix regression from 23.1 to allow multiple modes in Local Variables.
13839 * files.el (hack-local-variables-filter): While ignoring duplicates,
13840 don't take `mode' into account.
13841 (hack-local-variables-filter, hack-dir-local-variables):
13842 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13844 2009-12-17 Juri Linkov <juri@jurta.org>
13846 Make `dired-diff' safer. (Bug#5225)
13848 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13849 `current' or when `file' is a directory of the `current' file.
13851 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13853 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13854 unconditionally preloaded files.
13856 2009-12-16 Juri Linkov <juri@jurta.org>
13858 Revert to old 23.1 logic of using the file at the mark as default.
13859 * dired-aux.el (dired-diff): Use the file at the mark as default
13860 if it's not the same as the current file, and the target dir is
13861 the current dir or the mark is active. Add the current file
13862 as the arg of `dired-dwim-target-defaults'. Use the default file
13863 in the prompt. (Bug#5225)
13865 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13867 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13868 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13869 (tramp-check-for-regexp): Check also, when an echoing shell stops
13870 to echo sent commands.
13872 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13874 * Makefile.in: Revert last change (Bug#5191).
13876 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13878 * vc-hg.el (vc-hg-print-log): Fix argument order.
13879 (vc-hg-working-revision): Make sure the command is executed in a
13880 known environment so that we can parse the output. (Bug#4417)
13882 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13884 * progmodes/python.el (python-symbol-completions): Remove text
13885 properties from symbol string before calling python-send-receive.
13887 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13889 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13890 when there are values for both file and line. (Bug#5060)
13892 2009-12-14 Juri Linkov <juri@jurta.org>
13894 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13895 whitespace after the file name of the first line of unified format,
13896 because git-diff doesn't output whitespace and file modification time
13897 after the file name.
13899 2009-12-14 David Kastrup <dak@gnu.org>
13901 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13902 check if it already has the `display' property added by
13903 `Info-display-images-node', and not put the `invisible' property
13906 2009-12-13 Glenn Morris <rgm@gnu.org>
13908 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13909 (report-emacs-bug): In message-mode, sort manually before storing
13910 original report text. (Bug#5178)
13911 Remove superfluous save-excursion.
13913 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13915 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13916 when responding to "GetAll" properties.
13918 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13920 * simple.el (compose-mail): Remove mail-setup-with-from from
13921 customization checks.
13923 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13925 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13926 RAR archives created on Unix systems.
13928 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13930 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13931 the varalias that was accidentally removed by the 2009-11-19 change
13934 2009-12-12 Kenichi Handa <handa@m17n.org>
13936 * language/indian.el (indian-compose-regexp): New function.
13937 (malayalam-composable-pattern): Fix the pattern.
13938 (composition-function-table): Set malayalam-composable-pattern for
13939 Malayalam characters.
13941 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13943 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13944 rather than down-mouse-1, based on follow-link conventions.
13946 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13949 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13951 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13952 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13953 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13954 (verilog-leap-to-head, verilog-backward-token):
13955 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13957 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13959 * progmodes/verilog-mode.el (verilog-auto-lineup)
13960 (verilog-nameable-item-re): Cleanup user-visible spelling and
13961 documentation errors. One reported by Gary Delp.
13962 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13963 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13964 package, bug195. Reported by Pierre-David Pfister.
13966 2009-12-11 Glenn Morris <rgm@gnu.org>
13968 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13970 * mail/emacsbug.el: No longer require sendmail.
13971 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13972 (report-emacs-bug-orig-text): Doc fix.
13973 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13974 New local variables, to adapt to different mail-user-agents.
13975 (report-emacs-bug): Fix test for a gnu.org address.
13976 Use overlays for emphasis, since font-lock defeats 'face property.
13977 Pretest bugs also end up at the newsgroup these days.
13978 Stop message-mode stripping text properties.
13979 Set and use the new buffer-local variables.
13980 (report-emacs-bug-hook): Add doc-string.
13981 Remove some unnecessary save-excursions and simplify.
13982 Use the appropriate hook and send-command.
13984 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13985 capitalization of some menu entries.
13987 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13989 * whitespace.el (whitespace-display-char-on):
13990 Ensure `buffer-display-table' is unique when two or more windows are
13991 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13994 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13996 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13997 characters in the Attribute field.
13999 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14001 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14003 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14005 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14007 Disregard autoload-excludes.
14008 (update-directory-autoloads): Obey autoload-excludes here instead.
14009 But don't store its contents in no-autoloads and remove entries that
14010 refer to excludes files.
14012 2009-12-10 Glenn Morris <rgm@gnu.org>
14014 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14015 (expand-mail-aliases): Define for compiler.
14017 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14018 Define for compiler.
14020 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14021 appropriate for the mail-user-agent in use.
14023 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14025 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14027 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14029 Fix short log parsing and fontification.
14030 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14031 Fix fontification for the [merge] label.
14033 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14035 Drop some properties to avoid surprises (bug#5002).
14036 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14037 (hfy-fontify-buffer): Use it.
14039 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14042 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14043 Adjust all callers.
14044 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14045 args compulsory. Adjust callers.
14046 (ffap-gopher-at-point): Remove unused var `name'.
14048 Get rid of the ELCFILES abomination.
14049 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14050 (compile-elcfiles): New phony target.
14051 (compile-main): Compute ELCFILES dynamically.
14052 (compile-clean): New target to remove left-over elc files.
14053 (compile, all): Use it.
14055 2009-12-09 Kenichi Handa <handa@etlken>
14057 * international/mule-diag.el: Require help-mode instead of help-fns.
14059 2009-12-09 Kenichi Handa <handa@m17n.org>
14061 * international/mule-cmds.el (ucs-names): Supply sufficiently
14062 fine ranges instead of pre-calculating accurate ranges.
14063 Iterate with bigger gc-cons-threshold.
14065 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14067 Add support for stashing a snapshot of the current tree.
14068 * vc-git.el (vc-git-stash-snapshot): New function.
14069 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14071 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14073 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14074 instead of `(beginning|end)-of-line'.
14076 2009-12-08 Glenn Morris <rgm@gnu.org>
14078 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14080 * Makefile.in (ELCFILES): Regenerate.
14082 2009-12-07 Juri Linkov <juri@jurta.org>
14084 Don't lazy-highlight the comint output in history Isearch mode.
14086 * comint.el (comint-history-isearch-search): Instead of
14087 `comint-line-beginning-position', use `comint-after-pmark-p'
14088 to check if point if before the process mark, and go to
14089 `process-mark' in this case.
14091 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14093 * textmodes/tex-mode.el (latex-complete)
14094 (latex-indent-or-complete): Remove.
14095 (latex-mode): Set completion-at-point-functions instead.
14097 Provide a standard completion command and hook it into TAB.
14098 * minibuffer.el (completion-at-point-functions): New var.
14099 (completion-at-point): New command.
14100 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14101 * progmodes/python.el (python-mode-map): Use completion-at-point.
14102 (python-completion-at-point): Rename from python-partial-symbol and
14103 adjust for use in completion-at-point-functions.
14104 (python-mode): Setup completion-at-point for Python completion.
14105 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14106 extracted from lisp-complete-symbol.
14107 (lisp-complete-symbol): Use it.
14108 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14109 setup completion-at-point for Elisp completion.
14110 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14111 Use completion-at-point.
14112 * ielm.el (ielm-map): Use completion-at-point.
14113 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14114 * progmodes/sym-comp.el: Move to...
14115 * obsolete/sym-comp.el: Move from progmodes.
14117 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14119 Prevent save-buffer in Rmail buffers from using the coding-system
14120 of the current message, and from clobbering the encoding mnemonics
14121 in the mode line (Bug#4623).
14123 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14125 (rmail-message-encoding): New variable.
14126 (rmail-write-region-annotate): Record the encoding of the current
14127 message in rmail-message-encoding.
14128 (rmail-after-save-hook): New function, restores the encoding of
14129 the current message after the message collection is saved.
14131 2009-12-07 Juri Linkov <juri@jurta.org>
14133 * progmodes/grep.el (grep-read-files): Use `completing-read'
14134 instead of `read-string'. Set its `collection' arg to
14135 `read-file-name-internal'. (Bug#4301)
14137 2009-12-07 Juri Linkov <juri@jurta.org>
14139 Correctly restore original Isearch point. (Bug#4994)
14141 * isearch.el (isearch-mode): Move `isearch-push-state' after
14142 `(run-hooks 'isearch-mode-hook)'.
14143 (isearch-cancel): When `isearch-push-state-function' is defined,
14144 let-bind `isearch-cmds' to the first state (the last element of
14145 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14146 function and restores the original point). Otherwise, move point
14147 to `isearch-opoint'.
14149 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14151 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14152 chars that don't have names, so the table can be built much faster at
14155 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14157 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14158 change. Suggested by David Kastrup.
14160 * simple.el (compose-mail): Check for incompatibilities and warn.
14161 (compose-mail-user-agent-warnings): New option.
14163 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14165 Support showing a single log entry from vc-annotate.
14166 * vc.el (print-log): Add a new argument: START-REVISION.
14167 (vc-print-log-internal): Add a new optional argument and
14168 pass it to the backend.
14169 (vc-print-log, vc-print-root-log): Adjust callers.
14170 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14171 buffer already displays the requested log entry, use it.
14172 Otherwise display only the log entry in question.
14173 * vc-svn.el (vc-svn-print-log):
14174 * vc-mtn.el (vc-mtn-print-log):
14175 * vc-hg.el (vc-hg-state):
14176 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14177 (vc-git-show-log-entry): Return t on success.
14178 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14179 (vc-bzr-show-log-entry): Return t on success.
14180 * vc-rcs.el (vc-rcs-print-log):
14181 * vc-sccs.el (vc-sccs-print-log):
14182 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14184 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14186 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14187 Add menus to the meta mode. (Bug#5043)
14189 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14191 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14194 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14196 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14198 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14199 Berbain <raphael.berbain@gmail.com>.
14201 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14203 (tramp-initial-end-of-output): New defconst.
14204 (tramp-methods, tramp-find-shell)
14205 (tramp-open-connection-setup-interactive-shell)
14206 (tramp-maybe-open-connection): Use it.
14207 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14208 Handle existence of `#' and `$'.
14210 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14211 Use `tramp-initial-end-of-output'.
14213 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14215 Get the background mode from the terminal for xterm, and set
14217 * term/xterm.el (xterm-set-background-mode): New function.
14218 (terminal-init-xterm): Use it in case xterm supports background
14219 color queries. Recompute faces after getting the background
14222 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14224 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14225 number comment back on its own line, for easier parsing.
14227 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14229 Make it work for non-file buffers (bug#5102).
14230 * doc-view.el (doc-view-current-cache-dir):
14231 Use doc-view-buffer-file-name rather than buffer-file-name.
14232 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14234 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14236 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14237 author field is too short.
14239 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14241 * vc-git.el (vc-git-print-log): Handle a limit argument.
14242 Display the short log in graph form and with labels.
14243 (vc-git-log-view-mode): Handle labels.
14245 Make vc-revert change VC state from 'added to 'unregistered.
14246 * vc-git.el (vc-git-revert): Call git reset first.
14248 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14250 * net/newst-backend.el, net/newst-plainview.el:
14251 * net/newst-reader.el, net/newst-ticker.el:
14252 * net/newst-treeview.el, net/newsticker.el:
14253 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14255 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14257 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14259 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14260 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14261 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14262 Update annotation regexp.
14264 * simple.el (beginning-of-visual-line): Constrain to field
14265 boundaries (Bug#5106).
14267 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14269 * xml.el (xml-substitute-numeric-entities):
14270 Move newsticker--decode-numeric-entities in newst-backend.el to
14271 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14272 * net/newst-backend.el (newsticker--parse-generic-feed)
14273 (newsticker--parse-generic-items)
14274 (newsticker--decode-numeric-entities):
14275 Move newsticker--decode-numeric-entities in newst-backend.el to
14276 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14278 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14280 * progmodes/js.el (js--js-not): Add null to the list of values.
14282 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14284 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14286 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14288 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14289 delimiter if it is at the end of the current line.
14290 (bibtex-generate-url-list): Fix docstring.
14292 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14294 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14295 minibuffer's content with itself.
14296 Fold the confirm-after-completion case into the `confirm' case.
14297 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14299 2009-12-06 Kevin Ryde <user42@zip.com.au>
14301 * ffap.el (ffap-rfc-path): Make this a defcustom since
14302 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14304 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14305 manuals, similar to existing setup for help-mode. (Bug#3913.)
14307 2009-12-05 Juri Linkov <juri@jurta.org>
14309 Save and restore dired buffer's point positions too. (Bug#4880)
14311 * dired.el (dired-save-positions): Return in the first element
14312 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14314 (dired-restore-positions): First restore buffer's position.
14315 While restoring window's positions, check if window still displays
14316 the original buffer.
14318 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14320 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14323 * shell.el (shell): Require ansi-color (Bug#5113).
14325 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14327 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14329 2009-12-05 Alan Mackenzie <acm@muc.de>
14331 * progmodes/cc-mode.el (c-before-hack-hook)
14332 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14333 `c-file-style' to work again. This reversion restores the current
14334 software to its state in Emacs 23.1. (Bug#4146)
14336 2009-12-05 Kevin Ryde <user42@zip.com.au>
14338 * textmodes/sgml-mode.el (sgml-lexical-context):
14339 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14341 2009-12-05 Juri Linkov <juri@jurta.org>
14343 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14344 for virtual nodes. (Bug#4147)
14345 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14346 when moving from a virtual node.
14347 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14348 (Info-mode): Add `Info-virtual-index' to the docstring.
14350 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14352 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14353 track of the buffer position of the end of a BibTeX entry as this
14354 position may change during reformatting.
14355 (bibtex-format-entry): Remove whitespace before processing
14356 numerical fields so that we recognize the latter properly.
14357 (bibtex-reformat): Do not use push which changes the global value
14358 of bibtex-entry-format.
14359 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14360 (bibtex-field-re-init): Replace only space characters by regexp
14362 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14363 (bibtex-initialize): Also update bibtex-strings.
14364 (bibtex-kill-field): Preserve white space at end of entry.
14365 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14366 Update bibtex-reference-keys.
14368 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14371 point after a star, if that's the only place where modifications can
14374 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14376 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14379 2009-12-04 Juri Linkov <juri@jurta.org>
14381 * proced.el (proced): Call `(proced-update t)' to update process
14382 information instead of only running proced-post-display-hook.
14383 (proced-send-signal): Add a leading space to the buffer name
14384 " *Marked Processes*" to make this buffer ephemeral.
14386 2009-12-04 Juri Linkov <juri@jurta.org>
14388 * dired.el (dired-auto-revert-buffer): New defcustom.
14389 (dired-internal-noselect): Use it.
14391 2009-12-04 Juri Linkov <juri@jurta.org>
14393 Change roles of modes and functions in image-mode.el (Bug#5062).
14395 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14396 in `auto-mode-alist'.
14397 (image-mode-previous-major-mode): New variable.
14398 (image-minor-mode-map): Rename from `image-mode-text-map'.
14399 (image-mode): Move graceful error-handling code from
14400 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14401 (image-minor-mode): Remove all image-handling code.
14402 Replace `image-mode-text-map' with `image-minor-mode-map'.
14403 Check for `image-type' in mode-line format string.
14404 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14405 (image-mode-as-text): New function with most code from
14406 `image-mode-maybe'.
14407 (image-toggle-display-text): Move code that removes image
14408 properties from `image-toggle-display' to here.
14409 (image-toggle-display-image): New function with code that adds
14410 image properties copied from `image-toggle-display'.
14411 (image-toggle-display): Remove most code with leaving only code
14412 that toggles between `image-mode-as-text' and `image-mode'.
14414 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14416 * net/newst-treeview.el
14417 (newsticker--treeview-list-highlight-start): Restored call to
14418 save-excursion: Selected item was stuck.
14419 (newsticker--treeview-list-select): New.
14420 (newsticker--treeview-item-show-text)
14421 (newsticker--treeview-item-show)
14422 (newsticker--treeview-item-update): Use new
14423 newsticker-treeview-item-mode.
14424 (newsticker-treeview-update): Keep current item.
14425 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14426 (newsticker--treeview-first-feed): Doc change.
14427 (newsticker-treeview-list-menu)
14428 (newsticker-treeview-item-menu): Add menu entries.
14429 (newsticker-treeview-item-mode): New.
14431 * net/newst-backend.el (newsticker-customize): Delete other
14434 2009-12-04 Sam Steingold <sds@gnu.org>
14436 * log-view.el (log-view-mode-map): "q" calls quit-window,
14437 like in all the other non-self-insert buffers.
14439 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14442 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14443 key decoding rather than do it manually via last-input-event +
14445 (term-exec): Use delete-and-extract-region.
14446 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14447 (term-process-pager): Remove unused var `i'.
14448 (term-dynamic-simple-complete): Make obsolete.
14449 (serial-update-config-menu): Remove unused vars `y' and `str'.
14450 (term-update-mode-line): Remove unused var `temp'.
14452 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14454 Limit the number of log entries displayed by default.
14455 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14456 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14457 using a prefix argument.
14459 2009-12-03 Glenn Morris <rgm@gnu.org>
14461 * progmodes/idlwave.el (class): Restore still useful declaration.
14463 2009-12-03 Alan Mackenzie <acm@muc.de>
14465 Enhance `c-parse-state' to run efficiently in "brace deserts".
14467 * progmodes/cc-mode.el (c-basic-common-init):
14468 Call c-state-cache-init.
14469 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14470 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14471 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14473 * progmodes/cc-langs.el (c-before-font-lock-function):
14474 c-extend-and-neutralize-syntax-in-CPP has been renamed
14475 c-neutralize-syntax-in-and-mark-CPP.
14477 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14478 with `category' properties now, not `syntax-table' ones.
14480 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14481 enhanced (but slower) version of c-end-of-macro that won't land
14482 inside a literal or on another awkward character.
14483 (c-state-cache-too-far, c-state-cache-start)
14484 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14485 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14486 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14487 (c-state-min-scan-pos, c-state-brace-pair-desert)
14488 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14489 buffer local variables.
14490 (c-state-literal-at, c-state-lit-beg)
14491 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14492 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14493 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14494 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14495 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14496 (c-renarrow-state-cache)
14497 (c-append-lower-brace-pair-to-state-cache)
14498 (c-state-push-any-brace-pair, c-append-to-state-cache)
14499 (c-remove-stale-state-cache)
14500 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14501 (c-invalidate-state-cache-1, c-parse-state-1)
14502 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14503 (c-parse-state): Enhance and refactor.
14504 (c-debug-parse-state): Amend to deal with all the new variables.
14506 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14507 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14508 modify to use category text properties rather than syntax-table ones.
14509 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14510 to switch off/on the syntactic paren property of C++ template
14511 delimiters using the category property.
14512 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14513 template delims suppressed.
14514 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14515 New constant/macros which apply category properties to the start
14516 and end of preprocessor constructs.
14517 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14518 "comment out" the syntactic value of characters in preprocessor
14520 (c-with-cpps-commented-out)
14521 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14522 with characters in all or all but one preprocessor constructs
14525 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14527 * proced.el (proced-filter-alist): Use regexp-quote.
14529 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14532 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14533 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14534 arguments. Expand `default-directory'.
14536 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14537 the benefit of returning an expanded localname.
14538 (tramp-tramp-file-p): Handle the case NAME is not a string.
14540 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14542 Add support for bzr shelve/unshelve.
14543 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14544 (vc-bzr-extra-menu-map): New variables.
14545 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14546 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14547 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14548 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14549 (vc-bzr-dir-extra-headers): Display shelves.
14551 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14553 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14555 * textmodes/bibtex.el (bibtex-complete-internal):
14556 Use completion-in-region.
14557 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14559 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14561 Support applying stashes. Improve UI.
14562 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14563 (vc-git-stash-apply, vc-git-stash-pop)
14564 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14565 (vc-git-stash-menu): New functions.
14566 (vc-git-stash-menu-map): New variable.
14567 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14569 2009-12-03 Glenn Morris <rgm@gnu.org>
14571 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14572 (vc-print-log-internal): Fix previous change.
14573 (vc-revert): Correct pluralization.
14575 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14577 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14578 it to be an alist any more.
14579 (makefile-complete): Use completion-in-region.
14581 * progmodes/octave-mod.el (octave-complete-symbol):
14582 Use completion-in-region.
14585 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14586 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14587 (idlwave-complete-class): Don't quote lambda.
14588 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14589 (idlwave-mode-map): Move initialization into declaration.
14590 (idlwave-action-and-binding): Use backquotes.
14591 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14593 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14594 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14595 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14596 `parts', and `all-parts'.
14597 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14598 (idlwave-convert-xml-system-routine-info): Remove unused string
14600 (idlwave-display-user-catalog-widget): Use dolist.
14601 (idlwave-scanning-lib): Declare dynamically-scoped var.
14602 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14603 (completion-highlight-first-word-only): Declare to silence bytecomp.
14604 (idlwave-popup-select): Tighten scope of `resp'.
14605 (idlwave-find-struct-tag): Remove unused var `beg'.
14606 (idlwave-after-load-rinfo-hook): Declare.
14607 (idlwave-sintern-class-info): Remove unused var `taglist'.
14608 (idlwave-find-class-definition): Remove unused var `list'.
14609 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14610 (idlwave-what-module-find-class): Remove unused var `classes'.
14612 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14614 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14616 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14618 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14619 buffers visited. Remove redundant current-buffer-saving.
14621 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14623 Use completion-in-buffer and remove uses of dynamic scoping.
14624 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14625 (pascal-buffer-to-use, pascal-flag): Don't declare.
14626 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14627 (pascal-get-completion-decl, pascal-keyword-completion):
14628 Add `pascal-str' argument, save-excursion,
14629 return the found completions, and don't filter with pascal-pred.
14630 (pascal-completion-cache): New var.
14631 (pascal-completion): Don't switch buffer any more (it was never
14632 necessary). Don't save-excursion any more (it's done by the called
14633 subroutines). Use a cache to avoid redundant computations.
14634 Use complete-with-action rather than pascal-completion-response and
14635 let it apply the predicate as well.
14636 (pascal-complete-word): Use completion-in-buffer when
14637 pascal-toggle-completions is nil.
14638 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14640 (pascal-comp-defun): Don't change buffer any more.
14641 Use complete-with-action rather than pascal-completion-response and
14642 let it apply the predicate as well.
14643 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14646 2009-12-02 Kenichi Handa <handa@m17n.org>
14648 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14649 shape for all Indic scripts.
14651 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14653 Use completion-in-buffer.
14654 * wid-edit.el (widget-field-text-end): New function.
14655 (widget-field-value-get): Use it.
14656 (widget-string-complete, widget-file-complete)
14657 (widget-color-complete): Use it and completion-in-region.
14658 (widget-complete): Don't narrow the buffer.
14660 2009-12-02 Glenn Morris <rgm@gnu.org>
14662 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14663 (rmail-select-summary): Use rmail-pop-to-buffer.
14664 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14665 rmail-pop-to-buffer, to prevent horizontal splits.
14667 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14668 save-excursion with save-current-buffer.
14669 Widen before searching. (Bug#5093)
14670 (diary-list-sexp-entries): Remove superfluous save-excursion.
14672 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14674 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14677 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14679 * ido.el (ido-file-internal): Handle filenames at point that do
14680 not have a directory part. (Bug#5049)
14682 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14684 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14685 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14687 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14689 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14690 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14693 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * comint.el (comint-insert-input): Ignore clicks to the right of
14696 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14698 * vc.el (vc-print-log-internal): Don't wait for the process to
14699 terminate before setting up the major mode.
14701 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14704 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14707 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14709 2009-12-01 Glenn Morris <rgm@gnu.org>
14711 * window.el (window--display-buffer-2): Fix previous changes.
14713 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14715 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14717 2009-12-01 Glenn Morris <rgm@gnu.org>
14719 * Makefile.in (ELCFILES): Add mpc.elc.
14721 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14723 * mpc.el: New file.
14725 2009-12-01 Glenn Morris <rgm@gnu.org>
14727 * window.el (window-to-use): Define for compiler.
14729 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14730 consistent with others (no final period).
14732 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14733 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14735 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14737 Make vc-print-log buttons work.
14738 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14740 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14742 * savehist.el (savehist-autosave-interval): Allow setting to nil
14743 through customize. (Bug#5056)
14745 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14747 Fix references to jit-lock properties.
14748 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14749 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14750 (perl-font-lock-special-syntactic-constructs):
14751 Quote jit-lock-defer-multiline property.
14753 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14755 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14757 2009-11-30 Juri Linkov <juri@jurta.org>
14759 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14760 value `buffer' of `multi-isearch-next-buffer-current-function'.
14761 Use `(current-buffer)' when `buffer' is nil.
14762 (multi-isearch-next-buffer-from-list): Don't fallback to
14763 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14765 2009-11-30 Juri Linkov <juri@jurta.org>
14767 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14768 of buffers with `get-buffer' to `multi-isearch-buffers'.
14769 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14770 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14771 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14772 FILES with `expand-file-name' converting relative file names
14773 to absolute. Doc fix. (Bug#4727)
14775 2009-11-30 Juri Linkov <juri@jurta.org>
14777 * misearch.el (multi-isearch-read-buffers)
14778 (multi-isearch-read-matching-buffers): New functions.
14779 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14780 Use them in the `interactive' spec. Doc fix.
14781 (multi-isearch-read-files, multi-isearch-read-matching-files):
14783 (multi-isearch-files, multi-isearch-files-regexp):
14784 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14786 2009-11-30 Juri Linkov <juri@jurta.org>
14788 * doc-view.el (doc-view-continuous):
14789 Rename from `doc-view-continuous-mode'.
14790 (doc-view-menu): Move "Toggle display" to the top.
14791 Add submenu "Continuous" with radio buttons "Off"/"On"
14792 and "Save as Default".
14793 (doc-view-scroll-up-or-next-page)
14794 (doc-view-scroll-down-or-previous-page)
14795 (doc-view-next-line-or-next-page)
14796 (doc-view-previous-line-or-previous-page):
14797 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14799 2009-11-30 Juri Linkov <juri@jurta.org>
14801 * comint.el (comint-mode-map): Rebind `M-r' from
14802 `comint-previous-matching-input' to
14803 `comint-history-isearch-backward-regexp'.
14804 Unbind `M-s' to allow global key binding `M-s'.
14805 Add menu items for `comint-history-isearch-backward' and
14806 `comint-history-isearch-backward-regexp'. (Bug#3746)
14808 2009-11-30 Juri Linkov <juri@jurta.org>
14810 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14811 For def=recenter, replace `recenter' with `recenter-top-bottom'
14812 that is called with `this-command' and `last-command' let-bound
14813 to `recenter-top-bottom'. When the last `def' was not `recenter',
14814 set `recenter-last-op' to nil. (Bug#4981)
14816 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14818 Minor cleanup and simplification.
14819 * filecache.el (file-cache-add-directory)
14820 (file-cache-add-directory-recursively)
14821 (file-cache-add-from-file-cache-buffer)
14822 (file-cache-delete-file-regexp, file-cache-delete-directory)
14823 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14824 (file-cache-temp-minibuffer-message): Delete function.
14825 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14827 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14828 Don't signal an error when bumping into EOB in tr, s, or y.
14830 2009-11-29 Juri Linkov <juri@jurta.org>
14832 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14835 * descr-text.el (describe-char-unidata-list): Use lowercase name
14836 for "Unicode name" like in other tags.
14838 2009-11-29 Juri Linkov <juri@jurta.org>
14840 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14841 New compatibility macro.
14842 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14844 2009-11-29 Juri Linkov <juri@jurta.org>
14846 Add defcustom to define the cycling order of `recenter-top-bottom'.
14849 * window.el (recenter-last-op): Doc fix.
14850 (recenter-positions): New defcustom.
14851 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14852 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14854 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14856 Improve integration of Tramp and ange-ftp in eshell.
14858 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14859 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14860 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14862 * eshell/esh-util.el (top): Require also Tramp when compiling.
14863 (eshell-directory-files-and-attributes): Check for FTP remote
14865 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14866 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14867 (eshell-file-attributes): Handle ".". Return `entry'.
14869 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14870 (ange-ftp-directory-files-and-attributes)
14871 (ange-ftp-real-directory-files-and-attributes): New defuns.
14873 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14874 shell with "exec" when possible. This prevents trailing prompts
14875 in `start-file-process'.
14877 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14879 Try and remove assumptions about point-min==1.
14880 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14881 (rng-compute-mode-line-string): Show the validation percentage in
14882 terms of the narrowed text, not the widened text.
14883 (rng-do-some-validation): Don't catch internal errors when debugging.
14884 (rng-first-error): Simplify.
14885 (rng-after-change-function): Remove work around. AFAIK the bug has
14886 been fixed a while ago.
14888 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14889 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14891 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14893 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14894 `cd' doesn't always do it for us (bug#5067).
14896 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14897 on 2009-10-25 as part of some other change (bug#5067).
14899 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14901 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14903 (byte-compile-warnings): Use byte-compile-warning-types.
14904 (byte-compile-save-excursion): Warn about use of set-buffer right
14905 after save-excursion.
14907 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14908 the excursion as well.
14910 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14912 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14913 providing a Tramp related implementation of "su" and "sudo".
14914 (eshell-unix-initialize): Add "su" and "sudo".
14916 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14918 * net/socks.el (socks-send-command): Convert binary request to
14919 unibyte before sending. This fixes mishandling of some port
14920 numbers such as 129.
14922 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14924 * help.el (describe-bindings-internal): Remove `interactive'.
14926 * man.el (Man-completion-table): Trim a terminating "(".
14927 Remove the space between name page a section.
14928 Add the command's description on the `help-echo' property.
14929 Remove `process-connection-type' binding since it's unused by
14931 Provide completion for the "<section> <name>" format as well.
14932 (Man-default-man-entry): Remove spurious var shadowing the argument.
14934 2009-11-26 Kevin Ryde <user42@zip.com.au>
14936 * log-view.el: Add "Keywords: tools", since its other keywords
14937 aren't in finder-known-keywords, and following vc.el.
14939 * sha1.el (sha1-string-external): default-directory "/" in case
14940 otherwise non-existent. process-connection-type pipe for touch of
14941 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14943 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14945 Misc coding convention cleanups.
14946 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14947 hfy-init-kludge-hooks.
14948 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14949 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14950 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14952 (hfy-slant, hfy-weight): Use tables rather than code.
14953 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14954 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14955 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14956 (hfy-face-to-css): Remove `nconc' with single arg.
14957 (hfy-p-to-face-lennart): Use `or'.
14958 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14959 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14960 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14961 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14962 (hfy-force-fontification): Use run-hooks.
14964 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14966 Various minor fixes.
14967 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14968 Javascript belongs in the header, not the body.
14969 (hfy-javascript): Remove.
14970 (hfy-fontify-buffer): Don't insert it any more.
14971 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14972 Fix bug in invis handling when there were no invis props in a chunk.
14974 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14976 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14978 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14980 * finder.el (finder-mode-map): Add a menu.
14982 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14984 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14985 "unsigned" structs.
14987 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14988 fork" statement better.
14990 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14992 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14993 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14994 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14995 Reported by Clay Douglass.
14997 (verilog-auto-inst, verilog-auto-star-safe)
14998 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14999 Fix removing "// Interfaces" when saving .* expansions.
15000 Reported by Pierre-David Pfister.
15002 2009-11-26 Glenn Morris <rgm@gnu.org>
15004 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15007 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15009 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15010 Really use previous revision.
15012 2009-11-25 Kevin Ryde <user42@zip.com.au>
15014 * man.el (Man-completion-table): default-directory "/" in case
15015 doesn't otherwise exist. process-environment COLUMNS=999 so as
15016 not to truncate long names. process-connection-type pipe to avoid
15017 any chance of hitting the pseudo-tty TIOCGWINSZ.
15018 (man): completion-ignore-case t for friendliness and since man
15019 itself is case-insensitive on the command line.
15020 Further to Bug#3717.
15022 * arc-mode.el: Add "Keywords: files", so the details in its
15023 commentary can be reached from finder-by-keyword.
15024 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15025 editing mode, but it's comms related and sgml-mode.el has "comm"
15027 * textmodes/bibtex-style.el: Add "Keywords: tex".
15028 * international/isearch-x.el, international/ja-dic-cnv.el:
15029 * international/ja-dic-utl.el, international/kkc.el:
15030 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15032 2009-11-25 Juri Linkov <juri@jurta.org>
15034 * man.el (Man-completion-table): Modify regexp to include
15035 section names to completion strings. (Bug#3717)
15037 2009-11-25 Juri Linkov <juri@jurta.org>
15039 Search recursively in gzipped files. (Bug#4982)
15041 * progmodes/grep.el (grep-highlight-matches): Add new options
15042 `always' and `auto'. Doc fix.
15043 (grep-process-setup): Check `grep-highlight-matches' for
15044 `auto-detect' to determine the need to compute grep defaults.
15045 Move Windows/DOS specific --colors settings handling
15046 to `grep-compute-defaults'. Check `grep-highlight-matches'
15047 to get the value of "--color=".
15048 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15049 has the value `auto-detect'. Move Windows/DOS specific settings
15050 from `grep-process-setup'.
15051 (zrgrep): New command with alias `rzgrep'.
15053 2009-11-25 Juri Linkov <juri@jurta.org>
15055 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15056 to nil instead of switching off view-mode. (Bug#4896)
15058 2009-11-25 Juri Linkov <juri@jurta.org>
15060 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15062 * mwheel.el (mwheel-scroll-up-function)
15063 (mwheel-scroll-down-function): New defvars.
15064 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15065 `scroll-up', and `mwheel-scroll-down-function' instead of
15068 * doc-view.el (doc-view-scroll-up-or-next-page)
15069 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15070 Use this ARG in the call to image-scroll-up/image-scroll-down.
15071 Change `interactive' spec to "P". Goto next/previous page only
15072 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15073 SPC/DEL case). Doc fix.
15074 (doc-view-next-line-or-next-page)
15075 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15077 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15078 `doc-view-scroll-up-or-next-page', and buffer-local
15079 `mwheel-scroll-down-function' to
15080 `doc-view-scroll-down-or-previous-page'.
15082 2009-11-25 Juri Linkov <juri@jurta.org>
15084 Provide additional default values (directories at other Dired
15085 windows) via M-n in the minibuffer of some Dired commands.
15087 * dired-aux.el (dired-diff, dired-compare-directories)
15088 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15089 `minibuffer-default' in `minibuffer-with-setup-hook'.
15090 (dired-dwim-target-directory): Find a window that displays Dired
15091 buffer instead of failing when the next window is not Dired.
15092 Use `get-window-with-predicate' to find for the next Dired window.
15093 (dired-dwim-target-defaults): New function.
15095 * ediff-util.el (ediff-read-file-name):
15096 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15097 in `minibuffer-with-setup-hook'.
15099 2009-11-25 Juri Linkov <juri@jurta.org>
15101 Provide additional default values (file name at point or at the
15102 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15104 * minibuffer.el (read-file-name-defaults): New function.
15105 (read-file-name): Reset `minibuffer-default' to nil when
15106 it duplicates initial input `insdef'.
15107 Bind `minibuffer-default-add-function' to lambda that
15108 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15109 (minibuffer-insert-file-name-at-point): New command.
15111 * files.el (file-name-at-point-functions): New defcustom.
15112 (find-file-default): Remove defvar.
15113 (find-file-read-args): Don't use `find-file-default'.
15114 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15115 to `read-file-name'.
15116 (find-file-literally): Use `read-file-name' with
15117 `confirm-nonexistent-file-or-buffer'.
15119 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15121 * dired.el (dired-read-dir-and-switches):
15122 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15123 to `read-file-name'.
15124 (dired-file-name-at-point): New function.
15125 (dired-mode): Add hook `dired-file-name-at-point' to
15126 `file-name-at-point-functions'.
15128 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15130 Really make the *Completions* window soft-dedicated (bug#5030).
15131 * window.el (window--display-buffer-2): Add `dedicated' argument.
15132 (display-buffer): Pass it when needed so the dedicated flag is set
15133 after calling set-window-buffer, which would otherwise reset it.
15135 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * progmodes/meta-mode.el (meta-complete-symbol):
15138 * progmodes/etags.el (complete-tag):
15139 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15140 Use completion-in-region.
15142 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15143 (dabbrev-completion): Use completion-in-region.
15144 (dabbrev--abbrev-at-point): Simplify regexp.
15146 * abbrev.el (abbrev--before-point): Use word-motion functions
15147 if :regexp is not specified (bug#5031).
15149 * subr.el (string-prefix-p): New function.
15151 * man.el (Man-completion-cache): New var.
15152 (Man-completion-table): Use it.
15154 * vc.el (vc-print-log-internal): Make `limit' optional for better
15155 compatibility (e.g. with vc-annotate.el).
15157 2009-11-24 Kevin Ryde <user42@zip.com.au>
15159 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15160 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15162 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15163 when .el source file not found or other error.
15165 2009-11-24 Markus Triska <markus.triska@gmx.at>
15167 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15169 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15171 Handle the [back] button properly (bug#4979).
15172 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15173 Use help-setup-xref, help-buffer, and with-help-window.
15174 (describe-char): Add `buffer' argument.
15175 Pass proper command to help-setup-xref. Don't meddle with
15176 help-xref-stack-item directly.
15177 (describe-text-category): Use with-help-window and help-buffer.
15179 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15180 for the displayed buffer (bug#4887).
15182 * man.el (Man-completion-table): New function.
15185 2009-11-24 David Reitter <david.reitter@gmail.com>
15187 * vc-git.el (vc-git-registered): Use checkout directory (where
15188 .git is) rather than the file's directory and a relative path spec
15189 to work around a bug in git.
15191 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15193 Improve handling of processes on remote hosts.
15195 * eshell/esh-util.el (eshell-path-env): New defvar.
15196 (eshell-parse-colon-path): New defun.
15197 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15199 * eshell/esh-ext.el (eshell-search-path):
15200 Use `eshell-parse-colon-path'.
15201 (eshell-remote-command): Remove argument HANDLER.
15202 (eshell-external-command): Check for FTP remote connection.
15204 * eshell/esh-proc.el (eshell-gather-process-output):
15205 Use `file-truename', in order to start also symlinked files.
15206 Apply `start-file-process' instead of `start-process'.
15207 Shorten `command' to the local file name part.
15209 * eshell/em-cmpl.el (eshell-complete-commands-list):
15210 Use `eshell-parse-colon-path'.
15212 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15214 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15215 to `eshell-directory-change-hook'.
15217 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15219 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15220 because it could be enabled automatically if view-read-only is non-nil.
15222 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15224 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15225 made on 2009-11-22.
15227 2009-11-24 Glenn Morris <rgm@gnu.org>
15229 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15230 deleted variable bookmark-bmenu-bookmark-column.
15232 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15234 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15236 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15238 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15239 two slashes to the "file:" prefix.
15240 (browse-url-file-url): De-munge Cygwin filenames before passing
15241 them to Windows browser.
15242 (browse-url-default-windows-browser): Use call-process.
15244 2009-11-23 Juri Linkov <juri@jurta.org>
15246 Implement DocView Continuous mode. (Bug#4896)
15247 * doc-view.el (doc-view-continuous-mode): New defcustom.
15248 (doc-view-mode-map): Bind C-n/<down> to
15249 `doc-view-next-line-or-next-page', C-p/<up> to
15250 `doc-view-previous-line-or-previous-page'.
15251 (doc-view-next-line-or-next-page)
15252 (doc-view-previous-line-or-previous-page): New commands.
15254 2009-11-23 Juri Linkov <juri@jurta.org>
15256 Implement Isearch in comint input history. (Bug#3746)
15257 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15258 `isearch-mode-hook'.
15259 (comint-history-isearch): New defcustom.
15260 (comint-history-isearch-backward)
15261 (comint-history-isearch-backward-regexp): New commands.
15262 (comint-history-isearch-message-overlay): New buffer-local variable.
15263 (comint-history-isearch-setup, comint-history-isearch-end)
15264 (comint-goto-input, comint-history-isearch-search)
15265 (comint-history-isearch-message, comint-history-isearch-wrap)
15266 (comint-history-isearch-push-state)
15267 (comint-history-isearch-pop-state): New functions.
15269 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15271 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15273 (tramp-handle-make-symbolic-link)
15274 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15276 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15277 (tramp-handle-process-file): Use it.
15279 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15281 * window.el (move-to-window-line-last-op): Remove.
15282 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15284 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15286 Make M-r mirror the new cycling behavior of C-l.
15287 * window.el (move-to-window-line-last-op): New var.
15288 (move-to-window-line-top-bottom): New command.
15289 (global-map): Bind M-r move-to-window-line-top-bottom.
15291 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15293 * dired-x.el (dired-guess-shell-alist-default):
15294 Support xz format. (Bug#4953)
15296 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15298 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15299 last-command-char/last-command-event.
15300 (viper-prefix-arg-value): Do correct conversion of event-char for
15303 * emulation/viper-util.el, emulation/viper.el:
15304 Use viper-last-command-char instead of
15305 last-command-char/last-command-event.
15307 * ediff-init.el, ediff-mult.el, ediff-util.el:
15308 Replace last-command-char and last-command-event
15309 with (ediff-last-command-char) everywhere.
15311 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15312 created in fundamental mode.
15314 * ediff.el (ediff-version): Revert the change of interactive-p to
15315 called-interactively-p.
15317 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15319 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15320 generation from word-movement command names.
15322 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15324 * cus-start.el (all): Add native condition for font-use-system-font.
15326 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15328 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15329 Correct the patch from 2009-11-18. (Bug#3910)
15331 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15333 * progmodes/subword.el: Rename from lisp/subword.el.
15335 * subword.el: Rename to progmodes/subword.el.
15337 * Makefile.in (ELCFILES): Adapt to subword.el move.
15339 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15340 Stefan Monnier <monnier@iro.umontreal.ca>
15342 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15343 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15344 (bookmark-bmenu-show-filenames): Use push.
15345 (bookmark-bmenu-hide-filenames): Use local var instead of
15346 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15347 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15348 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15349 filenames now that the bookmark names are always available.
15351 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15353 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15354 (bookmark-search-pattern): Move and leave unbound.
15355 (bookmark-bmenu-mode-map): Change binding.
15356 (bookmark-read-search-input): Simplify.
15357 Don't use text-char-description. Don't error on non-char events.
15358 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15359 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15360 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15361 Use a local var for the timer.
15362 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15363 (i.e. bookmark-bmenu-search).
15365 2009-11-21 Glenn Morris <rgm@gnu.org>
15367 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15369 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15371 * net/browse-url.el (browse-url-default-windows-browser):
15372 Use cygstart for cygwin.
15374 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15376 * bookmark.el: Formatting and doc fixes only:
15377 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15378 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15379 Minor grammar and punctuation fixes in doc string.
15380 (bookmark-read-search-input): Adjust to fit within 80 columns.
15382 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15384 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15385 (c-backward-into-nomenclature): Adapt to subword renaming.
15387 * subword.el (subword-forward, subword-backward, subword-mark)
15388 (subword-kill, subword-backward-kill, subword-transpose)
15389 (subword-downcase, subword-upcase, subword-capitalize)
15390 (subword-forward-internal, subword-backward-internal):
15391 Rename from forward-subword, backward-subword, mark-subword,
15392 kill-subword, backward-kill-subword, transpose-subwords,
15393 downcase-subword, upcase-subword, capitalize-subword,
15394 forward-subword-internal, backward-subword-internal.
15396 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15398 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15400 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15402 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15403 (bookmark-bmenu-filter-alist-by-regexp)
15404 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15405 (bookmark-bmenu-search): New command.
15406 (bookmark-bmenu-mode-map): Bind it.
15408 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15410 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15411 backward-subword to quit the byte-compiler.
15413 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15415 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15417 * progmodes/cc-cmds.el (c-update-modeline)
15418 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15419 Refer to subword.el functions instead of cc-subword.el.
15421 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15422 subword.el functions instead of cc-subword.el.
15424 * progmodes/cc-subword.el: Rename to subword.el.
15425 * subword.el: Rename from progmodes/cc-subword.el.
15426 (subword-mode-map): Rename from c-subword-mode-map.
15427 (subword-mode): Rename from c-subword-mode.
15428 (global-subword-mode): New global minor mode.
15429 (forward-subword): Rename from c-forward-subword.
15430 (backward-subword): Rename from c-backward-subword.
15431 (mark-subword): Rename from c-mark-subword.
15432 (kill-subword): Rename from c-kill-subword.
15433 (backward-kill-subword): Rename from c-backward-kill-subword.
15434 (transpose-subwords): Rename from c-tranpose-subword.
15435 (downcase-subword): Rename from c-downcase-subword.
15436 (capitalize-subword): Rename from c-capitalize-subword.
15437 (forward-subword-internal): Rename from c-forward-subword-internal.
15438 (backward-subword-internal): Rename from c-backward-subword-internal.
15440 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15442 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15443 from a dired buffer.
15444 (vc-dired-deduce-fileset): New function.
15445 (vc-root-diff, vc-print-root-log): Use it.
15447 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15448 nil LIMIT argument to vc-print-log-internal.
15450 2009-11-20 Glenn Morris <rgm@gnu.org>
15452 * Makefile.in (ELCFILES): Regenerate.
15454 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15456 * calc/calc.el (calc-set-mode-line):
15457 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15458 (math-format-number): Rename `math-format-complement-signed' to
15459 `math-format-twos-complement'.
15461 * calc/calc-bin.el (math-format-twos-complement): Rename from
15462 math-format-complement-signed.
15463 (calc-radix): Rename `calc-complement-signed-mode' to
15464 `calc-twos-complement-mode'.
15465 (calc-octal-radix, calc-hex-radix): Add an argument for
15468 * calc/calc-embed.el (calc-embedded-mode-vars):
15469 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15471 * calc/calc-ext.el (calc-init-extensions):
15472 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15473 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15475 * calc/calc-units.el (math-build-units-table-buffer):
15476 Let `calc-twos-complement-mode' be nil.
15478 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15481 * calc/calc-vec.el (calcFunc-vunpack):
15482 * calc/calc-aent.el (calc-do-calc-eval):
15483 * calc/calc-forms.el (math-format-date):
15484 * calc/calc-graph.el (calc-graph-plot):
15485 * calc/calc-math.el (math-use-emacs-fn):
15486 * calc/calccomp.el (math-compose-expr):
15487 Let `calc-twos-complement-mode' be nil.
15489 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15491 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15492 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15493 * minibuffer.el (completion-in-region-functions): New hook.
15494 (completion-in-region): New function.
15495 * emacs-lisp/lisp.el (lisp-complete-symbol):
15496 * pcomplete.el (pcomplete-std-complete): Use it.
15498 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15500 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15501 (latex-complete-alist): New vars.
15502 (latex-string-prefix-p, latex-complete-bibtex-keys)
15503 (latex-complete-envnames, latex-complete-refkeys)
15504 (latex-complete-data): New functions.
15505 (latex-complete, latex-indent-or-complete): New commands.
15507 * window.el (display-buffer-mark-dedicated): New var.
15508 (display-buffer): Obey it.
15509 * minibuffer.el (minibuffer-completion-help): Use it.
15511 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15513 * filecache.el (file-cache-add-file): Use push and cons.
15514 (file-cache-delete-file-regexp): Use push.
15515 (file-cache-complete): Use completion-in-region.
15517 * simple.el (with-wrapper-hook): Fix thinko.
15519 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15520 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15521 Use with-current-buffer and string-to-number.
15522 (hfy-fallback-colour-values): Use assoc-string.
15523 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15524 (hfy-face-at): Remove unused var `found-face'.
15525 (hfy-compile-stylesheet): Remove unused var `css'.
15526 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15528 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15529 Use with-current-buffer.
15530 (hfy-text-p): Use expand-file-name and fewer setq.
15532 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15534 * htmlfontify.el, hfy-cmap.el: New files.
15536 2009-11-19 Juri Linkov <juri@jurta.org>
15538 * minibuffer.el (completions-format): New defcustom.
15539 (completion--insert-strings): Implement vertical format.
15541 * simple.el (switch-to-completions): Move point to the first
15542 completion when point was at the beginning of the buffer.
15544 2009-11-19 Juri Linkov <juri@jurta.org>
15546 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15548 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15550 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15552 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15553 (mail-signature): Change default to t.
15554 (mail-from-style): Deprecate `system-default' value.
15555 (mail-insert-from-field): For default value of mail-from-style,
15556 default to `angles' unless `angles' needs quoting and `parens'
15558 (mail-citation-prefix-regexp): Use citation regexp from
15561 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15563 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15564 Set variables for computing the prompt for reading password.
15566 2009-11-19 Glenn Morris <rgm@gnu.org>
15568 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15570 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15572 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15573 (newsticker-treeview-listwindow-height): Fix custom type.
15575 2009-11-19 Kenichi Handa <handa@m17n.org>
15577 * descr-text.el (describe-char-padded-string): Compose with TAB
15578 only if there's a font for CH.
15579 (describe-char): Fix the condition for detecting a trivial composition.
15581 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15583 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15584 more accurate version of the regexp. (Bug#3910)
15586 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15588 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15590 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15592 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15593 (font-setting-change-default-font): Fix typo in docstring.
15595 2009-11-18 Alan Mackenzie <acm@muc.de>
15597 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15599 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15601 * font-setting.el (font-use-system-font): Move ...
15603 * cus-start.el (all): ... to here.
15605 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15607 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15608 Don't set `ad-return-value' if `ad-do-it' doesn't.
15610 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15613 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15615 * menu-bar.el: Put "Use system font" in Option-menu.
15616 (menu-bar-options-save): Add font-use-system-font.
15618 * loadup.el: If feature system-font-setting or font-render-setting is
15619 there, load font-setting.
15621 * Makefile.in (ELCFILES): Add font-settings.el.
15622 * font-setting.el: New file.
15624 2009-11-17 Glenn Morris <rgm@gnu.org>
15626 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15628 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15629 Preserve point in the list buffer. (Bug#4939)
15631 (newsticker--treeview-list-update-highlight)
15632 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15634 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15636 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15639 * calc/calc-ext.el (calc-init-extensions): Remove references to
15642 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15644 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15645 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15648 2009-11-16 Kevin Ryde <user42@zip.com.au>
15650 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15651 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15653 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15654 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15655 Ignore trailing spaces by omit-nulls to split-string (fixing
15656 regression from Emacs 21 due to the incompatible split-string
15657 change). (Bug #4928.)
15659 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15661 * vc.el (vc-log-show-limit): Default to 2000.
15662 (vc-print-log-internal): Insert buttons to request more entries
15663 when limiting the output.
15665 * vc-sccs.el (vc-sccs-print-log):
15666 * vc-rcs.el (vc-rcs-print-log):
15667 * vc-cvs.el (vc-cvs-print-log):
15668 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15671 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15673 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15674 error when `tramp-gvfs-dbus-event-vector' is set.
15675 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15677 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15679 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15681 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15683 * net/dbus.el (dbus-unregister-service): New defun.
15684 (dbus-register-property): Register the handlers of
15685 "org.freedesktop.DBus.Properties" for SERVICE.
15686 (dbus-property-handler): Fix docstring.
15688 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15690 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15691 Quote doc string reference in defvaralias as it is not in special form.
15692 (byte-compile-output-docform): Doc fix.
15694 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15696 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15697 (calc-complement-signed-mode): New variables.
15698 (calc-set-mode-line): Add indicator for twos-complements.
15699 (math-format-number): Format twos-complement notation.
15701 * calc/calc-bin.el (calc-word-size): Reset the variables
15702 `math-2-word-size' and `math-half-2-word-size'.
15703 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15704 (calc-symclip): New functions.
15706 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15708 * calc/calc-embed.el (calc-embedded-mode-vars):
15709 Add `calc-complement-signed-mode' to the list of modes.
15711 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15712 (calc-b-oper-keys): Add `calc-symclip' to list.
15714 * calc/calc-ext.el (math-read-number-fancy): Read complement
15716 (calc-init-extensions): Add binding for `calc-symclip'.
15717 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15719 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15721 (calc-modes-menu): Add item for twos complement mode.
15723 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15725 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15727 * register.el (jump-to-register, insert-register): Handle Semantic
15728 tags. From commented-out advice in semantic/senator.el.
15730 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15732 * vc.el (vc-log-show-limit): New variable.
15733 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15734 when using a prefix argument.
15735 (vc-print-log-internal): Add new argument LIMIT.
15737 * vc-svn.el (vc-svn-print-log):
15738 * vc-mtn.el (vc-mtn-print-log):
15739 * vc-hg.el (vc-hg-print-log):
15740 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15741 pass it to the log command when set. Make the BUFFER argument
15744 * vc-sccs.el (vc-sccs-print-log):
15745 * vc-rcs.el (vc-rcs-print-log):
15746 * vc-git.el (vc-git-print-log):
15747 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15748 ignore it. Make the BUFFER argument non-optional
15750 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15752 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15754 * dired.el (dired-mode-map): Move encryption items to "Operate"
15757 * strokes.el (strokes-update-window-configuration): Make strokes
15758 buffer current before erasing (Bug#4906).
15760 2009-11-15 Juri Linkov <juri@jurta.org>
15762 * simple.el (set-mark-default-inactive): Add :type, :group
15763 and :version. (Bug#4876)
15765 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15767 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15768 (archive-unique-fname): ... here. (Bug#4929)
15770 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15772 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15775 * novice.el (disabled-command-function): Add useful args.
15776 Setup the help buffer so that [back] works.
15777 Remove redundant call to help-mode.
15778 (disabled-command-function): Use `case'.
15779 (en/disable-command): New function extracted from enable-command.
15780 (enable-command, disable-command): Use it.
15782 2009-11-14 Glenn Morris <rgm@gnu.org>
15784 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15785 constants. (Bug#4913)
15787 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15789 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15791 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15792 defined in C that have no doc-strings. (Bug#1063)
15794 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15796 * cus-edit.el (data, files):
15797 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15799 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15801 * simple.el (shell-command): Doc fix (Bug#4891).
15803 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15805 2009-11-14 Glenn Morris <rgm@gnu.org>
15807 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15808 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15809 If they are already loaded, eval-after-load will do the right thing.
15811 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15814 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15816 * simple.el (x-selection-owner-p): Declare.
15817 (read-mail-command): Use custom radio type rather than choice.
15818 (completion-no-auto-exit): Doc fix.
15820 * custom.el (defgroup):
15821 * epg-config.el (epg): Doc fixes.
15823 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15825 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15826 * international/ccl.el (define-ccl-program): Do not purecopy the
15827 docstring, defconst does it anyway.
15829 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15831 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15834 * x-dnd.el (x-dnd-maybe-call-test-function):
15835 * window.el (split-window-vertically):
15836 * whitespace.el (whitespace-help-on):
15837 * vc-rcs.el (vc-rcs-consult-headers):
15838 * userlock.el (ask-user-about-lock-help)
15839 (ask-user-about-supersession-help):
15840 * type-break.el (type-break-force-mode-line-update):
15841 * time-stamp.el (time-stamp-conv-warn):
15842 * terminal.el (te-set-output-log, te-more-break, te-filter)
15843 (te-sentinel, terminal-emulator):
15844 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15845 (term-write-input-ring, term-check-source, term-start-output-log):
15846 (term-display-buffer-line, term-dynamic-list-completions):
15847 (term-ansi-make-term, serial-term):
15848 * subr.el (selective-display):
15849 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15850 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15851 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15852 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15853 (speedbar-remove-localized-speedbar-support)
15854 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15855 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15856 (speedbar-buffers-line-directory):
15857 * simple.el (shell-command-on-region, append-to-buffer)
15858 (prepend-to-buffer):
15859 * shadowfile.el (shadow-save-todo-file):
15860 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15861 (scroll-bar-maybe-set-window-start):
15862 * sb-image.el (speedbar-image-dump):
15863 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15864 (load-save-place-alist-from-file):
15865 * ps-samp.el (ps-print-message-from-summary):
15866 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15867 (ps-background-image, ps-begin-job, ps-do-despool):
15868 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15869 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15870 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15871 (pr-call-process, pr-file-list, pr-interface-save):
15872 * novice.el (disabled-command-function)
15873 (enable-command, disable-command):
15874 * mouse.el (mouse-buffer-menu-alist):
15875 * mouse-copy.el (mouse-kill-preserving-secondary):
15876 * macros.el (kbd-macro-query):
15877 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15878 * informat.el (batch-info-validate):
15879 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15880 * hippie-exp.el (try-expand-dabbrev-visible):
15881 * help-mode.el (help-make-xrefs):
15882 * help-fns.el (describe-variable):
15883 * generic-x.el (bat-generic-mode-run-as-comint):
15884 * finder.el (finder-mouse-select):
15885 * find-dired.el (find-dired-sentinel):
15886 * filesets.el (filesets-file-close):
15887 * files.el (list-directory):
15888 * faces.el (list-faces-display, describe-face):
15889 * facemenu.el (list-colors-display):
15890 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15891 * epg.el (epg--process-filter, epg-cancel):
15892 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15893 (epa--read-signature-type):
15894 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15895 (emerge-file-names):
15896 * ehelp.el (electric-helpify):
15897 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15898 * ediff-vers.el (rcs-ediff-view-revision):
15899 * ediff-util.el (ediff-setup):
15900 * ediff-mult.el (ediff-append-custom-diff):
15901 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15903 * echistory.el (Electric-command-history-redo-expression):
15904 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15905 * disp-table.el (describe-display-table):
15906 * dired.el (dired-find-buffer-nocreate):
15907 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15908 * dabbrev.el (dabbrev--same-major-mode-p):
15909 * chistory.el (list-command-history):
15910 * apropos.el (apropos-documentation):
15911 * allout.el (allout-obtain-passphrase):
15912 (allout-copy-exposed-to-buffer):
15913 (allout-verify-passphrase): Use with-current-buffer.
15915 2009-11-13 Glenn Morris <rgm@gnu.org>
15917 * Makefile.in (ELCFILES): Regenerate.
15919 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15921 * net/dbus.el (dbus-registered-objects-table): Rename from
15922 `dbus-registered-functions-table', because it contains also properties.
15923 (dbus-unregister-object): Unregister also properties.
15924 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15925 Use a timeout of 500 msec, in order to not block.
15926 (dbus-register-property, dbus-property-handler): New defuns.
15928 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15930 * simple.el (minibuffer-default-add-completions): Drop deprecated
15933 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15935 * textmodes/artist.el (artist-mouse-choose-operation):
15936 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15937 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15938 (artist-compute-up-event-key): New function.
15939 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15941 2009-11-13 Kenichi Handa <handa@m17n.org>
15943 * language/japan-util.el: Make sure that the value of jisx0208
15944 property is jisx0208 character.
15946 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15948 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15949 car or each item, not the whole list.
15951 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * minibuffer.el (minibuffer-completion-help):
15954 Use minibuffer-hide-completions.
15956 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15958 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15959 (dired-revert): Use them (bug#4880).
15961 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15963 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15965 2009-11-12 Juri Linkov <juri@jurta.org>
15967 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15969 (find-file-literally-at-point): Alias of `ffap-literally'.
15971 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15973 * textmodes/ispell.el (ispell-skip-region-alist):
15974 * textmodes/css-mode.el (auto-mode-alist):
15975 * progmodes/compile.el (auto-mode-alist):
15976 * international/mule.el (ctext-non-standard-encodings-alist)
15977 (ctext-non-standard-encodings-regexp):
15978 * simple.el (shell-command-switch, text-read-only):
15979 * replace.el (occur-mode-map):
15980 * paths.el (rmail-file-name):
15981 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15982 * find-file.el (ff-special-constructs):
15983 * files.el (file-name-handler-alist):
15984 * composite.el: Purecopy strings.
15986 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15988 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15990 * widget.el (define-widget): Purecopy the docstring.
15991 * international/mule-cmds.el (charset): Do not purecopy the
15992 docstring here, define-widget does it.
15994 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15995 * textmodes/bibtex-style.el (auto-mode-alist):
15996 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15997 * progmodes/compile.el (compile-command):
15998 * language/korea-util.el (default-korean-keyboard):
15999 * international/mule-conf.el (file-coding-system-alist):
16000 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16001 * tooltip.el (tooltip-frame-parameters):
16002 * newcomment.el (comment-end, comment-padding):
16003 * dired.el (dired-trivial-filenames):
16004 * comint.el (comint-file-name-prefix): Purecopy initial values.
16006 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16008 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16009 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16011 (tramp-advice-make-auto-save-file-name)
16012 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16013 after removing the advice.
16015 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16017 * progmodes/grep.el (grep-regexp-alist):
16018 * international/mule-cmds.el (iso-2022-control-alist):
16019 * emacs-lisp/timer.el (timer-duration-words):
16020 * subr.el (version-separator, version-regexp-alist):
16021 * minibuffer.el (completion-styles-alist):
16022 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16023 Change defvars to defconsts.
16025 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16026 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16027 * international/mule-conf.el: Allow to be byte compiled.
16029 * international/mule.el (define-charset): Purecopy props.
16030 (load-with-code-conversion): Purecopy doc string and file name.
16031 (put-charset-property): Purecopy strings.
16032 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16034 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16035 (define-char-code-property): Correctly purecopy the table.
16037 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16039 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16041 * subr.el (add-hook): Purecopy strings.
16042 (eval-after-load): Purecopy load-history-regexp and the form.
16044 * custom.el (custom-declare-group): Purecopy load-file-name.
16046 * subr.el (menu-bar-separator): New defconst.
16047 * net/eudc.el (eudc-tools-menu):
16048 * international/mule-cmds.el (set-coding-system-map)
16049 (mule-menu-keymap):
16050 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16051 * vc-hooks.el (vc-menu-map):
16052 * replace.el (occur-mode-map):
16053 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16054 (menu-bar-edit-menu, menu-bar-goto-menu)
16055 (menu-bar-custom-menu, menu-bar-showhide-menu)
16056 (menu-bar-options-menu, menu-bar-tools-menu)
16057 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16058 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16059 (menu-bar-help-menu):
16060 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16061 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16063 * term/x-win.el (x-gtk-stock-map):
16064 * progmodes/vera-mode.el (auto-mode-alist):
16065 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16066 (inferior-lisp-program, inferior-lisp-load-command):
16067 * progmodes/hideshow.el (hs-special-modes-alist):
16068 * progmodes/gud.el (same-window-regexps):
16069 * progmodes/grep.el (grep-program, find-program, xargs-program):
16070 * net/telnet.el (same-window-regexps):
16071 * net/rlogin.el (same-window-regexps):
16072 * language/ethiopic.el (font-ccl-encoder-alist):
16073 * vc-sccs.el (vc-sccs-master-templates):
16074 * vc-rcs.el (vc-rcs-master-templates):
16075 * subr.el (cl-assertion-failed):
16076 * simple.el (next-error-overlay-arrow-position):
16077 * lpr.el (lpr-command):
16078 * locate.el (locate-ls-subdir-switches):
16079 * info.el (same-window-regexps, info)
16080 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16081 * image-mode.el (image-mode, auto-mode-alist):
16082 * hippie-exp.el (hippie-expand-ignore-buffers):
16083 * format.el (format-alist):
16084 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16086 * facemenu.el (facemenu-keybindings):
16087 * dired.el (dired-listing-switches, dired-chown-program):
16088 * diff.el (diff-switches, diff-command):
16089 * cus-edit.el (same-window-regexps):
16090 * bindings.el (mode-line-mule-info)
16091 (mode-line-buffer-identification): Purecopy strings.
16093 2009-11-11 Juri Linkov <juri@jurta.org>
16095 * simple.el (dired-get-filename) <declare-function>:
16096 Tell the byte-compiler about dired-get-filename.
16097 (shell-command): In Dired mode, get filename from the current line
16098 as the default value.
16100 2009-11-10 Glenn Morris <rgm@gnu.org>
16102 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16103 * calendar/holidays.el, progmodes/cperl-mode.el:
16104 Update x-popup-menu declarations.
16106 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16107 (list-load-path-shadows): Use dolist.
16108 (list-load-path-shadows): Use with-current-buffer.
16110 2009-11-10 Juri Linkov <juri@jurta.org>
16112 * minibuffer.el (read-file-name): Support a list of default values
16113 in `default-filename'. Use the first file name where only one
16114 element is required. Doc fix.
16116 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16118 * net/dbus.el (dbus-unregister-object): Release service, if no
16119 other method is registered for it.
16121 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16123 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16124 bookmark-sort-flag is non-nil (Bug#4653).
16126 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16128 * emulation/cua-base.el: Add CUA property to some CC mode commands
16131 2009-11-08 Kevin Ryde <user42@zip.com.au>
16133 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16134 at end of sentence (Bug#4818).
16136 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16139 Handle "see declaration of" MSFT statements (Bug#4100).
16141 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16143 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16144 (tramp-advice-file-expand-wildcards): Unload via
16145 `ad-remove-advice'.
16147 * net/trampver.el: Update release number.
16149 2009-11-08 Kevin Ryde <user42@zip.com.au>
16151 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16154 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16156 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16157 in order to keep context in SELinux.
16159 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16161 * dired-aux.el (dired-query): Place cursor in echo area and allow
16164 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16165 menu item if not on a directory (Bug#4701).
16167 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16169 Sync with Tramp 2.1.17.
16171 * net/tramp.el (tramp-handle-copy-directory): Don't use
16172 `file-remote-p' (due to compatibility).
16174 * net/tramp-compat.el (tramp-compat-copy-directory)
16175 (tramp-compat-delete-directory): New defuns.
16177 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16178 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16179 Use `tramp-compat-delete-directory'.
16181 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16182 (tramp-smb-handle-delete-directory):
16183 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16185 * net/trampver.el: Update release number.
16187 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16189 * tar-mode.el (tar-copy): Call write-region on the right buffer
16192 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16193 by hand, if necessary (Bug#4878).
16195 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16197 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16198 align size column (Bug#4839).
16200 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16203 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16205 * progmodes/ld-script.el (auto-mode-alist):
16206 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16208 * cus-face.el (custom-declare-face): Purecopy face spec.
16210 2009-11-06 Kenichi Handa <handa@m17n.org>
16212 * international/uni-bidi.el: Re-generated.
16213 * international/uni-category.el: Re-generated.
16214 * international/uni-combining.el: Re-generated.
16215 * international/uni-mirrored.el: Re-generated.
16217 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16219 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16220 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16221 (tex-start-options, slitex-run-command, latex-run-command)
16222 (tex-run-command, tex-directory):
16223 * textmodes/ispell.el (ispell-html-skip-alists)
16224 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16225 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16226 (adaptive-fill-regexp):
16227 * textmodes/dns-mode.el (auto-mode-alist):
16228 * progmodes/python.el (interpreter-mode-alist):
16229 * progmodes/etags.el (tags-compression-info-list):
16230 * progmodes/etags.el (tags-file-name):
16231 * net/browse-url.el (browse-url-galeon-program)
16232 (browse-url-firefox-program):
16233 * mail/sendmail.el (mail-signature-file)
16234 (mail-citation-prefix-regexp):
16235 * international/mule-conf.el (eight-bit):
16236 * international/latexenc.el (latex-inputenc-coding-alist):
16237 * international/fontset.el (x-pixel-size-width-font-regexp):
16238 * emacs-lisp/warnings.el (warning-type-format):
16239 * emacs-lisp/trace.el (trace-buffer):
16240 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16241 (emacs-lisp-mode-map):
16242 * calendar/holidays.el (holiday-solar-holidays)
16243 (holiday-bahai-holidays, holiday-islamic-holidays)
16244 (holiday-christian-holidays, holiday-hebrew-holidays)
16245 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16246 (hebrew-holidays-1, holiday-oriental-holidays)
16247 (holiday-general-holidays):
16248 * x-dnd.el (x-dnd-known-types):
16249 * tool-bar.el (tool-bar):
16250 * startup.el (site-run-file):
16251 * shell.el (shell-dumb-shell-regexp):
16252 * rfn-eshadow.el (file-name-shadow-tty-properties)
16253 (file-name-shadow-properties):
16254 * paths.el (remote-shell-program, news-directory):
16255 * mouse.el ([C-down-mouse-3]):
16256 * menu-bar.el (menu-bar-tools-menu):
16257 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16258 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16259 (jka-compr-compression-info-list):
16260 * isearch.el (search-whitespace-regexp):
16261 * image-file.el (image-file-name-extensions):
16262 * find-dired.el (find-ls-option):
16263 * files.el (directory-listing-before-filename-regexp)
16264 (directory-free-space-args, insert-directory-program)
16265 (list-directory-brief-switches, magic-fallback-mode-alist)
16266 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16267 (automount-dir-prefix):
16268 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16269 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16270 (face-font-registry-alternatives, face-font-registry-alternatives)
16271 (face-font-family-alternatives):
16272 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16273 (facemenu-foreground-menu, facemenu-face-menu):
16274 * epa-hook.el (epa-file-name-regexp):
16275 * dnd.el (dnd-protocol-alist):
16276 * textmodes/rst.el (auto-mode-alist):
16277 * button.el (default-button): Purecopy strings.
16279 2009-11-06 Glenn Morris <rgm@gnu.org>
16281 * Makefile.in (ELCFILES): Update.
16283 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16285 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16286 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16288 * nxml/xsd-regexp.el (xsdre-gen-categories):
16289 * nxml/xmltok.el (xmltok-parse-entity):
16290 * nxml/rng-parse.el (rng-parse-validate-file):
16291 * nxml/rng-maint.el (rng-format-manual)
16292 (rng-manual-output-force-new-line):
16293 * nxml/rng-loc.el (rng-save-schema-location-1):
16294 * nxml/rng-cmpct.el (rng-c-parse-file):
16295 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16296 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16298 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16300 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16301 Remove extra save-excursions and make-variable-buffer-local's.
16302 Suggested by Stefan Monnier.
16304 (verilog-getopt-file, verilog-module-inside-filename-p)
16305 (verilog-set-define): Merge GNU 1.35 and repair changes from
16306 switching to using with-current-buffer.
16308 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16309 being treated as a number and confusing AUTORESET.
16310 Reported by Dan Dever.
16312 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16313 Add verilog-auto-ignore-concat to fix backward compatibility with
16314 older verilog-modes. Reported by Dan Katz.
16316 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16317 containing closing anchors "...$".
16319 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16320 Reported by Wade Smith.
16322 (verilog-batch-execute-func): Comment on function usage.
16324 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16326 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16329 (verilog-label-re, verilog-calc-1): Support proper indent of named
16332 (verilog-backward-token, verilog-basic-complete-re)
16333 (verilog-beg-of-statement, verilog-indent-re): Support proper
16334 indent of the assert statement at the beginning of a block of text.
16336 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16337 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16340 2009-11-05 Glenn Morris <rgm@gnu.org>
16342 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16343 Emacs 19. (Bug#1531)
16344 (byte-compile-fix-header): Update for the above change.
16345 Drop test for epoch::version.
16347 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16348 * cus-dep.el (custom-make-dependencies):
16349 * finder.el (finder-compile-keywords):
16350 Use autoload-rubric's feature argument.
16352 * calendar/diary-lib.el (top-level): Make load behave more like require.
16354 * vc-git.el (vc-git-stash-map): Move definition before use.
16356 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16358 * custom.el (custom-declare-group): Purecopy standard-value.
16359 (custom-declare-group): Purecopy custom-prefix.
16361 * international/mule.el (load-with-code-conversion):
16362 Call do-after-load-evaluation unconditionally.
16364 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16366 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16370 2009-11-04 Glenn Morris <rgm@gnu.org>
16372 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16373 (byte-compile-compatibility): Remove option.
16374 (byte-compile-close-variables, byte-compile-fix-header)
16375 (byte-compile-insert-header, byte-compile-output-docform)
16376 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16377 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16378 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16379 (byte-compile-insert, byte-compile-defun):
16380 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16381 (byte-defop-compiler19): Remove.
16382 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16383 used by anything. Replace all calls with byte-defop-compiler.
16385 2009-11-04 Juri Linkov <juri@jurta.org>
16387 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16388 (menu-bar-options-menu): Don't quote the `prop' arg of
16389 `menu-bar-make-mm-toggle'.
16391 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16393 * calendar/calendar.el (cal-loaddefs):
16394 * calendar/diary-lib.el (diary-loaddefs):
16395 * calendar/holidays.el (hol-loaddefs):
16396 * eshell/esh-module.el (esh-groups): Load rather than require.
16398 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16400 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16402 (todo-top-priorities): Only display-buffer when called interactively.
16403 (todo-item-start): Don't save excursion point.
16404 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16405 (todo-insert-item-here, todo-file-item, todo-remove-item):
16406 Adjust uses of todo-item-start and todo-item-end.
16408 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16409 (autoload-rubric): Don't use any more.
16411 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16412 and only put a prop if it is non-nil.
16414 2009-11-03 Juri Linkov <juri@jurta.org>
16416 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16417 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16419 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16420 and "Menu" to make top-level menu item visually one unit (like
16421 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16422 multi-word menu items). Fix :help string for quit-window.
16424 2009-11-03 Glenn Morris <rgm@gnu.org>
16426 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16427 (byte-compile-file-form-define-abbrev-table)
16428 (byte-compile-file-form-custom-declare-variable)
16429 (byte-compile-variable-ref, byte-compile-defvar):
16430 Whether or not a warning is enabled should only affect whether we issue
16431 the warning, not whether or not we collect the relevant data.
16432 Eg warnings can be turned on and off throughout the course of a file.
16434 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16435 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16437 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16439 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16440 * play/mpuz.el (mpuz-create-buffer):
16441 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16442 (lm-print-y,s,noise, lm-print-w0, lm-init):
16443 * play/gomoku.el (gomoku-prompt-for-move):
16444 * play/fortune.el (fortune-in-buffer):
16445 * play/dissociate.el (dissociated-press):
16446 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16447 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16448 * mail/supercite.el (sc-eref-show):
16449 * mail/smtpmail.el (smtpmail-send-it):
16450 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16451 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16452 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16453 (rmail-summary-goto-msg, rmail-summary-expunge)
16454 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16455 (rmail-summary-add-label, rmail-summary-output-menu)
16456 (rmail-summary-output-body):
16457 * mail/rfc822.el (rfc822-addresses):
16458 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16459 * mail/mailpost.el (post-mail-send-it):
16460 * mail/hashcash.el (hashcash-generate-payment):
16461 * mail/feedmail.el (feedmail-run-the-queue)
16462 (feedmail-queue-send-edit-prompt-help-first)
16463 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16464 (feedmail-deduce-address-list):
16465 * eshell/esh-ext.el (eshell-remote-command):
16466 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16467 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16468 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16469 (viper-save-string-in-file, viper-valid-marker):
16470 * emulation/viper-keym.el (viper-toggle-key):
16471 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16472 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16473 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16474 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16475 (viper-exec-form-in-emacs, viper-brac-function):
16476 * emulation/viper.el (viper-delocalize-var):
16477 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16478 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16479 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16480 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16481 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16482 * emulation/edt.el (edt-electric-helpify):
16483 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16484 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16485 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16486 (cua-indent-to-global-mark-column):
16487 * calendar/diary-lib.el (calendar-mark-1):
16488 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16489 Use with-current-buffer.
16490 * emulation/viper.el (viper-delocalize-var): Use dolist.
16492 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16494 * comint.el (comint-replace-by-expanded-history-before-point):
16495 Replace !! with the previous input string literally (Bug#1795).
16497 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16499 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16500 to be made up of whitespace.
16502 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16504 * minibuffer.el (read-file-name): Don't use file dialogs for
16505 remote directories (Bug#99).
16507 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16509 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16511 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16513 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16514 instead of deleting the window or frame.
16516 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16518 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16519 Support face colors.
16521 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16522 New function. Support face colors (Bug#1168).
16523 (tex-common-initialization): Use it.
16525 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16526 mode allows it (Bug#1168).
16528 2009-10-31 Juri Linkov <juri@jurta.org>
16530 * facemenu.el (list-colors-display): Don't mark buffer as
16531 modified (Bug#3948).
16533 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16535 * international/mule-diag.el (list-character-sets-1):
16536 Minor message fix (Bug#3526).
16538 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16539 Fix face property (Bug#4834).
16540 (etags-list-tags, etags-tags-apropos-additional)
16541 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16544 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16547 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * textmodes/two-column.el (2C-split):
16550 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16551 * textmodes/tex-mode.el (tex-set-buffer-directory):
16552 * textmodes/spell.el (spell-region, spell-string):
16553 * textmodes/reftex.el (reftex-erase-buffer):
16554 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16555 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16556 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16557 (reftex-select-item):
16558 * textmodes/reftex-ref.el (reftex-label-info-update)
16559 (reftex-offer-label-menu):
16560 * textmodes/reftex-index.el (reftex-index-change-entry)
16561 (reftex-index-phrases-info):
16562 * textmodes/reftex-global.el (reftex-create-tags-file)
16563 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16564 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16565 (reftex-view-crossref-from-bibtex):
16566 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16567 (reftex-extract-bib-entries-from-thebibliography)
16568 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16569 * textmodes/refbib.el (r2b-capitalize-title):
16570 (r2b-convert-buffer, r2b-help):
16571 * textmodes/page-ext.el (pages-directory)
16572 (pages-directory-goto-with-mouse):
16573 * textmodes/bibtex.el (bibtex-validate-globally):
16574 * textmodes/bib-mode.el (bib-capitalize-title):
16575 * textmodes/artist.el (artist-clear-buffer, artist-system):
16576 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16577 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16578 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16579 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16580 (xscheme-send-control-g-interrupt, xscheme-start-process)
16581 (xscheme-process-sentinel, xscheme-cd):
16582 * progmodes/verilog-mode.el (verilog-read-always-signals)
16583 (verilog-set-define, verilog-getopt-file)
16584 (verilog-module-inside-filename-p):
16585 * progmodes/sh-script.el:
16586 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16587 (python-pdbtrack-grub-for-buffer, python-execute-file):
16588 * progmodes/octave-inf.el (inferior-octave):
16589 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16590 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16591 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16592 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16593 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16594 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16595 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16596 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16597 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16598 (idlwave-shell-examine-display, idlwave-shell-run-region)
16599 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16600 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16601 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16602 (idlwave-help-get-help-buffer):
16603 * progmodes/gud.el (gud-basic-call, gud-find-class)
16604 (gud-tooltip-activate-mouse-motions-if-enabled):
16605 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16606 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16607 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16608 (ebrowse-tags-next-file):
16609 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16610 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16611 (ebnf-eps-finish-and-write):
16612 * progmodes/cpp.el (cpp-edit-save):
16613 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16614 * progmodes/cc-defs.el (c-emacs-features):
16615 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16616 (antlr-directory-dependencies):
16617 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16618 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16619 (ada-find-any-references, ada-make-filename-from-adaname)
16620 (ada-make-body-gnatstub):
16621 * obsolete/rnews.el (news-list-news-groups):
16622 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16623 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16624 * net/rcirc.el (rcirc-debug):
16625 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16626 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16627 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16628 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16629 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16630 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16631 (newsticker--treeview-list-clear-highlight)
16632 (newsticker--treeview-list-update-highlight)
16633 (newsticker--treeview-list-highlight-start)
16634 (newsticker--treeview-tree-update-highlight)
16635 (newsticker--treeview-get-selected-item)
16636 (newsticker-treeview-mark-list-items-old)
16637 (newsticker--treeview-set-current-node):
16638 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16639 * net/newst-backend.el (newsticker--get-news-by-funcall)
16640 (newsticker--get-news-by-wget, newsticker--image-get)
16641 (newsticker--image-sentinel):
16642 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16643 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16644 (eudc-ph-close-session):
16645 * net/eudc.el (eudc-save-options):
16646 * language/thai-word.el (thai-update-word-table):
16647 * language/japan-util.el (japanese-string-conversion):
16648 * international/titdic-cnv.el (tsang-quick-converter)
16649 (ziranma-converter, ctlau-converter):
16650 * international/mule-cmds.el (describe-language-environment):
16651 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16652 (skkdic-convert-postfix, skkdic-convert-prefix):
16653 (skkdic-convert-okuri-nasi, skkdic-convert):
16654 * emacs-lisp/re-builder.el (reb-update-overlays):
16655 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16656 * emacs-lisp/gulp.el (gulp-send-requests):
16657 * emacs-lisp/find-gc.el (trace-call-tree):
16658 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16659 (eieio-describe-generic):
16660 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16661 * emacs-lisp/edebug.el (edebug-outside-excursion):
16662 * emacs-lisp/debug.el (debugger-make-xrefs):
16663 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16664 * emacs-lisp/chart.el (chart-new-buffer):
16665 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16666 Use with-current-buffer.
16667 * textmodes/artist.el (artist-system): Don't call
16668 copy-sequence on a fresh string.
16669 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16671 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16673 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16674 is no item to edit. (Bug#4820)
16675 (todo-top-priorities): Restore point and restore narrowing in Todo
16678 2009-10-31 Glenn Morris <rgm@gnu.org>
16680 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16681 (comint-last-output-start, comint-last-input-start)
16682 (comint-last-input-end): Don't defvar when compiling.
16683 (ange-ftp-process-file): Use bound-and-true-p.
16685 * pcmpl-rpm.el (top-level): Move provide statement to end.
16686 (pcmpl-rpm): Remove unused custom group.
16688 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16690 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16692 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16693 (byte-compile-warnings): Add `constants' as an option.
16694 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16695 (display-call-tree): Update for byte-compile-fdefinition possibly
16696 returning `(macro lambda ...)'. (Bug#4778)
16697 (byte-compile-variable-ref, byte-compile-setq-default):
16698 Respect `constants' member of byte-compile-warnings.
16700 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16702 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16703 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16706 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16708 * textmodes/ispell.el (ispell-skip-region-alist):
16709 * international/mule-conf.el (eight-bit):
16710 * international/fontset.el (font-encoding-alist):
16711 * startup.el (pure-space-overflow-message):
16712 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16713 * paths.el (gnus-nntp-service, rmail-spool-directory)
16714 (term-file-prefix):
16715 * files.el (save-some-buffers-action-alist):
16716 * cmuscheme.el (same-window-buffer-names):
16717 * ielm.el (same-window-buffer-names):
16718 * shell.el (same-window-buffer-names):
16719 * mail/sendmail.el (same-window-buffer-names):
16720 * progmodes/inf-lisp.el (same-window-buffer-names):
16721 * bindings.el (mode-line-client)
16722 (mode-line-column-line-number-mode-map):
16723 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16724 (tibetan-precomposed-regexp): Purecopy string arguments.
16726 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16728 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16729 (calcDigit-nondigit):
16730 * calc/calc-yank.el (calc-copy-to-buffer):
16731 * calc/calc-units.el (calc-invalidate-units-table):
16732 * calc/calc-trail.el (calc-trail-yank):
16733 * calc/calc-store.el (calc-insert-variables):
16734 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16735 * calc/calc-prog.el (calc-read-parse-table):
16736 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16737 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16738 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16739 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16740 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16741 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16742 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16743 * calc/calc-ext.el (calc-realign):
16744 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16745 (calc-embedded-finish-edit, calc-embedded-make-info)
16746 (calc-embedded-finish-command, calc-embedded-stack-change):
16747 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16749 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16750 shell-dynamic-complete-filename in preference to
16751 comint-dynamic-complete-filename.
16753 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16754 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16755 Don't consider whether the display supports colors.
16756 (bookmark-import-new-list): Use dolist.
16757 (bookmark-bmenu-mode-map): Move initialization into declaration.
16758 (bookmark-bmenu-list): Use dolist, simplify.
16759 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16760 (menu-bar-final-items): Use push.
16762 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16764 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16765 it works on remote files.
16766 (vc-hg-diff): Don't pass any `--cwd' argument.
16768 2009-10-27 Kevin Ryde <user42@zip.com.au>
16770 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16771 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16772 (Further to Bug#3921).
16774 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16776 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16777 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16778 calling `tramp-imap-put-file'. Add file size to the call.
16779 (tramp-imap-get-file-entries): Compute also user name, file size,
16781 (tramp-imap-handle-insert-directory): Insert uid and gid.
16782 (tramp-imap-handle-file-attributes): Transform uid and gid
16783 according to `id-format'.
16784 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16785 size in header X-Size.
16787 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16789 * simple.el (transpose-subr): Give clearer error when the mark
16790 is not set. (Bug#4807)
16792 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16794 * net/tramp.el (tramp-perl-file-truename): New defconst.
16795 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16796 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16797 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16798 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16800 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16801 Ignore `dired-call-process'.
16802 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16804 2009-10-26 Julian Scheid <julians37@gmail.com>
16806 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16807 (tramp-get-remote-readlink): New defun.
16808 (tramp-handle-file-truename): Use it.
16809 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16810 file exists if cache value present.
16811 (tramp-check-cached-permissions): New defun.
16812 (tramp-handle-file-readable-p): Use it.
16813 (tramp-handle-file-writable-p): Likewise.
16814 (tramp-handle-file-executable-p): Likewise.
16815 (tramp-handle-file-name-all-completions): Try using Perl to get
16816 partial completions. When perl not available, combine `cd' and
16817 `ls' into single remote operation and use shell expansion to get
16818 partial remote directory contents. Set `file-exists-p' cache for
16819 directory and any files returned by ls. Change cache handling to
16820 support partial directory contents. Use error message emitted by
16821 remote `cd' or Perl code for local tramp-error.
16822 (tramp-do-copy-or-rename-file-directly): Avoid separate
16823 tramp-send-command-and-check call.
16824 (tramp-handle-process-file): Merge three remote ops into one.
16825 Do not flush all caches when `process-file-side-effects' is set.
16826 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16827 file-attributes shows uid/gid to be set already.
16829 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16831 * textmodes/tex-mode.el (tex-dvi-view-command)
16832 (tex-show-queue-command, tex-open-quote):
16833 * progmodes/ruby-mode.el (auto-mode-alist)
16834 (interpreter-mode-alist): Purecopy strings.
16836 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16838 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16839 string for the hook, keymap and abbrev table.
16841 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16843 * x-dnd.el (x-dnd-xdnd-to-action):
16844 * startup.el (fancy-startup-text, fancy-about-text): Change to
16845 defconst from defvar.
16847 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16849 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16850 Purecopy initialization strings.
16852 * mail/sendmail.el (mail-header-separator)
16853 (mail-personal-alias-file):
16854 * mail/rmail.el (rmail-default-dont-reply-to-names)
16855 (rmail-ignored-headers, rmail-retry-ignored-headers)
16856 (rmail-highlighted-headers, rmail-secondary-file-directory)
16857 (rmail-secondary-file-regexp):
16858 * files.el (null-device, file-name-invalid-regexp)
16859 (locate-dominating-stop-dir-regexp)
16860 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16861 (interpreter-mode-alist): Use mapcar instead of mapc.
16863 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16865 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16866 (completion-ignored-extensions):
16867 (debug-ignored-errors): Purecopy strings.
16869 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16872 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16873 (pcomplete--here): Use push.
16875 * subr.el (all-completions): Declare the 4th arg obsolete.
16877 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16879 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16880 (pcomplete-unquote-argument): New function.
16881 (pcomplete--common-suffix): Always pay attention to case.
16882 (pcomplete--table-subvert): Quote and unquote the text.
16883 (pcomplete--common-quoted-suffix): New function.
16884 (pcomplete-std-complete): Use it and pcomplete-begin.
16886 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16887 we're inside a dedicated or minibuffer window.
16889 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16891 * bookmark.el: Update documentation, especially documentation
16892 of `bookmark-alist' and of the bookmark file format.
16893 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16895 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16897 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16898 keybindings apply to the mail buffer (Bug#4003). Shrink help
16901 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16902 (global-whitespace-mode, global-whitespace-newline-mode)
16903 (whitespace-toggle-options, global-whitespace-toggle-options):
16904 Doc fix (Bug#3660).
16906 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16907 of xmltok-start before the end tag was inserted (Bug#2840).
16909 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16910 patterns that are preceded by an open-paren (Bug#1320).
16912 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16914 * files.el (delete-directory): Delete symlinks to directories with
16915 delete-file (Bug#4739).
16917 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16919 * vc.el (vc-backend-for-registration): Rename from
16920 vc-get-backend-for-registration. Update callers.
16922 * international/mule-cmds.el (set-language-info-alist):
16924 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16925 (charset): Purecopy the name.
16926 (define-char-code-property): Purecopy string arguments.
16928 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16929 Purecopy string arguments.
16931 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16932 * ediff-hook.el (menu-bar-ediff-menu):
16933 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16934 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16936 2009-10-24 Glenn Morris <rgm@gnu.org>
16938 * comint.el (comint-dynamic-list-completions):
16939 * term.el (term-dynamic-list-completions): Use choose-completion rather
16940 than obsolete alias mouse-choose-completion.
16942 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16943 file-cache-choose-completion.
16944 (file-cache-choose-completion): Handle an optional event argument.
16945 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16947 * progmodes/octave-mod.el (octave-complete-symbol):
16948 Use choose-completion if mouse-choose-completion is ever removed.
16950 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16953 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16956 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16958 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16961 Ignore `pred' now that we receive one.
16962 Handle test-completion specially.
16964 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16966 * vc.el (vc-responsible-backend): Throw an error if not backend is
16967 found. Remove the REGISTER argument. Move the code dealing with
16969 (vc-get-backend-for-registration): ... here. New function.
16970 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16971 of vc-responsible-backend, pass the file name instead of the
16974 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16978 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16979 (pcomplete-comint-setup): Don't modify a global var via
16980 accidental side-effects.
16981 (pcomplete-shell-setup): Adjust call accordingly.
16982 (pcomplete-parse-comint-arguments): Use push.
16984 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16986 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16987 Allow uncapitalized info node names (Bug#3921).
16989 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16990 to the DEBUG file (Bug#3781).
16992 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16994 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16995 dictionary entry (Bug#4579).
16997 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16999 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17000 from `rfn-eshadow-update-overlay-hook' when unloading.
17001 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17002 "rsyncc". Adjust doc string.
17003 (tramp-temp-buffer-file-name): New buffer-local defvar.
17004 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17005 Keep temporary file when indicated by method ("rsync" and
17007 (tramp-handle-write-region): Handle APPEND.
17008 (tramp-delete-temp-file-function): New defun. Added to
17009 `kill-buffer-hook'.
17011 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17013 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17015 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17017 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17018 (color-name-rgb-alist, tty-standard-colors)
17019 (tty-color-mode-alist): Change to defconst.
17021 * simple.el (mark-inactive): Purecopy message.
17023 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17024 (global-map, yank-menu):
17025 * textmodes/ispell.el (ispell-menu-map):
17026 * net/eudc.el (eudc-tools-menu):
17027 * international/mule-cmds.el (describe-language-environment-map)
17028 (setup-language-environment-map, set-coding-system-map)
17029 (mule-menu-keymap):
17030 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17031 * replace.el (occur-mode-map):
17032 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17034 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17036 * calc/calc.el (math-read-number, math-read-number-simple):
17037 Use `save-match-data'.
17039 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17041 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17042 rather than fiddling with global-map bindings, since it should only
17043 affect per-terminal settings.
17044 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17046 * minibuffer.el (completion-table-with-terminator): Allow to specify
17047 the terminator-regexp.
17049 * simple.el (switch-to-completions): Look for *Completions* in other
17052 * pcomplete.el: Allow the use of completion-tables.
17053 (pcomplete-std-complete): New command.
17054 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17055 (pcomplete--here): Use a function for `form' rather than an expression,
17056 so it can be byte-compiled.
17057 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17058 Add edebug declaration.
17059 (pcomplete-show-completions): Remove unused var `curbuf'.
17060 (pcomplete-do-complete, pcomplete-stub):
17061 Don't assume `completions' is a list of strings any more.
17063 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17065 * find-dired.el (find-name-arg): Fix typo in docstring.
17067 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17069 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17070 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17072 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17075 * comint.el (comint-read-input-ring, comint-write-input-ring)
17076 (comint-substitute-in-file-name)
17077 (comint-dynamic-complete-as-filename)
17078 (comint-dynamic-simple-complete)
17079 (comint-dynamic-list-filename-completions)
17080 (comint-dynamic-list-completions)
17081 (comint-redirect-results-list-from-process): Minor simplifications.
17083 2009-10-21 Kevin Ryde <user42@zip.com.au>
17085 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17086 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17087 the first form. And insert a blank line after ";;; Code" since
17088 that's usual style. (Bug#4612)
17090 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17092 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17094 * minibuffer.el (completion-table-with-terminator): Properly implement
17095 boundaries, in case `terminator' appears in the suffix.
17096 (completion--embedded-envvar-table): Don't return boundaries if
17097 there's no valid completion. Simplify.
17098 (completion-file-name-table): New completion table extracted from
17099 completion--file-name-table.
17100 (completion--file-name-table): Use it.
17101 (read-file-name-predicate): Declare obsolete.
17102 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17103 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17104 completion-file-name-table, and use the `pred' argument.
17105 * files.el (locate-file-completion-table): Use the `pred' arg rather
17106 than read-file-name-predicate.
17107 (abbreviate-file-name): Use \` rather than ^ for BOS.
17109 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17111 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17112 vc-responsible-backend to register, it causes problems.
17114 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17116 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17118 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17120 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17121 (tramp-smb-handle-file-attributes): Use it.
17122 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17123 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17124 `mapcar'. Use `tramp-smb-get-stat-capability'.
17125 Add `dired-filename' text properties.
17126 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17127 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17130 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17132 * subr.el (read-key-delay): Reduce to 0.01.
17133 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17136 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17138 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17140 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17141 (Info-menu): Remove unused vars `last' and `completions'.
17142 (Info-index-nodes): Remove unused var `node'.
17144 * info.el (Info-complete-menu-item): Use complete-with-action.
17146 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17148 Make vc-annotate work through copies and renames.
17149 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17150 Return the file name too.
17151 (vc-annotate-revision-at-line)
17152 (vc-annotate-find-revision-at-line)
17153 (vc-annotate-revision-previous-to-line)
17154 (vc-annotate-show-log-revision-at-line): Update to get the file
17155 name from vc-annotate-extract-revision-at-line.
17156 (vc-annotate-show-diff-revision-at-line-internal): Change the
17157 argument to mean whether to show a file diff or not. Get the file
17158 name from vc-annotate-extract-revision-at-line.
17159 (vc-annotate-show-diff-revision-at-line):
17160 Update vc-annotate-show-diff-revision-at-line call.
17161 (vc-annotate-warp-revision): Add an optional file argument.
17163 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17164 (vc-git-annotate-extract-revision-at-line): Also return the file
17167 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17168 command. Remove unused code.
17169 (vc-hg-annotate-re): Update to match --follow output.
17170 (vc-hg-annotate-extract-revision-at-line): Also return the file
17173 * vc.el: Update annotate-extract-revision-at-line documentation.
17175 2009-10-18 Kevin Ryde <user42@zip.com.au>
17177 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17178 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17180 * net/browse-url.el (browse-url): Identify alist with "consp and
17181 not functionp" and let all other things go down the `apply' leg,
17182 as suggested by Stefan. (Further to bug#4531.)
17184 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17186 * minibuffer.el (read-file-name): Check for repeat before putting
17187 a default argument in file-name-history (Bug#4657).
17189 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17190 read syntax (Bug#4737).
17192 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17194 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17196 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17197 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17198 entries and make note of obsolete tags.
17200 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17202 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17204 2009-10-18 Glenn Morris <rgm@gnu.org>
17206 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17207 grep, so that binary files (eg international/uni-bidi.el) can match.
17208 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17209 now, and in any case the file header format has changed.
17211 2009-10-17 Glenn Morris <rgm@gnu.org>
17213 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17214 (flyspell-get-word, flyspell-large-region)
17215 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17217 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17219 * Makefile.in (ELCFILES): Add ede/shell.
17221 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17223 * term/common-win.el (x-colors): Purecopy it.
17225 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17228 permissive for when the buffer is empty.
17229 (tar-header-block-tokenize): Decode the username and groupname.
17230 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17232 2009-10-17 Eric Ludlam <zappo@gnu.org>
17234 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17235 contains multibyte characters, choose first applicable coding
17236 system automatically.
17238 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17240 * international/mule-cmds.el (select-safe-coding-system): If the file
17241 has a coding cookie, use it regardless of any other setting (bug#4712).
17243 2009-10-17 Glenn Morris <rgm@gnu.org>
17245 * foldout.el (foldout-mouse-swallow-events):
17246 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17248 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17249 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17250 (dired-keep-marker-symlink, dired-dwim-target)
17251 (dired-copy-preserve-time): Do not autoload these defcustoms.
17253 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17254 messages from messing up the file coding. (Bug#4623)
17256 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17258 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17259 if no match is found for the current dictionary. (Bug#4578)
17261 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17262 optional, since that is how it is documented, and this is often called
17263 with a nil argument. (Bug#4577)
17264 (flyspell-external-point-words, flyspell-auto-correct-word)
17265 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17266 (flyspell-word-search-backward): Remove nil argument in calls to
17267 flyspell-get-word, since it is not needed now.
17269 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17271 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17273 2009-10-16 Glenn Morris <rgm@gnu.org>
17275 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17277 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17279 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17280 (ange-ftp-file-size): New function.
17281 (ange-ftp-file-attributes): Use it.
17283 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17285 * net/tramp-smb.el (tramp-smb-version): New defvar.
17286 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17289 2009-10-16 Glenn Morris <rgm@gnu.org>
17291 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17292 Maybe copy some custom properties from old to new name. (Bug#4706)
17294 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17296 * subr.el (error, sit-for, start-process-shell-command)
17297 (start-file-process-shell-command): Set the calling convention
17298 after the function definition.
17300 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17302 * subr.el (error, sit-for, start-process-shell-command)
17303 (start-file-process-shell-command): Use the new
17304 set-advertised-calling-convention feature.
17306 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17308 * international/ucs-normalize.el (ucs-normalize-version):
17310 (check-range): Adjust for Unicode 5.2.
17312 2009-10-15 Juri Linkov <juri@jurta.org>
17314 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17315 to the `menu-item' format.
17317 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17319 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17320 if the environment variable does not exist.
17322 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17323 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17325 (tramp-smb-handle-add-name-to-file)
17326 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17327 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17328 (tramp-smb-handle-file-attributes)
17329 (tramp-smb-do-file-attributes-with-stat)
17330 (tramp-smb-handle-file-local-copy)
17331 (tramp-smb-handle-insert-directory)
17332 (tramp-smb-handle-make-directory)
17333 (tramp-smb-handle-make-directory-internal)
17334 (tramp-smb-handle-make-symbolic-link)
17335 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17336 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17337 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17338 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17339 Handle long file names.
17340 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17341 process is running.
17342 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17343 Read share names with "-g" option.
17345 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17347 * net/rcirc.el (rcirc-view-log-file): New command.
17348 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17349 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17352 2009-10-15 Glenn Morris <rgm@gnu.org>
17354 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17355 from the second command-line argument.
17356 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17357 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17358 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17359 w32-batch-update-autoloads.
17360 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17361 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17363 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17364 the headers cannot be located. Simplify, subtracting superflous
17367 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17369 Replace completion-base-size by completion-base-position to fix bugs
17370 such as (bug#4699).
17371 * simple.el (completion-base-position): New var.
17372 (completion-base-size): Mark as obsolete.
17373 (choose-completion): Make it work for mouse events as well.
17374 Pass the new base-position to choose-completion-string.
17375 (choose-completion-guess-base-position): New function, extracted from
17376 choose-completion-delete-max-match.
17377 (choose-completion-delete-max-match): Use it. Make obsolete.
17378 (choose-completion-string): Use the new base-position info.
17379 (completion-root-regexp): Delete.
17380 (completion-setup-function): Preserve completion-base-position.
17381 Eliminate obsolete base-size manipulation.
17382 * minibuffer.el (display-completion-list): Don't mess with base-size.
17383 (minibuffer-completion-help): Set completion-base-position instead.
17384 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17386 * textmodes/bibtex.el (bibtex-complete):
17387 * emacs-lisp/crm.el (crm--choose-completion-string):
17388 Adjust to new calling convention.
17389 * complete.el (partial-completion-mode): Use minibufferp to avoid
17390 bumping into incompatible change to choose-completion-string-functions.
17391 * ido.el (ido-choose-completion-string): Make its calling convention
17393 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17394 base-size manipulation.
17395 (comint-dynamic-list-input-ring): Use dotimes and push.
17396 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17397 fundamental-mode. Use `or'.
17399 2009-10-14 Juri Linkov <juri@jurta.org>
17401 * misearch.el (multi-isearch-next-buffer-from-list)
17402 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17404 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17406 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17409 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17410 string we return is all made up of text from the completions rather
17411 than part from the completions and part from the input (bug#4219).
17413 * ido.el (ido-everywhere): Use define-minor-mode.
17415 * buff-menu.el (list-buffers, ctl-x-map):
17416 Mark the entry points with ;;;###autoload cookies.
17418 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17420 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17421 correctly in the detached head case.
17422 (vc-git-print-log): Remove unused binding.
17424 * vc.el (vc-responsible-backend): When a directory is passed for
17425 for registration create a VC repository if no backend is
17426 responsible for the directory argument.
17427 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17429 * vc.el: Move comments about RCS and SCCS ...
17431 * vc-sccs.el: ... here, respectively.
17433 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17435 * minibuffer.el (completion--file-name-table): Return nil if there's
17436 no file completion, even if substitute-in-file-name changed
17437 the string (bug#4708).
17439 2009-10-13 Juri Linkov <juri@jurta.org>
17441 * files-x.el (read-file-local-variable-value): Don't filter out
17442 minor modes from mode name completion (bug#4664).
17444 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17446 * international/mule-cmds.el (ucs-names): Remove exclusion of
17447 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17449 2009-10-13 Kenichi Handa <handa@m17n.org>
17451 * international/uni-name.el: Regenerated.
17453 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17455 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17456 should be automatically buffer-local, but isn't.)
17458 2009-10-12 Sam Steingold <sds@gnu.org>
17460 * progmodes/compile.el (compilation-next-error-function): Fix the
17461 timestamps if the buffer has been visited before.
17462 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17463 non-anchored patterns, like the perl one (bug#3928).
17465 2009-10-12 Glenn Morris <rgm@gnu.org>
17467 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17470 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17472 * proced.el (proced-unload-function): New function.
17474 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17475 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17478 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17480 2009-10-11 Juri Linkov <juri@jurta.org>
17482 * files-x.el (read-file-local-variable-value):
17483 Provide default value only for bound variables (bug#4664).
17485 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17487 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17488 connection methods like smb.
17490 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17493 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17494 (tramp-smb-file-name-handler-alist): Add handlers for
17495 `add-name-to-file', `make-symbolic-link'.
17496 (tramp-smb-handle-add-name-to-file)
17497 (tramp-smb-do-file-attributes-with-stat)
17498 (tramp-smb-handle-make-symbolic-link)
17499 (tramp-smb-get-cifs-capabilities): New defuns.
17500 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17501 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17502 (tramp-smb-handle-file-local-copy)
17503 (tramp-smb-handle-make-directory-internal)
17504 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17505 The file name syntax depends on cifs capabilities.
17506 (tramp-smb-handle-file-attributes):
17507 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17508 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17509 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17511 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17513 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17514 (eieio-defclass): Apply deftype handler and setf-method properties
17516 (eieio-add-new-slot): Avoid union function from cl library.
17517 (eieio--typep): New function.
17518 (eieio-perform-slot-validation): Use it.
17520 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17522 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17523 Update documentation to refer to the variables documented in r1.135.
17526 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17528 * bookmark.el (Info-suffix-list): Remove this unused variable.
17529 (bookmark-current-point): Remove this obsolete variable.
17530 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17531 Adjust for removal of bookmark-current-point.
17533 (bookmarks-already-loaded, bookmark-current-buffer)
17534 (bookmark-yank-point): Document. (Bug#4188)
17536 2009-10-10 Glenn Morris <rgm@gnu.org>
17538 * frame.el (frame-height): Doc fix.
17540 * calendar/calendar.el (calendar-split-width-threshold): New option.
17541 (calendar-basic-setup): Use calendar-split-width-threshold.
17543 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17545 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17546 Ideographic Supplement" range (U+1F200..U+1F2FF).
17548 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17550 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17551 since the list will have been rebuilt anyway. (Bug#4349)
17553 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17555 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17556 (bookmark-bmenu-execute-deletions): Don't save here, as
17557 bookmark-delete will now do so if necessary.
17558 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17561 2009-10-09 Glenn Morris <rgm@gnu.org>
17563 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17565 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17567 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17568 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17569 argument now, so the two function's behaviors will match. (Bug#3645)
17571 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17573 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17574 (tramp-file-name-real-host, tramp-file-name-port):
17575 Apply `save-match-data'.
17577 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17578 case both directories are remote.
17579 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17580 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17582 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17584 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17586 2009-10-07 Glenn Morris <rgm@gnu.org>
17588 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17591 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17593 * files-x.el (read-file-local-variable): Include some
17594 non-user-variables in the completion table (bug#4664).
17596 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17598 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17601 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17602 (tramp-smb-file-name-handler-alist): Add handler for
17603 `copy-directory', `expand-file-name', `set-file-modes'.
17604 (tramp-smb-handle-copy-directory)
17605 (tramp-smb-handle-expand-file-name)
17606 (tramp-smb-handle-set-file-modes): New defuns.
17607 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17608 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17610 (tramp-smb-handle-insert-directory): Don't flush the cache.
17611 (tramp-smb-maybe-open-connection): Check for samba client and
17614 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17616 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17617 to not error out of search for "^lisp=" fails.
17619 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17621 * makefile.w32-in (WINS_UPDATES): New macro.
17622 (custom-deps, finder-data, autoloads): Use it.
17624 2009-10-07 Glenn Morris <rgm@gnu.org>
17626 * Makefile.in (autoloads): Revert previous change.
17627 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17628 the list of preloaded files passed on the command-line, get
17629 it from src/Makefile.
17631 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17632 show the original buffer rather than a random one.
17634 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17636 * help.el (describe-no-warranty): Place point in a slightly better
17637 position in the GPLv3 text.
17639 2009-10-06 Sam Steingold <sds@gnu.org>
17641 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17642 the comm attribute is present before calling regexp-quote.
17644 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17646 * play/animate.el (animate-string): For good effect, make sure
17647 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17649 * play/animate.el (animate-sequence, animate-birthday-present):
17650 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17652 2009-10-06 Glenn Morris <rgm@gnu.org>
17654 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17656 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17657 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17658 (batch-update-autoloads): Process a string value of autoload-excludes,
17659 set during the build process.
17660 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17662 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17663 inside with-parsed... macro so that `v' is defined.
17665 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17666 * progmodes/fortran.el (fortran-end-of-block)
17667 (fortran-beginning-of-block):
17668 Also push mark in the macro case.
17670 * emerge.el (emerge-show-file-name):
17671 * calc/calc.el (calc-quit):
17672 * calc/calc-misc.el (calc-big-or-small):
17673 * calc/calc-graph.el (calc-graph-view):
17674 * calc/calc-ext.el (calc-reset):
17675 * calendar/calendar.el (calendar-basic-setup):
17676 Use window-full-height-p.
17678 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17679 header we don't understand, don't insert another. (Bug#4624)
17680 If changing mime charset, insert the new one in the right place.
17682 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17684 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17685 (cal-tex-cursor-month): Correctly increment the end date for diary and
17686 holiday listing. (Bug#4626)
17688 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17690 * help-fns.el (describe-function-1): Don't burp if the function is not
17693 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17695 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17696 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17697 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17698 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17700 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17701 (eieio-default-superclass): Reflow docstrings.
17702 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17703 (eieio-unbind-method-implementations, defmethod)
17704 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17705 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17706 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17707 (eieio-slot-originating-class-p, eieio-slot-name-index)
17708 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17709 (constructor, initialize-instance, no-next-method, object-print)
17710 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17711 Fix typos in docstrings.
17712 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17713 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17714 (next-method-p): Doc fixes.
17715 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17716 Fix typos in error messages.
17717 (eieio-defmethod): Fix typo in description of generic method.
17719 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17720 (eieio-persistent-save-interactive, slot-missing):
17721 Fix typos in docstrings.
17722 (eieio-instance-inheritor-slot-boundp): Doc fix.
17724 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17725 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17727 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17728 (eieio-custom-object-apply-reset):
17729 Fix typos in docstrings and error messages.
17731 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17732 Fix typo in docstring.
17734 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17735 (eieio-browse-tree): Doc fix.
17736 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17737 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17738 Fix typos in docstrings.
17740 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17741 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17742 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17743 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17746 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17748 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17749 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17750 Set log-view-vc-backend so that diff can work.
17752 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17754 (vc-diff-internal): Autoload this instead of vc-version-diff.
17756 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17758 * simple.el (eval-expression): Doc fix.
17760 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17762 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17764 * files.el (directory-files-no-dot-files-regexp): New defconst.
17765 (delete-directory): Use it.
17766 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17768 * net/tramp.el (tramp-verbose): Fix docstring.
17769 (tramp-methods): Add recursive option to `tramp-copy-args'.
17770 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17771 "scp1_old", "scp2_old", "rsync", "rsyncc".
17772 (tramp-default-method): Check also for `auth-source-user-or-password'.
17773 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17774 Add handler for `copy-directory'.
17775 (tramp-handle-copy-directory): New defun.
17776 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17777 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17778 Optimize sent command.
17780 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17782 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17783 window if necessary.
17785 * calendar/calendar.el (calendar-basic-setup): Don't call
17786 switch-to-buffer in a dedicated window.
17788 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17790 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17791 don't do anything related to relocating, just return nil.
17792 (bookmark-error-no-filename): New error.
17793 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17794 bookmark has no file. Don't even attempt to handle things that
17795 are not files; the whole point of custom handlers is to keep that
17796 knowledge elsewhere anyway. Tighten some comments.
17797 (bookmark-file-or-variation-thereof): Remove now-unused function.
17798 (bookmark-location): Doc string fix.
17801 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17803 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17804 don't use a file dialog, because they usually don't know how to read
17805 a directory target from the user. (Bug#4230)
17806 Also, make sure the prompt can display directories as well as files.
17808 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17810 * bookmark.el (bookmark-set, bookmark-buffer-name):
17811 Improve doc strings. (Bug#1193)
17813 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17815 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17816 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17817 (bookmark-get-annotation, bookmark-set-annotation)
17818 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17819 (bookmark-set-position, bookmark-get-front-context-string)
17820 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17821 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17822 (bookmark-jump-other-window, bookmark-handle-bookmark)
17823 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17824 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17825 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17826 Improve doc strings to say whether bookmark can be a string or
17827 a record or both, and make other consistency and clarity fixes.
17828 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17829 (bookmark-default-annotation-text, bookmark-yank-word)
17830 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17831 (bookmark-import-new-list, bookmark-maybe-rename)
17832 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17833 (bookmark-bmenu-bookmark): Give these doc strings.
17834 (bookmark-bmenu-check-position): Give this a doc string, but also
17835 add a FIXME comment about how the function may be pointless.
17836 (bookmark-default-handler): Rework doc string and change a
17837 parameter name, to clarify that this takes a bookmark record
17838 not a bookmark name.
17839 (bookmark-set): Change a parameter name to indicate its meaning,
17840 and improve the doc string a bit.
17843 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17845 * bookmark.el (bookmark-alist): Document the new `handler' element
17846 in the param alist.
17847 (bookmark-make-record-function): Adjust documentation for above.
17850 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17852 * info.el (Info-bookmark-make-record): Document this function.
17853 (Info-bookmark-jump): Document with a doc string, not just a comment.
17856 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17858 * files.el (copy-directory): New defun.
17860 * dired-aux.el (dired-copy-file-recursive): Use it.
17862 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17864 * files-x.el (modify-dir-local-variable)
17865 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17868 * recentf.el (recentf-unload-function): New function.
17870 2009-10-04 Glenn Morris <rgm@gnu.org>
17872 * window.el (window-full-height-p): Add doc string.
17874 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17876 * window.el (window-full-height-p): New function. (Bug#4543)
17878 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17880 * vc.el: Remove commented out code.
17881 (vc-derived-from-dir-mode): Remove, unused.
17882 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17884 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17886 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17887 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17888 there could be recursive loading when `default-directory' is a
17889 remote file name. (Bug#4614)
17891 2009-10-03 Glenn Morris <rgm@gnu.org>
17893 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17895 (calendar-generate-window): Test for shrinkability rather than width.
17897 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17898 reusing existing buffers, in case we happen to visit two files with the
17899 same basename. (Bug#4593)
17901 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17903 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17904 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17905 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17906 subdirs of cedet as well.
17907 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17909 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17911 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17912 Obey advertised-signature-table.
17914 * help-fns.el (help-function-arglist): Don't check
17915 advertised-signature-table.
17916 (describe-function-1): Do it here instead so it also applies to subrs.
17918 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17920 * simple.el (start-file-process): Say in the doc-string, that file
17921 handlers might not support pty association, if PROGRAM is nil.
17923 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17924 HOST and USER are strings. They are nil, when there are
17925 incomplete entries in ~/.netrc, for example.
17926 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17927 root directory ("device busy" error otherwise).
17929 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17930 Flush file properties of created directory.
17932 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17934 * makefile.w32-in (WINS_BASIC): Remove cedet.
17935 (WINS_CEDET): Add cedet.
17936 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17938 2009-10-02 Kevin Ryde <user42@zip.com.au>
17940 * net/browse-url.el (browse-url): Pass any symbol in
17941 browse-url-browser-function to `apply', since if you've mistakenly put
17942 an unbound symbol then the error is clearer. (Bug#4531)
17944 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17946 * allout.el (allout-init, allout-back-to-current-heading)
17947 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17948 (allout-ascend, allout-up-current-level, allout-end-of-level)
17949 (allout-previous-visible-heading, allout-forward-current-level)
17950 (allout-backward-current-level, allout-show-children):
17951 * apropos.el (apropos-describe-plist):
17952 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17953 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17954 * completion.el (add-completion, add-permanent-completion):
17955 * descr-text.el (describe-text-category, describe-char):
17956 * desktop.el (desktop-lazy-abort):
17957 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17958 * dired.el (dired-build-subdir-alist):
17959 * ediff.el (ediff-version):
17960 * elide-head.el (elide-head, elide-head-show):
17961 * emerge.el (emerge-version):
17963 * face-remap.el (variable-pitch-mode):
17964 * faces.el (describe-face):
17965 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17967 * files.el (find-file-existing, auto-save-mode):
17968 * font-lock.el (font-lock-fontify-buffer):
17969 * help-fns.el (describe-function, describe-variable)
17970 (describe-syntax, describe-categories):
17971 * help.el (view-lossage, describe-bindings, describe-key)
17973 * hexl.el (hexl-current-address):
17974 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17975 * info.el (Info-goto-emacs-key-command-node):
17976 * log-edit.el (log-edit-insert-cvs-template)
17977 (log-edit-insert-cvs-rcstemplate):
17978 * menu-bar.el (menu-bar-mode):
17979 * mouse.el (mouse-appearance-menu):
17980 * newcomment.el (comment-indent-new-line):
17981 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17982 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17983 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17984 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17985 * recentf.el (recentf-mode):
17986 * savehist.el (savehist-mode, savehist-save):
17987 * shadowfile.el (shadow-copy-files):
17988 * simple.el (kill-ring-save, next-line, previous-line)
17989 (normal-erase-is-backspace-mode):
17990 * strokes.el (strokes-update-window-configuration)
17991 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17992 (strokes-xpm-for-stroke):
17993 * time.el (emacs-uptime, emacs-init-time):
17994 * tutorial.el (tutorial--describe-nonstandard-key)
17995 (tutorial--detailed-help):
17996 * type-break.el (type-break-mode)
17997 (type-break-mode-line-message-mode, type-break-query-mode)
17998 (type-break-guesstimate-keystroke-threshold):
17999 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18000 * version.el (emacs-version):
18001 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18002 * winner.el (winner-mode):
18003 * calendar/timeclock.el (timeclock-in, timeclock-out)
18004 (timeclock-status-string, timeclock-change)
18005 (timeclock-workday-remaining-string)
18006 (timeclock-workday-elapsed-string)
18007 (timeclock-when-to-leave-string):
18008 * calendar/todo-mode.el (todo-add-category):
18009 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18010 * emacs-lisp/autoload.el (update-file-autoloads):
18011 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18012 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18013 (checkdoc-message-text, checkdoc-defun):
18014 * emacs-lisp/debug.el (debugger-list-functions):
18015 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18016 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18017 (eieio-describe-generic):
18018 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18019 * emacs-lisp/shadow.el (list-load-path-shadows):
18020 * emulation/cua-base.el (cua-mode):
18021 * emulation/edt.el (edt-set-scroll-margins):
18022 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18023 (tpu-toggle-regexp, tpu-toggle-search-direction)
18024 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18025 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18026 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18027 (viper-set-parsing-style-toggling-macro)
18028 (viper-set-emacs-state-searchstyle-macros):
18029 * emulation/viper.el (viper-set-hooks):
18030 * eshell/esh-mode.el (eshell-truncate-buffer):
18031 * international/mule-cmds.el (prefer-coding-system)
18032 (describe-input-method, describe-language-environment):
18033 * international/mule-diag.el (list-character-sets)
18034 (describe-character-set, describe-coding-system)
18035 (describe-fontset, list-fontsets, list-input-methods):
18036 * mail/sendmail.el (mail-signature):
18037 * net/ange-ftp.el (ange-ftp-copy-file):
18038 * net/browse-url.el (browse-url):
18039 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18040 * net/quickurl.el (quickurl-add-url):
18041 * net/rcirc.el (names, topic):
18042 * net/xesam.el (xesam-mode):
18043 * play/5x5.el (5x5-new-game):
18044 * play/yow.el (apropos-zippy):
18045 * progmodes/ada-mode.el (ada-mode-version):
18046 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18048 (f90-beginning-of-block):
18049 * progmodes/fortran.el (fortran-end-of-block)
18050 (fortran-beginning-of-block):
18051 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18052 * progmodes/python.el (python-describe-symbol, python-shell):
18053 * term/ns-win.el (ns-print-buffer):
18054 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18055 * textmodes/flyspell.el (flyspell-mode-on):
18056 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18057 (pages-directory-for-addresses):
18058 * textmodes/table.el (table-recognize-cell)
18059 (table-query-dimension, table-generate-source)
18060 (table-insert-sequence, table--warn-incompatibility):
18061 * textmodes/tex-mode.el (tex-validate-buffer):
18062 * textmodes/texinfmt.el (texinfmt-version)
18063 (texinfo-format-buffer):
18064 Use `called-interactively-p' instead of `interactive-p'.
18066 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18068 * image-mode.el (image-toggle-display):
18069 * emacs-lisp/elp.el (elp-instrument-function):
18070 * emacs-lisp/advice.el (ad-make-advised-definition):
18071 * emacs-lisp/easy-mmode.el (define-minor-mode):
18072 * net/browse-url.el (browse-url-maybe-new-window):
18073 * progmodes/sh-script.el (sh-learn-buffer-indent):
18074 Pass new argument 'any to `called-interactively-p'.
18076 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18078 * international/uni-bidi.el:
18079 * international/uni-category.el:
18080 * international/uni-combining.el:
18081 * international/uni-comment.el:
18082 * international/uni-decimal.el:
18083 * international/uni-decomposition.el:
18084 * international/uni-digit.el:
18085 * international/uni-lowercase.el:
18086 * international/uni-mirrored.el:
18087 * international/uni-name.el:
18088 * international/uni-numeric.el:
18089 * international/uni-old-name.el:
18090 * international/uni-titlecase.el:
18091 * international/uni-uppercase.el:
18092 Regenerate from Unicode 5.2.0 data.
18094 2009-10-01 Glenn Morris <rgm@gnu.org>
18096 * Makefile.in (ELCFILES): Regenerate.
18098 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18100 * subr.el (interactive-p): Mark obsolete.
18101 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18102 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18103 advertised-signature-table for subroutines as well.
18105 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18106 (set-advertised-calling-convention): New function.
18107 (make-obsolete, define-obsolete-function-alias)
18108 (make-obsolete-variable, define-obsolete-variable-alias):
18109 Make the optional-ness of `when' obsolete.
18110 (define-obsolete-face-alias): Make `when' non-optional.
18111 * help-fns.el (help-function-arglist):
18112 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18113 Use advertised-signature-table.
18115 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18117 * files.el (delete-directory): New defun. The original function
18118 in fileio.c has been renamed to `delete-directory-internal'.
18120 * dired.el (dired-delete-file): Call `delete-directory' with
18121 RECURSIVE parameter.
18123 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18124 parameter RECURSIVE. Implementation is missing.
18126 * net/tramp.el (tramp-handle-make-directory): Flush upper
18127 directory's file properties.
18128 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18129 (tramp-handle-dired-recursive-delete-directory): Flush directory
18130 properties after the remove command only.
18132 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18133 Handle optional parameter RECURSIVE.
18135 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18136 Handle optional parameter RECURSIVE.
18138 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18139 connection timeout.
18140 (tramp-smb-handle-delete-directory): Handle optional parameter
18143 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18145 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18146 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18147 (byte-compile-defmacro): Use backquotes.
18149 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18151 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18152 has no associated file.
18153 (vc-resynch-buffer): Use vc-dir-buffers.
18155 2009-10-01 Glenn Morris <rgm@gnu.org>
18157 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18158 (chart-file-count):
18159 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18160 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18161 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18162 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18163 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18164 (eieio-copy-parents-into-subclass, make-instance, class-children)
18165 (eieio-generic-form):
18167 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18168 match-data. (Bug#4555).
18170 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18171 rather than parsing it as a regexp. This relaxes the layout
18172 requirements and makes errors easier to detect.
18173 (check-declare-verify): Check file is regular.
18174 (check-declare-directory): Doc fix.
18175 * subr.el (declare-function): Doc fix.
18177 * ibuffer.el (ibuffer-format-qualifier):
18178 * isearch.el (hi-lock-regexp-okay):
18179 * calc/calc.el (math-zerop):
18180 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18181 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18182 Remove unused declarations.
18184 2009-09-30 Eric Ludlam <zappo@gnu.org>
18186 * emacs-lisp/eieio.el (boolean-p): Delete.
18188 2009-09-30 Glenn Morris <rgm@gnu.org>
18190 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18192 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18193 filename is not a string.
18195 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18197 * files.el (safe-local-eval-forms): Fix typo.
18199 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18201 * vc-hooks.el (vc-dir-buffers): New var.
18202 (vc-state-refresh): New function.
18203 (vc-state): Use it.
18204 (vc-after-save): Always ask the backend to recompute the new state.
18205 Always call vc-dir if necessary, using vc-dir-buffers.
18206 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18207 Use vc-dir-buffers.
18208 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18209 (vc-dir-prepare-status-buffer, vc-dir-update)
18210 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18211 Don't call expand-file-name on default-directory.
18213 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18215 * speedbar.el (speedbar-item-delete):
18216 * calc/calc-prog.el (calc-kbd-if):
18217 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18219 * epa.el (epa-key-list-mode-map):
18220 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18222 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18223 (hs-show-hook): Fix typo in docstring.
18225 2009-09-29 Glenn Morris <rgm@gnu.org>
18227 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18228 file-name-nondirectory call preventing location of cedet files.
18229 (check-declare-verify): Use literal search rather than re-search.
18230 Add basic defmethod and defclass, and define-overloadable-function.
18232 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18233 Use tramp-compat-file-attributes rather than nonexistent
18234 tramp-compat-handle-file-attributes.
18236 * Makefile.in (lisptagsfiles4): New.
18237 (AUTOGENEL): Add cedet loaddefs files.
18238 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18239 (update-elclist, compile-always, backup-compiled-files)
18240 (bootstrap-clean): Add yet another directory level.
18241 (update-elclist): Use LC_COLLATE rather than COLLATE.
18242 (ELCFILES): Update, via `make update-elclist'.
18244 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18246 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18247 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18248 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18250 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18252 * Makefile.in (lisptagsfiles3): Define.
18253 (TAGS, TAGS-LISP): Use it.
18254 (update-elclist): Add third directory level to look for elc files.
18255 (compile-always): Likewise.
18256 (backup-compiled-files): Likewise.
18257 (bootstrap-clean): Likewise.
18258 (ELCFILES): Update.
18260 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18262 * Makefile.in (ELCFILES): Add CEDET files.
18264 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18266 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18268 * net/tramp.el (top): Require tramp-imap.
18270 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18271 Use `tramp-compat-handle-file-attributes'.
18273 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18275 * net/tramp-imap.el: New package.
18277 2009-09-28 Eric Ludlam <zappo@gnu.org>
18279 * emacs-lisp/chart.el:
18280 * emacs-lisp/eieio-base.el:
18281 * emacs-lisp/eieio-comp.el:
18282 * emacs-lisp/eieio-custom.el:
18283 * emacs-lisp/eieio-datadebug.el:
18284 * emacs-lisp/eieio-opt.el:
18285 * emacs-lisp/eieio-speedbar.el:
18286 * emacs-lisp/eieio.el: New files.
18288 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18290 * whitespace.el (whitespace-trailing-regexp)
18291 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18294 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18296 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18299 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18300 menu-bar-ediff-menu.
18302 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18303 define-overloadable-function.
18305 * progmodes/autoconf.el: Provide autoconf as well, so that this
18306 file can be `require'd.
18308 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18310 * emacs-lisp/autoload.el (generated-autoload-feature)
18311 (generated-autoload-load-name): New vars.
18312 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18313 (make-autoload): Recognize define-overloadable-function and
18314 defclass forms (for EIEIO).
18316 * Makefile.in (update-subdirs): Exclude cedet directory.
18318 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18320 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18322 * faces.el: Default light-background background for region face to
18323 ns_selection_color under NS.
18325 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18327 * net/imap-hash.el: New library, see NEWS.
18329 * Makefile.in (ELCFILES): Add imap-hash.el.
18331 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18333 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18334 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18335 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18336 definition where the docstring could be taken for the return value.
18338 2009-09-26 Glenn Morris <rgm@gnu.org>
18340 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18341 Add option to only show images below a certain size.
18342 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18343 save-excursion calls.
18345 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18347 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18348 subdirectories) and eieio.
18350 2009-09-26 Alan Mackenzie <acm@muc.de>
18352 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18353 Correct buggy bracketing. (Bug#4289)
18355 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18356 character constants (as case labels). (Bug#4289)
18358 2009-09-25 Juri Linkov <juri@jurta.org>
18360 * files.el (safe-local-eval-forms): Allow time-stamp in
18361 before-save-hook (Bug#4554).
18363 2009-09-25 Drew Adams <drew.adams@oracle.com>
18365 * menu-bar.el (list-buffers-directory): Doc fix.
18367 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18369 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18370 Try and avoid copying twice the same paragraph.
18371 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18372 Remove save-excursion.
18373 (log-edit-changelog-entry): Do it here instead.
18375 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18377 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18378 when available, instead of hardcoding mode names. Doc fix.
18380 * menu-bar.el (list-buffers-directory): Add docstring.
18381 Make automatically buffer-local.
18383 * dired.el (dired-mode):
18384 * files.el (cd-absolute):
18385 * pcvs.el (cvs-temp-buffer):
18386 * pcvs-util.el (cvs-get-buffer-create):
18387 * shell.el (shell-mode):
18388 * vc-dir.el (vc-dir-mode):
18389 Don't make `list-buffers-directory' buffer local.
18391 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18393 * comint.el (comint-exec, comint-run, make-comint):
18394 Doc fixes (Bug#4542).
18396 2009-09-25 Glenn Morris <rgm@gnu.org>
18398 * mail/rmailmm.el (rmail-mime): New custom group.
18399 Move all defcustoms in this file into this group.
18400 (rmail-mime-media-type-handlers-alist): Revert previous change.
18401 (rmail-mime-show-images): New option.
18402 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18403 references to it, since it wasn't actually used for anything.
18404 (rmail-mime-insert-image): New function.
18405 (rmail-mime-image): Use rmail-mime-insert-image.
18406 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18407 obey the value of `rmail-mime-show-images' option. Print the size of
18410 2009-09-25 David Engster <deng@randomsample.de>
18412 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18414 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18416 * whitespace.el: Does not highlight trailing spaces While point is
18417 at end of line. Does not highligt spaces at beginning of buffer
18418 while point is at beginning of buffer. Does not highlight spaces
18419 at end of buffer while point is at end of buffer. (Bug#4177)
18421 (whitespace-display-mappings): Adjust initialization.
18422 (whitespace-point, whitespace-font-lock-refontify): New vars.
18423 (whitespace-color-on, whitespace-color-off): Adjust code.
18424 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18425 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18426 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18428 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18430 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18432 * textmodes/sgml-mode.el: Remove xml-mode alias.
18434 * files.el (auto-mode-alist, conf-mode-maybe)
18435 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18437 2009-09-24 Alan Mackenzie <acm@muc.de>
18439 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18440 c-forward-conditionals, but it doesn't move point and doesn't set
18442 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18443 (c-down-conditional-with-else, c-backward-conditional)
18444 (c-forward-conditional): Refactor to use c-scan-conditionals.
18446 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18448 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18449 (help-default-arg-highlight): Remove.
18450 (help-highlight-arg): New function.
18451 (help-do-arg-highlight): Use it.
18452 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18454 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18456 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18457 Undo last change, which didn't fix the problem and introduced others.
18459 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18461 * progmodes/gdb-mi.el: Don't require speedbar.
18462 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18464 2009-09-24 Glenn Morris <rgm@gnu.org>
18466 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18468 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18470 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18471 there is no newline after the final mime boundary. (Bug#4539)
18472 Move markers on insertion so that any buttons inserted don't end up in
18473 the next part of a multipart message.
18474 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18475 (rmail-mime-bulk-handler): Optionally handle images.
18476 (rmail-mime-image): New button action.
18477 (rmail-mime-image-handler): New function.
18478 (rmail-mime-mode): New mode.
18479 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18481 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18483 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18484 than just dropping elements from it (bug#4504).
18486 * term.el (term-set-scroll-region): Don't move cursor any more.
18487 (term-handle-ansi-escape): Call term-goto here instead.
18488 Suggested by Ivan Kanis <apple@kanis.eu>.
18490 * term.el: Require CL.
18491 (term-ansi-reset): New function.
18492 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18493 (term-handle-colors-array): Simplify.
18495 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18497 * allout.el (allout-overlay-interior-modification-handler)
18498 (allout-obtain-passphrase):
18499 * epa-file.el (epa-file-write-region):
18500 * ps-print.el (ps-begin-job):
18501 * vc-hooks.el (vc-toggle-read-only):
18502 * vc-rcs.el (vc-rcs-rollback):
18503 * vc-sccs.el (vc-sccs-rollback):
18504 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18505 (vc-version-diff, vc-revert, vc-rollback):
18506 * wdired.el (wdired-check-kill-buffer):
18507 * emacs-lisp/authors.el (authors):
18508 * net/socks.el (socks-open-connection):
18509 * net/zeroconf.el (zeroconf-service-add-hook):
18510 * obsolete/vc-mcvs.el (vc-mcvs-register):
18511 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18512 (gdb-select-frame):
18513 * progmodes/grep.el (lgrep, rgrep):
18514 * progmodes/idlw-help.el (idlwave-help-check-locations)
18515 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18516 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18517 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18518 (reftex-toc-rename-label): Fix typos in error messages.
18520 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18521 (dired-copy-how-to-fn): Doc fix.
18522 (dired-files-attributes, dired-read-shell-command):
18523 Fix typos in docstrings.
18525 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18526 (dired-x-find-file-other-window): Reflow docstrings.
18527 (dired-omit-marker-char, dired-read-shell-command)
18528 (dired-x-submit-report): Fix typos in docstrings.
18530 * shell.el (shell-mode-hook):
18531 * view.el (View-scroll-line-forward):
18532 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18533 Fix typos in docstrings.
18535 * net/dig.el (dig-invoke): Fix typo in docstring.
18536 (query-dig): Reflow docstring.
18538 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18539 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18540 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18541 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18542 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18543 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18544 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18545 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18546 (idlwave-completion-map, idlwave-current-indent)
18547 (idlwave-custom-ampersand-surround, idlwave-customize)
18548 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18549 (idlwave-define-abbrev, idlwave-determine-class-special)
18550 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18551 (idlwave-end-block-reg, idlwave-end-of-statement)
18552 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18553 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18554 (idlwave-explicit-class-listed, idlwave-file-header)
18555 (idlwave-fill-paragraph, idlwave-find-class-definition)
18556 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18557 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18558 (idlwave-in-quote, idlwave-indent-action-table)
18559 (idlwave-indent-expand-table, idlwave-indent-line)
18560 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18561 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18562 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18563 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18564 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18565 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18566 (idlwave-outlawed-buffers, idlwave-popup-select)
18567 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18568 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18569 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18570 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18571 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18572 (idlwave-statement-type, idlwave-struct-skip)
18573 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18574 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18575 (idlwave-what-module-find-class): Fix typos in docstrings.
18576 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18577 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18578 (idlwave-find-module, idlwave-find-structure-definition)
18579 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18580 (idlwave-list-load-path-shadows, idlwave-next-statement)
18581 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18582 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18583 (idlwave-template): Reflow docstrings.
18585 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18586 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18587 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18588 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18589 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18590 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18591 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18592 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18593 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18594 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18595 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18596 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18597 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18598 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18599 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18600 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18601 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18602 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18603 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18604 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18605 Fix typos in docstrings.
18606 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18607 (idlwave-shell-hide-output, idlwave-shell-mode)
18608 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18611 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18613 2009-09-24 Ivan Kanis <apple@kanis.eu>
18615 * term.el (term-bold-attribute): New var.
18616 (term-handle-colors-array): Use it.
18618 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18620 * progmodes/gdb-mi.el (gdb-version): New variable.
18621 (gdb-non-stop-handler): Set gdb-version.
18622 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18623 Condition "--thread" option on gdb-version.
18624 (gdb-invalidate-threads): Remove unused argument.
18626 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18628 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18629 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18631 2009-09-23 Glenn Morris <rgm@gnu.org>
18633 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18634 replying to mail without References or Message-Id. (Bug#4525)
18636 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18638 * term/ns-win.el (ns-reg-to-script): New variable.
18640 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18642 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18644 2009-09-22 Sam Steingold <sds@gnu.org>
18646 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18647 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18648 to 1 because hg returns status 1 when nothing is found.
18649 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18651 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18653 * textmodes/fill.el: Convert to utf-8 encoding.
18654 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18657 * add-log.el (change-log-fill-forward-paragraph): New function.
18658 (change-log-mode): Use it so fill-region DTRT.
18659 Set fill-indent-according-to-mode here rather than in
18660 change-log-fill-paragraph.
18661 (change-log-fill-paragraph): Remove.
18663 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18665 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18666 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18668 2009-09-22 Glenn Morris <rgm@gnu.org>
18670 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18671 the scroll-bar scroll the calendar window rather than the buffer.
18673 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18674 commands that move point (as opposed to scrolling).
18676 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18678 * emacs-lisp/elint.el (elint): New custom group.
18679 (elint-log-buffer): Make it a defcustom.
18680 (elint-scan-preloaded, elint-ignored-warnings)
18681 (elint-directory-skip-re): New options.
18682 (elint-builtin-variables): Doc fix.
18683 (elint-preloaded-env): New variable.
18684 (elint-unknown-builtin-args): Add an entry for encode-time.
18685 (elint-extra-errors): Make it a variable rather than a constant.
18686 (elint-preloaded-skip-re): New constant.
18687 (elint-directory): Skip files matching elint-directory-skip-re.
18688 (elint-features): New variable, local to linted buffers.
18689 (elint-update-env): Initialize elint-features. Possibly add
18690 elint-preloaded-env to the buffer's environment.
18691 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18693 (elint-init-form): New function, extracted from elint-init-env.
18694 Make non-list forms a warning rather than an error.
18695 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18696 easy-menu-define, put that adds an error-condition, and provide.
18697 When requiring cl, also require cl-macs. Really require cl, to handle
18698 some cl macros. Store required libraries in the list elint-features,
18699 so as not to re-load them. Treat cc-require like require.
18700 (elint-init-env): Call elint-init-form to do the work.
18701 Handle eval-and-compile and such like.
18702 (elint-add-required-env): Do not clear messages.
18703 (elint-special-forms): Add handlers for function, defalias, if, when,
18705 (elint-form): Add optional argument to ignore elint-special-forms,
18706 useful to prevent recursive calls from handlers. Doc fix.
18707 Respect elint-ignored-warnings.
18708 (elint-form): Respect elint-ignored-warnings.
18709 (elint-bound-variable, elint-bound-function): New variables.
18710 (elint-unbound-variable): Respect elint-bound-variable.
18711 (elint-get-args): Respect elint-bound-function.
18712 (elint-check-cond-form): Add some simple handling for (f)boundp and
18714 (elint-check-defalias-form): New handler.
18715 (elint-check-let-form): Make an empty let a warning rather than an
18717 (elint-check-setq-form): Make an empty setq a warning rather than an
18718 error. Respect elint-ignored-warnings.
18719 (elint-check-defvar-form): Accept null doc-strings.
18720 (elint-check-conditional-form): New handler. Does some simple-minded
18721 checking of featurep and (f)boundp tests.
18722 (elint-put-function-args): New function.
18723 (elint-initialize): Use elint-scan-doc-file rather than
18724 elint-find-builtin-variables. Use elint-put-function-args.
18725 Possibly scan preloaded-file-list.
18726 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18727 extend to handle functions as well.
18729 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18731 * linum.el (linum-delete-overlays, linum-update-window):
18732 Do not modify the right margin. (Bug#3971)
18734 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18736 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18737 Use nxml-mode instead of xml-mode.
18739 2009-09-21 Kevin Ryde <user42@zip.com.au>
18741 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18743 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18745 * net/dig.el (dig-mode): Use define-derived-mode.
18747 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18749 * vc-dispatcher.el (vc-do-command): Return the process object in
18750 the asynchronous case. Use when instead of if. Do not run
18751 vc-exec-after to display a message if not enabled. (Bug#4463)
18753 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18754 properties to the stash strings.
18755 (vc-git-stash-list): Return a list of strings.
18756 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18757 (vc-git-stash-show-at-point): New functions.
18758 (vc-git-stash-map): New keymap.
18760 * register.el (ctl-x-r-map): Define the keys here instead of
18763 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18765 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18766 list, to workaround performance problem (bug#4485).
18768 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18770 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18772 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18774 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18775 Document that this option is not recommended to use.
18777 2009-09-19 Glenn Morris <rgm@gnu.org>
18779 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18782 * calc/calc-alg.el (var):
18783 * calc/calcalg2.el (var): Define for compiler.
18785 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18787 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18788 Doc fix (Bug#3932).
18790 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18792 * time-stamp.el (time-stamp-month-dd-yyyy)
18793 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18794 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18795 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18796 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18797 Remove functions that have been obsolete since 1995 (Bug#4436).
18799 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18800 indent buffer only if called interactively (Bug#4452).
18802 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18803 Eli Zaretskii <eliz@gnu.org>
18805 This fixes bug#4197 (merged to bug#865, though not identical).
18806 * server.el (server-auth-dir): Add docstring note about FAT32.
18807 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18808 but warn against using them.
18810 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18812 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18813 older GDB where there is no has_more field.
18815 2009-09-19 Glenn Morris <rgm@gnu.org>
18817 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18819 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18821 * files.el (auto-mode-alist): Change default for XML files to nXML
18824 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18826 * server.el (server-ensure-safe-dir): Pass 'integer
18827 to `file-attributes', as suggested.
18829 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18831 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18832 (dired-query): Use read-key.
18834 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18836 * cus-start.el (ns-use-qd-smoothing): Remove.
18838 2009-09-18 Glenn Morris <rgm@gnu.org>
18840 * allout.el (top-level): Remove unnecessary progn.
18842 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18844 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18845 definition of abbrev table.
18847 * speedbar.el (speedbar-track-mouse):
18848 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18849 * net/eudc.el (eudc-expand-inline):
18850 * net/newst-backend.el (newsticker--cache-read-feed):
18851 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18852 condition-case handlers.
18854 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18856 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18857 (gdb-var-list): Add an element for has_more field.
18858 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18859 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18860 (gdb-var-update-handler-1): Parse output of dynamic variable
18861 objects (STL containers).
18862 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18863 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18865 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18867 (gud-speedbar-buttons): Make node expandable if expression "has more"
18870 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18872 * startup.el (emacs-quick-startup): Remove variable and all uses.
18873 (command-line): Set `inhibit-x-resources' instead.
18874 (command-line-1): Use `inhibit-x-resources' instead.
18876 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18878 * subr.el: Fix last change to avoid using the `unless' macro,
18879 which breaks bootstrapping.
18881 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18883 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18884 extended definitions, in case we reload subr.el after having
18886 (eval-next-after-load): Mark as obsolete.
18888 2009-09-17 Juri Linkov <juri@jurta.org>
18890 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18891 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18892 (menu-bar-showhide-menu, menu-bar-tools-menu)
18893 (menu-bar-describe-menu, menu-bar-help-menu)
18894 (minibuffer-local-completion-map, minibuffer-local-map):
18897 2009-09-17 Glenn Morris <rgm@gnu.org>
18899 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18900 arguments, whether or not it has a handler.
18902 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18904 * simple.el (hard-newline): Give it a doc-string.
18906 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18907 (lisp-mode-syntax-table): Give them doc-strings.
18909 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18911 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18912 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18913 (menu-bar-options-menu, menu-bar-showhide-menu)
18914 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18915 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18916 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18917 (menu-bar-options-menu, menu-bar-tools-menu)
18918 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18919 (menu-bar-help-menu):
18920 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18923 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18924 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18925 calls for the menu names and :help.
18927 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18929 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18930 to :minor-mode-function (bug#4455).
18932 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18934 * startup.el (command-line): Initialize the window-system after
18935 processing the command-line.
18937 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18938 page-delimiter matches the empty string.
18940 2009-09-16 Glenn Morris <rgm@gnu.org>
18942 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18943 byte-compile-not-obsolete-var. It's a list now.
18944 (byte-compile-not-obsolete-funcs): New variable.
18945 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18946 byte-compile-not-obsolete-funcs.
18947 (byte-compile-variable-ref, byte-compile-defvar): Update for
18948 byte-compile-not-obsolete-vars name-change and list nature.
18949 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18950 and variables behind (f)boundp tests.
18951 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18953 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18955 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18957 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18959 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18960 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18963 2009-09-15 Stephen Eglen <stephen@gnu.org>
18965 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18966 the virtual-buffers, use the name of the buffer specified by
18967 find-file-noselect, as the match may be a symlink. (This was a
18968 problem if the target and the symlink had different names.)
18970 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18972 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18974 * desktop.el (desktop-path): Check user-emacs-directory.
18976 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18978 * loadup.el: Use after-load-functions to GC after loading each file.
18979 Remove the explicit GC calls that used to be sprinkled around.
18981 * subr.el (after-load-functions): New hook.
18982 (do-after-load-evaluation): Run it. Use string-match-p to detect
18983 `obsolete' packages, rather than painfully extracting the relevant
18986 2009-09-15 Glenn Morris <rgm@gnu.org>
18988 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18989 free variable `doc'.
18991 * dired.el (dired-mode-map): Add menu entry for async shell command.
18993 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18994 variables, also consider the .elc files, since the .el files are
18995 normally gzipped (subsequent code locates the .el.gz from the .elc).
18997 * calc/calc-prog.el (arglist): Define for compiler.
18999 * calendar/diary-lib.el (diary-display-function): Change the default to
19001 (body): Define for compiler.
19003 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19004 (byte-compile-file-form, byte-compile-lambda)
19005 (byte-compile-top-level-body, byte-compile-form)
19006 (byte-compile-variable-ref, byte-compile-setq)
19007 (byte-compile-setq-default, byte-compile-body)
19008 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19009 (batch-byte-compile): Give some more local variables with common names
19010 a "bytecomp-" prefix to avoid masking warnings about free variables.
19012 * startup.el (command-line-1): Give local variables with common names a
19013 distinguishing prefix, so as not to hide free variable warnings during
19016 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19017 clever and add a suffix to make a unique name, just let the user decide
19018 whether or not to overwrite it. If the input is a directory, write the
19019 default filename to that directory. (Bug#4388)
19020 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19021 is a filename-as-a-directory.
19023 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19025 * textmodes/page.el (what-page): Don't move to beginning of line.
19026 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19028 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19030 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19032 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19034 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19035 * help.el (help-for-help-internal): Add purecopy calls for text.
19037 * vc.el (top): print-log method now takes an optional SHORTLOG
19038 argument. Add a new method: root.
19039 (vc-root-diff, vc-print-root-log): New functions.
19040 (vc-log-short-style): New variable.
19041 (vc-print-log-internal): Add support for showing short logs.
19043 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19044 vc-print-root-log and vc-print-root-diff.
19046 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19047 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19048 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19051 * vc-cvs.el (vc-cvs-print-log):
19052 * vc-mtn.el (vc-mtn-print-log):
19053 * vc-rcs.el (vc-rcs-print-log):
19054 * vc-sccs.el (vc-sccs-print-log):
19055 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19056 that is ignored for now.
19058 * vc-mtn.el (vc-mtn-annotate-command):
19059 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19061 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19063 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19064 to function-key-map, and give them ascii-character property.
19065 * term/x-win.el (x-alternatives-map):
19066 * term/ns-win.el (ns-alternatives-map):
19067 * term/internal.el (msdos-key-remapping-map):
19068 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19070 2009-09-14 Glenn Morris <rgm@gnu.org>
19072 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19073 temp-buffers (2009-09-12).
19075 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19077 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19078 the new read-key function.
19080 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19082 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19083 is defined (Bug#4405).
19085 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19087 * recentf.el (recentf-cleanup): Use a hash table to find
19088 duplicates (Bug#4407).
19090 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19092 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19093 kp-0 to ascii equivalents (Bug#4325).
19095 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19097 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19099 * eshell/em-hist.el:
19100 * eshell/em-dirs.el (eshell-complete-user-reference):
19101 Declare pcomplete functions and variables to avoid compiler warnings.
19103 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19105 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19106 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19107 * eshell/em-alias.el (eshell-aliases-file):
19108 * eshell/em-hist.el (eshell-history-file-name):
19109 Use expand-file-name instead of concat to make file names (Bug#4308).
19111 2009-09-13 Glenn Morris <rgm@gnu.org>
19113 * ediff-merg.el (ediff-do-merge):
19114 * filesets.el (filesets-run-cmd):
19115 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19116 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19117 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19118 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19119 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19120 Replace empty `let's with `progn'.
19122 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19124 * mail/sendmail.el (send-mail-function):
19125 * tooltip.el (tooltip-mode):
19126 * simple.el (transient-mark-mode):
19127 * rfn-eshadow.el (file-name-shadow-mode):
19128 * frame.el (blink-cursor-mode):
19129 * font-core.el (global-font-lock-mode):
19130 * files.el (temporary-file-directory)
19131 (small-temporary-file-directory, auto-save-file-name-transforms):
19132 * epa-hook.el (auto-encryption-mode):
19133 * composite.el (global-auto-composition-mode):
19134 Use custom-initialize-delay.
19135 * startup.el (command-line): Don't explicitly call
19136 custom-reevaluate-setting for all the above vars.
19137 * custom.el (custom-initialize-safe-set)
19138 (custom-initialize-safe-default): Delete.
19140 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19142 * term/x-win.el (x-initialize-window-system):
19143 * term/w32-win.el (w32-initialize-window-system):
19144 * term/ns-win.el (ns-initialize-window-system): Don't call
19145 mouse-wheel-mode since it's enabled globally by default already.
19147 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19148 actually define the variable, but only silences the byte-compiler.
19149 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19150 before looking it up.
19151 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19154 2009-09-12 Glenn Morris <rgm@gnu.org>
19156 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19158 (elint-add-required-env): Don't beep on error.
19159 (elint-forms): In case of error, return ENV unchanged.
19160 (elint-init-env): Skip non-list forms.
19161 (elint-log): Handle unknown file positions.
19163 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19165 * epg.el (epg-make-context): Add autoload cookie.
19166 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19167 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19168 (epg-verify-string, epg-start-sign, epg-sign-file)
19169 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19170 (epg-encrypt-string, epg-start-export-keys)
19171 (epg-export-keys-to-file, epg-export-keys-to-string)
19172 (epg-start-import-keys, epg-import-keys-from-file)
19173 (epg-import-keys-from-string, epg-start-receive-keys)
19174 (epg-receive-keys, epg-import-keys-from-server)
19175 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19176 (epg-sign-keys, epg-start-generate-key)
19177 (epg-generate-key-from-file, epg-generate-key-from-string):
19178 Remove autoload cookie.
19180 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19182 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19183 reevaluation of trash-directory.
19185 * mwheel.el: Fix last change.
19186 (mouse-wheel-mode): New defvar.
19187 (mouse-wheel-mode): Remove autoload cookie.
19189 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19191 * mwheel.el (mwheel-installed-bindings): New var.
19192 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19193 the bindings we set last time. Use custom-initialize-delay.
19194 * loadup.el: Load mwheel after term/*-win.el.
19195 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19196 and mouse-wheel-up-event now that their first evaluation is done
19197 sufficiently late to be correct.
19199 * startup.el (tutorial-directory): Make it a defcustom.
19200 Use custom-initialize-delay rather than eval-at-startup to set it.
19201 * image.el (image-load-path): Make it a defcustom.
19202 Use custom-initialize-delay rather than eval-at-startup to set it.
19203 * subr.el (eval-at-startup): Remove.
19204 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19206 * subr.el (do-after-load-evaluation): Warn the user after loading an
19209 2009-09-12 Glenn Morris <rgm@gnu.org>
19211 * proced.el (proced-mark-alt): Remove alias.
19212 (proced-mode-map): Remove proced-mark-alt.
19214 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19215 Elint file and directory. Remove initialization entry.
19217 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19219 (elint-current-buffer): Set mode-line-process.
19220 (elint-init-env): Handle define-derived-mode.
19221 Fix declare-function with unspecified arglist. Guard against odd
19222 defalias statements (eg iso-insert's 8859-1-map).
19223 (elint-add-required-env): Use a temp buffer.
19224 (elint-form): Just print the function/macro name, not the whole form.
19225 Return env unchanged if we fail to parse a macro.
19226 (elint-forms): Guard against parse errors.
19227 (elint-output): New function, to handle batch mode.
19228 (elint-log-message): Add optional argument. Use elint-output.
19229 (elint-set-mode-line): New function.
19231 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19233 * emacs-lisp/elp.el (elp-not-profilable): Add more
19234 functions (Bug#4233).
19236 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19238 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19239 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19241 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19243 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19244 (gdb-var-list-children): Use json parsing.
19246 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19248 * progmodes/js.el (js--proper-indentation): Handle the case where
19249 char-before is null. Reported by Deniz Dogan.
19251 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19253 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19255 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19257 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19258 (epg-digest-algorithm-alist): Add SHA224.
19259 (epg-context-set-passphrase-callback)
19260 (epg-context-set-progress-callback): Add description about
19263 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19265 * custom.el (custom-delayed-init-variables): New var.
19266 (custom-initialize-delay): New function.
19267 * startup.el (command-line): "Re"evaluate all vars in
19268 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19269 explicitly any more.
19270 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19271 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19273 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19275 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19277 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19278 (gdb-var-update-handler): Use json parsing.
19280 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19282 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19283 decode annotated text, regardless of language environment. (Bug#2741)
19285 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19287 * Makefile.in (autoloads): Make rmail.el writable as well.
19289 2009-09-11 Glenn Morris <rgm@gnu.org>
19291 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19293 * dired.el: Regenerate with extracted autoloads.
19294 * Makefile.in (autoloads): Make dired.el writable.
19296 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19297 * ibuffer.el: Regenerate with extracted autoloads.
19298 * Makefile.in (autoloads): Make ibuffer.el writable.
19300 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19301 * version.el (emacs-copyright, emacs-major-version)
19302 (emacs-minor-version): Reformat doc-strings for make-docfile.
19304 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19305 functions and variables, since they must be stuff specific to some other
19307 (apropos-print): Make mouse-click message less specific about button.
19309 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19310 that records where a macro was defined.
19311 * help-fns.el (describe-function-1): Mention if a function has a
19313 * help-mode.el (help-function-cmacro): New button.
19315 * locate.el (top-level): Always require dired.
19316 (locate-mode-map): Initialize inside the defvar.
19318 * net/ange-ftp.el (dired-compress-file): Declare.
19319 (ange-ftp-dired-compress-file): Add doc string.
19321 * term/ns-win.el (x-display-name, x-setup-function-keys):
19322 Unify doc-strings with X versions.
19324 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * emulation/crisp.el (crisp-mode-map): Move initialization
19328 (crisp-mode): Use define-minor-mode.
19330 * progmodes/xscheme.el (xscheme-evaluation-commands):
19331 Put a :advertised-binding property rather than using
19332 advertised-xscheme-send-previous-expression.
19333 (advertised-xscheme-send-previous-expression): Declare obsolete.
19334 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19336 (crisp-mode): Add corresponding bindings to
19337 undo's :advertised-binding instead.
19338 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19339 than using dired-advertised-find-file.
19340 (dired-advertised-find-file):
19341 * simple.el (advertised-undo):
19342 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19343 (widget-keymap): Put a :advertised-binding property rather
19344 than using advertised-widget-backward.
19345 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19346 than using advertised-undo.
19347 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19349 2009-09-10 Simon South <ssouth@slowcomputing.org>
19351 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19352 Mark mode is enabled and region is active; otherwise indent or
19353 insert TAB as usual.
19354 (delphi-mode): Update description of TAB-key binding.
19356 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19358 * subr.el (define-key-rebound-commands): Mark obsolete.
19359 * startup.el (precompute-menubar-bindings): Remove.
19360 (normal-top-level): Remove obsolete code that tried to precompute
19362 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19363 define-key-rebound-commands and precompute-menubar-bindings.
19365 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19367 * net/imap.el (imap-interactive-login): Better messages.
19368 (imap-open): Fix bug with renamed buffer on reconnect.
19369 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19370 for easier debugging and cleaner code. On successful (guessed based on
19371 server capabilities) secondary authentication, set imap-state
19373 (imap-last-authenticator): Define imap-last-authenticator as a variable
19376 2009-09-10 Glenn Morris <rgm@gnu.org>
19378 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19380 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19381 (byte-compile-file-form-autoload): Don't warn about unknown functions
19382 where the autoload statement comes after the use.
19383 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19384 that any handlers inside the body (eg require) are in turn respected.
19386 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19389 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19390 and syntax and abbrev tables basic docs, if they don't have any.
19392 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19394 * international/mule-cmds.el (top-level): Require cl when compiling.
19395 (view-hello-file): Use default-value rather than
19396 default-enable-multibyte-characters.
19398 * progmodes/fortran.el: Move all safe and risky properties into the
19401 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19402 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19403 * mail/undigest.el:
19404 Put autoloads in rmail.el rather than loaddefs.el.
19405 * mail/rmail.el: Regenerate with extracted autoloads.
19407 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19408 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19410 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19412 Reported in thread for Bug#4375.
19413 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19414 "-data-evaluate-expression" instead of print.
19415 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19416 (gdb-tooltip-print): Parse output from above MI command.
19417 (gdb): Revert 2009-08-11 change. User should detach inferior
19420 Remove the word "separate" from IO functions as inferior
19421 output is now never displayed in the GUD buffer.
19423 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19425 * startup.el (command-line-normalize-file-name): On Windows and
19426 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19428 2009-09-10 Juri Linkov <juri@jurta.org>
19430 * isearch.el (isearch-text-char-description): Propertize escape
19431 character sequences with the `escape-glyph' face. (Bug#4344)
19433 * simple.el (shell-command): Set asynchronous process filter to
19434 `comint-output-filter'. (Bug#4343)
19436 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19437 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19438 the list. Move "asm" to the bottom.
19439 (grep-find-ignored-directories): Add `choice' with nil value
19440 to empty the list easily.
19441 (grep-find-ignored-files): New option.
19442 (grep-files-history): Set to nil by default instead of '("ch" "el").
19443 (grep-compute-defaults): Add "<X>" to `grep-template'.
19444 (grep-read-files): Bind new local variables `default-alias' and
19445 `default-extension'. Use a list of default values for the file prompt.
19446 (lgrep): Add `--exclude=' command line options composed from
19447 `grep-find-ignored-files'.
19448 (rgrep): Add `-name' command line options composed from
19449 `grep-find-ignored-files'. (Bug#4301)
19451 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19453 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19456 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19458 * calendar/time-date.el (autoload):
19459 Expand define-obsolete-function-alias into defalias and make-obsolete
19460 for old Emacsen that Gnus supports.
19461 (with-no-warnings): Define it for old Emacsen.
19462 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19464 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19465 float-time is available; suppress compile warning for time-to-seconds.
19467 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19469 * net/imap.el (imap-message-map): Docstring fix.
19471 2009-09-09 Glenn Morris <rgm@gnu.org>
19473 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19474 line numbers too. (Bug#4374)
19476 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19478 * smerge-mode.el (smerge-remove-props, smerge-refine):
19479 Use with-silent-modifications (bug#4342).
19481 * subr.el (with-silent-modifications): New macro.
19483 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19485 * files.el (top-level): Require `cl' when compiling.
19487 2009-09-07 Glenn Morris <rgm@gnu.org>
19489 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19491 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19492 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19494 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19496 * vc-git.el (vc-git-annotate-command): Use separator to parse
19497 arguments correctly.
19499 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19501 * proced.el (proced-mode): Doc fix.
19503 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19505 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19507 (tramp-do-file-attributes-with-ls): Check for file existence at
19509 (tramp-do-file-attributes-with-stat): Likewise.
19510 (tramp-convert-file-attributes): Return nil when attr is nil.
19512 2009-09-05 Glenn Morris <rgm@gnu.org>
19514 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19515 properties to this button.
19516 (diary-fancy-display): Don't extend the button to the final newline.
19517 (diary-fancy-display-mode): Continue to define "q" as a local key.
19519 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19522 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19524 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19525 (byte-compile-dest-file-function): New option.
19526 (byte-compile-dest-file): Doc fix.
19527 Obey byte-compile-dest-file-function.
19528 (byte-compile-cl-file-p): New function.
19529 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19530 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19531 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19532 than for file being previously loaded.
19533 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19534 (byte-compile-file-form-require): Handle the case where requiring a file
19535 indirectly causes CL to be loaded.
19537 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19539 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19540 before killing the old buffer, since by the time `kill-buffer' is
19541 run so many buffer variables have been set to nil that it may not
19542 behave as expected. (Bug#4061)
19544 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19546 * files.el (find-alternate-file): If the old buffer is modified
19547 and visiting a file, behave similarly to `kill-buffer' when
19548 killing it, thus reverting to the pre-1.878 behavior; see
19549 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19550 for discussion. Also, consult `buffer-file-name' as a variable
19551 not as a function, for consistency with the rest of the code.
19553 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19555 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19556 also when adding a new directory.
19558 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19561 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19563 * files.el (locate-file-completion-table): Make it provide boundary
19564 information, so partial-completion works better.
19566 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19568 * mail/footnote.el (Footnote-text-under-cursor):
19569 Check footnote-text-marker-alist before using it (bug#4324).
19571 2009-09-04 Glenn Morris <rgm@gnu.org>
19573 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19574 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19575 * play/solitaire.el, play/tetris.el:
19576 Remove leading * from defcustom and defface docs.
19578 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19580 (diary-fancy-overriding-map): New variable.
19581 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19584 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19587 2009-09-03 Glenn Morris <rgm@gnu.org>
19589 * arc-mode.el (archive-mode):
19590 * dos-fns.el (set-default-process-coding-system):
19591 * man.el (Man-getpage-in-background):
19592 * menu-bar.el (menu-bar-describe-menu):
19593 * server.el (server-process-filter):
19594 * startup.el (command-line):
19595 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19596 * w32-fns.el (set-default-process-coding-system):
19597 * x-dnd.el (x-dnd-handle-file-name):
19598 * international/mule-cmds.el (mule-menu-keymap)
19599 (set-default-coding-systems, language-info-alist, set-language-info)
19600 (set-language-environment, standard-display-european-internal)
19601 (set-locale-environment):
19602 * international/mule-diag.el (mule-diag):
19603 * mail/emacsbug.el (report-emacs-bug):
19604 * mail/rmail.el (rmail-mode):
19605 * mail/sendmail.el (mail-setup):
19606 Use default-value rather than default-enable-multibyte-characters.
19608 * progmodes/f90.el: Move all safe properties into the defcustoms.
19609 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19611 * calendar/appt.el (appt-check):
19612 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19613 (diary-check-diary-file, diary-list-entries)
19614 (diary-include-other-diary-files, diary-simple-display)
19615 (diary-fancy-display, diary-print-entries)
19616 (diary-mark-included-diary-files, diary-make-entry):
19617 Don't call substitute-in-file-name on diary-file.
19619 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19620 Stefan Monnier <monnier@iro.umontreal.ca>
19622 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19623 (footnote-mode-map): Move initialization into the declaration.
19624 (footnote-minor-mode-map): Define it rather than changing global-map.
19625 (footnote-mode): Use define-minor-mode.
19627 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19629 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19630 (tramp-do-file-attributes-with-perl)
19631 (tramp-do-file-attributes-with-stat): Rename from
19632 `tramp-handle-file-attributes-with-*'.
19633 (tramp-handle-file-attributes): Use them.
19634 (tramp-do-directory-files-and-attributes-with-perl)
19635 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19636 `tramp-handle-directory-files-and-attributes-with-*'.
19637 (tramp-handle-directory-files-and-attributes): Use them.
19638 (tramp-method-out-of-band-p): Additional parameter SIZE.
19639 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19640 (tramp-handle-write-region): Use it.
19641 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19642 (tramp-handle-vc-registered): Check, whether the first run did
19643 return files to be tested.
19644 (tramp-advice-make-auto-save-file-name): Do not call directly
19645 `tramp-handle-make-auto-save-file-name', because this would bypass
19646 the locking mechanism.
19648 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19649 (file-remote-p, process-file, start-file-process, set-file-times)
19650 (tramp-compat-file-attributes): Compatibility functions shall not
19651 call directly `tramp-handle-*', because this would bypass the
19653 (tramp-compat-number-sequence): New defun.
19655 2009-09-02 Glenn Morris <rgm@gnu.org>
19657 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19658 alias for float-time.
19659 (time-to-number-of-days): In Emacs, use float-time.
19660 * net/newst-backend.el (time-add): Suppress warnings from compat
19662 * time.el (emacs-uptime, emacs-init-time):
19663 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19664 Use float-time rather than time-to-seconds.
19666 * minibuffer.el (completion-initials-expand): Fix typo.
19668 * faces.el (modeline, modeline-inactive, modeline-highlight)
19669 (modeline-buffer-id):
19670 * info.el (info-menu-5): Mark these face aliases as obsolete.
19672 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19674 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19676 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19677 no "--thread" option.
19678 (gdb-stopped): Don't print "Switched to thread" message when it is
19681 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19683 * minibuffer.el (completion-try-completion)
19684 (completion-all-completions): Remove ill-defined (and
19685 mistakenly installed and luckily never used nor documented)
19686 `completion-styles' property.
19687 (completion-initials-expand, completion-initials-all-completions)
19688 (completion-initials-try-completion): New functions.
19689 (completion-styles-alist): Add doc to each entry.
19690 Add new `initials' entry.
19692 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19694 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19695 MI command -var-evaluate-expression.
19696 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19697 and tweak for case of string child.
19698 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19700 2009-09-01 Glenn Morris <rgm@gnu.org>
19702 * add-log.el (change-log-date-face, change-log-name-face)
19703 (change-log-email-face, change-log-file-face, change-log-list-face)
19704 (change-log-conditionals-face, change-log-function-face)
19705 (change-log-acknowledgement-face):
19706 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19707 (custom-modified-face, custom-set-face, custom-changed-face)
19708 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19709 (custom-documentation-face, custom-state-face, custom-comment-face)
19710 (custom-comment-tag-face, custom-variable-tag-face)
19711 (custom-variable-button-face, custom-face-tag-face)
19712 (custom-group-tag-face-1, custom-group-tag-face):
19713 * diff-mode.el (diff-header-face, diff-file-header-face)
19714 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19715 (diff-added-face, diff-changed-face, diff-function-face)
19716 (diff-context-face, diff-nonexistent-face):
19717 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19718 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19719 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19720 (Info-title-4-face):
19721 * isearch.el (isearch-lazy-highlight-face):
19722 * log-view.el (log-view-file-face, log-view-message-face):
19723 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19724 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19725 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19727 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19728 (smerge-base-face, smerge-markers-face):
19729 * wid-edit.el (widget-documentation-face, widget-button-face)
19730 (widget-field-face, widget-single-line-field-face)
19731 (widget-inactive-face, widget-button-pressed-face):
19732 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19733 (woman-addition-face):
19734 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19735 (eshell-ls-executable-face, eshell-ls-readonly-face)
19736 (eshell-ls-unreadable-face, eshell-ls-special-face)
19737 (eshell-ls-missing-face, eshell-ls-archive-face)
19738 (eshell-ls-backup-face, eshell-ls-product-face)
19739 (eshell-ls-clutter-face):
19740 * eshell/em-prompt.el (eshell-prompt-face):
19741 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19742 * obsolete/old-whitespace.el (whitespace-highlight-face):
19743 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19744 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19745 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19746 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19747 (antlr-font-lock-literal-face):
19748 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19749 (ebrowse-root-class-face, ebrowse-file-name-face)
19750 (ebrowse-default-face, ebrowse-member-attribute-face)
19751 (ebrowse-member-class-face, ebrowse-progress-face):
19752 * progmodes/make-mode.el (makefile-space-face):
19753 * progmodes/sh-script.el (sh-heredoc-face):
19754 * textmodes/flyspell.el (flyspell-incorrect-face)
19755 (flyspell-duplicate-face):
19756 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19757 * textmodes/texinfo.el (texinfo-heading-face):
19758 Mark face aliases with "-face" suffix as obsolete.
19760 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19763 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19764 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19765 easy-menu-define wants to modify these.
19767 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19769 * net/browse-url.el (browse-url-file-url):
19770 * term/internal.el (dos-codepage-setup):
19771 Use default-value rather than default-enable-multibyte-characters.
19773 * progmodes/etags.el (etags-goto-tag-location):
19774 * progmodes/flymake.el (flymake-highlight-line)
19775 (flymake-goto-file-and-line, flymake-goto-line):
19776 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19777 (gdb-goto-breakpoint):
19778 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19779 * progmodes/python.el (python-find-function)
19780 (python-pdbtrack-track-stack-file):
19781 * progmodes/verilog-mode.el (verilog-surelint-off):
19782 * term/ns-win.el (ns-open-file-select-line):
19783 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19784 Use forward-line rather than goto-line.
19786 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19787 * textmodes/reftex-index.el (reftex-display-index):
19788 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19789 * textmodes/reftex-toc.el (reftex-toc):
19790 Remove unnecessary bindings of default-major-mode (all are followed by
19791 major-mode check and possible mode switch).
19793 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19795 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19796 Handle watchpoints (bug#4282).
19797 (def-gdb-thread-buffer-command): Enable thread to be selected by
19798 clicking without selecting threads buffer first.
19799 (gdb-current-context-command): Use selected frame so that "up",
19800 "down" etc work in the GUD buffer.
19801 (gdb-update): Find selected frame before rendering stack buffer.
19802 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19804 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19806 * progmodes/sym-comp.el (displayed-completions): Remove.
19807 (symbol-complete): Use minibuffer-complete.
19809 2009-08-31 Glenn Morris <rgm@gnu.org>
19811 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19813 * apropos.el (apropos-symbols-internal):
19814 Handle (obsolete) face aliases.
19816 * faces.el (describe-face): Adjust the output format to be more like
19817 describe-variable, and to mention (obsolete) face aliases.
19818 Adjust the whitespace so that help-setup-xref works.
19820 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19821 * calendar/diary-lib.el (diary-button-face):
19822 Mark these face aliases as obsolete.
19824 * calendar/calendar.el (calendar-today): Doc fix.
19826 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19828 * progmodes/gdb-mi.el (gdb-control-all-threads)
19829 (gdb-control-current-thread): Force tool bar update.
19830 (gdb-non-stop-handler): New function.
19831 (gdb-init-1): Use it to test if non-stop mode is supported.
19832 Remove unused gdbmi buffer type.
19834 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19836 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19837 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19839 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19841 * comint.el (comint-exec-1): Check command is non-null first.
19842 Part of gdb-mi.el change (2009-08-28).
19844 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19846 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19848 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19850 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19851 instead of `dolist' to avoid a recursive require when bootstrapping.
19853 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19855 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19857 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19859 * net/imap.el (imap-send-command): Simplify.
19860 (imap-wait-for-tag): point-max -> buffer-size.
19862 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19864 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19865 with constant argument.
19867 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19869 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19871 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19872 Change default, since most of our files don't have a history.
19873 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19879 * calc/calc.el: Improve commenting convention.
19880 (calc-digit-map, toplevel): Simplify.
19882 * comint.el (comint-insert-input): Be careful to only set point if we
19883 don't delegate to some other command.
19885 * proced.el (proced-signal-list): Make it an alist.
19886 (proced-grammar-alist): Capitalize names.
19887 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19888 Disable undo manually and make it read-only.
19889 Use completion-annotate-function.
19891 * minibuffer.el (minibuffer-message): If the current buffer is not
19892 a minibuffer, insert the message in the echo area rather than at the
19894 (completion-annotate-function): New variable.
19895 (minibuffer-completion-help): Use it.
19896 (completion--embedded-envvar-table): Environment vars are
19897 always case-sensitive.
19899 2009-08-30 Glenn Morris <rgm@gnu.org>
19901 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19902 from fortran-current-defun.
19903 (fortran-beginning-of-subprogram): Be more precise about finding the
19904 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19905 (fortran-end-of-subprogram): Simplify.
19906 (fortran-current-defun): Use fortran-start-prog-re.
19908 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19910 * subr.el (do-after-load-evaluation): Simplify.
19912 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19914 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19916 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19917 (vc-rcs-print-log): Use it.
19919 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19921 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19923 * paths.el (abbrev-file-name): Move to abbrev.el.
19924 * abbrev.el (abbrev-file-name): Move from paths.el.
19925 Obey user-emacs-directory.
19926 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19927 user-emacs-directory.
19928 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19929 abbrev-file-name and calc-settings-file any more.
19930 * startup.el (command-line): Recompute abbrev-file-name and
19931 abbreviated-home-dir.
19932 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19933 of the special code for when C-h bindings haven't been changed.
19934 (display-startup-echo-area-message): Use with-current-buffer.
19935 (command-line-1): Use a list of strings, rather than a list of lists
19936 of strings for longopts.
19938 * files.el (get-free-disk-space): Use / for default-directory.
19940 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19941 Use with-current-buffer.
19943 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19944 Recognize immutable variables like most-positive-fixnum.
19945 (byte-compile-setq-default): Check and warn if trying to assign
19946 to an immutable variable, or a non-variable.
19948 * progmodes/cc-vars.el (c-comment-continuation-stars):
19949 * progmodes/cc-engine.el (c-looking-at-bos):
19950 * progmodes/cc-cmds.el (c-toggle-auto-state)
19951 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19952 (c-comment-line-break-function): Add version of obsolescence.
19954 2009-08-28 Juri Linkov <juri@jurta.org>
19956 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19957 associated with `archive-mode'.
19959 * image.el (image-type-header-regexps): Use only JPEG magic number
19960 to determine JPEG images, and don't use `image-jpeg-p' because
19961 Emacs can display non-JFIF non-Exif JPEG images.
19963 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19965 * arc-mode.el (archive-mode):
19966 * emacs-lisp/re-builder.el (re-builder-unload-function):
19967 Protect against the default value of `major-mode' being nil.
19969 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19971 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19972 Fix typos in docstrings.
19974 * progmodes/js.el (js--macro-decl-re): Doc fix.
19975 (js--plain-method-re, js--split-name): Refloc docstring.
19976 (js--class-styles, js--make-merged-item, js--splice-into-items):
19977 Fix typos in docstrings; reflow docstrings.
19978 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19979 (js--variable-decl-matcher, js--inside-pitem-p)
19980 (js--parse-state-at-point, js--get-all-known-symbols)
19981 (js--symbol-history, js-find-symbol, js--js-references)
19982 (js--moz-interactor, js--js-encode-value, js--read-tab):
19983 Fix typos in docstrings.
19985 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19987 * textmodes/reftex.el (reftex-get-file-buffer-force):
19988 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19989 * emulation/viper.el (viper-go-away, viper-set-hooks):
19990 * emacs-lisp/re-builder.el (re-builder-unload-function):
19991 * emacs-lisp/bytecomp.el (byte-compile-file):
19992 * ses.el (ses-unload-function):
19993 * hexl.el (hexl-find-file):
19994 * files.el (normal-mode):
19995 * ehelp.el (with-electric-help):
19996 * autoinsert.el (auto-insert-alist):
19997 * arc-mode.el (archive-mode):
19998 Use (default-value 'major-mode) instead of default-major-mode.
20000 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20001 * international/mule.el (load-with-code-conversion):
20002 * emacs-lisp/debug.el (debug):
20003 * ediff-vers.el (ediff-rcs-get-output-buffer):
20004 * dired.el (dired-internal-noselect): Don't let-bind
20005 default-major-mode around code that doesn't use it.
20006 E.g. buffer creation via get-buffer-create doesn't use it.
20008 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20010 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20011 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20012 when writing the temp file. Otherwise, epa-file gets confused.
20013 (tramp-register-file-name-handlers): Make it a defun. Move also
20014 `epa-file-handler' to the front of `file-name-handler-alist'.
20016 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20018 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20019 start right after a ^M.
20020 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20021 (tramp-completion-file-name-regexp-separate)
20022 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20023 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20024 Don't modify last-coding-system-used by accident.
20025 (tramp-completion-file-name-handler): Apply the checks here,
20026 instead during registration.
20027 (tramp-register-file-name-handlers): Rename from
20028 `tramp-register-file-name-handler'. Register both
20029 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20030 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20032 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20034 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20035 Remove variable ...
20036 (gdb-init-1, gdb-display-separate-io-buffer)
20037 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20039 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20040 (gdb-inferior-filter): Use comint-output-filter to stop
20041 echoing and remove ^M characters.
20043 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20045 * emulation/viper-init.el (viper-restore-cursor-type):
20046 * emulation/cua-base.el (cua--update-indications):
20047 Replace default-cursor-type with (default-value 'cursor-type).
20049 * mail/sendmail.el (mail-recover-1):
20050 * international/mule-diag.el (describe-current-coding-system-briefly)
20051 (describe-current-coding-system):
20052 * international/mule-cmds.el (select-safe-coding-system)
20053 (select-message-coding-system)
20054 (set-language-environment-coding-systems, set-locale-environment):
20055 * hexl.el (hexl-insert-multibyte-char):
20056 * dos-w32.el (find-buffer-file-type-coding-system):
20057 * simple.el (what-cursor-position):
20058 Replace uses of default-buffer-file-coding-system
20059 with (default-value 'buffer-file-coding-system).
20061 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20062 Replace uses of default-cursor-in-non-selected-windows
20063 with (default-value 'cursor-in-non-selected-windows).
20064 Use with-current-buffer.
20066 * mail/feedmail.el: Use CL macros.
20067 (feedmail-run-the-queue, feedmail-send-it-immediately):
20068 * dos-w32.el (find-buffer-file-type): Replace uses of
20069 default-buffer-file-type with (default-value 'buffer-file-type).
20071 2009-08-28 Glenn Morris <rgm@gnu.org>
20073 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20074 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20075 Use default-value of major-mode rather than default-major-mode.
20077 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20079 * Makefile.in (update-elcfiles): Report left over elc files.
20081 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20082 expand-file-name and with-current-buffer.
20083 (mail-get-names, mail-directory): Use with-current-buffer.
20085 * vc.el (vc-read-revision): New function.
20086 (vc-version-diff, vc-merge): Use it.
20088 2009-08-27 Sam Steingold <sds@gnu.org>
20090 * simple.el (kill-do-not-save-duplicates): New user option.
20091 (kill-new): When it is non-nil, and the new string is the same as
20092 the latest kill, set replace to t to avoid duplicates in kill-ring.
20094 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20096 * net/tramp.el (tramp-handle-process-file): Do not flush all
20097 caches when `process-file-side-effects' is set.
20098 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20099 instead of `tramp-find-file-exists-command'.
20100 Unset `process-file-side-effects'.
20102 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20104 * net/tramp.el (tramp-methods): New method "rsyncc".
20105 (top): Add completion function for "rsyncc".
20106 (tramp-message-show-message): New defvar.
20107 (tramp-message, tramp-error): Use it.
20108 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20110 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20111 `tramp-methods' entry `copy-env' of "rsyncc".
20112 (tramp-vc-registered-read-file-names): New defconst.
20113 (tramp-vc-registered-file-names): New defvar.
20114 (tramp-handle-vc-registered): Implement optimization strategy.
20115 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20116 (tramp-vc-file-name-handler): New defun.
20117 (tramp-get-ls-command, tramp-get-test-command)
20118 (tramp-get-file-exists-command, tramp-get-remote-ln)
20119 (tramp-get-remote-perl, tramp-get-remote-stat)
20120 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20122 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20123 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20125 (tramp-get-file-property): Check for timestamps in
20126 `tramp-cache-inhibit-cache'.
20127 (tramp-set-file-property): Write timestamp.
20129 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20131 * language/japan-util.el (japanese-symbol-table): Add entries for
20134 * international/characters.el: Add category `j' to cp932-2-byte.
20136 2009-08-27 Kenichi Handa <handa@m17n.org>
20138 * international/fontset.el (build-default-fontset-data): New macro.
20139 (setup-default-fontset): Use build-default-fontset-data for CJK,
20140 tibetan, ethiopic, and ipa.
20142 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20144 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20145 (enable-multibyte-characters): Not customizable any more.
20147 * subr.el (default-mode-line-format, default-header-line-format)
20148 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20149 (default-direction-reversed, default-truncate-lines)
20150 (default-left-margin, default-tab-width, default-case-fold-search)
20151 (default-left-margin-width, default-right-margin-width)
20152 (default-left-fringe-width, default-right-fringe-width)
20153 (default-fringes-outside-margins, default-scroll-bar-width)
20154 (default-vertical-scroll-bar, default-indicate-empty-lines)
20155 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20156 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20157 (default-scroll-down-aggressively, default-fill-column)
20158 (default-cursor-type, default-buffer-file-type)
20159 (default-cursor-in-non-selected-windows)
20160 (default-buffer-file-coding-system, default-major-mode)
20161 (default-enable-multibyte-characters): Mark as obsolete.
20163 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20165 * vc-dir.el (vc-dir-update): Remove debug helper.
20167 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20169 2009-08-26 Sam Steingold <sds@gnu.org>
20171 * simple.el (save-interprogram-paste-before-kill): New user option.
20172 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20173 save the interprogram-paste into kill-ring before overriding it
20174 with the Emacs kill.
20176 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20178 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20179 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20180 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20181 and move to vc-rcs.el.
20182 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20184 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20185 (vc-rcs-update-changelog): Remove.
20186 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20187 and move to vc-rcs.el.
20189 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20190 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20192 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20193 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20194 vc.el, renamed to be RCS specific.
20196 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20198 (vc-cvs-update-changelog): Move here from vc.el.
20200 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20203 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20205 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20207 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20209 * vc-git.el (vc-git-register): Use "git add" for directories.
20210 (vc-git-stash, vc-git-stash-show): New functions.
20211 (vc-git-extra-menu-map): Bind them.
20213 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20214 directory correctly in case the item is a directory itself.
20216 * vc.el: Document the desired behavior for reverted files in the
20218 (vc-default-prettify-state-info): Remove function, unused.
20220 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20222 2009-08-26 Glenn Morris <rgm@gnu.org>
20224 * bindings.el (standard-mode-line-format): Reposition dashes in
20225 which-func entry. (Bug#4217)
20227 * files.el (enable-local-variables, enable-local-eval)
20228 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20230 (auto-mode-alist, ignored-local-variables)
20231 (save-some-buffers-action-alist): Move risky declarations to the
20233 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20234 (font-lock-defaults, format-alist, imenu--index-alist)
20235 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20236 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20237 (mode-line-modified, mode-line-mule-info, mode-line-position)
20238 (mode-line-process, mode-line-remote, outline-level)
20239 (parse-time-rules, rmail-output-file-alist)
20240 (special-display-buffer-names, vc-mode):
20241 Move risky declarations to the relevant files.
20242 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20243 (mode-line-modified, mode-line-process, mode-line-position)
20244 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20245 * font-core.el (font-lock-defaults):
20246 * format.el (format-alist):
20247 * vc-hooks.el (vc-mode):
20248 * window.el (special-display-buffer-names):
20249 * international/mule-cmds.el (input-method-alist):
20250 Define riskiness here (dumped file) rather than in files.el.
20251 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20252 * imenu.el (imenu-generic-expression, imenu--index-alist):
20253 * outline.el (outline-level):
20254 * time.el (display-time-string):
20255 * calendar/parse-time.el (parse-time-rules):
20256 * mail/rmailout.el (rmail-output-file-alist):
20257 Autoload riskiness here, rather than placing in files.el.
20259 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20261 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20263 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20265 * simple.el (process-file-side-effects): New defvar.
20267 * dired-aux.el (dired-show-file-type):
20268 * vc.el (vc-diff-internal):
20269 * vc-arch.el (vc-arch-diff):
20270 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20271 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20272 * vc-git.el (vc-git-registered, vc-git-working-revision)
20273 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20274 (vc-git--empty-db-p):
20275 * vc-hooks.el (vc-user-login-name):
20276 * vc-svn.el (vc-svn-registered, vc-svn-state)
20277 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20278 * progmodes/grep.el (grep-probe): Let-bind
20279 `process-file-side-effects' with nil.
20281 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20283 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20284 daemon. Replace ping by checking for running service for bluez
20285 and zeroconf. (Bug#4239)
20287 2009-08-25 Kevin Ryde <user42@zip.com.au>
20289 * net/dig.el (dig): Add autoload cookie.
20291 2009-08-25 Glenn Morris <rgm@gnu.org>
20293 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20294 load-history for absolute file-names.
20295 (byte-compile-file-form-require): Warn about use of the cl package.
20297 * format.el (format-alist): Doc fix.
20299 * play/bubbles.el (top-level): Don't require cl at run-time.
20301 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20304 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20306 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20308 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20310 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20312 * calc/calc-alg.el (math-trig-rewrite)
20313 (math-hyperbolic-trig-rewrite): New functions.
20314 (calc-simplify): Simplify trig functions when asked.
20316 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20318 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20320 2009-08-24 Kenichi Handa <handa@m17n.org>
20322 * language/ind-util.el (mapthread): Delete it.
20323 (combinatorial): New function.
20324 (indian--puthash-cv): Use combinatorial instead of mapthread.
20326 2009-08-22 Kevin Ryde <user42@zip.com.au>
20328 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20329 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20330 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20331 Clarify docstring that the value is strings not symbols.
20332 (checkdoc-list-of-strings-p): New function.
20334 2009-08-22 Glenn Morris <rgm@gnu.org>
20336 * files.el (auto-mode-alist):
20337 * hippie-exp.el (he-concat-directory-file-name):
20338 * lpr.el (lpr-windows-system, printer-name):
20339 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20340 * ps-print.el (ps-windows-system):
20341 * startup.el (command-line):
20342 * emulation/viper-ex.el (viper-glob-function):
20343 * international/mule-cmds.el (set-language-environment-coding-systems):
20344 * net/ange-ftp.el (ange-ftp-write-region):
20345 * obsolete/fast-lock.el (fast-lock-cache-name):
20346 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20347 unisoft-unix, vax-vms, win32, w32.
20349 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20350 given name if the pattern is not more specific.
20352 * calendar/lunar.el (lunar-phase-names): New option.
20353 (lunar-phase): Doc fix.
20354 (lunar-cycles-per-year): New constant.
20355 (lunar-index): New function.
20356 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20357 (lunar-phase-name): Use lunar-phase-names.
20358 (calendar-lunar-phases): Use format.
20359 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20361 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20362 Copy imenu-example--name-and-position function here for own use.
20363 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20365 * bs.el (bs--redisplay):
20366 * cus-edit.el (custom-redraw):
20367 * ibuffer.el (ibuffer-bury-buffer):
20368 * server.el (server-goto-line-column):
20369 * startup.el (command-line-1):
20370 * strokes.el (strokes-xpm-for-stroke):
20371 * term.el (term-display-buffer-line):
20372 * view.el (View-goto-line):
20373 * calc/calc.el (calc-do, calc-trail-buffer):
20374 * play/gamegrid.el (gamegrid-add-score-insecure):
20375 * progmodes/ada-mode.el (ada-compile-goto-error):
20376 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20377 (ebrowse-select-1st-to-9nth):
20378 * progmodes/cperl-mode.el (cperl-time-fontification):
20379 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20380 * progmodes/gud.el (gud-display-line):
20381 (idlwave-shell-display-line):
20382 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20383 * progmodes/make-mode.el (makefile-browser-toggle):
20384 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20385 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20386 * textmodes/picture.el (picture-draw-rectangle):
20387 * textmodes/reftex-index.el (reftex-index-goto-letter):
20388 (reftex-select-jump-to-previous):
20389 * textmodes/reftex-sel.el (reftex-find-start-point)
20390 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20391 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20392 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20393 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20394 * textmodes/two-column.el (2C-associated-buffer):
20395 Use forward-line rather than goto-line.
20397 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20400 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20401 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20402 (quick-check-list-to-regexp): Declare.
20404 * progmodes/make-mode.el (makefile-browser-insert-selection):
20405 Use goto-char rather than goto-line.
20407 * progmodes/prolog.el (compilation-error-regexp-alist)
20408 (compilation-forget-errors): Declare.
20410 2009-08-22 Juri Linkov <juri@jurta.org>
20412 * progmodes/grep.el (lgrep, rgrep): At the beginning
20413 set `dir' to `default-directory' unless `dir' is a non-nil
20414 readable directory. (Bug#4052)
20415 (lgrep, rgrep): Change a weird way to report an error
20416 from using `read-string' to using `error'.
20417 Instead of using interactive arguments in the function body,
20418 add new argument `confirm'.
20420 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20422 * textmodes/remember.el (remember-buffer):
20423 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20424 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20425 (icalendar-extract-ical-from-buffer):
20426 * net/newst-treeview.el (newsticker-groups-filename):
20427 * net/newst-backend.el (newsticker-cache-filename):
20428 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20429 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20430 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20431 (speedbar-buffers-line-path, speedbar-path-line)
20432 (speedbar-buffers-line-path):
20433 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20435 * epa.el (epa-display-verify-result):
20436 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20438 2009-08-21 Glenn Morris <rgm@gnu.org>
20440 * progmodes/js.el (inferior-moz-process): Fix declaration.
20442 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20444 * obsolete/rnewspost.el (news-mail-reply):
20445 Use goto-char rather than goto-line.
20447 * term/ns-win.el (ns-open-file-select-line):
20448 Use line-beginning-position rather than goto-line.
20450 * apropos.el (apropos-command):
20451 * ehelp.el (electric-helpify):
20452 * printing.el (pr-show-setup):
20453 * strokes.el (strokes-help):
20454 * tutorial.el (tutorial--describe-nonstandard-key)
20455 (tutorial--detailed-help):
20456 * woman.el (woman-mini-help, woman-display-extended-fonts):
20457 * calc/calc-help.el (calc-describe-key):
20458 * emulation/edt.el (edt-electric-helpify):
20459 * international/mule-diag.el (mule-diag):
20460 * play/yow.el (apropos-zippy):
20461 * progmodes/python.el (python-describe-symbol):
20462 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20463 * textmodes/table.el (*table--cell-describe-mode)
20464 (*table--cell-describe-bindings):
20465 Use help-print-return-message rather than the now obsolete alias.
20467 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20468 (calendar-cursor-to-visible-date):
20469 * play/5x5.el (5x5-position-cursor):
20470 * play/decipher.el (decipher):
20471 * play/gomoku.el (gomoku-goto-xy):
20472 * play/landmark.el (lm-goto-xy):
20473 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20474 (mpuz-paint-digit):
20475 Use forward-line, not goto-line.
20477 * mail/rmail.el (rmail-obsolete): Delete custom group.
20478 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20479 (rmail-remote-password, rmail-remote-password-required):
20480 Remove unneeded :set-after and :set properties.
20482 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20484 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20486 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20488 * loadup.el: Remove leftover macos code.
20490 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20491 Explicitly pass the date format to git blame so that user local
20492 so that the output format can be parsed.
20494 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20496 * net/dbus.el (top): Don't check for (getenv
20497 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20499 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20501 * log-edit.el (log-edit-strip-single-file-name): New var.
20502 (log-edit-insert-changelog): Use it. Bug#3571
20504 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20506 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20509 * help.el (help-print-return-message): Rename from
20510 print-help-return-message.
20512 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20513 cvs-mode-map parent hack.
20514 (log-view-mode): Derive from special-mode.
20516 * linum.el (linum-mode): window-size-change-functions is redundant.
20517 Adapt to new window-configuration-change-hook behavior.
20518 (linum-after-size, linum-after-config): Remove.
20520 * imenu.el (imenu-example--name-and-position)
20521 (imenu-example--lisp-extract-index-name)
20522 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20525 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20526 (inferior-prolog-mode): Use it.
20527 (inferior-prolog-load-file): Reset list of errors.
20529 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20531 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20533 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20535 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20537 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20538 is running already.
20540 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20542 * subr.el (listify-key-sequence-1): Use normal syntax since those
20543 integers are nowadays always represented by the same (positive) number
20545 (read-key-empty-map): New const.
20546 (read-key-delay): New var.
20547 (read-key): New function.
20548 (force-mode-line-update): Use with-current-buffer.
20549 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20550 (start-process-shell-command, start-file-process-shell-command):
20551 Discourage the use of command-args.
20553 2009-08-19 Glenn Morris <rgm@gnu.org>
20555 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20557 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20559 * simple.el (choose-completion-string): Don't rely on
20560 minibuffer-completing-file-name and ad-hoc checks to decide whether
20561 to continue completion or not.
20563 * minibuffer.el (minibuffer-hide-completions): New function.
20564 (completion--do-completion): Use it.
20565 (completions-annotations): New face.
20566 (completion--insert-strings): Use it.
20567 (completion-pcm--delim-wild-regex): Add docstring.
20568 (completion-pcm--string->pattern): Add support for 0-width delimiters
20569 in completion-pcm--delim-wild-regex.
20571 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20573 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20574 Remove unused var `buffer-modified-p'.
20576 * minibuffer.el (completion--do-completion): Move point for the #b001
20577 case as well (bug#4176).
20578 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20580 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20582 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20583 and :session buses.
20585 2009-08-18 Kenichi Handa <handa@m17n.org>
20587 * international/ucs-normalize.el (ucs-normalize-version):
20589 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20590 (utf-8-hfs): Make it perform normalization on encoding too.
20592 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20593 (sentence-end-without-space): Delete duplicated chars.
20594 (sentence-end-base): Likewise.
20596 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20597 (html-mode): Delete duplicated chars from sentence-end-base.
20599 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20600 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20602 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20604 * files.el (hack-one-local-variable): If the mode function is for
20605 a minor mode, pass it an argument (Bug#4148).
20607 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20609 * net/tramp.el (tramp-register-completion-file-name-handler):
20610 Check also for (member 'partial-completion completion-styles).
20612 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20614 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20617 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20619 * progmodes/cperl-mode.el: Merge upstream 6.2.
20620 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20621 (cperl-forward-re): Check cperl-brace-recursing.
20622 (cperl-highlight-charclass): New function.
20623 (cperl-find-pods-heres): Use it.
20624 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20625 (cperl-beautify-regexp-piece): Fix column calculation.
20626 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20627 (cperl-beautify-level): Don't process entire regexp.
20628 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20630 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20631 (cperl-init-faces): Build a list in the normal way.
20633 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20635 * calendar/parse-time.el (parse-time-string-chars): Save match
20638 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20640 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20641 (sql-product): Use it.
20642 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20643 (sql-set-product): Add completion.
20644 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20645 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20646 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20647 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20648 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20649 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20650 (sql-highlight-db2-keywords): Remove.
20651 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20652 (sql-highlight-product): Use derived-mode-p.
20653 (sql-set-sqli-buffer): Use with-current-buffer.
20654 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20657 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20659 * term.el: Fix commenting convention, turn comments into docstrings.
20661 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20663 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20665 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20667 * calendar/parse-time.el (parse-time-string-chars): Compute using
20668 character classes, to handle non-ascii characters (Bug#3190).
20670 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20672 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20673 another heredoc if the user adds another < (Bug#3226).
20675 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20676 Don't initialize based on window-system (Bug#4124).
20678 * facemenu.el (facemenu-read-color): Use a completion function
20679 that accepts any defined color, such as RGB triplets (Bug#3677).
20681 * files.el (get-free-disk-space): Change fallback default
20682 directory to /. Expand DIR argument before switching to fallback.
20683 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20685 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20687 * files.el (load-library): Doc fix.
20689 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20691 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20692 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20693 incremental search string.
20695 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20698 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20699 (ediff-merge-region-is-non-clash)
20700 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20701 Also check if the job is really a merge job.
20703 * ediff.el (ediff-current-file): New function.
20705 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20707 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20709 (js-insert-and-indent): Delete function.
20710 (js-mode-map): Don't bind keys to js-insert-and-indent.
20711 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20712 (js-end-of-defun): Rename from js--end-of-defun.
20713 (js-auto-indent-flag): Delete variable.
20715 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20717 * progmodes/js.el: Remove proclaim statement.
20718 Defvar which-func-imenu-joiner-function to silence compiler.
20720 * files.el (auto-mode-alist): Use js-mode for .js files.
20722 * progmodes/js2-mode.el: Remove file.
20724 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20726 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20728 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20730 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20731 Karl Landstrom <karl.landstrom@brgeight.se>
20733 * progmodes/js.el: New file.
20735 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20737 * timezone.el (timezone-parse-date): Add ability to understand ISO
20738 basic format (minimal separators) dates in addition to the
20739 already-supported extended format dates.
20741 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20743 * international/ucs-normalize.el: Add a `coding' file variable.
20745 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20747 2009-08-14 Sam Steingold <sds@gnu.org>
20749 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20751 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20753 * faces.el (help-argument-name): Define it here instead of
20754 help-fns.el, because in daemon mode help-fns.el may be loaded when
20755 faces are still uninitialized (Bug#1078).
20757 * help-fns.el (help-argument-name): Move defface to faces.el.
20759 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20761 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20762 create buffer with a pty but no process so that GDB can make the
20763 inferior the controlling process.
20765 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20767 * international/ucs-normalize.el: New file.
20769 2009-08-13 Richard Stallman <rms@gnu.org>
20771 * mail/rmail.el (rmail-get-attr-names):
20772 Accept an attribute header that is too short.
20774 * mail/rmail.el (rmail-forget-messages):
20775 Ignore nil elt in rmail-message-vector. Use dotimes.
20777 * progmodes/compile.el (compilation-goto-locus):
20778 Use next-error-move-function.
20780 * simple.el (next-error-move-function): New variable.
20782 2009-08-12 Juri Linkov <juri@jurta.org>
20784 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20785 always non-nil. (Bug#4052)
20787 * replace.el (read-regexp): Return empty string when
20788 `default-value' is nil.
20789 (keep-lines-read-args): Don't use empty string as the
20790 default value for `read-regexp'. (Bug#2495)
20792 2009-08-12 Juri Linkov <juri@jurta.org>
20794 * international/mule-cmds.el (ucs-insert): Change arguments
20795 from `arg' to `character', `count', `inherit' to be the same
20796 as in `insert-char'. Doc fix. (Bug#4039)
20798 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20800 2009-08-12 Juri Linkov <juri@jurta.org>
20802 * files-x.el: New file.
20804 * files.el: Move code that deals with adding/deleting
20805 file/directory-local variables to files-x.el.
20807 * Makefile.in (ELCFILES): Add files-x.elc.
20809 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20811 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20812 to use `goto-line'.
20813 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20815 (gdb-invalidate-disassembly): Do not refresh upon receiving
20816 'update signal. Instead, update all disassembly buffers only after
20818 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20819 (gdb-starting): Move -data-list-register-names...
20820 (gdb-stopped): ...here so it's sent when first thread stops.
20821 (gdb-registers-handler-custom): Do nothing if register names are
20824 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20825 from `gdb-mi.el' to avoid extra tangling.
20827 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20828 change which breaks `gud-def' definitions used in `gdb'.
20829 (gdb-update-gud-running): No extra fuss for updating frame number.
20831 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20833 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20834 (describe-language-environment-map, setup-language-environment-map)
20835 (set-coding-system-map): Move initialization into declaration.
20836 (set-language-info-alist): Last arg to define-key-after can be skipped.
20838 * international/quail.el (quail-completion-1): Simplify.
20839 (quail-define-rules): Use slightly more compact code.
20840 (quail-insert-decode-map): Propertize keys, compact columns.
20842 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20845 2009-08-10 Miles Bader <miles@gnu.org>
20847 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20848 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20849 (js2-instance-member, js2-private-member, js2-private-function-call)
20850 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20851 (js2-magic-paren, js2-external-variable):
20852 Remove "-face" suffix from face names.
20853 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20854 (js2-highlight-undeclared-vars, js2-peek-token)
20855 (js2-parse-function-params, js2-mode-show-errors)
20856 (js2-mode-show-warnings, js2-make-magic-delimiter)
20857 (js2-mode-highlight-magic-parens): Update to use new face names.
20859 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20861 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20862 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20864 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20866 * subr.el: Provide hashtable-print-readable.
20868 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20869 hs-c-like-adjust-block-beginning.
20870 (hs-hide-block-at-point): Stop hiding at the beginning of
20871 hs-block-end-regexp (Bug#700).
20873 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20875 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20877 (gdb-registers-handler-custom): Do not fail when register names
20880 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20882 * progmodes/gdb-mi.el (gdb-control-all-threads)
20883 (gdb-control-current-thread): Interactive setters for
20884 `gdb-gud-control-all-threads' to use in menu.
20885 (gdb-show-run-p): Show «Go» when process is not active.
20886 (gud-tool-bar-map): Add non-stop/A,T indicator.
20887 Uses gud/thread.xpm and gud/all.xpm.
20889 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20891 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20892 (nslookup-font-lock-keywords): Make it a variable.
20893 (net-utils-mode): New mode for viewing diagnostic network output.
20894 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20895 (net-utils-run-simple): New function.
20896 (ifconfig, iwconfig, netstat, arp, route): Use it.
20898 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20900 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20901 (gdb-memory-set-address, def-gdb-set-positive-number)
20902 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20903 after changing settings.
20904 (gdb-invalidate-disassembly): Update when first shown.
20905 (gdb-edit-locals-value): Fix.
20906 (gdb-registers-handler-custom): Print registers in right order and
20907 allow changing register values (only for current thread yet).
20908 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20909 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20910 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20911 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20912 Thread info in mode name.
20913 (gdb-registers-mode-map): TAB to switch to locals.
20915 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20917 * mail/rmail.el (rmail-add-mbox-headers)
20918 (rmail-set-message-counters-counter): Search for
20919 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20921 2009-08-08 Glenn Morris <rgm@gnu.org>
20923 * Makefile.in (ELCFILES): Update.
20925 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20927 * mail/sendmail.el (mail-yank-original):
20928 Set buffer-file-coding-system from the one used by the message whose
20931 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20932 to "windows" when "pgnuplot" is used.
20933 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20934 Don't call accept-process-output if "pgnuplot" is used.
20935 (calc-graph-init): Don't send -display and -geometry to
20936 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20937 running "pgnuplot -V" with shell-command-to-string.
20939 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20942 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20944 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20947 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20949 * vc-dispatcher.el (vc-resynch-window): Update comment.
20951 * term.el (term-handle-ansi-escape): Add comments with the
20952 terminfo capabilities implemented.
20954 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20956 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20957 (gdb-var-create-handler): Rewritten using JSON parser.
20958 (gdb-propertize-header): Move earlier.
20959 (gdb-set-header): Remove to avoid duplication.
20960 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20961 Refresh disassembly buffers only after threads list have been
20963 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20966 2009-08-04 Juri Linkov <juri@jurta.org>
20968 * files.el: Commands to add/delete file/directory-local variables.
20969 (read-file-local-variable, read-file-local-variable-value)
20970 (read-file-local-variable-mode, modify-file-local-variable)
20971 (modify-file-local-variable-prop-line)
20972 (modify-dir-local-variable): New functions.
20973 (add-file-local-variable, delete-file-local-variable)
20974 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20975 (add-dir-local-variable, delete-dir-local-variable)
20976 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20977 (copy-dir-locals-to-file-locals-prop-line): New commands.
20979 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20981 * abbrev.el (insert-abbrev-table-description): Prettify output.
20982 Suggested by Karl Chen.
20984 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20986 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20987 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20988 (gdb-overlay-arrow-position, gdb-thread-position)
20989 (gdb-disassembly-position): Declare variables.
20990 (gdb-wait-for-pending): Function now.
20991 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20992 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20993 compilation goes smoothly.
20994 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20995 (gdb-non-stop-setting): New customization setting which replaces
20996 `gdb-non-stop' so changing it doesn't break active GDB session.
20997 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20998 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20999 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21000 (gdb-show-threads-by-default): New customization options.
21001 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21003 (gdb-get-buffer-create): Send buffers update signal when they are
21005 (gdb-invalidate-locals, gdb-invalidate-registers)
21006 (gdb-invalidate-breakpoints)
21007 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21008 (gdb-invalidate-memory): Accept update signal.
21009 (gdb-current-context-command): Use --frame option.
21010 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21011 Implement `gdb-frame-number' selection logic.
21012 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21013 whether to show GUD toolbar buttons.
21014 (gdb-thread-exited): Unselect current thread when it exits.
21015 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21016 (gdb-mark-line): Routine which sets overlay arrow or inverses
21017 video on fringeless displays.
21018 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21019 to build aligned columns of data in GDB buffers and set text
21020 properties line-by-line.
21021 (gdb-invalidate-breakpoints)
21022 (gdb-breakpoints-list-handler-custom)
21023 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21024 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21025 (gdb-registers-handler-custom): Align data columns.
21026 (gdb-locals-handler-custom): Now prints data like in variable
21028 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21029 Remove confusing buttons.
21030 (gdb-invalidate-threads): Append --frame.
21031 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21032 between breakpoints/threads buffers.
21033 (gdb-set-window-buffer): Now can ignore dedicated windows.
21034 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21035 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21036 (def-gdb-thread-buffer-gud-command): Replaces
21037 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21038 for fine thread control.
21039 (gdb-preempt-existing-or-display-buffer): New function used to
21040 display bound buffers without breaking window layout.
21041 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21042 (gdb-select-frame): New version of `gdb-frames-select' which now
21043 sets `gdb-frame-number' so commands may use --frame option instead
21044 of inner debugger state.
21045 (gdb-frame-handler): Do not set `gdb-frame-number'.
21046 (gdb-threads-mode-map): Select threads with mouse.
21048 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21049 avoid compilation warning.
21050 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21053 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21054 Argument `key' renamed to `buffer-type'.
21055 (gdb-current-context-buffer-name): Do not add thread info to
21056 buffer name when no thread is selected.
21057 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21058 command (bug 3794).
21059 (gdb-thread-selected): Handle `=thread-selected' notification.
21060 (gdb-wait-for-pending): New macro to deal with congestion problems.
21061 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21063 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21064 This fixes problem similar to one described in bug 3947.
21065 (gud-menu-map): More menu items.
21066 (gdb-init-1): Reset `gdb-thread-number' to nil.
21068 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21071 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21072 (gdb-current-context-command): Do not append --thread if
21073 `gdb-thread-number' is nil.
21074 (gdb-running-threads-count, gdb-stopped-threads-count):
21076 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21077 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21078 New customization options.
21079 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21081 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21082 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21083 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21084 set `gdb-thread-number' and update `gud-running' properly.
21085 (gdb-running): Update threads list when new threads appear.
21086 (gdb-stopped): Support non-stop operation and new thread switching
21088 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21089 (gdb-json-partial-output): New set of JSON routines.
21090 (def-gdb-auto-update-trigger): New `signal-list' optional
21092 (gdb-thread-list-handler-custom): Update `gud-running',
21093 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21094 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21095 (gdb-continue-thread, gdb-step-thread): New commands for fine
21096 thread execution control.
21097 (gud-menu-map): New menu items to switch non-stop options.
21098 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21099 (gdb-send): Mimic RET properly (bug 3794).
21101 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21102 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21104 (def-gdb-auto-update-handler): New nopreserve optional argument.
21105 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21107 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21108 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21109 (gdb-parent-mode): New mode to derive other GDB modes from.
21110 (gdb-display-disassembly-for-thread)
21111 (gdb-frame-disassembly-for-thread): New commands for threads
21114 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21115 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21116 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21117 (gdb-update): We now store all GDB buffers in a list so that they
21118 can be updated by traversing a list instead of calling invalidate
21119 triggers explicitly.
21120 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21121 pair for GDB buffer.
21122 (gdb-stack-buffer-name): Add thread information.
21123 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21124 handle pending triggers.
21125 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21126 (def-gdb-thread-buffer-simple-command)
21127 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21128 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21129 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21130 New commands which show buffers bound to thread.
21131 (gdb-stack-list-locals-regexp): Remove unused regexp.
21133 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21134 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21135 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21136 to (gud-comint-buffer) in *-buffer-name functions
21137 because (gdb-get-target-string) already does that.
21138 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21139 (gdb-changed-registers-handler): Rewritten without regexps.
21141 * progmodes/gdb-mi.el: Basic thread selection support.
21142 (gdb-thread-number): New variable.
21143 (gdb-current-context-command): New macro which adds --thread
21145 (gdb-threads-mode-map): Select thread with SPC.
21146 (gdb-thread-list-handler-custom): Mark current thread with overlay
21147 arrow. Synchronize GDB thread and Emacs thread.
21148 (gdb-select-thread): New command which selects current thread.
21149 (gdb-invalidate-frames, gdb-invalidate-locals)
21150 (gdb-invalidate-registers): Use --thread option.
21152 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21154 * net/tramp.el (top): Make check for tramp-gvfs loading more
21156 (tramp-handle-insert-file-contents): `unwind-protect' must be
21157 inside `with-parsed-tramp-file-name'.
21159 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21162 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21164 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21165 directory if CLASSPATH is not set.
21167 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21169 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21171 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21173 2009-08-02 Kevin Ryde <user42@zip.com.au>
21175 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21176 Update freshmeat link. Delete newsforge.com as it seems gone.
21178 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21180 * select.el (x-set-selection): Doc fix (Bug#4021).
21182 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21184 * help-fns.el (describe-variable): Treat list return values from
21185 dir-locals-find-file properly (Bug#4005).
21187 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21189 * net/tramp.el (tramp-debug-message): Print also microseconds.
21191 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21193 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21195 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21196 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21199 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21200 (tramp-get-file-property): Use it.
21202 * autorevert.el (auto-revert-handler):
21203 Allow `auto-revert-tail-mode' for remote files.
21205 2009-08-02 Jason Rumney <jasonr@gnu.org>
21207 * minibuffer.el (read-file-name): Treat confirm options to
21208 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21210 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21212 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21213 (font-lock-variable-name-face, font-lock-constant-face):
21214 Darken the colors for light backgrounds.
21216 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21218 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21219 month names. (Bug#3987)
21221 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21223 * simple.el (line-move-finish): Pass whole number to
21224 line-move-to-column.
21225 (line-move-visual): Perform hscroll to the recorded position.
21227 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21229 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21231 2009-07-29 Alan Mackenzie <acm@muc.de>
21233 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21235 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21237 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21238 (gdb-place-breakpoints): Use full path when setting breakpoints.
21240 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21242 * calc/calc.el (calc-mode-map): Add keybinding for
21243 `calc-transpose-lines'.
21245 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21247 * calc/calc-misc.el (calc-transpose-lines): New function.
21249 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21251 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21252 Simplify check for out-of-band methods.
21253 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21254 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21256 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21258 * vc-git.el (vc-git-checkin): Fix typo.
21260 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21262 * progmodes/js2-mode.el: New file.
21264 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21266 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21267 (gud-menu-map): Adjust tooltip accordingly.
21269 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21271 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21272 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21274 * add-log.el (change-log-mode-map): Add a menu.
21276 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21278 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21279 function returns nil.
21280 (dbus-handle-event): Handle special return value :ignore.
21281 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21283 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21285 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21288 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21292 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21294 * term/pc-win.el (x-display-name, x-colors)
21295 (x-select-enable-clipboard, x-select-text): Doc fix.
21297 * term/common-win.el (x-display-name, x-colors): Doc fix.
21299 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21300 (xw-defined-colors): Doc fix.
21302 * w32-fns.el (x-select-text, x-setup-function-keys)
21303 (x-get-selection, x-set-selection): Doc fix.
21305 * term/x-win.el (x-select-text, x-setup-function-keys)
21306 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21308 * select.el (x-set-selection): Doc fix.
21310 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21312 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21313 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21314 "IsNSSSupportAvailable" method is not available.
21315 Reported by Steve Youngs <steve@sxemacs.org>.
21317 2009-07-24 Kenichi Handa <handa@m17n.org>
21319 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21320 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21321 (build-unicode-category-table): Fix range checks.
21323 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21325 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21326 the buffer we try to sync is current when calling
21329 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21330 not show up to date files.
21332 2009-07-24 Glenn Morris <rgm@gnu.org>
21334 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21335 Add autoload cookies. If necessary, initialize.
21336 (elint-log): Handle non-file buffers.
21337 (elint-initialize): Add optional argument to reinitialize.
21338 (elint-find-builtin-variables): Save excursion.
21340 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21342 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21345 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21347 * vc.el (vc-print-log-internal): New function, split out from ...
21348 (vc-print-log): ... here.
21349 (vc-dir-move-to-goal-column): Declare.
21351 * vc-git.el (vc-git-add-signoff): New variable.
21352 (vc-git-checkin): Use it.
21353 (vc-git-toggle-signoff): New function.
21354 (vc-git-extra-menu-map): Bind it to menu.
21355 (vc-git--run-command-string): Accept a nil FILE argument.
21356 (vc-git-stash-list): New function.
21357 (vc-git-dir-extra-headers): Use it.
21359 2009-07-23 Glenn Morris <rgm@gnu.org>
21361 * help-fns.el (describe-variable): Describe ignored and risky local
21362 variables in a similar way to that in which we describe safe ones.
21364 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21365 (byte-compile-output-file-form, byte-compile-output-docform)
21366 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21367 Give some more local variables with common names a "bytecomp-" prefix,
21368 so as not to shadow things during compilation.
21369 * emacs-lisp/cl-macs.el (load-time-value)
21370 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21371 `outbuffer' to `bytecomp-outbuffer'.
21373 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21374 since the next two variables cover them automatically now.
21375 (elint-builtin-variables, elint-autoloaded-variables): New.
21376 (elint-unknown-builtin-args): Remove all members, since they can be
21377 parsed automatically now.
21378 (elint-extra-errors): New.
21379 (elint-env-add-env, elint-env-add-macro): Use cadr.
21380 (elint-current-buffer): Use or. Change final message.
21381 (elint-get-top-forms): Use line-end-position.
21382 (elint-init-env): Use cadr. Handle autoload, declare-function,
21384 (elint-add-required-env): Doc fix. Use or. Standardize error.
21385 (regexp-assoc): Remove unused function.
21386 (elint-top-form): Set elint-current-pos, to record the start of the
21387 top-level form, for compilation-mode.
21388 (elint-form): Trap errors in macro expansion. Use dolist.
21389 (elint-unbound-variable): Use elint-builtin-variables and
21390 elint-autoloaded-variables.
21391 (elint-get-args): Use cadr, or.
21392 (elint-check-cond-form): Use dolist, cadr.
21393 (elint-check-condition-case-form): Doc fix. Use cadr.
21394 Use elint-extra-errors.
21395 (elint-log): New function.
21396 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21397 Distinguish errors and warnings.
21398 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21399 Use a bytecomp-style format.
21400 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21401 (elint-get-log-buffer): Use compilation mode. Disable undo.
21402 Don't truncate lines.
21403 (elint-initialize): Set builtin and autoloaded variable lists.
21404 Only process elint-unknown-builtin-args if non-nil.
21405 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21407 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21409 2009-07-22 Kevin Ryde <user42@zip.com.au>
21411 * net/newst-backend.el (newsticker--parse-atom-1.0)
21412 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21413 (newsticker--parse-rss-1.0):
21414 * progmodes/idlwave.el (idlwave-mode):
21415 * progmodes/idlw-shell.el (idlwave-shell-mode):
21416 * progmodes/vera-mode.el (vera-mode):
21417 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21418 * progmodes/vhdl-mode.el (vhdl-mode):
21419 * textmodes/table.el (table-generate-source)
21420 (table--warn-incompatibility):
21421 Hyperlink urls in docstrings with URL `...'.
21423 2009-07-22 Glenn Morris <rgm@gnu.org>
21425 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21426 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21427 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21428 Remove leading * from defcustom docs.
21430 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21432 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21434 (list-load-path-shadows): Optionally, just return shadows as a string.
21436 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21438 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21440 * mail/rmailedit.el (rmail-edit-mode):
21441 Use auto-save-include-big-deletions.
21443 * mail/rmail.el (rmail-variables):
21444 Use auto-save-include-big-deletions.
21446 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21449 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21451 * calc/calc.el (calc-undo-length): New variable.
21452 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21454 2009-07-21 Richard Stallman <rms@gnu.org>
21456 * files.el (auto-save-mode): Handle buffer-save-size = -2
21459 2009-07-21 Glenn Morris <rgm@gnu.org>
21461 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21463 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21465 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21466 silence compiler. Instead...
21467 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21468 (ps-print-ensure-fontified): Update for above function name changes.
21470 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21471 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21472 silence compiler. Instead...
21473 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21474 (mh-show-buffer): Only define for compiler.
21475 (pr-mh-current-message): Update for above function name changes.
21477 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21479 (find-file-noselect, insert-file-1): Update for above change.
21481 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21483 * mail/mailclient.el (mailclient-send-it): Fix message.
21485 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21486 (edebug-eval): Check cl-debug-env is bound.
21487 (print-level, print-circle): Don't redefine built-in variables.
21489 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21490 (custom-print-vectors): Remove old comments from doc.
21492 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21493 (emerge-version): Make the variable an obsolete alias for the
21494 emacs-version variable. Make the function obsolete.
21495 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21496 Emerge options, rather than merging in into the main Options menu.
21497 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21498 and auto advance modes. Disable edit/fast items when not relevant.
21500 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21502 * term/vt420.el (terminal-init-vt420): Fix typo.
21504 2009-07-20 Sam Steingold <sds@gnu.org>
21506 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21507 variable (removed from compile.el on 2004-03-11).
21509 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21511 * files.el (hack-local-variables-filter): Fix last change.
21513 2009-07-19 Juri Linkov <juri@jurta.org>
21515 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21516 (dir-local-variables-alist): New buffer-local variable.
21517 (hack-local-variables-filter): If variable is not dir-local,
21518 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21519 because file-local overrides dir-local.
21520 (c-postprocess-file-styles) <declare-function>:
21521 Remove obsolete declaration.
21522 (hack-dir-local-variables): Add dir-local variable/value pair to
21523 `dir-local-variables-alist' and remove duplicates. Doc fix.
21525 * help-fns.el (describe-variable): Add information about
21526 file-local and dir-local variables.
21528 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21530 * files.el (hack-local-variables-filter): Rewrite.
21532 2009-07-19 Glenn Morris <rgm@gnu.org>
21534 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21535 Silence compiler by only defining on XEmacs.
21537 * international/mule.el (auto-coding-regexp-alist): Only match
21538 BABYL... at the start of buffer, not of lines. (Bug#3790)
21540 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21541 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21542 (cal-menu-context-mouse-menu): Doc fix.
21544 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21546 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21548 2009-07-18 Juri Linkov <juri@jurta.org>
21550 * info.el: Virtual Info keyword finder.
21551 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21552 (Info-finder-file): New variable.
21553 (Info-finder-find-file): New function.
21554 (finder-known-keywords, finder-package-info)
21555 (find-library-name, lm-commentary): Use defvar and
21556 declare-function to silence compiler warnings.
21557 (Info-finder-find-node): New function.
21558 (info-finder): New command.
21560 * subr.el (process-kill-buffer-query-function): New function.
21561 (add-hook)<kill-buffer-query-functions>: Add hook
21562 `process-kill-buffer-query-function'.
21564 2009-07-18 Alan Mackenzie <acm@muc.de>
21566 * progmodes/cc-mode.el (c-before-hack-hook)
21567 (c-postprocess-file-styles): Give invocation of `c-set-style'
21568 DONT-OVERRIDE parameter of t. Already set style variables will
21569 thus not be overridden by style settings given by `c-file-syle'.
21571 * files.el (hack-local-variables-filter): Remove entries with
21572 duplicate keys from `file-local-variables-alist'.
21574 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21576 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21577 x-set-selection if display-selections-p returns nil for the
21580 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21582 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21584 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21586 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21587 Accept nil in addition to a regexp.
21588 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21589 Accept nil in addition to a regexp.
21590 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21591 buffers that have an associated file. Handle nil values of
21592 desktop-buffers-not-to-save and desktop-files-not-to-save.
21595 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21596 (x-disown-selection-internal): New functions.
21598 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21600 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21602 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21603 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21605 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21607 * simple.el (set-mark): Revert last change.
21609 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21611 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21612 rendering of pngs is not possible instead of messaging a long
21615 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21617 * w32-fns.el (x-selection-owner-p): New function.
21619 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21620 (mouse-yank-at-click, mouse-yank-primary):
21621 If select-active-regions is non-nil, deactivate the mark before
21624 * simple.el (deactivate-mark, set-mark): Only save selection if we
21627 2009-07-17 Kenichi Handa <handa@m17n.org>
21629 * case-table.el (describe-buffer-case-table): Fix for the case
21630 that KEY is a cons.
21632 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21634 * vc-rcs.el (vc-rcs-find-file-hook):
21635 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21637 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21639 * net/tramp.el (tramp-wait-for-output): Handle the case when
21640 commands do not return a newline but a null byte before the shell
21643 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21645 * term/ns-win.el (ns-set-alpha): Don't declare.
21646 (ns-set-background-alpha): Remove function.
21648 2009-07-16 Kevin Ryde <user42@zip.com.au>
21650 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21651 y-or-n-p, for safety.
21653 2009-07-16 Richard Stallman <rms@gnu.org>
21655 * files.el (auto-save-mode): If buffer-saved-size is -2,
21658 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21659 (rmail-retry-ignored-headers): Add more uninteresting fields.
21661 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21663 * net/rcirc.el (rcirc): Use history variables.
21664 (rcirc-server-name-history, rcirc-nick-name-history)
21665 (rcirc-server-port-history): New variables.
21667 2009-07-15 Kenichi Handa <handa@m17n.org>
21669 * international/mule-cmds.el (set-language-environment-charset):
21670 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21673 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21674 Delete unibyte-display.
21676 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21678 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21680 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21682 * simple.el (deactivate-mark): Optional argument FORCE.
21683 (set-mark): Use deactivate-mark.
21685 * info.el (Info-search): No need to check transient-mark-mode
21686 before calling deactivate-mark.
21688 * select.el (x-set-selection): Doc fix.
21689 (x-valid-simple-selection-p): Allow buffer values.
21690 (xselect--selection-bounds): Handle buffer values.
21691 Suggested by David De La Harpe Golden.
21693 * mouse.el (mouse-set-region, mouse-drag-track):
21694 Call copy-region-as-kill before setting the mark, to let
21695 select-active-regions work.
21697 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21699 * simple.el (deactivate-mark): If select-active-regions is
21700 non-nil, copy the selection data into a string.
21701 (activate-mark): If select-active-regions is non-nil, set the
21702 selection to the current buffer.
21703 (set-mark): Update selection if select-active-regions is non-nil.
21705 * select.el (x-valid-simple-selection-p): Allow buffer values.
21707 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21709 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21710 and more featureful message-mode.
21712 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21714 * select.el (x-set-selection): Doc fix.
21715 (x-valid-simple-selection-p): Disallow selection data consisting
21716 of a list or cons of integers, since that is not used.
21717 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21718 (xselect-convert-to-string, xselect-convert-to-length)
21719 (xselect-convert-to-filename, xselect-convert-to-charpos)
21720 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21722 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21724 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21725 output in -break-info command (Emacs bug #3794).
21727 2009-07-14 Glenn Morris <rgm@gnu.org>
21729 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21730 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21731 (edebug-print-length, edebug-print-level, edebug-print-circle)
21732 (edebug-sit-for-seconds, edebug-view-outside)
21733 (edebug-bounce-point, edebug-set-global-break-condition)
21734 (edebug-Go-nonstop-mode, edebug-trace-mode)
21735 (edebug-Trace-fast-mode, edebug-continue-mode)
21736 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21737 (edebug-visit-eval-list): Doc fixes.
21739 * subr.el (def-edebug-spec): Doc fix.
21741 2009-07-14 Kenichi Handa <handa@m17n.org>
21743 * international/characters.el: Fix setting of category ?C.
21745 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21747 * term/ns-win.el (x-select-font): defalias x-select-font to
21748 ns-popup-font-panel instead of generate-fontset-menu.
21750 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21752 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21754 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21756 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21757 the PK\003\004 header (Bug#3770).
21759 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21761 * pcomplete.el (pcomplete-comint-setup): Check for
21762 shell-dynamic-complete-filename too.
21764 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21766 * simple.el (temporary-goal-column): Change the value for
21767 line-move-visual to a cons cell.
21768 (line-move-visual): Record or set the window hscroll, if
21769 necessary (Bug#3494).
21770 (line-move-1): Handle cons value of temporary-goal-column.
21772 2009-07-11 Kenichi Handa <handa@m17n.org>
21774 * international/mule-diag.el (describe-character-set): Don't show
21777 2009-07-10 Sam Steingold <sds@gnu.org>
21779 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21780 Omake sometimes indents the errors it prints, so allow all
21781 regexps to start with spaces.
21783 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21785 * cus-edit.el (customize-changed-options-previous-release):
21786 Bump value to 22.1. (Bug#3804)
21788 2009-07-08 Sam Steingold <sds@gnu.org>
21790 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21791 to be a cons cell (test . ignored-directory) to selectively ignore
21792 some directories depending on the location of the search.
21794 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21796 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21797 remote user is root, on the local host.
21798 (tramp-local-host-p): Either the local user or the remote user
21799 must be root. (Bug#3771)
21801 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21803 * progmodes/gdb-mi.el (gdb): Remove description of
21804 gdb-use-separate-io-buffer.
21805 (menu): Don't allow toggling of or enable
21806 gdb-use-separate-io-buffer from menubar.
21808 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21810 * mail/unrmail.el (unrmail): Make sure the message ends with two
21811 newlines (Bug#3769).
21813 2009-07-08 Glenn Morris <rgm@gnu.org>
21815 * calendar/calendar.el (calendar-current-date): Rework previous change.
21817 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21819 * calendar/calendar.el (calendar-current-date):
21820 Add an optional argument giving an offset from today.
21822 2009-07-08 Glenn Morris <rgm@gnu.org>
21824 * tutorial.el (tutorial--describe-nonstandard-key):
21825 Adjust the message for when a key has been unbound.
21826 (help-with-tutorial): Hide the arch-tag.
21828 2009-07-08 Kenichi Handa <handa@m17n.org>
21830 * international/fontset.el (setup-default-fontset): For each
21831 script, append (not set) font-specs.
21833 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21836 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21838 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21839 -data-list-register-names to ...
21840 (gdb-starting): ... here because GDB 7.0 requires execution to
21841 have started when using this MI command.
21842 (gdb-set-header): New function to distinguish select and
21843 unselected tabs in gdb buffers.
21844 (gdb-propertize-header): New macro that uses gdb-set-header.
21845 (gdb-breakpoints-header, gdb-locals-header): Use it.
21846 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21848 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21850 * Makefile.in (ELCFILES): Remove fadr.elc.
21852 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21854 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21855 may contain frame information, so `string-match' should be used.
21856 (gdb-update): Disassembly is invalidated through
21857 `gdb-get-selected-frame'.
21858 (gdb-pad-string): New function to pad string with spaces.
21859 (gdb-invalidate-disassembly): Invalidate only if the buffer
21861 (gdb-disassembly-handler-custom): Column alignment.
21862 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21864 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21866 (gdb-frame-handler): Match convention to for disassembly buffer
21868 (gdb-stack-list-frames-handler): Rewritten without regexps.
21869 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21870 not highlight breakpoints without line information.
21871 (gdb-input): Add trailing newline to command.
21873 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21875 (gdb-breakpoints-list-handler-custom): Replacement for
21876 `gdb-break-list-handler'. Using real parser instead of regexps
21878 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21879 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21880 to place breakpoints.
21881 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21883 (gdb-disassembly-handler-custom): Show overlay arrow.
21884 (gdb-disassembly-place-breakpoints): Show breakpoints in
21885 disassembly buffer.
21886 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21887 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21888 instead of parsing breakpoints buffer. Fixed old menu references
21893 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21894 (gdb-memory-address): New variable which holds top address of
21895 memory page shown in memory buffer.
21896 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21897 New customization variables.
21899 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21900 display the memory buffer.
21901 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21902 buffer display parameters.
21903 (def-gdb-memory-format, gdb-memory-format-binary)
21904 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21905 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21906 Functions for setting memory buffer format.
21907 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21908 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21909 unit size used in memory buffer.
21910 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21911 Switch to next/previous page of memory buffer.
21912 Now using (bindat-get-field) instead of fadr functions.
21914 2009-07-07 Sam Steingold <sds@gnu.org>
21916 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21917 non-top-level files.
21919 2009-07-07 Kenichi Handa <handa@m17n.org>
21921 * international/mule-cmds.el (reset-language-environment):
21922 Put the highset priority to the charset iso-8859-1.
21924 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21926 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21927 to the end of the line when locating the block (Bug#700).
21929 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21931 * net/tramp.el (tramp-handle-write-region): Flush file properties
21932 in case of short track.
21934 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21936 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21937 Coded custom representation of verilog error regular expressions
21938 to work with Emacs-22's new format.
21939 (verilog-error-regexp-xemacs-alist): Coded custom representation
21940 of verilog error regular expressions to work with XEmacs format.
21941 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21942 error recognition into XEmacs.
21943 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21944 error recognition into Emacs-22.
21946 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21948 * woman.el: Remove stand-alone closing parentheses.
21949 (woman-file-name, woman2-format-paragraphs)
21950 (woman-leave-blank-lines): Code cleanup.
21951 (woman-use-own-frame): Change default to nil.
21952 (woman-italic, woman-bold, woman-unknown, woman-addition):
21953 Change defaults to inherit from default faces.
21954 (woman2-process-escapes): Consume the newline after a stand-alone
21955 filler character (Bug#3651).
21957 2009-07-06 Glenn Morris <rgm@gnu.org>
21959 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21960 (top-level): Move provide to the end.
21961 (ffap): Remove defunct URL from custom group.
21963 * subr.el (eval-after-load): Doc fix.
21965 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21967 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21968 `calc-embedded-word' is called twice.
21970 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21972 * files.el (find-alternate-file-other-window, find-alternate-file):
21973 Obey confirm-nonexistent-file-or-buffer.
21975 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21977 * dired-aux.el (dired-show-file-type): Handle remote files.
21979 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21981 * desktop.el (desktop-globals-to-save):
21982 Add file-name-history (Bug#2750).
21984 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21986 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21988 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21990 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21991 property on entire argument since this is what eshell-lisp-command
21994 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21996 * net/tramp-gvfs.el (tramp-gvfs-methods)
21997 (tramp-gvfs-zeroconf-domain)
21998 (tramp-bluez-discover-devices-timeout): Add version flag.
21999 (tramp-gvfs-handler-mounted-unmounted)
22000 (tramp-gvfs-connection-mounted-p): Polish handling of
22001 incompatibilities between GVFS 0.2 and 1.0.
22003 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22005 * cus-start.el (all): Add make-pointer-invisible.
22007 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22009 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22010 formatted correctly.
22012 2009-07-02 Juri Linkov <juri@jurta.org>
22014 * info.el: Virtual Info files and nodes.
22015 (Info-virtual-files, Info-virtual-nodes): New variables.
22016 (Info-current-node-virtual): New variable.
22017 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22019 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22020 to check for a virtual file instead of checking a fixed list
22022 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22023 instead of ad-hoc processing of "dir" and (apropos history toc).
22024 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22025 instead of ad-hoc processing of "dir" and (apropos history toc).
22026 Reread a file when moving from a virtual node.
22027 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22028 (Info-directory-toc-nodes, Info-directory-find-file)
22029 (Info-directory-find-node): New functions.
22030 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22031 (Info-history): Move part of code to
22032 `Info-history-find-node'.
22033 (Info-history-toc-nodes, Info-history-find-file)
22034 (Info-history-find-node): New functions.
22035 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22036 (Info-toc): Move part of code to `Info-toc-find-node'.
22037 (Info-toc-find-node): New function.
22038 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22039 the current Info file name to references because now the node
22040 "*TOC*" belongs to the same Info manual.
22041 (Info-toc-build): Rename from `Info-build-toc'.
22042 (Info-toc-nodes): Rename input argument `file' to `filename'.
22043 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22044 instead of ad-hoc processing of ("dir" apropos history toc).
22045 (Info-index-nodes): Use Info-virtual-file-p
22046 to check for a virtual file instead of checking a fixed list
22048 (Info-index-node): Add check for `Info-current-node-virtual'.
22049 Raise `save-match-data' higher up the tree to contain
22050 `search-forward' too (bug fix).
22051 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22052 (Info-virtual-index-nodes): New variable.
22053 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22054 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22055 (Info-apropos-file, Info-apropos-nodes): New variables.
22056 (Info-apropos-toc-nodes, Info-apropos-find-file)
22057 (Info-apropos-find-node, Info-apropos-matches): New functions.
22058 (info-apropos): Move part of code to `Info-apropos-find-node' and
22059 `Info-apropos-matches'.
22060 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22061 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22062 for a virtual file instead of checking a fixed list of node names.
22064 * simple.el (async-shell-command): New command.
22066 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22068 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22069 instead of `mount-info'.
22071 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22073 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22074 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22076 2009-07-02 Kenichi Handa <handa@m17n.org>
22078 * international/mule.el (set-keyboard-coding-system): Force *-unix
22079 coding-system to avoid eol conversion.
22081 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22084 Add handler for `process-file', `shell-command' and
22085 `start-file-process'.
22086 (tramp-gvfs-handle-shell-command)
22087 (tramp-gvfs-handle-start-file-process)
22088 (tramp-gvfs-handle-process-file): New defuns.
22089 (tramp-synce-list-devices): Simplify check for existence of property.
22091 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22093 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22095 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22097 * language/korean.el (set-language-info-alist): Add korean-cp949,
22100 2009-07-01 Kenichi Handa <handa@m17n.org>
22102 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22104 * international/encoded-kb.el: Deleted.
22106 * international/mule.el (set-keyboard-coding-system): Perform the
22107 necessary setup here instead of calling encoded-kbd-setup-display.
22109 2009-07-01 Glenn Morris <rgm@gnu.org>
22111 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22113 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22115 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22117 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22119 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22120 Handle also the 'rename case, when setting file modes. (Bug#3712)
22121 (tramp-default-file-modes): Remove execute permissions.
22123 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22124 (top): Add a default for "synce" in `tramp-default-user-alist'.
22125 Add completion function for "synce" method.
22126 (tramp-hal-service, tramp-hal-path-manager)
22127 (tramp-hal-interface-manager, tramp-hal-interface-device):
22129 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22130 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22133 * net/trampver.el: Update release number.
22135 2009-06-30 Kenichi Handa <handa@m17n.org>
22137 * international/fontset.el (setup-default-fontset): Add CJK fonts
22138 for symbols and the other miscellaneous characters.
22140 * language/korea-util.el (setup-korean-environment-internal):
22141 Make char-width-table suitable for Korean environments.
22142 (exit-korean-environment): Cancel above.
22144 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22145 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22146 setup-function to make char-width-table suitable for respective
22147 environments, and an exit-function to cancel that.
22149 * language/japan-util.el (setup-japanese-environment-internal):
22150 Call use-cjk-char-width-table with arg `ja_JP'.
22152 * international/characters.el (cjk-char-width-table): Delete it.
22153 (cjk-char-width-table-list): New variable.
22154 (use-cjk-char-width-table): New arg local-name.
22155 (use-default-char-width-table): Fix for the case that Emacs is
22156 already using the default char-width-table.
22158 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22160 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22161 modes mandatory. (Bug#3712)
22163 2009-06-29 Alan Mackenzie <acm@muc.de>
22165 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22166 correction between the visible width of TABs and their number of bytes.
22168 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22170 * server.el (server-buffer-done): Prevent kill-buffer from
22171 prompting by clearing the buffer modification flag (Bug#3696).
22173 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22175 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22176 (verilog-endcomment-reason-re): Support unique case and priority case.
22177 (verilog-basic-complete-re): Support localparam lineup.
22178 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22179 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22181 (verilog-leap-to-case-head): Now support *nested* unique &
22182 priority case statements.
22183 (verilog-auto-lineup): Make just declarations the default (as it
22185 (verilog-leap-to-case-head): Support priority/unique case statements.
22186 (verilog-auto-lineup): Rework to give users radio buttons to
22187 select the various styles of automatic lineup.
22188 (verilog-error-regexp-alist): Rework to support the XEmacs style
22189 of error regular expressions from compilers, lint tools &
22190 simulators. Note that GNU Emacs has made it impossible for a mode
22191 to load such things.
22192 (electric-verilog-terminate-line, verilog-indent-declaration)
22193 (verilog-auto-wiure): Rework for radio button selection of
22194 auto-lineup selection of specification of auto lineup.
22195 (verilog-beg-of-statement-1): Redesign to support proper operation
22196 in additional code, based on testing with auto-lineup.
22197 (verilog-calculate-indent, assignments & declarations)
22198 (verilog-backward-token): Enhance to support auto-lineup of
22199 assignments & declarations.
22200 (verilog-in-directive-p, verilog-at-struct-p): New function for
22201 easy test of whether we are.
22202 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22203 to support safe execution at almost anyline.
22204 (verilog-calc-1): Properly support indenting deep inside generate
22206 (verilog-init-font): Remove definition & use of verilog-init-font,
22207 as it is redundant with font-lock-defaults.
22208 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22209 to avoid circular calls if syntax-ppss is a function (as is the
22210 case now in 22.x GNU Emacs) as that function would sometimes call
22211 itself, leading to (nearly) infinite recursion.
22212 (verilog-ovm-begin-re, verilog-ovm-end-re)
22213 (verilog-ovm-statement-re, verilog-leap-to-head)
22214 (verilog-backward-token): Add support for OVM macros. Some are
22215 complete statements, and others open and close scopes like begin
22217 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22218 (verilog-defun-level-generate-only-re): Really fix the defun-list
22220 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22221 coverpoint, constraint and cross statements.
22222 (verilog-defun-level-list, verilog-generate-defun-level-list)
22223 (verilog-all-defun-level-list): Redo these specifications - it is
22224 too hard to support eval-when compile aggregation of lists also
22225 built at when-compile time.
22226 (verilog-defun-level-list): Place defconsts of variables used in
22227 building regular expressions which are built in eval-when-compile
22228 bodies in the same eval-when-compile body to facilitate compile
22230 (verilog-beg-block-re-ordered): Support indenting
22231 virtual/protected tasks and functions.
22232 (verilog-defun-level-list, verilog-in-generate-region-p)
22233 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22234 indentation of some module items (generate items).
22235 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22236 across virtual/protected tasks and functions.
22238 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22240 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22241 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22242 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22243 in concatenations. Reported by Yishay Belkind.
22244 (verilog-auto-ascii-enum): Support one-hot state machines in
22245 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22246 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22247 modport in AUTOINST and add vl-modport for users.
22248 Reported by David Rogoff.
22249 (verilog-auto-inout-module, verilog-auto-inst)
22250 (verilog-decls-get-interfaces, verilog-insert-definition)
22251 (verilog-insert-one-definition, verilog-read-decls)
22252 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22253 (verilog-sig-modport, verilog-signals-combine-bus)
22254 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22255 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22256 Suggested by David Rogoff.
22257 (verilog-repair-open-comma): Fix non-insertion of comma when
22258 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22259 (verilog-make-width-expression): Simplify [A-1:0] expression
22260 widths to just {A{1'b0}}.
22261 (verilog-mode): Cleanup checkdoc warnings.
22262 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22263 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22264 inputs/outputs or data type. Suggested by Vasu Kandadi.
22265 (next-error-last-buffer): Fix byte-compiler warning.
22266 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22267 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22268 or shell command text during AUTO expansion. Suggested by Tad Truex.
22269 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22270 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22271 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22272 in AUTOINOUT. Reported by Matthew Lovell.
22273 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22274 causing use of <= assignments. Reported by Alex Reed.
22275 (verilog-read-decls): Fix triand, trior, wand, wor to be
22276 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22277 (verilog-extended-complete-re): Support import "DPI-C" functions.
22278 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22279 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22280 (verilog-insert-date, verilog-insert-year)
22281 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22282 Windows systems. Reported by Michael Potts.
22283 (verilog-read-module-name): Fix AUTOINST when the child module
22284 declaration's name is a tick define. Reported by Elliot Mednick.
22285 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22286 passed to next parameter's definition. Reported by Bruce T.
22287 (verilog-read-decls): Fix detecting "parameter int" when using
22288 AUTOINSTPARAM. Reported by Bruce T.
22289 (verilog-goto-defun): Fix goto not finding modules unless first
22290 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22291 (verilog-mode): Expand -f flag arguments on entry to mode so
22292 verilog-goto-defun will work. Reported by Lawrence Butcher.
22293 (verilog-getopt): Expand environment variables in -f file
22294 arguments. Suggested by Lawrence Butcher.
22295 (verilog-set-define): Fix "Symbol's value as variable is void"
22296 when reading enumerations.
22297 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22298 Suggested by Stephen Peltan.
22299 (verilog-read-defines): Fix reading of enumerations in include
22300 files. Reported by Steve Peltan.
22302 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22304 * files.el (trash-directory): Fix defcustom type.
22306 2009-06-28 Juri Linkov <juri@jurta.org>
22308 * help-fns.el (describe-function-1): Correctly locate adviced
22309 functions in hyperlink (Bug#2438).
22311 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22313 * files.el (trash-directory): Change default to nil.
22314 (move-file-to-trash): If trash-directory is nil and
22315 system-move-file-to-trash is unbound, perform freedesktop-style
22318 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22320 * files.el (move-file-to-trash): Add freedesktop trash
22323 2009-06-28 Glenn Morris <rgm@gnu.org>
22325 * autorevert.el (global-auto-revert-non-file-buffers)
22326 (global-auto-revert-mode): Doc fixes.
22328 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22330 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22332 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22334 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22335 opened an X connection before calling x-get-resource (Bug#3194).
22337 * play/doctor.el: Remove reference to obsolete website.
22338 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22340 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22342 Remove find-file-not-found-hook VC method. (Bug#2757)
22343 * vc-hooks.el (vc-file-not-found-hook)
22344 (vc-default-find-file-not-found-hook): Remove functions.
22345 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22346 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22349 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22351 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22353 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22354 compatibility function for `looking-back'.
22356 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22357 Use `ispell-looking-back'.
22359 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22361 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22362 rather than `filename'.
22364 2009-06-23 Miles Bader <miles@gnu.org>
22366 * face-remap.el (text-scale-set): New function.
22368 2009-06-23 Glenn Morris <rgm@gnu.org>
22370 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22372 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22374 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22376 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22378 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22379 Simplify Persian conditionals.
22381 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22382 variable `filename'.
22384 * comint.el (comint-insert-input): Doc fix.
22386 * Makefile.in (ELCFILES): Fix typo in previous change.
22388 2009-06-23 Miles Bader <miles@gnu.org>
22390 * cus-start.el: Add entry for `recenter-redisplay'.
22392 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22394 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22395 Add an optional argument for the backend, use it instead of
22396 calling vc-backend.
22397 (vc-mode-line): Add an optional argument for the backend.
22398 Pass the backend to vc-state and vc-working-revision. Move code for
22399 special handling for vc-state being a buffer to ...
22401 * vc-rcs.el (vc-rcs-find-file-hook):
22402 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22404 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22405 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22406 vc-stay-local-p and vc-mode-line calls.
22408 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22409 (vc-cvs-diff, vc-cvs-annotate-command)
22410 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22411 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22412 vc-mode-line calls.
22414 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22416 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22417 backend when calling vc-mode-line.
22418 (vc-register): Do not create a closure for calling the vc register
22419 function, call it directly.
22421 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22423 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22424 to make it obvious item can be clicked.
22426 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22428 2009-06-23 Kenichi Handa <handa@m17n.org>
22430 * language/korea-util.el (korean-key-bindings): Change the binding
22431 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22434 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22436 Sync with Tramp 2.1.16.
22438 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22440 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22441 when a loading of a package fails. Completion function for rsync
22442 is `tramp-completion-function-alist-ssh'.
22443 (all): Replace all calls of `split-string' and
22444 `tramp-split-string' by `tramp-compat-split-string'.
22445 (tramp-default-method): Use `tramp-compat-process-running-p'.
22446 (tramp-default-proxies-alist): Allow also Lisp forms.
22447 (tramp-remote-path): Add choice "Private Directories".
22448 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22449 (tramp-domain-regexp): Allow also "-", "_" and ".".
22450 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22451 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22452 (tramp-debug-message): Insert header line in debug buffer.
22453 (tramp-handle-directory-files-and-attributes-with-stat):
22454 Care about filenames with spaces, or starting with "-".
22455 (tramp-handle-dired-uncache): New defun.
22456 (tramp-handle-insert-directory): Don't flush the directory from
22457 cache, this is handled by `dired-uncache' now.
22458 (tramp-handle-insert-file-contents): Improve error handling.
22459 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22460 Quote `tramp-end-of-output'.
22461 (tramp-action-password): Improve trace message.
22462 (tramp-check-for-regexp): Both echoes must be present, before removing.
22463 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22464 (tramp-compute-multi-hops): Eval cons cells of
22465 `tramp-default-proxies-alist'.
22466 (tramp-maybe-open-connection): Use the same command pattern for
22467 first hop and further hops.
22468 (tramp-wait-for-output): Remove handling of newlines.
22469 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22470 (tramp-split-string): Remove function. It is handled in
22473 * net/tramp-cmds.el (tramp-bug):
22474 Recommend `tramp-cleanup-all-connections' in the bug mail.
22476 * net/tramp-compat.el (tramp-compat-split-string)
22477 (tramp-compat-process-running-p): New defuns.
22479 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22480 for `dired-uncache'.
22482 * net/tramp-gvfs.el: New package.
22484 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22485 Add handler for `dired-uncache'.
22486 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22488 * net/trampver.el: Update release number. Make version check fit
22491 2009-06-22 Jim Meyering <meyering@redhat.com>
22493 Automatically handle .xz suffix (XZ-compressed files), too.
22494 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22495 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22497 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22498 Nick Roberts <nickrob@snap.net.nz>
22500 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22501 repository (http://sphinx.net.ru/hg/gdb-mi/).
22503 2009-06-22 Glenn Morris <rgm@gnu.org>
22505 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22506 `mode' and `eval' entries. (Bug#3430)
22508 * Makefile.in (ELCFILES): Add fadr.elc.
22510 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22511 differing behavior of \n and ^ in strings. (Bug#3385)
22513 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22515 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22517 (lisp-indent-function): Make it a defcustom.
22519 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22521 * progmodes/gdb-ui.el: Replace with ...
22522 * progmodes/gdb-mi.el: ... this file.
22523 * progmodes/gud.el: Modify for gdb-mi.el.
22525 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22527 * fadr.el: New file.
22529 See ChangeLog.14 for earlier changes.
22531 ;; Local Variables:
22535 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22537 This file is part of GNU Emacs.
22539 GNU Emacs is free software: you can redistribute it and/or modify
22540 it under the terms of the GNU General Public License as published by
22541 the Free Software Foundation, either version 3 of the License, or
22542 (at your option) any later version.
22544 GNU Emacs is distributed in the hope that it will be useful,
22545 but WITHOUT ANY WARRANTY; without even the implied warranty of
22546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22547 GNU General Public License for more details.
22549 You should have received a copy of the GNU General Public License
22550 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.