1 2011-02-21 Alan Mackenzie <acm@muc.de>
4 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
5 in macros finding their way into c-state-nonlit-pos-cache.
6 Strengthen the comments.
7 (c-state-dump): New commented out diagnostic routine.
9 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
11 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
12 `field' property of `rfn-eshadow-overlay'.
14 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
16 * net/netrc.el (netrc-parse): Comment fix.
18 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
20 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
21 Autoload. Add optional arg FRAME, and pass it to color-values.
22 (color-complement): Caller changed. Doc fix.
23 (color-gradient): Rewrite for better clarity and efficiency.
25 * faces.el (color-values): Use cond for clarity. Doc fix.
27 * facemenu.el (color-rgb-to-hsv): Deleted; use the version in
29 (list-colors-sort-key, list-colors-print): Use
30 color-normalized-values.
32 2011-02-20 Drew Adams <drew.adams@oracle.com>
34 * color.el: First part of merge from hexrgb.el.
35 (color-rgb-to-hex): Rename from color-rgb->hex.
36 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
37 saturation to zero if the value is too small.
38 (color-rgb-to-hsl): Rename from color-rgb->hsl.
39 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
40 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
41 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
42 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
43 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
44 (color-cie-de2000): Doc fix.
46 2011-02-20 Alan Mackenzie <acm@muc.de>
48 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
49 locating the beginning of a macro. (Bug#7595)
51 2011-02-20 Glenn Morris <rgm@gnu.org>
53 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
56 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
57 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
59 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
60 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
62 * progmodes/hideshow.el (hs-find-block-beginning)
63 (hs-hide-level-recursive): Ignore comments when parsing braces
66 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
68 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
69 (vc-bzr-pull): Use it.
71 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
73 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
74 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
75 but returning an alist. Ignore comments in bzr conffile.
76 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
77 (vc-bzr-error-regex-alist): New var.
78 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
80 * vc/vc-dispatcher.el (vc-do-async-command): Bind
81 inhibit-read-only to t.
83 * progmodes/compile.el (compilation--flush-directory-cache):
84 Handle the case where cdr of compilation--flush-directory-cache
85 points to no buffer, which can occur if we previously switched to
86 compilation-mode in a pregenerated buffer.
88 2011-02-19 Kenichi Handa <handa@m17n.org>
90 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
91 get the header copy into the temporary buffer.
92 (rmail-mime-insert-decoded-text): Ignore us-ascii.
93 (rmail-show-mime): When rmail-mime-coding-system is nil, set
94 buffer-file-coding-system to undecided.
96 2011-02-19 Eli Zaretskii <eliz@gnu.org>
98 * international/mule-cmds.el (read-char-by-name, ucs-insert):
99 Document completion with asterisk and a substring.
101 2011-02-19 Glenn Morris <rgm@gnu.org>
103 * files.el (find-file-literally): Doc fix.
105 * simple.el (rfc822-goto-eoh): Give it a doc-string.
107 * log-edit.el (log-edit-insert-changelog):
108 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
110 2011-02-19 Glenn Morris <rgm@gnu.org>
112 * dired-x.el: Don't require dired-aux.
113 (dired-do-create-files, dired-mark-read-regexp)
114 (dired-do-create-files-regexp): Autoload from dired-aux.
116 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
117 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
119 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
120 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
122 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
123 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
124 (dired-clean-up-buffers-too): Declare.
126 * dired-x.el (dired-initial-position): Merge into dired.el's version.
127 * dired.el (dired-initial-position): Merge dired-x's version here.
128 (dired-find-subdir): Declare.
130 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
131 * dired-aux.el (dired-add-entry): Give it a doc-string.
132 Merge dired-x's dired-omit handling here.
133 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
135 * international/mule-diag.el (list-input-methods-1):
136 Indent all lines of multi-line doc-strings. (Bug#8066)
138 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
140 Fix 2011-02-02 changes.
142 * apropos.el (apropos-print): Call apropos-mode before setting up
143 buffer variables. Use inhibit-read-only.
145 * emacs-lisp/package.el (package--list-packages): Call
146 package-menu-mode before setting up buffer variables.
148 * play/solitaire.el (solitaire): Call solitaire-mode before
149 setting up buffer variables. Use inhibit-read-only.
151 2011-02-18 Lawrence Mitchell <wence@gmx.li>
153 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
154 Bind case-fold-search to nil when looking for end of here-doc.
156 2011-02-18 Eli Zaretskii <eliz@gnu.org>
158 * image-mode.el (image-toggle-display-image):
159 Set find-file-literally non-nil in buffers visiting binary image
162 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
164 * files.el (cd): Make completion obey cd-path (bug#7924).
166 2011-02-18 Glenn Morris <rgm@gnu.org>
168 * progmodes/prolog.el: Don't require compile when compiling.
169 (compilation-shell-minor-mode, compilation-error-regexp-alist)
170 (compilation-forget-errors, compilation-fake-loc)
171 (compilation-parse-errors-function, compilation-error-list): Declare.
172 (prolog-inferior-mode): Require 'compile.
174 * emulation/cua-base.el (pc-selection-mode): Declare.
176 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
177 (customize-object): Add autoload cookie.
178 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
179 (eieio-browse, describe-class, eieio-describe-class)
180 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
181 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
182 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
183 * Makefile.in (autoloads): Make eieio.el writable.
185 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
186 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
187 (dired-hack-local-variables): Use inhibit-read-only.
188 (dired-guess-default): Simplify.
189 (dired-make-relative-symlink): Use dotimes.
190 (dired-simultaneous-find-file): Use dolist.
191 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
192 (dired-x-hands-off-my-keys): Doc fix.
193 (dired-x-bind-find-file): Doc fix. Use remapping.
194 (after-init-hook): No need to add dired-x-bind-find-file.
195 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
196 No need to call expand-file-name.
197 (dired-filename-at-point): Remove unused locals `end', `filename'.
199 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
201 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
203 2011-02-18 Christian Ohler <ohler@gnu.org>
205 * emacs-lisp/ert.el (ert--setup-results-buffer)
206 (ert-results-pop-to-backtrace-for-test-at-point)
207 (ert-results-pop-to-messages-for-test-at-point)
208 (ert-results-pop-to-should-forms-for-test-at-point)
209 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
210 were incorrect and unnecessary. This should make `make check'
213 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
215 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
216 (allout-widgets-icons-dark-subdir): Track relocations of icons
217 * lisp/allout.el: Remove commentary about remove encryption
218 passphrase mnemonic support and verification.
219 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
220 failure to decrypt gpg2 armored text using gpg1, and indicate that
221 the gpg version *might* be the problem in the error message.
223 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
225 * net/rcirc.el (rcirc-float-time): New function.
226 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
227 (rcirc-ctcp-sender-PING): Use it.
229 2011-02-17 Glenn Morris <rgm@gnu.org>
231 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
232 (speedbar-update-flag, speedbar-fetch-etags-command)
233 (speedbar-fetch-etags-arguments):
234 * term.el (term-buffer-maximum-size, term-input-chunk-size)
235 (term-completion-autolist, term-completion-addsuffix)
236 (term-completion-recexact, term-completion-fignore):
237 * term/sup-mouse.el (sup-mouse-fast-select-window):
238 * term/x-win.el (x-select-request-type):
239 Convert some defvars with "*" to defcustoms.
241 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
243 * vc/vc.el (vc-default-previous-version):
244 Remove alias that points nowhere. (Bug#4496)
246 * dired-x.el (dired-clean-up-after-deletion):
247 kill-buffer does not need save-excursion.
248 (dired-do-run-mail): Doc fix.
249 (dired-filename-at-point): Doc fix.
250 Use looking-at, and skip-chars rather than re search.
252 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
254 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
256 * allout-widgets.el: New allout extension that shows allout
257 outline structure with graphical widgets. 'allout-widgets'
258 customize group is an 'allout' subgroup, for easy discovery.
260 * allout.el: Include PGP and GnuPG in Keywords, and other
261 commentary refinements.
262 (allout-abbreviate-flattened-numbering): Rename to
263 allout-flattened-numbering-abbreviation, and
264 define-obsolete-variable-alias the old name.
265 (allout-flattened-numbering-abbreviation): Rename from
266 allout-abbreviate-flattened-numbering.
267 (allout-mode-p): Include among autoloads, for use by other modes
269 (allout-listify-exposed):
270 Use allout-flattened-numbering-abbreviation.
271 (allout-encrypt-string): Use set-buffer-multibyte directly.
272 (allout-set-buffer-multibyte): Remove.
274 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
276 * simple.el (just-one-space): Remove useless `or' call.
278 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
280 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
281 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
282 (soap-decoded-multi-refs, soap-current-wsdl)
283 (soap-encoded-namespaces): Rename CL-style *...* variables.
285 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
287 * net/soap-client.el: Add "comm" and "hypermedia" to the
288 keywords. Reflow too long lines.
290 * net/soap-inspect.el: Ditto. Require 'cl.
292 2011-02-16 Bastien Guerry <bzg@altern.org>
294 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
295 in a `doctor-type' argument.
297 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
299 * net/soap-client.el:
300 * net/soap-inspect.el: New files.
302 2011-02-16 Leo <sdl.web@gmail.com>
304 * dired-x.el (dired-mode-map, dired-extra-startup):
305 Remove dired-copy-filename-as-kill since it's already in dired.el.
307 2011-02-16 Glenn Morris <rgm@gnu.org>
309 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
310 Doc fixes. Add :set property, replacing top-level calls.
311 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
312 (dired-guess-shell-gnutar): Test tar version rather than system-type.
313 (dired-extra-startup, dired-man, dired-info): Doc fixes.
314 (dired-clean-up-after-deletion): Use when and dolist.
315 (dired-jump): Use unless and when.
316 (dired-virtual): Use line-end-position.
317 (dired-default-directory-alist): Rename from default-directory-alist.
318 (dired-default-directory): Update for above name change.
319 (dired-vm): Drop VM < 5 and simplify.
320 (dired-buffer-more-recently-used-p): Rewrite.
321 (dired-filename-at-point): Use when and or.
322 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
325 2011-02-15 Glenn Morris <rgm@gnu.org>
327 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
329 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
331 * vc/vc-git.el (vc-git-root-log-format): New option for
332 customizing log format.
333 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
334 (vc-git-log-view-mode): Use it.
335 (vc-git-expanded-log-entry): New function.
336 (vc-git-log-view-mode): Use it. Truncate lines in root log.
338 * vc/vc-hg.el (vc-hg-root-log-template): New option for
339 customizing log format.
340 (vc-hg-print-log): Use it.
341 (vc-hg-expanded-log-entry): New function.
342 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
343 vc-hg-expanded-log-entry. Truncate lines in root log.
345 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
347 * vc/log-view.el (log-view-mode-menu):
348 Add log-view-toggle-entry-display.
350 2011-02-14 Glenn Morris <rgm@gnu.org>
352 * dired-x.el: Don't require man when compiling.
353 (dired-omit-extensions, dired-local-variables-file)
354 (dired-x-hands-off-my-keys): Make them defcustoms.
355 (Man-support-local-filenames, Man-getpage-in-background): Declare.
356 (vm-visit-folder): Declare rather than defining.
357 (dired-x-help-address, dired-x-variable-list): Remove.
358 (dired-x-submit-report): Make it an obsolete alias.
360 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
362 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
364 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
366 * net/imap.el: Bring it back.
368 2011-02-13 Alan Mackenzie <acm@muc.de>
370 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
371 narrow-to-region call that cuts context off the end (Bug#7722).
373 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
374 Refactor nested if-forms with a simple cond.
375 (c-forward-<>-arglist): Revert 2011-01-31 change.
377 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
379 * vc/log-view.el: New command log-view-toggle-entry-display for
380 toggling log entries between concise and detailed forms.
381 (log-view-toggle-entry-display): New command.
382 (log-view-mode-map): Bind RET to it.
383 (log-view-expanded-log-entry-function): New variable.
384 (log-view-current-entry, log-view-inside-comment-p)
385 (log-view-current-tag): New functions.
386 (log-view-toggle-mark-entry): Use log-view-current-entry and
387 log-view-end-of-defun instead of searching directly with
389 (log-view-end-of-defun): Likewise. Add optional ARG for
390 compatibility with end-of-defun.
391 (log-view-end-of-defun): Ignore comments and VC buttons.
393 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
394 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
396 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
398 * net/imap.el: Remove file. All the functionality is in nnimap.el.
400 * net/imap-hash.el: Remove file.
402 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
404 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
406 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
409 * net/tramp-imap.el: Remove file.
411 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
413 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
414 widget library for buttons, just use button.el.
416 * vc/log-view.el (log-view-mode-map): Don't inherit from
419 2011-02-12 Glenn Morris <rgm@gnu.org>
421 * emacs-lisp/cl-seq.el (union, nunion, intersection)
422 (nintersection, set-difference, nset-difference)
423 (set-exclusive-or, nset-exclusive-or): Doc fix.
425 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
427 * faces.el (face-attr-match-p): Handle the obsolete :bold and
428 :italic props, so that frame-set-background-mode works. (Bug#7966)
430 * simple.el (next-error): Doc fix.
432 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
434 * dired-aux.el (dired-create-files): Adapt destination name to
435 match the new behavior of copy-directory.
437 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
439 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
440 from rmail-dont-reply-to-names. Callers changed.
441 (mail-dont-reply-to): Rename from mail-dont-reply-to.
442 (rmail-dont-reply-to): Make it an obsolete alias.
444 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
445 nil, and make obsolete (Bug#7888).
446 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
448 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
450 * mail/rmailsort.el (rmail-sort-by-correspondent)
451 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
453 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
455 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
457 * files.el (copy-directory): New argument COPY-CONTENTS for
458 copying directory contents into another existing directory.
460 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
462 * minibuffer.el (completion-table-case-fold): New function for
463 creating a case-insensitive completion table.
465 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
467 * net/tramp.el (tramp-default-method): Also check if
468 `auth-source-search' is bound.
469 (tramp-read-passwd): Use `auth-source-search' instead of
470 `auto-source-user-or-password'.
472 * net/tramp-imap.el: Autoload `auto-source-search' instead of
473 `auto-source-user-or-password.
474 (tramp-imap-passphrase-callback-function): Use it.
476 * net/imap-hash.el: Autoload `auto-source-search' instead of
477 `auto-source-user-or-password.
478 (imap-hash-open-connection): Use it.
480 * mail/smtpmail.el: Autoload `auto-source-search' instead of
481 `auto-source-user-or-password.
482 (smtpmail-try-auth-methods): Use it.
484 2011-02-12 Phil Hagelberg <phil@hagelb.org>
486 * emacs-lisp/package.el: Allow packages to be reinstalled.
487 (package--write-file-no-coding): Remove EXCL arg.
488 (package-unpack-single): Don't use it.
490 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
492 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
493 in each sub directory.
494 (vc-svn-registered): Use vc-svn-root.
495 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
496 (vc-svn-repository-hostname): Use "svn info".
498 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
500 * simple.el (delete-trailing-whitespace): New optional buffer
503 2011-02-11 Bastien Guerry <bzg@altern.org>
505 * files.el (basic-save-buffer): save unmodified buffers when
506 the file pointed by buffer-file-name doesn't exist.
508 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
510 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
512 2011-02-11 Glenn Morris <rgm@gnu.org>
514 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
516 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
518 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
520 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
522 * server.el (server-process-filter): Use pcase.
524 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
526 (smie-indent--parent): Extend to "parent of arg".
527 (smie-indent-inside-string): New function.
528 (smie-indent-functions): Use it.
530 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
531 bzr locking race condition.
533 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
534 still valid before using it.
536 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
537 `message' -> `compilation-message' rename (bug#8004).
539 Move keymap initialization into declaration.
540 * textmodes/enriched.el (enriched-mode-map):
541 * textmodes/bib-mode.el (bib-mode-map):
542 * term/lk201.el (lk201-function-map):
543 * tar-mode.el (tar-mode-map):
544 * replace.el (occur-mode-map):
545 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
546 * progmodes/idlw-help.el (idlwave-help-mode-map):
547 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
548 * play/solitaire.el (solitaire-mode-map):
549 * play/snake.el (snake-mode-map, snake-null-map):
550 * play/pong.el (pong-mode-map):
551 * play/handwrite.el (menu-bar-handwrite-map):
552 * play/gametree.el (gametree-mode-map):
553 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
554 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
555 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
556 (newsticker--url-keymap):
557 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
558 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
559 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
560 (menu-bar-edit-menu, menu-bar-custom-menu)
561 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
562 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
563 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
564 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
565 (menu-bar-tools-menu, menu-bar-describe-menu)
566 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
567 (menu-bar-help-menu):
568 * mail/rmailsum.el (rmail-summary-mode-map):
569 * kmacro.el (kmacro-step-edit-map):
570 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
571 (ibuffer-mode-operate-map):
572 * hi-lock.el (hi-lock-menu, hi-lock-map):
573 * emulation/vip.el (vip-mode-map):
574 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
575 * bookmark.el (bookmark-bmenu-mode-map):
576 * help-mode.el (help-mode-map): Move initialization into declaration.
578 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
580 * net/rcirc.el: Add PRIVMSG and CTCP functions.
581 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
582 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
583 (rcirc-cmd-me, rcirc-authenticate): Use them.
585 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
587 * allout.el: Synopsis: Change allout user configuration so
588 auto-activation is controlled solely by customization
589 `allout-auto-activation'.
591 (allout-auto-activation-helper) (allout-setup): New autoloads
592 implement new custom set procedure for allout-auto-activation.
593 Also, explicitly invoke
594 (allout-setup) after allout-auto-activation is custom-defined, to
595 effect the settings in emacs sessions besides the few where
596 allout-auto-activation customization is donea.
597 (allout-auto-activation): Use allout-auto-activation-helper to
598 :set. Revise the docstring.
599 (allout-init): Reduce functionality to just customizing
600 allout-auto-activation, and mark obsolete.
601 (allout-mode): Respect string values for allout-auto-activation.
602 Run allout-after-copy-or-kill-hook without any args.
603 (allout-mode) (allout-layout) (allout-default-layout)
604 (outlineify-sticky): Adjust docstring for new scheme.
605 (allout-after-copy-or-kill-hook): No arguments - hook implementers
606 should concentrate on the kill ring.
608 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
610 * password-cache.el (password-cache-remove): Accept secrets that are
613 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
615 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
616 of here-doc that immediately follows a comment.
618 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
620 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
622 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
624 (rcirc-ctcp-sender-PING): New function.
626 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
628 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
629 Remove the mark/nomark handling, and activate shift-select-mode instead.
631 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
633 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
635 * calc/calc-units.el (math-logunits-quant): Add support for
636 non-logarithmic units.
638 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
640 * allout.el (allout-after-copy-or-kill-hook): New hook for
641 extension-specific processing of killed text.
642 (allout-mode): Include new allout-after-copy-or-kill-hook among
644 (allout-kill-line) (allout-kill-topic): Ensure that processing
645 after kill happens even if barf-if-buffer-read-only is raised.
646 Include new allout-after-copy-or-kill-hook among that subsequent
648 (allout-deannotate-hidden): Actually remove the annotation text
651 * allout.el (allout-listify-exposed): Copy text sans text properties.
653 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
655 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
657 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
659 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
661 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
663 * calc/calc.el (calc-logunits-field-reference): Rename from
664 `calc-default-field-reference-level'.
665 (calc-logunits-power-reference): Rename from
666 `calc-default-power-reference-level'
668 * calc/calc-units.el (math-logunits-quant): Rename from
669 `math-logunits-level'
670 (math-logunits-plus): Rename from math-logcombine.
671 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
672 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
673 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
675 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
676 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
677 (calc-logunits-quantity): Rename from `calc-level'.
678 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
679 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
680 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
681 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
682 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
685 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
686 (calc-ul-prefix-help): Remove.
687 (calc-l-prefix-help): New function.
688 (calc-full-help): Add reference to `calc-l-prefix-help'.
690 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
692 * calc/README: Mention logarithmic units.
694 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
696 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
697 non-ASCII characters (Bug#7925).
699 2011-02-05 Glenn Morris <rgm@gnu.org>
701 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
703 * calendar/diary-lib.el (diary-font-lock-keywords):
704 Tweak diary-time-regexp match. (Bug#7891)
706 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
707 (f90-mode): Use it for mode's `find-tag-default-function' property.
709 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
711 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
713 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
715 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
718 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
720 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
721 font-lock-syntax-table remappings.
722 (sh-here-doc-markers, sh-here-doc-re): Remove.
723 (sh-font-lock-close-heredoc): Remove.
724 (sh-syntax-propertize-here-doc): New function.
725 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
726 instead of the sh-here-doc-re.
727 (sh-font-lock-paren): Don't do anything in comments or strings.
728 Handle line continuations. Accept a few more chars.
729 Don't rely on the font-lock-syntax-table remappings.
730 `esac' is not a valid pattern.
731 (sh-syntax-propertize-function): Handle here-docs differently, so we
732 don't bother syntax-propertizing the insides.
734 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
735 Handle new bashisms ";&" and ";;&" (bug#7947).
737 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
739 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
740 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
742 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
744 * net/tramp.el (tramp-postfix-method-format)
745 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
746 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
747 (tramp-postfix-user-regexp, tramp-prefix-port-format)
748 (tramp-prefix-port-regexp, tramp-postfix-host-format)
749 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
752 2011-02-04 Sam Steingold <sds@gnu.org>
754 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
756 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
758 * international/mule-util.el (with-coding-priority): Doc fix.
760 2011-02-04 Eli Zaretskii <eliz@gnu.org>
762 * arc-mode.el (archive-mode-map): Fix a typo in last change.
764 2011-02-03 Sam Steingold <sds@gnu.org>
766 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
767 Do not error out when `func' is nil.
769 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
771 * net/tramp-sh.el (tramp-remote-path): Add default settings for
772 `tramp-default-remote-path' to the docstring.
773 (tramp-get-remote-path): Suppress error message when `getconf
776 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
778 2011-02-03 Glenn Morris <rgm@gnu.org>
780 * vc/vc-hg.el (vc-hg-command): Doc fix.
782 * term/w32-win.el (libpng-version): Declare for compiler.
784 * msb.el: No need to load dired while compiling.
786 * emacs-lisp/elint.el (elint-standard-variables):
787 Remove a couple of built-ins that now have doc-strings.
789 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
790 `require' is automatically `eval-and-compile'd.
792 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
793 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
795 * strokes.el (strokes-fill-current-buffer-with-whitespace):
796 Move definition before use.
797 (strokes-report-bug): Make it obsolete.
799 2011-02-02 Sam Steingold <sds@gnu.org>
801 * apropos.el (apropos-print): Now that `apropos-mode' inherits
802 from `special-mode', entering it makes the buffer read-only, so
803 call it only when everything has been already inserted.
804 * emacs-lisp/ert.el (ert--setup-results-buffer)
805 (ert-results-pop-to-backtrace-for-test-at-point)
806 (ert-results-pop-to-messages-for-test-at-point)
807 (ert-results-pop-to-timings): Ditto.
808 * emacs-lisp/package.el (package--list-packages): Ditto.
809 * play/solitaire.el (solitaire): Ditto.
811 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
813 * progmodes/compile.el: Make all faces inherit.
814 (compilation-warning): Inherit from font-lock-variable-name-face.
815 (compilation-info): Inherit from font-lock-type-face.
816 (compilation-line-number): Reassign to font-lock-keyword-face.
817 (compilation-column-number): Reassign to font-lock-doc-face.
818 (compilation-leave-directory-face): Reassign to
819 font-lock-builtin-face.
821 2011-02-02 Eli Zaretskii <eliz@gnu.org>
823 * dired.el (dired-insert-directory): Don't invoke `ls' when
824 ls-lisp.el is used to emulate it.
826 2011-02-01 Julien Danjou <julien@danjou.info>
828 * color.el (color-gradient): Add a color-gradient function.
830 2011-02-01 Sam Steingold <sds@gnu.org>
832 * simple.el (special-mode-map): Bind "h" to `describe-mode';
833 bind "z" to `kill-this-buffer'.
834 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
835 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
836 (apropos-mode): Inherit from `special-mode'.
837 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
838 * bookmark.el (bookmark-bmenu-mode): Define using
839 `define-derived-mode' inheriting from `special-mode'.
840 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
841 * image-mode.el (image-mode-map): Ditto.
842 * replace.el (occur-mode): Define using
843 `define-derived-mode' inheriting from `special-mode'.
844 * tar-mode.el (tar-mode): Inherit from `special-mode'.
845 * calendar/diary-lib.el (diary-fancy-display-mode):
846 Inherit from `special-mode-map'.
847 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
848 Inherit from `special-mode'.
849 * emacs-lisp/package.el (package-menu-mode-map): Copy from
851 (package-menu-mode): Define using `define-derived-mode'
852 inheriting from `special-mode'.
853 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
854 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
855 (xesam-mode-map): Define separately.
856 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
857 * progmodes/compile.el (compilation-minor-mode-map)
858 (compilation-mode-map): Inherit from `special-mode-map'.
859 * vc/diff-mode.el (diff-mode-shared-map):
860 Inherit from `special-mode-map'.
861 * vc/log-view.el (log-view-mode-map): Add a comment.
863 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
865 * custom.el (load-theme): Define return value. Drop use of
866 unsafep; call custom-theme-load-confirm for non-known-safe themes.
867 (custom-theme-load-confirm): Scroll in the correct window.
868 (custom-enabled-themes): Add custom-safe-themes to :set-after.
870 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
871 checkbox if load-theme fails.
873 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
875 * progmodes/compile.el (compilation-next-error): Check there's
876 a message before using it (bug#7941).
878 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
880 * calc/calc-mtx.el (math-lud-pivot-check): New function.
881 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
884 2011-01-31 Alan Mackenzie <acm@muc.de>
886 * progmodes/cc-cmds.el (c-forward-over-illiterals):
887 Continue parsing if we encounter a naked # (Bug#7595).
888 (c-beginning-of-statement): Avoid loop in locating the beginning
889 of a macro. (Not actually committed until 2011-02-20, see above).
891 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
893 * files.el (copy-directory): Fix arguments to recursive call.
895 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
897 * files.el (copy-directory): If destination is an existing
898 directory, copy into a subdirectory there.
900 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
902 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
905 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
907 * image-dired.el (image-dired-mouse-display-image): No-op if no
908 file is found (Bug#7817).
910 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
912 2011-01-31 Kenichi Handa <handa@m17n.org>
914 * international/quail.el (quail-keyboard-layout-alist):
915 Remove superfluous SPC for "pc105-uk" (bug#7927).
917 2011-01-31 Glenn Morris <rgm@gnu.org>
919 * msb.el (msb-menu-bar-update-buffers): Update for changed
920 argument handling of menu-bar-select-frame. (Bug#7902)
922 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
924 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
925 to the recursion depth (Bug#7722).
927 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
929 * term/ns-win.el (ns-find-file): Expand ns-input-file with
930 command-line-default-directory (Bug#7872).
932 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
934 * progmodes/compile.el (compilation--flush-directory-cache):
935 New function, extracted from compilation--remove-properties.
936 (compilation--remove-properties, compilation--parse-region): Use it.
937 (compilation--previous-directory): Handle one more case.
938 (compilation-enable-debug-messages): Remove.
939 (compilation-parse-errors, compilation--flush-parse): Just remove the
940 left over debug messages.
942 2011-01-31 Sam Steingold <sds@gnu.org>
944 * progmodes/compile.el (compilation-enable-debug-messages):
945 Add a variable to make the parsing messages introduced in
946 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
947 (compilation-parse-errors, compilation--flush-parse): Use it.
949 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
951 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
952 (rcirc-nick-completion-format): New defcustom.
953 (rcirc-complete): Use it.
955 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
957 * net/rcirc.el: Clean log filenames (Bug#7933).
958 (rcirc-log-write): Use convert-standard-filename.
959 (rcirc-log-filename-function): Documentation updates.
961 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
963 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
964 Check report-emacs-bug-can-use-osx-open and use that if t.
965 (report-emacs-bug-can-use-osx-open): New function.
966 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
967 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
969 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
971 * vc/vc-dispatcher.el (vc-set-async-update): New function for
972 updating Dired or VC-dir buffers after async command completes.
974 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
975 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
977 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
978 completions if it exists. Use vc-set-async-update.
979 (vc-git-pull): Use vc-set-async-update.
981 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
982 read-shell-command. Use vc-set-async-update.
983 (vc-hg-merge-branch): Use vc-set-async-update.
985 2011-01-29 Daiki Ueno <ueno@unixuser.org>
987 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
988 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
991 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
993 * progmodes/compile.el: Avoid an N² behavior in grep.
994 (compilation--previous-directory): New fun.
995 (compilation--previous-directory-cache): New var.
996 (compilation--remove-properties): Flush it.
997 (compilation-directory-properties, compilation-error-properties):
998 Use the new fun to speed up looking for the current directory.
1000 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1002 * vc/vc-hg.el (vc-hg-history): New var.
1003 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1004 (vc-hg-merge-branch): New function.
1006 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1007 the other way around.
1009 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1010 (vc-git-merge-branch): New functions.
1011 (vc-git-history): New var.
1013 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1015 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1017 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1018 vc-do-async-command.
1020 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1023 2011-01-28 Leo <sdl.web@gmail.com>
1025 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1026 highlighting to the "this function is advised" message.
1028 * help-mode.el (help-mode-finish): Apply highlighting here, to
1029 avoid clobbering by substitute-command-keys (Bug#6304).
1031 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1033 * woman.el (woman0-roff-buffer): Process roff escape sequences
1034 occurring prior to the first request (Bug#7843).
1036 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1038 * progmodes/compile.el: Don't use font-lock any more.
1039 (compilation-error-regexp-alist-alist): Change handling of makepp
1040 so it preserves the warning/error distinction on subsequent files.
1041 Simplify various rules.
1042 (compilation-directory-properties): Use font-lock-face.
1043 Add a compilation-message property.
1044 (compilation-internal-error-properties): Use font-lock-face.
1045 Don't set the compilation-debug property here.
1046 (compilation--put-prop, compilation--remove-properties)
1047 (compilation--parse-region, compilation--ensure-parse)
1048 (compilation--ensure-parse): New functions.
1049 (compilation-parse-errors): New function, largely inspired of
1050 compilation-mode-font-lock-keywords. Set compilation-debug here.
1051 (compilation--parsed): New var.
1052 (compilation--flush-parse): Use compilation--ensure-parse.
1053 (compilation-start): Don't call font-lock.
1054 (compilation-turn-on-font-lock): Remove.
1055 (compilation-setup): Don't set font-lock-extra-managed-props not change
1056 other font-lock settings, other than keywords.
1057 Don't activate font-lock-mode.
1058 Set change-major-mode-hook and before-change-functions.
1059 (compilation--unsetup): Remove properties and hooks.
1060 (compilation-next-single-property-change): New function.
1061 (compilation-next-error): Use it to parse when needed.
1062 (compile-goto-error): Parse buffer as needed.
1063 (compilation--compat-error-properties): Don't need a dummy `face'
1066 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1069 (compilation-process-setup-function): Fix docstring's false promises.
1070 (compilation-error-regexp-alist-alist): Catch omake's continuous
1071 recompilation message and avoid reuse of old markers.
1072 (compilation-parse-errors-function): Declare obsolete.
1073 (compilation-buffer-modtime): Remove.
1074 (compilation--make-cdrloc, compilation--loc->col)
1075 (compilation--loc->line, compilation--loc->file-struct)
1076 (compilation--loc->marker, compilation--loc->visited)
1077 (compilation--make-file-struct, compilation--file-struct->file-spec)
1078 (compilation--file-struct->formats)
1079 (compilation--file-struct->loc-tree): New macros. Use them.
1080 (compilation--message): New defstruct. Use them.
1081 (compilation-next-error-function): Don't mess with timestamps to try
1082 and guess when to reparse.
1084 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1087 (tex-old-error-file-name): New function,
1088 extracted from tex-compilation-parse-errors.
1089 (tex-compilation-parse-errors): Remove.
1090 (tex-error-regexp-alist): New var.
1091 (tex-shell): Use it to avoid compilation-parse-errors-function.
1093 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1094 (grep-mode-font-lock-keywords): Remove regexp that seems like
1095 a left-over from before we used compile.el.
1096 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1097 modifying the buffer within with-silent-modifications.
1099 * progmodes/compile.el: Cleanup text-properties namespace by using
1100 `compilation-message' instead of `message', `compilation-directory'
1101 instead of `directory', and `compilation-debug' instead of `debug'.
1102 (compilation-last-buffer, compilation-parsing-end)
1103 (compilation-error-list, compilation-old-error-list): Move to the
1104 compatibility part of the code.
1105 (compilation-error-properties): If `file' is a function, let it return
1107 (compilation-mode-font-lock-keywords): Be more conservative with the
1108 omake "^ *" pattern prefix, to try and minimize the risk of
1109 pathologically slow regexp matching.
1110 (compilation-start): Use inhibit-read-only.
1111 (compilation--unsetup): New function.
1112 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1113 (compilation-filter): Minor tweaks.
1114 (compilation-next-error-function): Try and avoid abusing variables.
1115 (compilation--flush-file-structure): New fun.
1116 (compilation-fake-loc): Use it to improve behavior when file is reused.
1117 (debug-ignored-errors): Add "Moved past last ...".
1118 (compilation--compat-error-properties)
1119 (compilation--compat-parse-errors): Rename by doubling the "-".
1121 Port features from the previous prolog.el to the new one.
1122 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1123 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1124 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1125 variable and use a function to compute the value dynamically.
1126 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1127 (prolog-continued-prompt-regexp): Remove, unused.
1128 (prolog-find-value-by-system): Try and use the value of prolog-system
1129 in the *prolog* buffer if it helps.
1130 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1131 (prolog-zip-on): ..and check prolog-system and version here instead.
1132 (prolog-inferior-self-insert-command): New command.
1133 (prolog-inferior-mode-map): Use it.
1134 (prolog-inferior-error-regexp-alist): New var.
1135 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1136 (prolog-input-filter): Use derived-mode-p.
1137 (prolog-inferior-guess-flavor): New function.
1138 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1139 make-comint to avoid running comint-mode twice.
1140 (prolog-inferior-buffer): New fun.
1141 (prolog-old-process-region, prolog-old-process-file):
1142 Don't call prolog-bsts here...
1143 (prolog-build-prolog-command): ...do it here instead.
1144 (prolog-old-process-region, prolog-old-process-file):
1145 Use compilation-fake-loc and compilation-forget-errors.
1146 (prolog-consult-compile-region): Use bolp.
1148 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1150 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1152 2011-01-27 Sam Steingold <sds@gnu.org>
1154 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1155 Remove "*server*" which is never created by emacs server.
1157 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1159 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1160 there are some diff switches.
1162 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1165 Copy change made to ruby-font-lock-syntactic-keywords.
1167 * htmlfontify.el: Make it obey the font-lock-face text property.
1168 Miscellaneous cleanup such as:
1169 - Don't hide expressions after a closing paren.
1170 - Move initial setq into let.
1171 - Hoist common parts out of ifs.
1172 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1173 (hfy-face-at): Use get-text-property instead.
1174 (hfy-prop-invisible-p): Use invisible-p if available.
1175 (htmlfontify-manual): Use \\[...].
1176 (hfy-html-quote-regex): Use [...].
1177 (hfy-combined-face-spec): Simplify.
1178 (hfy-compile-face-map): Don't presume point-min==1.
1179 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1180 match end of string.
1181 (hfy-text-p): η-reduce.
1182 (hfy-tags-for-file): Receive cache-hash directly.
1183 (hfy-mark-tag-names): Adjust call.
1185 2011-01-27 Glenn Morris <rgm@gnu.org>
1187 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1188 (msb-after-load-hook): Remove eval-after-load wackiness.
1190 2011-01-25 Sam Steingold <sds@gnu.org>
1192 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1193 literal "diff" (important for windows-nt).
1195 2011-01-25 Glenn Morris <rgm@gnu.org>
1197 * emacs-lisp/copyright.el (copyright-at-end-flag)
1198 (copyright-names-regexp): Add safety properties.
1199 (copyright-year-ranges): New option.
1200 (copyright-find-end): New function, split from copyright-update-year.
1201 (copyright-update-year): Use copyright-find-end.
1202 (copyright-fix-years): Optionally, convert years to ranges.
1203 Handle years continued over comment lines.
1204 Do not mess with the fill-prefix.
1205 Do not call copyright-update.
1206 (copyright-update-directory): Optionally, fix years rather than update.
1207 Skip directories. Find files with only safe local vars.
1209 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * files.el (file-name-non-special): Only change buffer-file-name after
1212 insert-file-contents if it's `visit'ing the file (bug#7854).
1214 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1216 * dired.el (dired-revert): Doc fix (Bug#7758).
1218 * simple.el (line-move-visual): Doc fix (Bug#7594).
1220 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1222 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1223 here-doc which ends with an underscore.
1224 (ruby-mode-set-encoding): Skip shebang line always.
1225 (ruby-mode-map): Bind C-c C-c to comment-region.
1226 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1227 (ruby-forward-sexp): Stop after literal hash key labels.
1228 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1231 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1233 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1234 the correct buffer (Bug#7650).
1236 2011-01-25 Glenn Morris <rgm@gnu.org>
1238 * comint.el (comint-mode): Doc fix. (Bug#7897)
1240 * simple.el (do-auto-fill): Give it a doc string.
1242 * button.el (make-text-button): Doc fix. (See bug#7881)
1244 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1247 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1249 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1250 Handle ?" and friends differently (e.g. don't use backrefs).
1252 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1254 * calc/calc.el (calc-default-power-reference-level)
1255 (calc-default-field-reference-level): New variables.
1256 * calc/calc-units.el (math-standard-units): Add dB and Np.
1257 (math-logunits): New variable.
1258 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1259 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1260 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1262 (math-find-base-units-rec): Add entry for ln(10).
1263 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1264 (calc-ul-prefix-help): New function.
1265 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1266 functions. Add keybindings for new units functions.
1268 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1270 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1271 rcirc buffers. (Bug#4940)
1273 2011-01-22 Glenn Morris <rgm@gnu.org>
1275 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1276 split out from copyright-update-year.
1277 (copyright-update): Don't mess with the GPL version if we don't own the
1278 copyright. Update license regexp, and remove no longer needed
1280 (copyright-fix-years): Use copyright-find-copyright.
1282 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1284 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1286 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1288 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1289 (lm): Rename to landmark.
1290 (lm-test-run): Rename to landmark-test-run.
1292 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1294 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1295 "Case sensitive" menu item.
1297 2011-01-22 Roland McGrath <roland@frob.com>
1299 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1300 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1302 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1306 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1308 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1309 Assume foo(bar) is a manpage reference rather than some unquoted
1312 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1315 Suggested by Flo <sensorflo@gmail.com>.
1317 2011-01-22 Glenn Morris <rgm@gnu.org>
1319 * progmodes/compile.el (compilation-error-regexp-alist):
1320 Fix custom type. (Bug#7812)
1322 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1324 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1325 allout-number-siblings, in keeping with what obtained due to
1326 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1328 (allout-before-change-handler): Better expose spots affected by
1331 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1333 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1335 2011-01-22 Phil Hagelberg <phil@evri.com>
1337 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1338 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1339 (pcmpl-ssh-config-hosts): New function.
1340 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1341 pcmpl-ssh-known-hosts.
1343 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1345 * calc/calc-undo.el (calc-undo): Autoload it.
1346 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1347 and autoload for `calc-undo'.
1348 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1349 * calc/calc-prog.el:
1350 * calc/calc-graph.el:
1351 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1353 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1355 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1356 keybindings to `calc-undo'.
1358 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1360 Don't mess with *temp*.
1361 * obsolete/spell.el: Move from textmodes/spell.el.
1363 * term.el (term-read-input-ring):
1364 * startup.el (display-startup-echo-area-message):
1365 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1366 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1367 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1370 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1372 * allout.el (allout-institute-keymap): Use fset instead of
1373 reapplying defalias.
1375 (allout-hotspot-key-handler): Check for non-control-modified
1376 bindings for hotspot characters if there are no control-modified
1379 * allout.el: Summary - migrate to defining allout mode using
1380 define-minor-mode instead of defun. Significantly clean-up
1381 internal keymap provisions, refactoring and, in the process,
1382 removing a lot of accumulated cruft.
1384 allout-mode-map is now a keymap by virtue of being a defalias to
1385 allout-mode-map-value, which contains the actual keymap structure.
1387 (allout-mode): Use define-minor-mode rather than defun.
1388 Remove now-unnecessary minor-mode setup activities from the body.
1389 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1390 entry will be '(allout-mode . allout-mode-map) - see
1391 allout-mode-map-value, below. Adjust docstring to track changes.
1392 (allout-minor-mode): Remove this defalias, now that we're using
1394 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1395 keymap is allout-mode-map-value, via defalias.
1396 (allout-mode-map-value): The variable holding the actual mode
1397 keymap structure, by virtue of defalias from allout-mode-map.
1398 (allout-compose-and-institute-keymap): Rename from
1399 allout-bind-keys, and including the binding-composition
1400 functionality of the former produce-allout-mode-map and
1401 allout-setup-mode-map.
1402 (allout-institute-keymap): Take over the "setup" part of the former
1403 allout-setup-mode-map. Reassign allout-mode-map-value value and
1404 update the defalias.
1405 (allout-command-prefix) (allout-prefixed-keybindings)
1406 (allout-unprefixed-keybindings):
1407 Use allout-compose-and-institute-keymap to process the bindings.
1408 (allout-unprefixed-keybindings): Remove extraneous '?' question
1410 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1411 user can customize if they want to use that binding.
1412 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1413 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1414 elided that, previously, instead of the one for \C-h.)
1415 (allout-hotspot-key-handler): Remove attempt to resolve the key
1416 through the literal key-string lookup on allout-keybindings-list.
1417 That probably hasn't worked for a Long Time, and removal of
1418 allout-keybindings-list further simplifies the keybindings
1420 (allout-pre-command-business): Use allout-mode-map-value instead
1422 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1423 the bindings if they want to use a keybinding having a trailing
1424 \C-h. No deprecation needed since this feature was never in a
1426 (allout-keybindings-list): Remove. It's not been useful for a
1427 while. (See allout-hotspot-key-handler changes, above.)
1428 (produce-allout-mode-map): Remove. Consolidate into
1429 allout-compose-and-institute-keymap.
1430 (allout-mode-map-adjustments): Remove. No longer necessary with
1431 removal of allout-preempt-trailing-ctrl-h.
1432 (allout-setup-mode-map): Remove. Consolidate into
1433 allout-compose-and-institute-keymap and allout-institute-keymap.
1435 2011-01-20 Glenn Morris <rgm@gnu.org>
1437 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1439 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1441 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1443 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1445 * files.el (find-alternate-file, basic-save-buffer)
1446 (basic-save-buffer-2, revert-buffer, recover-file)
1447 (kill-buffer-ask, abort-if-file-too-large)
1448 (set-visited-file-name, write-file, backup-buffer)
1449 (basic-save-buffer, save-some-buffers):
1450 * dired-aux.el (dired-compress-file): Callers changed.
1452 2011-01-19 Glenn Morris <rgm@gnu.org>
1454 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1455 Also check the property status. (Bug#7861)
1457 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1459 * net/tramp.el (tramp-debug-message): Extend function exclude
1460 list. Use `regexp-opt'.
1462 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1465 highlighting doesn't spill over subsequent lines.
1467 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1468 keymap expression. Improve docstring.
1470 * electric.el (electric-indent-post-self-insert-function):
1471 Don't auto-indent for indent-to-left-margin, it's too often
1474 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1476 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1477 spaces if the frame was resized, so that the full visible buffer
1478 serves as canvas for strokes.
1480 2011-01-16 Glenn Morris <rgm@gnu.org>
1482 * info-xref.el (info-xref-docstrings): Replace cl function.
1483 Also skip directories.
1485 2011-01-16 Kevin Ryde <user42@zip.com.au>
1487 * info-xref.el: Version 3.
1488 (info-xref-check, info-xref-check-all): Move commentary details
1489 into docstrings for better visibility.
1490 Use compilation-mode for the results buffer.
1491 (info-xref-output, info-xref-output-error, info-xref-with-output)
1492 (info-xref-filename, info-xref-in-progress):
1493 New internals for this.
1494 (info-xref-check-list, info-xref-check-buffer)
1495 (info-xref-check-all-custom): Use those.
1496 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1497 (info-xref-output-heading): Rename from info-xref-filename-heading.
1498 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1499 (info-xref-filename-heading): Move to output managing section.
1500 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1501 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1502 (info-xref-subfile-p): Move to generic section with those two.
1503 (info-xref-check-node): New function split from
1504 info-xref-check-buffer, shared by info-xref-docstrings.
1505 (info-xref-goto-node-p): Move to a checking section with that func.
1506 (info-xref-unavail): New counter.
1507 (info-xref-check-node): Use it.
1508 (info-xref-with-output): Show count of unavailables at end of output.
1509 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1510 symlinks. Exclude .texi files. Exclude Emacs backup files.
1511 (info-xref-check-all-custom): Fix quietening viper-mode and
1512 gnus-registry-install -- use setq not let so as not to unbind
1515 2011-01-16 Juri Linkov <juri@jurta.org>
1517 * isearch.el (isearch-abort): Don't quit if search has
1518 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1520 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1522 * files.el (backup-buffer): Make last-resort backup file in
1523 .emacs.d (Bug#6953).
1525 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1526 make it with permission 700.
1528 2011-01-15 Kenichi Handa <handa@m17n.org>
1530 * mail/rmailmm.el (rmail-mime-insert-header):
1531 Set rmail-mime-coding-system to a cons whose car is the last coding
1532 system used to decode the header.
1533 (rmail-mime-find-header-encoding): New function.
1534 (rmail-mime-insert-decoded-text):
1535 Override rmail-mime-coding-system if it is a cons.
1536 (rmail-show-mime): If only a header part was decoded, find the
1537 coding system while ignoring mm-charset-override-alist.
1539 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1541 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1543 2011-01-15 Kenichi Handa <handa@m17n.org>
1545 * mail/rmailmm.el (rmail-mime-next-item)
1546 (rmail-mime-previous-item): Delete them.
1547 (rmail-mime-shown-mode): Recursively call for children.
1548 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1550 (rmail-mime-raw-mode): Recursively call for children.
1551 (rmail-mode-map): Change mapping of tab and backtab to
1552 forward-button and backward-button respectively.
1553 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1555 (rmail-mime-update-tagline): New function.
1556 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1557 body display is changed.
1558 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1559 (rmail-mime-image): Delete this button type.
1560 (rmail-mime-toggle): New button type.
1561 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1562 body display is changed. Change the save button label to "Save".
1563 Don't process show/hide button here.
1564 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1565 the body display is changed. Unconditionally call
1566 rmail-mime-insert for children.
1567 (rmail-mime-handle): Update `display' vector of the just inserted
1569 (rmail-mime-process): If mail-header-parse-content-type returns
1570 nil, use "text/plain" as the fallback type.
1571 (rmail-mime-insert): For raw-mode, recursively call
1572 rmail-mim-insert for children.
1573 (rmail-mime): Handle the case that the current buffer is not rmail
1574 buffer (e.g. in summary buffer).
1576 2011-01-15 Kenichi Handa <handa@m17n.org>
1578 * mail/rmailmm.el (rmail-mime-next-item)
1579 (rmail-mime-previous-item): Skip the body of a non-multipart
1580 entity if a tagline is shown.
1582 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1585 (tmm-prompt): Simplify.
1586 (tmm-add-prompt): Remove unused var `win'.
1588 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1589 to minor mode which used nil accidentally to mean "turn off".
1591 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1593 * net/tramp-sh.el (tramp-find-inline-compress)
1594 (tramp-get-inline-coding): Quote command after pipe symbol for
1595 local calls under W32. (Bug#6784)
1597 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1599 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1600 only when running under W32.
1602 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1604 * progmodes/grep.el (grep-compute-defaults): Quote the program
1605 file name after the pipe symbol in Grep templates. (Bug#6784)
1606 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1608 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1610 * buff-menu.el (Buffer-menu-buffer-list): New var.
1611 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1612 restricted buffer list is not lost on revert (Bug#7749).
1614 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1616 * net/ldap.el (ldap-search-internal): Discard stderr output.
1618 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1620 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1622 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1626 2011-01-15 Kenichi Handa <handa@m17n.org>
1628 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1629 part as a plain text.
1630 (rmail-mime-process-multipart): Set the default content-type to
1631 nil for unknown multipart subtypes (bug#7651).
1633 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * hexl.el (hexl-mode-old-*): Remove.
1636 (hexl-mode--old-var-vals): New var to replace them.
1637 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1638 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1639 Use them to set local vars (bug#7846).
1640 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1641 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1642 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1644 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1645 (smerge-resolve--normalize-re): New var.
1646 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1647 (smerge-resolve): Use them.
1648 * newcomment.el (comment-only-p): New function.
1649 (comment-or-uncomment-region): Use it.
1651 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1653 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1654 table, get the value before switching to the output buffer. (Bug#7733)
1656 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1660 2011-01-14 Kim F. Storm <storm@cua.dk>
1662 * emulation/cua-base.el (cua--init-keymaps):
1663 Remap exchange-point-and-mark in cua-global-keymap.
1665 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1667 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1670 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1672 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1674 (easy-menu-create-menu, easy-menu-convert-item-1):
1675 Use :label rather than nil for labels. Use `case'.
1676 Add :enable as alias for :active.
1677 (easy-menu-binding): Obey :label.
1679 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1681 Use run-mode-hooks for major mode hooks (bug#513).
1682 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1683 Rename from reftex-toc-map.
1684 (reftex-toc-mode): Use define-derived-mode.
1685 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1686 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1687 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1688 (reftex-select-label-mode, reftex-select-bib-mode):
1689 Use define-derived-mode.
1690 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1691 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1692 Move init into delcaration.
1693 (reftex-index-mode, reftex-index-phrases-mode):
1694 Use define-derived-mode.
1695 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1696 speedbar-syntax-table. Move init into declaration.
1697 (speedbar-mode-map): Rename from speedbar-key-map.
1698 Move init into declaration.
1699 (speedbar-file-key-map): Move init into declaration.
1700 (speedbar-mode): Use define-derived-mode.
1701 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1702 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1703 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1704 (chart-face-list): Move initialization into declaration.
1705 (chart-mode): Use define-derived-mode.
1706 * calculator.el (calculator-mode-map): Move init into declaration.
1707 (calculator-mode): Use define-derived-mode.
1709 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1710 work for nested comments.
1712 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1713 (prolog-use-prolog-tokenizer-flag): Change default when
1714 syntax-propertize can be used.
1715 (prolog-syntax-propertize-function): New var.
1716 (prolog-mode-variables): Move make-local-variable into `set'.
1717 Don't make comment-column local since we don't set it.
1718 Set comment-add (as it was in previous prolog.el). Use dolist.
1719 Set syntax-propertize-function.
1720 (prolog-mode, prolog-inferior-mode):
1721 Call prolog(-inferior)-menu directly, not through the mode-hook.
1722 (prolog-buffer-module, prolog-indent-level)
1723 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1724 (prolog-comment-limits, prolog-goto-comment-column):
1725 Use line-(end|beginning)-position.
1726 (prolog-build-prolog-command): Tighten up regexp.
1727 (prolog-consult-compile): Move make-local-variable into `set'.
1728 (prolog-consult-compile-filter, prolog-goto-next-paren)
1729 (prolog-help-on-predicate, prolog-clause-info)
1730 (prolog-mark-predicate): Don't let+setq.
1731 (prolog-indent-line): Use indent-line-to.
1732 Only call prolog-goto-comment-column if necessary.
1733 (prolog-indent-level): Use bobp.
1734 (prolog-first-pos-on-line): Remove, not used any more.
1735 (prolog-in-string-or-comment): Use syntax-ppss if available.
1736 (prolog-help-on-predicate): Use read-string.
1737 (prolog-goto-predicate-info): Simplify.
1738 (prolog-read-predicate): Use `default' rather than `initial'.
1739 (prolog-temporary-file): Use make-temp-file to close a security hole.
1740 (prolog-toggle-sicstus-sd): New command.
1741 (prolog-electric-underscore, prolog-variables-to-anonymous):
1742 Use dynamic-scoping as it was meant.
1743 (prolog-menu): Move menu definitions to top-level.
1744 Use a toggle-button for Sicstus's source debugger.
1745 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1747 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1748 Move other menu definition to top-level.
1750 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1752 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1753 name. Keep original document's directory as default-directory
1755 (doc-view-initiate-display): Fall back to normal mode when
1756 doc-view-mode cannot be enabled, also when extracting the document
1757 text into a separate buffer (bug#6446).
1759 * simple.el (shell-command): Don't error out if shell command
1760 buffer contains text with non-nil read-only property when erasing
1763 2011-01-13 Kim F. Storm <storm@cua.dk>
1765 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1766 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1767 items when cycling through the matches.
1769 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1771 * dired-x.el (dired-omit-verbose): New defcustom that allows
1772 disabling the omit messages.
1773 (dired-omit-expunge): Use it.
1775 2011-01-13 Christian Ohler <ohler@gnu.org>
1777 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1779 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1781 * font-lock.el (font-lock-verbose): Default to nil.
1783 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1785 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1786 (compose-mail): New arg RETURN-ACTION.
1787 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1789 * mail/sendmail.el (mail-return-action): New var.
1790 (mail-mode): Make it buffer-local.
1791 (mail-bury): Obey it. Move special Rmail window handling to
1793 (mail, mail-setup): New arg RETURN-ACTION.
1794 (sendmail-user-agent-compose): Move from simple.el.
1796 * mail/rmail.el (rmail-mail-return): New function.
1797 (rmail-start-mail): Pass it to compose-mail.
1799 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1801 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1802 menus. Add menu item for customize-themes.
1804 * cus-theme.el (customize-themes):
1805 * emacs-lisp/package.el (package--list-packages):
1806 Use switch-to-buffer.
1808 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1810 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1812 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1814 * progmodes/prolog.el: Fix up coding convention and such.
1815 (prolog-indent-width): Use the same default as in
1816 previous prolog.el rather than tab-width which depends on which buffer
1817 is current when the file is loaded.
1818 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1820 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1821 (prolog-known-systems): Remove.
1822 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1823 Move initialization into declaration.
1824 (prolog-mode-map): Move initialization into declaration.
1825 Remove system-specific mode-map vars, since they referred to the same
1827 (prolog-mode-variables): Obey the user's preference w.r.t
1828 adaptive-fill-mode. Prefer symbol-value to `eval'.
1829 (prolog-mode-keybindings-edit): Add compatibility bindings.
1830 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1831 (mercury-mode-map): New var.
1832 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1833 (prolog-ensure-process, prolog-process-insert-string)
1834 (prolog-consult-compile): Use with-current-buffer.
1835 (prolog-guess-fill-prefix): Simplify data flow.
1836 (prolog-replace-in-string): New function to use instead of
1838 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1839 (prolog-uncomment-region): Use `uncomment-region' when available.
1840 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1841 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1842 of int-to-char and char-to-int.
1843 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1845 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1847 * progmodes/prolog.el: Replace by a whole new file.
1849 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1852 (declare-function, undefined, insert-for-yank)
1853 (replace-regexp-in-string): Follow checkdoc's recommendations.
1855 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1858 refreshing the diary buffer.
1860 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1862 * allout.el: Add 2011 to the file copyright.
1863 (allout-encrypt-string): Prevent encryption from adding an extra
1864 newline at the end of the topic body.
1865 (allout-version): Increment to 2.3.
1867 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1869 * net/dbus.el (dbus-unregister-service): Complete doc.
1870 Fix call of dbus-error signal.
1871 (dbus-register-property): Use `dont-register' keyword.
1873 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1875 * net/dbus.el (dbus-unregister-service): Translate returned
1876 integer into a symbol.
1877 (dbus-register-property): Use `dbus-register-service' to do the
1880 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1882 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1883 Suggested by Joakim Verona.
1885 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1887 * wid-edit.el (visibility): Replace :on-image and :off-image
1888 widget properties with :on-glyph and :off-glyph, for consistency
1889 with the `visibility' widget.
1890 (widget-toggle-value-create, widget-visibility-value-create):
1891 Merge into a single function `widget-toggle-value-create'.
1893 * cus-edit.el (custom-variable-value-create, custom-visibility)
1894 (custom-face-edit-value-create, custom-face-value-create):
1895 Replace :on-image and :off-image widget properties with :on-glyph and
1896 :off-glyph, for consistency with the `visibility' widget.
1898 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1900 * net/ldap.el (ldap-search-internal): Don't use eval.
1902 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1904 * subr.el (read-char-choice): Use read-key.
1906 * custom.el (custom-safe-themes): Rename from
1907 custom-safe-theme-files. Add :risky tag.
1908 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1909 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1911 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1913 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1914 from Search and add a label to Undo.
1916 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1917 inappropriate buttons and adding :vert-only tags.
1919 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1920 removal of Help tool-bar button. Remove Undo button for space.
1922 * info.el (info-tool-bar-map): Add :vert-only tags.
1924 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1926 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1927 image backend support. Either of them is fine.
1929 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1931 * subr.el (y-or-n-p): Doc fix.
1933 * custom.el (custom-safe-theme-files): New defcustom.
1934 (custom-theme-load-confirm): New function.
1935 (load-theme): Load theme using `load', confirming with
1936 custom-theme-load-confirm if necessary.
1938 * subr.el (read-char-choice): New function, factored out from
1939 dired-query and hack-local-variables-confirm.
1941 * dired-aux.el (dired-query):
1942 * files.el (hack-local-variables-confirm): Use it.
1944 * dired-aux.el (dired-compress-file):
1945 * files.el (abort-if-file-too-large, find-alternate-file)
1946 (set-visited-file-name, write-file, backup-buffer)
1947 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1948 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1949 Use new format string args for y-or-n-p and yes-or-no-p.
1951 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1953 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1954 [gcc-include]: Tighten file name match, add match for column
1956 [gnu]: Remove unused group.
1958 2011-01-08 Glenn Morris <rgm@gnu.org>
1960 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1962 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1964 2011-01-07 Sam Steingold <sds@gnu.org>
1966 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1967 the `explicit-shell-file-name' because that is the
1968 non-interactive shell.
1970 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1972 * subr.el (y-or-n-p): Accept format string args.
1974 2011-01-07 Glenn Morris <rgm@gnu.org>
1976 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1978 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1980 * allout.el (allout-back-to-current-heading): Ensure return to
1981 the visible containing topic, rather than a collapsed one.
1982 (allout-view-change-hook): Remove hook that was deprecated long ago.
1983 (allout-exposure-change-hook): Remove documentation remarks
1984 concerning removed allout-view-change-hook.
1985 (allout-flag-region): Remove invocation of and documentation
1986 remarks concerning allout-view-change-hook.
1988 2011-01-06 Glenn Morris <rgm@gnu.org>
1990 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1991 (vc-bzr-annotate-extract-revision-at-line):
1992 Handle authors with embedded spaces. (Bug#7792)
1994 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1996 * doc-view.el (doc-view-image-width): New variable.
1997 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1998 backend for PNG images, and do dynamic rescaling instead of
1999 reconverting the whole doc.
2001 2011-01-05 Glenn Morris <rgm@gnu.org>
2003 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2005 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2007 * allout.el: Reconcile with changes in line movement behavior for
2008 long text lines that cross more than a single physical window
2009 line, ie when truncate-lines is nil.
2010 (allout-next-visible-heading): Provide for change in line-move
2011 behavior on long lines when truncate-lines is nil. In that case,
2012 line-move can wind up on the same textual line when it moves to
2013 the next window line, and moving to the bullet position after the
2014 move yields zero advancement. Add logic to detect and compensate
2015 for the lack of progress.
2016 (allout-current-topic-collapsed-p): move-end-of-line respect for
2017 field boundaries is different when operating with body lines
2018 shorter than window width versus ones greater than window width,
2019 which can yield false negatives in this function. Avoid
2020 difference by applying move-end-of-line while field-text-motion is
2023 2011-01-04 Glenn Morris <rgm@gnu.org>
2025 * textmodes/rst.el (rst-compile-toolsets):
2026 Add pdf and s5 to option alist.
2028 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2030 * net/dbus.el (dbus-register-property): Add optional parameter
2031 dont-register-service. Updated docstring accordingly.
2033 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2035 * textmodes/rst.el (rst-compile-pdf-preview)
2036 (rst-compile-slides-preview): Remove extra line.
2038 2011-01-04 Glenn Morris <rgm@gnu.org>
2040 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2041 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2042 default to `prog' without a .py extension.
2043 (rst-compile-pdf-preview, rst-compile-slides-preview):
2044 Use program names from rst-compile-toolsets, rather than hard-coding.
2045 (rst-portable-mark-active-p): Fix presumed typo.
2047 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2049 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2050 libpng versions both before and after 1.4.0. (Bug#7716)
2052 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2054 * time.el (display-time-mode): Mention display-time-interval in
2055 the doc string. (Bug#7713)
2057 2011-01-02 Kenichi Handa <handa@m17n.org>
2059 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2060 condition-case and return an error message string if something
2062 (rmail-show-mime): Adjust for the above change. Insert the
2063 header by rmail-mime-insert-header.
2065 2011-01-02 Kenichi Handa <handa@m17n.org>
2067 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2068 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2069 (rmail-mime-mbox-buffer)
2070 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2071 (rmail-mime-entity): Argument changed. All codes handling an
2072 entity object are changed.
2073 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2075 (rmail-mime-entity-children, rmail-mime-entity-handler)
2076 (rmail-mime-entity-tagline): New functions.
2077 (rmail-mime-message-p): New function.
2078 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2079 (rmail-mime-entity-segment, rmail-mime-next-item)
2080 (rmail-mime-previous-item, rmail-mime-shown-mode)
2081 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2082 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2083 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2085 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2086 (rmail-mime-insert-decoded-text): New function.
2087 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2088 (rmail-mime-insert-image): Argument changed. Caller changed.
2089 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2090 (rmail-mime-set-bulk-data): New function.
2091 (rmail-mime-insert-bulk): Argument changed.
2092 (rmail-mime-multipart-handler): Return t.
2093 (rmail-mime-process-multipart): Argument changed.
2094 Handle "multipart/alternative" here.
2095 (rmail-mime-process): Argument changed.
2096 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2097 (rmail-mime-insert): Argument changed. Handle raw display mode.
2098 (rmail-mime): Argument changed. Handle toggling of raw display
2100 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2101 rmail-mime-view-buffer.
2102 (rmail-insert-mime-forwarded-message): Likewise.
2103 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2105 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2106 non-nil, handle the header in rmail-show-mime-function.
2108 2011-01-02 Leo <sdl.web@gmail.com>
2110 * help-fns.el (describe-variable): Fix previous change.
2112 2011-01-02 Juri Linkov <juri@jurta.org>
2114 * isearch.el (isearch-lazy-highlight-error): New variable.
2115 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2116 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2117 to the current value of `isearch-error' (Bug#7468).
2119 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2121 * help-fns.el (describe-variable): Don't emit trailing whitespace
2124 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2126 * textmodes/rst.el (rst-compile-pdf-preview)
2127 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2129 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2131 * emulation/edt-mapper.el: Override mapping of function keys so
2132 that the later call to read-key-sequence works.
2134 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2136 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2137 Unix EOLs. (Bug#7589)
2139 2011-01-02 Leo <sdl.web@gmail.com>
2141 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2142 if point is not behind eshell-last-output-end (Bug#7585).
2144 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * files.el (file-local-variables-alist):
2147 Make permanent-local (bug#7767).
2149 2011-01-02 Glenn Morris <rgm@gnu.org>
2151 * version.el (emacs-copyright): Set short copyright year to 2011.
2153 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2155 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2156 an existing temp buffer. (Bug#7746)
2158 2011-01-02 Glenn Morris <rgm@gnu.org>
2160 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2161 multiple addresses. (Bug#7760)
2163 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2165 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2166 do-auto-fill if everything points back to allout-auto-fill.
2167 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2168 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2170 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2172 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2175 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2177 * doc-view.el (doc-view-set-doc-type): New function refactored
2179 (doc-view-fallback-mode): New function.
2180 (doc-view-mode): Use it.
2181 (doc-view-mode-maybe): New function that checks if doc-view-mode
2182 can be used and falls back to the next best mode otherwise.
2184 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2185 DVI, OpenDocument, and MS Office files.
2187 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2189 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2191 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2193 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2194 on a copy of auto-mode-alist, because that deletes with side
2197 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2199 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2200 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2201 fallback instead of hard coding fundamental mode.
2203 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2205 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2206 Office) files also for searching.
2208 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2210 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2211 Office) files. Not yet enabled via auto-mode-list.
2212 (doc-view-unoconv-program): New custom variable.
2213 (doc-view-mode-p): Handle new odf document type.
2214 (doc-view-odf->pdf): New conversion function.
2215 (doc-view-convert-current-doc): Call it for odf files.
2216 (doc-view-mode): Recognize newly supported file extensions.
2218 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2220 * net/tramp.el (tramp-default-method-alist)
2221 (tramp-default-user-alist)
2222 (tramp-local-host-regexp, tramp-prefix-domain-format)
2223 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2226 * net/tramp-gvfs.el:
2228 * net/tramp-imap.el:
2230 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2231 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2233 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2235 * saveplace.el (save-place-alist-to-file): Save list sorted and
2236 pretty-printed, so that it is mergeable by line-based text merging,
2237 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2239 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2241 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2242 (allout-mode): Argument "toggle" => "force".
2243 Refine the docstring.
2244 Remove special provisions for reactivation, besides the 'force'
2246 Consolidate layout provisions coce directly into the activation
2247 condition branch, now that we've removed those provisions.
2248 (allout-unload-function): Explicitly activate the mode before
2249 deactivating, if it's initially deactivated.
2250 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2251 warnings for version of function used only where
2252 set-buffer-multibyte is unavailable.
2254 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2256 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2257 are handled by the menu-bar entries. As before, don't use
2258 :visibile to avoid changing the tool-bar.
2260 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2262 * net/secrets.el (secrets-delete-alias): New defun.
2264 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2266 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2267 methods, otherwise ~/.ssh/config would be ignored.
2269 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * emacs-lisp/rx.el: Make it a superset of sregex.
2272 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2273 of args, add `regex' alias.
2274 (rx-info): Add arg to distinguish head and standalone forms.
2275 (rx-check, rx-form): Pass the corresponding arg.
2277 (rx-repeat): Make it work for any number of args.
2278 (rx-syntax): Make it accept syntax chars as is.
2279 * obsolete/sregex.el: Move from emacs-lisp/.
2280 * emacs-lisp/re-builder.el: Remove sregex support.
2281 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2283 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2285 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2286 PRIMARY first, then the clipboard. (Bug#7699)
2288 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2293 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2295 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2296 .emacs.elc (Bug#7530).
2298 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2299 image spec (Bug#7480).
2301 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2303 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2304 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2307 2010-12-20 Leo <sdl.web@gmail.com>
2309 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2310 always be performed (Bug#7680).
2312 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2314 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2315 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2318 * color.el: Move from gnus/.
2320 * vc/diff.el (diff-better-file-name): Function deleted.
2321 abbreviating file names causes problems with shell-quote-argument.
2322 (diff-no-select): Just use expand-file-name.
2324 * tool-bar.el (tool-bar--image-expression): New function.
2325 (tool-bar-local-item, tool-bar--image-exp): Use it.
2326 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2327 Use :enable instead of :visible to avoid changing the tool-bar
2328 configuration unnecessarily.
2330 * info.el (info-tool-bar-map): Add separators.
2332 2010-12-17 Ken Brown <kbrown@cornell.edu>
2334 * loadup.el: Use version numbers in Cygwin build.
2336 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2338 * ido.el (ido-file-internal): Ask for confirmation before
2339 overwriting an existing file (Bug#1238).
2341 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2343 * tool-bar.el (tool-bar-setup): Add separators.
2345 * menu-bar.el (featurep): Use menu-bar-separator.
2347 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2349 Migrate allout encryption provisions from pgg to epg.
2351 * allout.el (allout-toggle-current-subtree-encryption)
2352 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2353 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2354 for simpler universal argument interpretation.
2355 (allout-toggle-subtree-encryption): Adjust docstring to describe
2356 changed encryption provisions. Change fetch-pass to keymode-cue, for
2357 simpler universal argument interpretation. Remove provisions for
2358 handling key type and identity - they'll all be within
2359 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2360 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2361 for keypair recipients (universal argument > 1) and, in addition,
2362 associating the specified recipients with the outline (universal
2363 argument > 4) using a file local variable setting for
2364 'epa-file-encrypt-to'.
2365 Require epa, for recipients handling.
2366 Change how regexp filtering elements are named.
2367 Describe the problem with caching of incorrect symmetric-decryption
2369 Use the epa-passphrase-callback-function, in case the user is using
2371 Support saving of the selected keypair recipients when invoked with a
2373 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2375 Establish epg-context with armoring and default epg-protocol.
2376 Remove all passphrase cache, verification, and hinting code.
2377 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2378 No longer used, delete.
2379 (allout-mode): Adjust docstring to describe changed encryption
2380 provisions. Describe the problem with caching of incorrect
2381 symmetric-decryption keys.
2382 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2383 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2384 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2385 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2388 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2390 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2391 key selection prompt; make 'silent as default (Bug#7487).
2393 2010-12-16 Leo <sdl.web@gmail.com>
2395 * eshell/eshell.el (eshell-directory-name):
2396 Use locate-user-emacs-file (Bug#7578).
2398 2010-12-15 Glenn Morris <rgm@gnu.org>
2400 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2402 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2403 Scott Evans <gse@antisleep.com>
2405 * rect.el (rectange--default-line-number-format)
2406 (rectangle-number-line-callback): New functions.
2407 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2409 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2411 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2412 Delete unused variables.
2413 (move-to-column-force): Remove function obsolete since 21.2.
2415 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2417 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2418 (tramp-handle-insert-file-contents): Do not set permanent-local
2421 * net/tramp-cache.el (tramp-persistency-file-name):
2422 Use `locate-user-emacs-file' if fboundp.
2424 * net/tramp-sh.el (tramp-methods): Add "ksu".
2425 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2428 2010-12-14 Glenn Morris <rgm@gnu.org>
2430 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2431 (find-tag-marker-ring): Declare.
2432 (js-find-symbol): Require etags.
2434 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2436 (mail-alias-file): Don't autoload. Doc fix.
2437 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2438 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2439 Mark as obsolete, and risky.
2440 (mail-setup): Simplify.
2442 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2443 * mail/sendmail.el (build-mail-aliases): Update autoload.
2445 * dired.el (dired-trivial-filenames, dired-chown-program)
2446 (dired-auto-revert-buffer): Remove autoload cookies.
2447 * mail/sendmail.el (mail-recover-1): Require 'dired.
2449 * dired.el (dired-subdir-switches, dired-chown-program)
2450 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2451 Make into defcustoms.
2452 (dired-chown-program): Simplify initialization.
2454 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2456 2010-12-13 Romain Francoise <romain@orebokech.com>
2458 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2460 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2462 * net/netrc.el (netrc-point-at-eol): Remove the unused
2463 netrc-point-at-old and netrc-bound-and-true-p bindings.
2464 (netrc-parse): Cache the netrc contents.
2466 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2468 * subr.el (posn-col-row): Evaluate header-line-format in the
2469 context of the POSITION window's buffer.
2471 2010-12-13 Glenn Morris <rgm@gnu.org>
2473 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2474 (with-silent-modifications): Doc fixes.
2476 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2478 * net/tramp.el (tramp-action-password, tramp-process-actions):
2479 Revert previous from. Use `save-restriction'.
2481 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2483 * calendar/diary-lib.el (diary-list-sexp-entries):
2484 Handle case of no newline at end of file. (Bug#7536)
2486 2010-12-13 Glenn Morris <rgm@gnu.org>
2488 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2490 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2492 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2493 (tramp-process-actions): Do not widen.
2495 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2496 Protect buffer-modified value. (Bug#7557)
2498 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2500 * log-edit.el (log-edit-changelog-entries):
2501 Regexp quote filename. (Bug#7505)
2503 2010-12-13 Tom Breton <tehom@panix.com>
2505 * cus-edit.el (custom-save-all):
2506 Bind print-length and print-level to nil. (Bug#7581)
2508 2010-12-13 Glenn Morris <rgm@gnu.org>
2510 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2511 Run hooks to update menu contents. (Bug#7586)
2513 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2514 file names, for the sake of MS Windows. (Bug#7588)
2516 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2519 empty lines without a leading space.
2521 2010-12-13 Leo <sdl.web@gmail.com>
2523 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2524 while mapping over marks (Bug#6810).
2526 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2528 * image-dired.el (image-dired-db-file)
2529 (image-dired-temp-image-file, image-dired-gallery-dir)
2530 (image-dired-temp-rotate-image-file): Set default values relative
2531 to image-dired-dir (Bug#7518).
2533 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2535 * format.el (format-decode-run-method): Pass args FROM and TO, not
2536 point-min and point-max, to shell-command-on-region (Bug#7488).
2538 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2540 * frame.el (blink-cursor-mode): Make default t for ns.
2542 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2544 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2546 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2548 * comint.el (comint-dynamic-list-input-ring)
2549 (comint-dynamic-complete-filename)
2550 (comint-replace-by-expanded-filename)
2551 (comint-dynamic-simple-complete)
2552 (comint-dynamic-list-filename-completions)
2553 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2555 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2558 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2560 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2563 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2565 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2568 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2570 * files.el (file-relative-name): Handle UNC file names on
2571 DOS/Windows. (Bug#4674)
2573 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2575 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2576 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2577 (epg-context-set-passphrase-callback): Mention that the callback
2578 is not called when used with GnuPG 2.x.
2580 2010-12-13 Glenn Morris <rgm@gnu.org>
2582 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2583 Ensure ps-footer-font-size-internal is initialized.
2584 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2586 2010-12-13 Kenichi Handa <handa@m17n.org>
2588 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2589 within condition-case.
2590 (rmail-show-mime): Don't use condition-case.
2591 (rmail-search-mime-message): New function.
2592 (rmail-search-mime-message-function): Set to
2593 rmail-search-mime-message.
2595 2010-12-13 Leo <sdl.web@gmail.com>
2597 * ido.el (ido-common-initialization): New function. (bug#3274)
2599 (ido-completing-read): Call it.
2601 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2603 * bookmark.el (bookmark-name-from-full-record): Rename back to
2604 this original name from `bookmark-name-from-record' reverting part
2605 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2606 As Drew Adams pointed out, there was no reason to cause churn for
2607 third-party callers.
2609 2010-12-12 Alan Mackenzie <acm@muc.de>
2611 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2612 template arglist, check that the current language supports this.
2614 2010-12-11 Glenn Morris <rgm@gnu.org>
2616 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2617 state of the file matches. (Bug#7544)
2618 (vc-bzr-register, vc-bzr-checkin)
2619 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2620 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2622 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2624 2010-12-11 Karel Klíč <kklic@redhat.com>
2626 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2628 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2630 Derive from prog-mode, use derived-mode-p, and fix up various
2631 minor style issues in lisp/progmodes.
2633 * progmodes/vhdl-mode.el (vhdl-mode):
2634 * progmodes/verilog-mode.el (verilog-mode):
2635 * progmodes/vera-mode.el (vera-mode):
2636 * progmodes/sql.el (sql-mode):
2637 * progmodes/scheme.el (scheme-mode):
2638 * progmodes/perl-mode.el (perl-mode):
2639 * progmodes/octave-inf.el (inferior-octave-mode):
2640 * progmodes/autoconf.el (autoconf-mode):
2641 * progmodes/m4-mode.el (m4-mode):
2642 * progmodes/inf-lisp.el (inferior-lisp-mode):
2643 * progmodes/idlwave.el (idlwave-mode):
2644 * progmodes/icon.el (icon-mode):
2645 * progmodes/idlw-help.el (idlwave-help-mode):
2646 * progmodes/dcl-mode.el (dcl-mode):
2647 * progmodes/idlw-shell.el (idlwave-shell-mode):
2648 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2649 (ebrowse-member-mode, ebrowse-electric-position-mode):
2650 Use define-derived-mode.
2652 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2653 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2654 (xscheme-debugger-mode-p, xscheme-send-string-1):
2655 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2656 (tcl-load-file, tcl-restart-with-file):
2657 * progmodes/ps-mode.el (ps-run-running):
2658 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2659 * progmodes/js.el (js--get-all-known-symbols):
2660 * progmodes/inf-lisp.el (inferior-lisp-proc):
2661 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2662 (idlwave-template, idlwave-update-buffer-routine-info)
2663 (idlwave-update-current-buffer-info)
2664 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2665 (idlwave-scan-class-info, idlwave-fix-keywords)
2666 (idlwave-list-buffer-load-path-shadows):
2667 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2668 (idlwave-toolbar-remove):
2669 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2670 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2671 (idlwave-shell-menu-def):
2672 * progmodes/idlw-complete-structtag.el
2673 (idlwave-prepare-structure-tag-completion):
2674 * progmodes/gud.el (gud-set-buffer):
2675 * progmodes/f90.el (f90-backslash-not-special):
2676 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2678 * progmodes/xscheme.el (xscheme-start)
2679 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2680 * progmodes/which-func.el (which-function):
2681 * progmodes/vhdl-mode.el (vhdl-set-style):
2682 * progmodes/verilog-mode.el (verilog-set-compile-command)
2683 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2684 (verilog-set-define, verilog-auto-reeval-locals):
2685 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2686 * progmodes/simula.el (simula-mode):
2687 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2688 * progmodes/python.el (python-check, python-mode):
2689 * progmodes/prolog.el (prolog-mode-variables):
2690 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2691 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2692 * progmodes/delphi.el (delphi-mode):
2693 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2694 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2695 (c-font-lock-init): Move make-local-variable to their setq.
2697 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2698 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2700 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2701 (sh-set-shell): Don't set require-final-newline since it's already done
2703 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2704 since we never set it.
2705 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2706 Use read-string and standard prompt.
2707 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2708 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2709 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2710 (meta-common-mode-map): Rename from meta-mode-map.
2711 Remove C-m binding, which is a user preference, not mode specific.
2712 (meta-common-mode): New major mode; replace meta-common-initialization.
2713 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2714 around with font-lock.
2715 * progmodes/etags.el (select-tags-table-mode):
2716 Derive from special-mode.
2717 * progmodes/octave-mod.el (octave-mode):
2718 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2719 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2720 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2721 Let define-derived-mode do its job.
2722 * progmodes/cpp.el (cpp-edit-mode-map):
2723 Move initialization into declaration.
2724 (cpp-edit-mode): Use define-derived-mode.
2725 (cpp-edit-load): Use derived-mode-p.
2726 * progmodes/mixal-mode.el (mixal-mode):
2727 * progmodes/f90.el (f90-mode):
2728 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2729 require-final-newline since prog-mode does it already.
2730 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2731 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2732 * progmodes/antlr-mode.el: Require cc-mode upfront.
2733 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2735 (antlr-directory-dependencies, antlr-show-makefile-rules):
2737 (antlr-language-option): Don't assume point-min==1.
2738 (antlr-mode): Use define-derived-mode.
2739 * progmodes/ada-mode.el: Use derived-mode-p.
2740 (ada-mode): Use define-derived-mode.
2741 Use hack-local-variables-hook.
2743 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2746 (texinfo-mode): Don't disable adaptive-fill-mode.
2747 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2748 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2749 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2750 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2751 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2752 (texinfo-insert-@quotation, texinfo-insert-@samp)
2753 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2754 (texinfo-insert-@uref): Use define-skeleton.
2755 (texinfo-insert-@-with-arg): Delete.
2757 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2759 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2760 nil, do quote archive member names. (Bug#6144)
2762 2010-12-10 Glenn Morris <rgm@gnu.org>
2764 * files.el (diff-no-select): Declare.
2766 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2767 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2769 * comint.el (comint-input-ring-file-name): Doc fix.
2771 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2773 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2775 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2776 Use them instead of `nil' and `>', respectively.
2777 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2779 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2780 and menu-bar-positive-p instead of `nil' and `>', respectively.
2783 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2785 * whitespace.el (whitespace-newline-mode): Code fix.
2787 2010-12-09 Glenn Morris <rgm@gnu.org>
2789 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2790 Rename functions without commas, update callers.
2792 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2794 * whitespace.el (whitespace-cleanup-region):
2795 Clean up spaces before tabs. (Bug#7582)
2797 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2799 * bookmark.el: Adjust parameter names and doc strings to resolve
2800 confusion over whether "bookmark" meant a bookmark name or a
2801 bookmark record. Along the way, shorten one function's name for
2802 similar reasons. (Issue #7548)
2803 (bookmark-name-from-record): New name for
2804 `bookmark-name-from-full-record'. All callers changed.
2805 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2806 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2807 (bookmark-get-annotation, bookmark-set-annotation)
2808 (bookmark-get-filename, bookmark-set-filename)
2809 (bookmark-get-position, bookmark-set-position)
2810 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2811 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2812 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2813 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2814 Rename `bookmark' parameter to `bookmark-name-or-record', to
2815 clearly show its role, and shorten or adjust doc strings accordingly.
2816 (bookmark-set-name): Same, and pass the parameter directly to
2817 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2818 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2819 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2820 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2821 and in some cases shorten doc string accordingly.
2822 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2823 and `new-name', and adjust an internal variable to avoid confusion.
2824 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2825 parameter in doc string.
2827 2010-12-08 Glenn Morris <rgm@gnu.org>
2829 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2830 from gdb's history file. (Bug#7575)
2832 * mail/emacsbug.el (report-emacs-bug):
2833 Try to handle some other mail clients.
2835 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2837 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2838 Use string-prefix-p.
2839 (file-name-version-regexp): New var.
2840 (file-name-sans-versions):
2841 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2842 (jka-compr-get-compression-info): Use dolist.
2843 (jka-compr-compression-info-list): Don't bother specifying
2844 version/backup regexps.
2846 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2848 * simple.el (just-one-space): Make argument n default to 1 if
2851 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * electric.el (electric-indent-post-self-insert-function):
2854 Delete trailing newlines even if we don't reindent.
2856 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * minibuffer.el (completion-at-point): Remove the `arg'.
2859 * bindings.el (complete-symbol): Move back from minibuffer.el.
2861 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2863 * simple.el (just-one-space): Delete newlines for negative arg.
2865 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2868 (ansi-color-filter-apply): Simplify.
2869 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2871 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2873 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2875 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2877 * dired.el (dired-use-ls-dired): Set default to a special
2878 "unspecified" value.
2879 (dired-insert-directory): When called the first time, check
2880 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2882 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2884 * replace.el: Add "collect" feature to occur.
2885 (occur-collect-regexp-history): New var.
2886 (occur-read-primary-args): Return a replace string for nlines,
2888 (occur): Extend the meaning of nlines.
2890 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2892 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2893 (which-func-update-1): Distinguish symbols from strings.
2894 (which-function): Stay within 80 columns.
2896 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2900 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2902 (comment-style): Use comment-styles's docs to describe values.
2904 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2906 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2907 and ns-show-prefs (Bug#7535).
2909 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2910 bindings (Bug#7535).
2912 2010-12-03 Glenn Morris <rgm@gnu.org>
2914 * nxml/nxml-mode.el: Require rng-nxml.
2915 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2916 Remove declarations.
2918 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2919 * nxml/rng-nxml.el, nxml/rng-valid.el:
2920 Remove leading `*' from defcustom docs.
2922 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2923 (normal-top-level-add-to-load-path, tty-handle-args):
2924 Convert comments to basic doc-strings.
2926 * net/browse-url.el (browse-url-url-at-point)
2927 (browse-url-default-browser): Remove autoload cookies.
2929 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2930 Remove more undefined cl functions.
2932 * vc/diff.el (diff-sentinel): Make new arguments optional.
2933 * ibuf-ext.el (diff-sentinel): Update declaration.
2935 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2937 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2938 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2939 (epg-context-set-passphrase-callback): Mention that the callback
2940 is not called when used with GnuPG 2.x.
2942 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2944 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2945 (tramp-file-name-port): Check also for `tramp-default-port'.
2946 (tramp-get-connection-name): New defun.
2947 (tramp-get-connection-process): Use it.
2948 (tramp-debug-message): Extend function exclude list.
2949 (tramp-drop-volume-letter): Fix doc string.
2951 * net/tramp-cmds.el: Remove solved todo item.
2955 * net/tramp-gvfs.el:
2957 * net/tramp-imap.el:
2958 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2959 and `tramp-default-user-alist', respectively.
2961 * net/tramp-gw.el (tramp-gw-open-connection):
2962 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2964 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2965 `tramp-file-name-port'.
2967 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2968 and "psftp". Exchange "%k" marker with options.
2969 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2970 Compute size of link target.
2971 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2972 `tramp-current-*' up due to gateway methods. Optimize computing of
2973 copy arguments. Use `tramp-get-connection-name' and
2974 `tramp-get-connection-buffer'. Improve debug messages.
2975 (tramp-compute-multi-hops): Remove port determination.
2976 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2978 * net/trampver.el: Update release number.
2980 2010-12-02 Glenn Morris <rgm@gnu.org>
2982 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2983 Avoid infinite loop over windows. (Bug#7492)
2985 * progmodes/flymake.el (flymake-check-file-limit):
2986 Allow nil to mean "no limit".
2987 (flymake-check-patch-master-file-buffer): Update for above change.
2988 Allow a .tex file-name extension to be optional.
2989 (flymake-master-tex-init): Also match \include statements.
2991 2010-11-30 Sam Steingold <sds@gnu.org>
2993 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2994 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2995 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2996 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2997 define-derived-mode').
2998 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2999 users who want to call `nxml-parent-document-set'.
3001 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3003 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3004 stand-alone lines, since that is handled by log-edit-match-to-eoh
3007 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3009 * dired.el (dired-get-filename): Replace backslashes with slashes
3010 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3011 * locate.el (locate-default-make-command-line): Don't consider
3012 drive letter and root directory part of
3013 `directory-listing-before-filename-regexp'. (Bug#7308)
3014 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3016 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3019 of :smie-open/close-alist.
3020 (smie-next-sexp): Make it accept a "start token" as argument.
3021 (smie-indent-keyword): Be careful not to misidentify tokens that span
3022 more than one line, as empty lines. Add argument `token'.
3024 2010-11-27 Kenichi Handa <handa@m17n.org>
3026 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3027 multipart subtypes, insert all as usual.
3029 * mail/rmail.el: Require rfc2047.
3031 2010-11-27 Kenichi Handa <handa@m17n.org>
3033 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3034 (rmail-mime-entity-disposition)
3035 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3036 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3037 (rmail-mime-save): Handle the case that the button's `data' is a
3039 (rmail-mime-insert-text): New function.
3040 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3041 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3042 (rmail-mime-insert-bulk): New function mostly copied from the old
3043 rmail-mime-bulk-handler.
3044 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3045 (rmail-mime-process-multipart): New function mostly copied from
3046 the old rmail-mime-multipart-handler.
3047 (rmail-mime-show): Just call rmail-mime-process.
3048 (rmail-mime-process): New function mostly copied from the old
3050 (rmail-mime-insert-multipart, rmail-mime-parse)
3051 (rmail-mime-insert, rmail-show-mime)
3052 (rmail-insert-mime-forwarded-message)
3053 (rmail-insert-mime-resent-message): New functions.
3054 (rmail-insert-mime-forwarded-message-function): Set to
3055 rmail-insert-mime-forwarded-message.
3056 (rmail-insert-mime-resent-message-function): Set to
3057 rmail-insert-mime-resent-message.
3059 * mail/rmailsum.el: Require rfc2047.
3060 (rmail-header-summary): Handle multiline Subject: field.
3061 (rmail-summary-line-decoder): Change the default to
3062 rfc2047-decode-string.
3064 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3065 (rmail-mime-feature): Change the default to `rmailmm'.
3066 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3067 (rmail-display-labels): Likewise.
3068 (rmail-show-message-1): Check rmail-enable-mime, and use
3069 rmail-show-mime-function for a MIME message. Decode the headers
3070 according to RFC2047.
3072 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * progmodes/which-func.el (which-func-imenu-joiner-function):
3075 Return a string, as expected.
3076 (which-function-mode): Make sure we stop any previous timer before
3079 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3081 * net/tramp.el (tramp-default-method-alist)
3082 (tramp-default-user-alist, tramp-default-proxies-alist):
3083 Adapt custom options type. (Bug#7445)
3085 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3087 * progmodes/python.el: Add Ipython support (Bug#5390).
3088 (python-shell-prompt-alist)
3089 (python-shell-continuation-prompt-alist): New options.
3090 (python--set-prompt-regexp): New function.
3091 (inferior-python-mode, run-python, python-shell):
3092 Require ansi-color. Use python--set-prompt-regexp to set the comint
3093 prompt based on the Python interpreter.
3094 (python--prompt-regexp): New var.
3095 (python-check-comint-prompt)
3096 (python-comint-output-filter-function): Use it.
3097 (run-python): Use a pipe (Bug#5694).
3099 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3101 * progmodes/python.el (run-python): Doc fix.
3102 (python-keep-current-directory-in-path): New var (Bug#7454).
3104 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3106 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3107 Prompt user before actually printing.
3109 2010-11-27 Glenn Morris <rgm@gnu.org>
3111 * startup.el (package-enable-at-startup, package-initialize):
3112 Remove unnecessary declarations.
3114 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3116 * international/characters.el (glyphless-char-display-control):
3117 Exclude newline and TAB from the c0-control group.
3119 2010-11-27 Glenn Morris <rgm@gnu.org>
3121 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3122 (expand-mail-aliases): Remove unnecessary autoload.
3124 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3126 * shell.el (shell-dir-cookie-re): Move definition before use.
3128 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3129 Replace undefined CL functions.
3131 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3133 * simple.el (prog-mode): Set bidi-paragraph-direction to
3136 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3138 2010-11-26 Glenn Morris <rgm@gnu.org>
3140 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3141 diary-outlook-formats can be sensitive to calendar-date-style.
3142 (diary-outlook-formats): Simplify the default setting.
3143 (diary-from-outlook-internal): Pass subject and body as arguments.
3144 Use dolist rather than dotimes. Don't save the diary buffer.
3145 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3146 Pass subject and body as explicit arguments to the -internal function.
3148 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3151 parsing them. This makes mailto:...?subject=foo\nbar work.
3153 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * vc/diff.el (diff): Fix last change.
3157 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3159 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3160 (pcase--dontcare-upats): New var.
3161 (pcase-let, pcase-let*): Generate better code.
3162 Accept the same bodies as `let'.
3163 (pcase-dolist): New macro.
3164 (pcase--trivial-upat-p): New helper function.
3165 (pcase--expand): Strip leading "(let nil" if any.
3167 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3169 * mail/mailclient.el (browse-url): Require.
3170 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3171 use the external browser function to send the mail (bug#7469).
3173 * net/browse-url.el (browse-url-browser-function): Revert the
3174 default back to the previous value, since the new value broke
3176 (browse-url-mailto-function): New variable for mailto: URLs.
3177 (browse-url): Use the new variable for mailto: URLs.
3179 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * eshell/esh-cmd.el (eshell-parse-command):
3182 * eshell/esh-arg.el (eshell-parse-arguments):
3183 * eshell/em-script.el (eshell-source-file):
3184 Use with-silent-modifications.
3186 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3188 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3189 for a merge location.
3191 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3192 (vc-bzr-merge-branch): Always prompt.
3193 (vc-bzr-async-command): Use the full branch filename.
3195 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3197 * shell.el (shell): Use current-buffer by default if it's already
3198 a shell mode buffer and its process is dead.
3199 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3201 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3203 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3204 Mention that the keywords should be comma separated.
3206 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3208 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3209 Accept optional prefix arg meaning to prompt for a command.
3210 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3211 prefix arg meaning to prompt for a command.
3212 (vc-pull): Alias for vc-update.
3214 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3215 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3216 (vc-bzr-merge-branch): New functions, implementing merge-branch
3217 and pull operations.
3219 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * Makefile.in: Fix up last merge.
3223 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3224 (diff-sentinel): Get them as arguments instead.
3225 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3226 (diff-file-local-copy, diff-better-file-name): New funs.
3227 (diff-no-select): Rename from diff-into-buffer.
3228 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3229 Prefer closures to buffer-local variables.
3230 (diff): Adjust accordingly.
3231 (diff-buffer-with-file): Move from files.el.
3232 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3233 (diff-buffer-internal): Remove.
3234 (diff-buffer-buffer): Remove.
3235 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3236 the buffer name used, and so as not to mess up windows and frames.
3238 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3240 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3241 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3242 (diff-buffer-with-file): Use it.
3243 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3246 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3248 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3249 \ref's or \pageref's value as default instead of initial input.
3251 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3253 * files.el (backup-by-copying-when-mismatch): The default value is
3256 * startup.el (normal-top-level):
3257 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3258 `backup-by-copying-when-mismatch'.
3260 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3262 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3264 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3266 * progmodes/python.el (python-font-lock-keywords):
3267 Highlight top-level augmented assignments (Bug#6445).
3269 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3271 * term/ns-win.el (ns-right-control-modifier)
3272 (ns-right-command-modifier): Defvar them.
3274 * cus-start.el (all): Add ns-right-control-modifier and
3275 ns-right-command-modifier (Bug#7458).
3277 2010-11-20 Glenn Morris <rgm@gnu.org>
3279 * emacs-lisp/authors.el (authors-ignored-files)
3280 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3282 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3284 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3285 (report-emacs-bug-parse-query-results)
3286 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3287 keywords used for querying the bug database to show them in the
3288 existing bugs buffer.
3290 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3292 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3294 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3296 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3298 * international/characters.el (glyphless-char-display-control):
3299 Make it a defcustom, with update-glyphless-char-display as its
3301 (top level): Don't call update-glyphless-char-display.
3303 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3305 Sync with Tramp 2.2.0.
3307 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3308 `file-remote-p' (due to compatibility).
3310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3311 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3313 * net/trampver.el: Update release number.
3315 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3317 * faces.el (glyphless-char): Define value for `pc'.
3319 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3321 Implemented a bug querying mechanism.
3322 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3323 (report-emacs-bug-create-existing-bugs-buffer)
3324 (report-emacs-bug-parse-query-results)
3325 (report-emacs-bug-query-existing-bugs): New functions.
3327 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3329 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3330 a \ref{} or \pageref{} macro, then use its value as initial input.
3332 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3334 * calc/calc-units.el (math-build-units-table-buffer):
3335 calc/README: Mention that the TeX specific units won't use the
3336 `tex' prefix in TeX mode.
3337 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3338 prefix for units in TeX mode.
3340 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * simple.el (kill-new, kill-append, kill-region):
3343 * comint.el (comint-kill-region): Make the yank-handler argument
3346 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3348 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3349 that are both openers (resp. closers) and something else.
3350 (smie-grammar): Loosen definition of valid values.
3351 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3352 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3353 (smie-indent-after-keyword): Adjust users.
3354 (smie-indent-keyword): Don't indent empty lines.
3356 * vc-hg.el (vc-hg-program): New var.
3357 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3358 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3360 2010-11-18 Glenn Morris <rgm@gnu.org>
3362 * emacs-lisp/autoload.el (autoload-find-destination): The function
3363 coding-system-eol-type may return non-numeric values. (Bug#7414)
3365 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3367 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3369 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3371 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3373 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3375 * textmodes/picture.el (picture-mouse-set-point): Don't use
3376 posn-col-row; explicitly compute the motion based on the posn at
3377 the window-start (Bug#7390).
3379 2010-11-18 Glenn Morris <rgm@gnu.org>
3381 * novice.el (disabled-command-function):
3382 Fix 2009-11-15 change. (Bug#7384)
3384 2010-11-18 Glenn Morris <rgm@gnu.org>
3386 * calendar/calendar.el (diary-iso-date-forms): Make elements
3387 mutually exclusive. (Bug#7377)
3389 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3392 when filling the remaining "unconstrained" values.
3394 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3399 * files.el (safe-local-variable-p): Gracefully handle errors.
3401 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3402 Use smie-indent-virtual when indenting relative to an opener.
3403 (smie-rule-separator): Use smie-rule-parent.
3404 (smie-indent-keyword): Consult rules, even for openers at bol.
3405 (smie-indent-comment-close): Try to align closer's content.
3407 2010-11-18 Glenn Morris <rgm@gnu.org>
3409 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3411 2010-11-18 Glenn Morris <rgm@gnu.org>
3413 * printing.el (pr-menu-bind): Doc fix.
3415 * speedbar.el (speedbar-toggle-images): Doc fix.
3417 * progmodes/python.el (python-shell): Doc fix.
3419 * wid-edit.el (widget-field-use-before-change)
3420 (widget-use-overlay-change): Doc fixes.
3422 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3424 Minor cleanup to improve style.
3425 * textmodes/rst.el (rst-update-section): Use point-marker.
3426 (rst-get-decoration): Eliminate unneeded assignment.
3427 (rst-promote-region, rst-straighten-decorations)
3428 (rst-section-tree, rst-adjust): Use point-marker.
3429 (rst-toc-mode-mouse-goto): Avoid setq.
3430 (rst-shift-region-guts, rst-shift-region-left)
3431 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3432 (rst-convert-bullets-to-enumeration): Use copy-marker.
3434 * minibuffer.el (completion-fail-discreetly): New var.
3435 (completion--do-completion): Use it.
3437 * electric.el (electric-pair-pairs): New var.
3438 (electric-pair-post-self-insert-function): Use it.
3439 (electric-layout-post-self-insert-function): Don't insert a before
3440 newline unless it's actually needed.
3442 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * progmodes/python.el (run-python): Explain why we remove the current
3445 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3447 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3449 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3451 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3452 (octave-mode-map): Don't bind ;, SPC, and LF.
3453 (octave-auto-indent, octave-auto-newline): Remove.
3454 (electric-layout-rules): Declare.
3455 (octave-mode): Set electric-layout-rules.
3456 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3457 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3458 (octave-electric-space): Remove.
3460 * electric.el (electric-layout-mode): New minor mode.
3461 (electric--after-char-pos): New function.
3462 (electric-indent-post-self-insert-function): Use it.
3463 (electric-layout-rules): New var.
3464 (electric-layout-post-self-insert-function): New function.
3465 (electric-indent-mode): Make them interact better.
3467 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3469 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3470 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3471 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3473 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3475 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3476 Make sure to check inside the word (Bug#6761).
3478 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3480 * startup.el (command-line): If the cursorColor resource is set,
3481 change the cursor face-spec (Bug#7392).
3483 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3485 The main features of the following allout.el changes are:
3486 - implement user customization for the allout key bindings
3487 - add a customization control by which the user can inhibit use of
3488 a trailing Ctrl-H, so by default it's reserved for use with
3489 describe-prefix-bindings
3490 - adapt to new version of called-interactively-p, while
3491 maintaining backwards compatibility with old version
3492 - fix hotspot navigation so i works properly with meta-modified keys
3494 * allout.el (allout-keybindings, allout-bind-keys)
3495 (allout-keybindings-binding, allout-prefixed-keybindings)
3496 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3497 (allout-keybindings-list, allout-mode-map-adjustments)
3498 (allout-setup-mode-map): Establish allout-mode keymaps as user
3499 customizable settings, and also establish a customizable setting which
3500 regulates whether or not a trailing control-h is reserved for use with
3501 describe-prefix-bindings - and inhibit it by default, so that control-h
3502 *is* reserved for describe-prefix-bindings unless the user changes it.
3504 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3505 and accurately between modified and unmodified events, and handle
3506 modified events more comprehensively.
3508 * allout.el (allout-substring-no-properties):
3509 Alias to use or provide version of `substring-no-properties'.
3510 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3512 * allout.el (allout-next-single-char-property-change):
3513 Alias to use or provide version of `next-single-char-property-change'.
3514 (allout-annotate-hidden, allout-hide-by-annotation):
3515 Use `allout-next-single-char-property-change'.
3517 * allout.el (allout-select-safe-coding-system):
3518 Alias to use or provide version of `select-safe-coding-system'.
3519 (allout-toggle-subtree-encryption):
3520 Use `allout-select-safe-coding-system'.
3522 * allout.el (allout-set-buffer-multibyte):
3523 Alias to use or provide version of `set-buffer-multibyte'.
3524 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3526 * allout.el (allout-called-interactively-p): Macro for using the
3527 different versions of called-interactively-p identically, depending on
3528 the subroutine's argument signature.
3529 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3530 Use `(interactive "p")' instead of `(called-interactively-p)'.
3532 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3533 (allout-previous-visible-heading, allout-forward-current-level)
3534 (allout-backward-current-level, allout-show-children):
3535 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3537 * allout.el (allout-before-change-handler):
3538 Exempt edits to the (overlaid) character after the allout outline
3539 bullet from edit confirmation prompt.
3541 * allout.el (allout-add-resumptions):
3542 Ensure that it respects correct buffer for keybindings.
3544 * allout.el (allout-beginning-of-line):
3545 Use `allout-previous-single-char-property-change' alias for the sake of
3546 diverse compatibility.
3548 * allout.el (allout-end-of-line):
3549 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3551 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3553 * frame.el (frame-notice-user-settings): Don't clobber other
3554 user-set parameters when calling face-set-after-frame-default in
3555 response to background-color parameter (Bug#7373).
3557 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3559 * international/characters.el (glyphless-char-display-control):
3560 Rename from glyphless-char-control; all users changed. Doc fix.
3561 Signal an error if display method is not one of the recognized
3564 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3566 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3567 (tramp-compat-line-end-position): Remove them.
3569 * net/tramp.el (tramp-parse-rhosts-group)
3570 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3571 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3572 (tramp-parse-netrc-group, tramp-parse-putty-group)
3573 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3574 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3575 (tramp-sh-handle-file-selinux-context)
3576 (tramp-sh-handle-file-name-all-completions)
3577 (tramp-sh-handle-insert-directory)
3578 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3579 (tramp-wait-for-output, tramp-send-command-and-read)
3580 * net/tramp-smb.el (tramp-smb-read-file-entry)
3581 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3583 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3585 (tramp-remote-coding-commands): Add an alternative using "base64
3586 -d -i". This is needed for older base64 versions from GNU
3587 coreutils. Reported by Klaus Reichl
3588 <Klaus.Reichl@thalesgroup.com>.
3590 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3592 * simple.el (count-words-region): New function.
3594 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3596 * shell.el (shell-dir-cookie-re): New custom variable.
3597 (shell-dir-cookie-watcher): New function.
3599 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3600 and compilation-mode (bug#7350).
3602 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3603 highlight when one of them is empty.
3605 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3607 (skeleton-newline): New function.
3608 (skeleton-internal-1): Use it.
3610 * simple.el (open-line): `newline' may strip trailing space.
3612 2010-11-12 Kevin Ryde <user42@zip.com.au>
3614 * international/mule-cmds.el (princ-list): Use mapc.
3616 2010-11-12 Glenn Morris <rgm@gnu.org>
3618 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3619 Use it to replace all instances of "*Compile-Log*"
3621 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3626 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * progmodes/modula2.el: Use SMIE and skeleton.
3629 (m2-mode-syntax-table): (*..*) can be nested.
3630 Add //...\n. Fix paren syntax.
3631 (m2-mode-map): Remove LF and TAB bindings.
3632 (m2-indent): Add safety property.
3633 (m2-smie-grammar): New var.
3634 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3635 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3636 (m2-mode): Use define-derived-mode.
3637 (m2-newline, m2-tab): Remove.
3638 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3639 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3640 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3641 (m2-import): Use define-skeleton.
3643 2010-11-11 Glenn Morris <rgm@gnu.org>
3645 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3647 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3648 (ls-lisp-verbosity): Add custom :set-after property.
3649 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3650 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3651 (ls-lisp-insert-directory): Update caller.
3652 (ls-lisp-set-options): New function.
3653 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3656 * play/landmark.el (lm-prompt-for-move):
3657 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3659 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3661 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3662 (idlwave-study-twins): Prefix dynamic local variable `name'.
3663 (idlwave-routine-twin-compare): Update for above change.
3665 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3666 Prefix dynamic local variables `name', `kwd', and `link'.
3667 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3668 * progmodes/idlw-complete-structtag.el
3669 (idlwave-complete-structure-tag-help):
3670 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3671 (idlwave-complete-sysvar-tag-help)
3672 (idlwave-complete-class-structure-tag-help):
3673 Update for above name changes.
3675 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3677 * net/browse-url.el (browse-url-browser-function): Change the
3678 default to use `browse-url-mail' on mailto: URLs.
3680 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3682 * emacs-lisp/package.el (package-read-all-archive-contents):
3683 Reset package-archive-contents to nil before re-reading.
3685 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3687 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3688 already found as misspellings by (flyspell-large-region), just
3689 do highlighting (bug#7322).
3691 2010-11-10 Glenn Morris <rgm@gnu.org>
3693 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3695 * emulation/edt.el (edt-with-position): New macro.
3696 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3697 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3698 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3700 * emulation/tpu-extras.el (tpu-with-position): New macro.
3701 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3703 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3705 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3706 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3707 (texinfo-master-menu, texinfo-insert-node-lines)
3708 (texinfo-multiple-files-update):
3709 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3710 Use line-beginning-position.
3712 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3713 No recent Emacs supports system-type `emx'.
3715 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3716 (ada-command-separator, ada-default-prj-properties)
3717 (ada-find-any-references): Update for above name change.
3719 * dirtrack.el (dirtrack-directory-function)
3720 (dirtrack-canonicalize-function):
3721 * filecache.el (file-cache-completion-ignore-case)
3722 (file-cache-case-fold-search, file-cache-ignore-case):
3723 * term.el (serial-port-is-file-p): Cosmetic change.
3725 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3726 Remove non-existent `windows-95' system-type.
3727 * dired.el (dired-chown-program): Remove non-existent `linux'
3730 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3731 (ping-program-options): Remove non-existent `linux' system-type.
3733 * startup.el (package-initialize): Update declaration.
3735 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3736 (ls-lisp-handle-switches): Use time-less-p.
3737 (ls-lisp-format-time): Use float-time.
3739 * textmodes/remember.el (remember-time-to-seconds): Remove.
3740 (remember-store-in-mailbox): Use float-time.
3742 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3744 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3745 never a real function.
3746 (with-no-warnings): Remove compat stub, now unused.
3747 (time-less-p): Doc fix.
3748 (time-to-number-of-days): Simplify.
3750 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3752 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3753 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3754 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3755 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3756 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3758 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3759 (eshell-shuffle-files, eshell-shorthand-tar-command)
3760 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3761 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3762 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3763 Prefix dynamic local variable `matches'.
3765 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3766 Prefix dynamic local variable `skeleton'.
3768 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3770 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3771 in mail buffer; make yank-action always a command that yanks original
3774 2010-11-09 Glenn Morris <rgm@gnu.org>
3776 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3778 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3780 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3781 completion field (bug#7211).
3783 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3784 Fix handling of backslash escapes.
3785 (python-quote-syntax): Adjust accordingly.
3787 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3789 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3790 (vc-mtn-workfile-branch): Adjust to new output format.
3792 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3794 * international/mule-cmds.el (princ-list): Mark as obsolete.
3796 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * emacs-lisp/smie.el: New package.
3800 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3802 * files.el (backup-by-copying-when-mismatch):
3803 Set `permanent-local' property.
3805 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3806 `permanent-local' property for `backup-by-copying-when-mismatch'.
3808 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3810 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3812 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3814 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3815 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3816 AUTOINOUT for SV style multidimensional arrays, bug294.
3817 Reported by Eric Mastromarchi.
3818 (verilog-preprocess): Use with-current-buffer and
3819 font-lock-fontify-buffer to cleanup style issues.
3821 2010-11-09 Glenn Morris <rgm@gnu.org>
3823 * locate.el (locate, locate-mode): Doc fixes.
3825 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3827 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3828 user for confirmation.
3829 (server-force-stop): Use it.
3830 (server-start): Use server-force-stop for kill-emacs-hook, to
3831 avoid user interaction while killing Emacs.
3833 2010-11-09 Glenn Morris <rgm@gnu.org>
3835 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3836 (meta-indent-line): Simplify.
3838 * vc/emerge.el (emerge-line-number-in-buf):
3839 * textmodes/ispell.el (ispell-region):
3840 * textmodes/fill.el (current-fill-column):
3841 * progmodes/xscheme.el (xscheme-send-current-line):
3842 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3843 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3844 * progmodes/sh-script.el (sh-handle-prev-do):
3845 * progmodes/meta-mode.el (meta-indent-line):
3846 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3848 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3849 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3850 * progmodes/fortran.el (fortran-looking-at-if-then):
3851 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3852 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3853 (cperl-find-pods-heres):
3854 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3855 * net/quickurl.el (quickurl-list-insert):
3856 * net/ldap.el (ldap-search-internal):
3857 * net/eudc.el (eudc-expand-inline):
3858 * mail/sendmail.el (sendmail-send-it):
3859 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3860 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3861 (viper-brac-function):
3862 * calc/calc-yank.el (calc-do-grab-region):
3863 * calc/calc-keypd.el (calc-keypad-press):
3864 * term.el (term-move-columns, term-insert-spaces):
3865 * speedbar.el (speedbar-highlight-one-tag-line):
3866 * simple.el (current-word):
3867 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3868 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3870 * hippie-exp.el (he-line-beg):
3871 * epa.el (epa--marked-keys):
3872 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3873 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3874 (dired-relist-entry):
3875 * buff-menu.el (Buffer-menu-buffer):
3876 * array.el (current-line):
3877 * allout.el (allout-resolve-xref)
3878 (allout-latex-verbatim-quote-curr-line):
3879 Replace yet more uses of end-of-line etc with line-end-position, etc.
3881 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3884 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3885 (checkdoc-syntax-table): Initialize in the declaration.
3886 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3887 the mode on unconditionally.
3889 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3890 (extent-end-position, extent-start-position): Remove setf method for
3891 non-existing functions (bug#7319).
3893 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3895 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3896 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3897 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3898 (smie-prec2->grammar): Rename from smie-prec2-levels.
3899 (smie-grammar): Rename from smie-op-levels.
3900 (smie-indent--hanging-p): Rename from smie-hanging-p.
3901 (smie-rule-hanging-p): New alias.
3902 (smie-indent--bolp): Rename from smie-bolp.
3903 (smie-indent--hanging-p): New alias.
3904 (smie--token): New dynamically bound variable.
3905 (smie-indent--parent): New function.
3906 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3907 (smie-rule-next-p): Rename from smie-next-p.
3908 (smie-rule-prev-p): Rename from smie-prev-p.
3909 (smie-rule-sibling-p, smie-rule-parent)
3910 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3911 (smie-rule-separator-outdent): New var.
3912 (smie-indent--rule): Merge with smie-indent--column.
3913 (smie-indent-forward-token, smie-indent-backward-token):
3914 Also recognize close parens.
3915 (smie-indent-keyword): Don't use smie-indent--column any more.
3916 (smie-indent-after-keyword): Ignore closers by default.
3917 (smie-indent-line): Use with-demoted-errors.
3918 * progmodes/octave-mod.el (octave-smie-grammar):
3919 Rename from octave-smie-op-levels.
3920 (octave-smie-rules): Adjust to new behavior.
3921 * progmodes/prolog.el (prolog-smie-grammar):
3922 Rename from prolog-smie-op-levels.
3924 2010-11-07 Glenn Morris <rgm@gnu.org>
3926 * eshell/esh-util.el (subst-char-in-string)
3927 (directory-files-and-attributes): These compatibility definitions are
3928 not needed on any version of Emacs since at least 21.4.
3930 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3931 (verilog-get-end-of-line): Remove.
3932 (verilog-within-string, verilog-re-search-forward-substr)
3933 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3934 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3935 Use point-at-bol, point-at-eol.
3936 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3938 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3939 (electric-pascal-terminate-line, pascal-set-auto-comments)
3940 (pascal-indent-paramlist, pascal-indent-declaration)
3941 (pascal-get-lineup-indent, pascal-func-completion)
3942 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3943 Use point-at-bol, point-at-eol.
3944 * progmodes/flymake.el (flymake-line-beginning-position)
3945 (flymake-line-end-position): Remove.
3946 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3947 * eshell/esh-util.el (line-end-position, line-beginning-position):
3948 Remove compat definitions.
3950 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3952 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3953 Use line-end-position.
3955 * emacs-lisp/chart.el (chart-zap-chars):
3956 * play/decipher.el (decipher-set-map):
3957 * progmodes/ada-mode.el (ada-get-current-indent)
3958 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3959 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3960 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3961 (ada-get-all-references):
3962 * progmodes/cperl-mode.el (cperl-electric-paren)
3963 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3964 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3965 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3966 (cperl-word-at-point-hard):
3967 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3968 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3969 (idlwave-shell-display-line):
3970 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3971 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3972 * progmodes/js.el (js--re-search-forward-inner)
3973 (js--re-search-backward-inner):
3974 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3975 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3976 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3977 * textmodes/flyspell.el (flyspell-process-localwords):
3978 * textmodes/ispell.el (ispell-buffer-local-parsing)
3979 (ispell-buffer-local-dict, ispell-buffer-local-words):
3980 Use point-at-bol and point-at-eol.
3982 * speedbar.el (speedbar-generic-item-info)
3983 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3984 (speedbar-add-indicator, speedbar-check-vc-this-line)
3985 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3986 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3987 Replace more uses of end-of-line etc with line-end-position.
3989 2010-11-06 Glenn Morris <rgm@gnu.org>
3991 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3992 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3993 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3994 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3995 (texinfo-multiple-files-update):
3996 * textmodes/table.el (table--probe-cell-left-up)
3997 (table--probe-cell-right-bottom):
3998 * textmodes/picture.el (picture-tab-search):
3999 * textmodes/page-ext.el (pages-copy-header-and-position)
4000 (pages-directory-for-addresses):
4001 * progmodes/vera-mode.el (vera-get-offset):
4002 * progmodes/simula.el (simula-calculate-indent):
4003 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4004 * progmodes/prolog.el (end-of-prolog-clause):
4005 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4006 * progmodes/icon.el (indent-icon-exp):
4007 * progmodes/etags.el (tag-re-match-p):
4008 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4009 * progmodes/ebnf2ps.el (ebnf-begin-file):
4010 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4011 (dcl-save-local-variable):
4012 * play/life.el (life-setup):
4013 * play/gametree.el (gametree-looking-at-ply):
4014 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4015 * mail/sendmail.el (mail-mode-auto-fill):
4016 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4017 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4018 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4019 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4020 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4021 * type-break.el (type-break-file-keystroke-count):
4022 * term.el (term-replace-by-expanded-history-before-point)
4023 (term-skip-prompt, term-extract-string):
4024 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4025 (speedbar-contract-line, speedbar-toggle-line-expansion)
4026 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4027 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4028 * sort.el (sort-skip-fields):
4029 * skeleton.el (skeleton-internal-list):
4030 * simple.el (line-move-finish, line-move-to-column):
4031 * shell.el (shell-forward-command):
4032 * misc.el (copy-from-above-command):
4033 * makesum.el (double-column):
4034 * ebuff-menu.el (electric-buffer-update-highlight):
4035 * dired.el (dired-move-to-end-of-filename):
4036 * dframe.el (dframe-popup-kludge):
4037 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4038 * arc-mode.el (archive-get-lineno):
4039 Use line-end-position and line-beginning-position.
4041 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4042 (idlwave-study-twins): Prefix dynamic local `class'.
4043 (idlwave-routine-twin-compare): Update for above name change.
4045 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4046 Use boundp tests to silence compiler. Update for changed name of
4047 bytecomp-filename variable.
4049 * emulation/viper-cmd.el (viper-read-string-with-history):
4050 Prefix dynamic local `initial'.
4051 (viper-minibuffer-standard-hook): Update for above name change.
4053 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4054 (elint-init-form): Update for above name change.
4056 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4057 local variables `cbeg' and `cend' a prefix.
4058 (mail-extr-voodoo): Update for above name change.
4060 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4061 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4062 (reftex-toc-promote-action): Doc fix.
4064 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4065 `prompt', `data' a prefix.
4066 (reftex-select-post-command-hook, reftex-select-callback)
4067 (reftex-select-mouse-accept, reftex-select-read-cite):
4068 Update for above name changes.
4070 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4071 `refstyle' to reftex-refstyle.
4072 (reftex-offer-label-menu): Update for above name change.
4073 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4074 `refstyle' name change.
4076 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4077 with with-current-buffer.
4078 (diff, template): Give dynamic local variables a prefix.
4079 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4080 (emerge-line-number-in-buf): Update for above name change.
4081 (emerge-combine-versions-internal): Rename local `template' to
4082 emerge-combine-template.
4083 (emerge-combine-versions-edit): Update for above name change.
4085 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4087 * textmodes/reftex-cite.el
4088 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4089 entries with whitespace after \bibitem.
4090 (reftex-create-bibtex-file): Match entries containing numbers and
4091 symbol constituents. Make sure that entries with whitespace at
4092 various places are found.
4094 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4096 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4098 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4100 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4102 2010-11-05 Glenn Morris <rgm@gnu.org>
4104 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4105 (woman2-roff-buffer): Give local variable `request' a prefix.
4106 (woman0-macro): Rename argument `request' in the same way.
4107 (woman-request): New name for `request' dynamic variable.
4108 (woman-unquote, woman-forward-arg): Update for above name change.
4109 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4110 (woman1-unquote): New name for `unquote' dynamic variable.
4111 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4112 (woman-translations): Rename from `translations'. No longer global.
4113 (woman2-tr, woman-translate): Update for above name change.
4114 (woman-translate): Check for bound variable.
4115 (woman2-roff-buffer): Give local variable `translations' a prefix.
4117 * play/doctor.el: Give all local variables a prefix. Update callers.
4118 (doc$, doctor-put-meaning): Use backquote.
4120 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4121 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4123 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4124 variables bytes, ptr, op a prefix.
4125 (disassemble-offset): Update for above change.
4127 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4129 * emacs-lisp/package.el (package-unpack): Remove no-op.
4130 (package--builtins, package--dir): Doc fix.
4131 (package-activate-1, package-activate, package-install)
4132 (package-compute-transaction): Fix error message.
4133 (package-delete): Use delete-directory. Omit system packages.
4134 (package-initialize): Set package-alist to nil first.
4135 (package-menu-mark-delete, package-menu-mark-install): Don't add
4136 symbols that are inconsistent with the package state.
4137 (package-menu-execute): Perform deletions and installations as
4138 single batch operations.
4140 2010-11-03 Glenn Morris <rgm@gnu.org>
4142 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4143 (props): Remove unnecessary declaration.
4145 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4146 set-process-query-on-exit-flag.
4148 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4149 (reftex-toc-do-promote): Remove unused local `mpos'.
4150 (reftex-toc-restore-region): Make `mpos' local to this function.
4152 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4154 * play/landmark.el (lm-losing-threshold): Correct spelling.
4155 (lm-human-plays): Use new name.
4157 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4158 (gomoku-human-plays): Use new name.
4160 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4161 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4162 (gomoku-score-trans-table, gomoku-winning-threshold)
4163 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4165 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4167 * emacs-lisp/package.el: Don't put built-in packages in
4168 package-alist, to avoid loading inefficiencies.
4169 (package-built-in-p): Make VERSION optional, and treat it as a
4170 minimum acceptable version.
4171 (package-activate): Search separately for built-in packages.
4172 Emit a warning if a dependency fails.
4173 (define-package): Handle most common case, where there is no
4174 obsolete package, first.
4175 (package-compute-transaction): Print required version in error.
4176 (package--initialized): New variable.
4177 (list-packages): Use it.
4178 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4179 built-in packages in packages-alist; keep it separate.
4180 Set package--initialized.
4181 (describe-package): Avoid activating packages as a side-effect.
4182 Search separately for built-in packages.
4183 (describe-package-1): Handle the case where an elpa package is
4184 simultaneously built-in and available/installed.
4185 (package-installed-p, package--generate-package-list):
4186 Search separately for built-in packages.
4187 (package-load-descriptor): Doc fix.
4189 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4192 Handle __DATA__ and __END__.
4194 2010-11-02 Noah Friedman <friedman@splode.com>
4196 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4197 nil, do not ask to recompile files that are not already compiled,
4198 and do not recompile them.
4200 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4202 * emacs-lisp/package.el (package-initialize): Ensure that
4203 obsoleted built-in packages are not in package-activated-list
4205 (describe-package-1): Make the "installed" status override
4208 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4210 * subr.el (version-separator, version-regexp-alist): Remove '*'
4212 (version-list-<=, version<=, version=): Doc fix.
4214 2010-11-01 Kenichi Handa <handa@m17n.org>
4216 * faces.el (glyphless-char): Inherit underline for tty.
4218 2010-11-01 Kenichi Handa <handa@m17n.org>
4220 Implement various display methods for glyphless characters.
4222 * international/characters.el (char-acronym-table): New variable.
4223 (glyphless-char-control): New variable.
4224 (update-glyphless-char-display): New function.
4226 * faces.el (glyphless-char): New face.
4228 2010-11-01 Glenn Morris <rgm@gnu.org>
4230 * calendar/holidays.el (general-holidays, oriental-holidays)
4231 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4232 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4233 the definitions of their targets.
4235 * emacs-lisp/smie.el (smie): New custom group.
4236 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4238 * faces.el (xw-defined-colors, x-setup-function-keys):
4239 * mouse-sel.el (x-select-text):
4240 * term/w32console.el (x-setup-function-keys): Update declarations.
4242 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4244 * textmodes/ispell.el (comment-add): Declare.
4246 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4249 * info.el (finder-keywords-hash, package-alist): Declare.
4251 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4253 * finder.el (finder-compile-keywords): Don't use intern-soft,
4254 since package names may not yet exist in the obarray.
4256 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4258 * vc/vc-arch.el (vc-arch-checkin):
4259 * vc/vc-cvs.el (vc-cvs-checkin):
4260 * vc/vc-mtn.el (vc-mtn-checkin):
4261 * vc/vc-rcs.el (vc-rcs-checkin):
4262 * vc/vc-sccs.el (vc-sccs-checkin):
4263 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4264 since 2010-04-21 commit by Stefan Monnier.
4266 2010-11-01 Glenn Morris <rgm@gnu.org>
4268 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4270 * startup.el (package-enable-at-startup, package-initialize):
4273 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4276 2010-10-31 Julien Danjou <julien@danjou.info>
4278 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4279 (byte-recompile-directory):
4280 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4281 Use `byte-recompile-file'.
4283 2010-10-31 Glenn Morris <rgm@gnu.org>
4285 * cus-start.el: Handle standard values via a keyword.
4286 Only set version property if specified.
4287 (cursor-in-non-selected-windows, menu-bar-mode)
4288 (tool-bar-mode, show-trailing-whitespace):
4289 Do not specify standard values.
4290 (transient-mark-mode, temporary-file-directory): Use :standard.
4292 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4294 * term/x-win.el (x-get-selection-value): New function that gets
4295 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4297 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4299 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4300 preserve owner and group when editing files. (Bug#7289)
4302 2010-10-31 Glenn Morris <rgm@gnu.org>
4304 * speedbar.el (speedbar-mode):
4305 * play/fortune.el (fortune-in-buffer, fortune):
4306 * play/gomoku.el (gomoku-mode):
4307 * play/landmark.el (lm-mode):
4308 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4309 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4311 * select.el (x-selection): Mark it as an obsolete alias.
4313 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4315 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4316 major-mode (bug#7284).
4318 2010-10-31 Glenn Morris <rgm@gnu.org>
4320 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4321 rather than just an unused variable that inherits from the real one.
4323 2010-10-31 Alan Mackenzie <acm@muc.de>
4325 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4326 This fixes bug #7185.
4328 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4330 * startup.el (command-line): Search for package directories, and
4331 don't load package.el if none are found.
4333 * emacs-lisp/package.el (describe-package, list-packages):
4334 Call package-initialize if it has not been called yet.
4336 2010-10-30 Alan Mackenzie <acm@muc.de>
4338 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4339 which fontifies the tail of an enum.
4340 (c-basic-matchers-after): Insert a call to the above new function.
4341 This fixes bug #7264.
4343 2010-10-30 Glenn Morris <rgm@gnu.org>
4345 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4346 tool-bar-mode, transient-mark-mode. (Bug#7306)
4347 Include the :set property in the dumped Emacs.
4349 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4351 SMIE: change indent rules format, improve smie-setup.
4352 * emacs-lisp/smie.el (smie-precs-precedence-table)
4353 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4354 Mark them pure so the tables gets built at compile time.
4355 (smie-bnf-precedence-table): Store the closer-alist in the table.
4356 (smie-prec2-levels): Preserve the closer-alist.
4357 (smie-blink-matching-open): Be more forgiving in case of indentation.
4358 (smie-hanging-p): Rename from smie-indent--hanging-p.
4359 (smie-bolp): Rename from smie-indent--bolp.
4360 (smie--parent, smie--after): New dynamic vars.
4361 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4362 (smie-indent-rules): Remove.
4363 (smie-indent--offset-rule): Remove fun.
4364 (smie-rules-function): New var.
4365 (smie-indent--rule): New fun.
4366 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4367 (smie-indent-exps): Use it.
4368 (smie-setup): Setup paren blinking; add keyword args for token
4369 functions; extract closer-alist from op-levels.
4370 (smie-indent-debug-log): Remove var.
4371 (smie-indent-debug): Remove fun.
4372 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4373 (prolog-smie-rules): New fun to replace it.
4374 (prolog-mode-variables): Simplify.
4375 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4376 it's setup automatically.
4377 (octave-smie-indent-rules): Remove.
4378 (octave-smie-rules): New fun to replace it.
4379 (octave-mode): Simplify.
4381 2010-10-29 Glenn Morris <rgm@gnu.org>
4383 * files.el (temporary-file-directory): Remove (already defined in C).
4384 * cus-start.el: Add temporary-file-directory.
4386 * abbrev.el (abbrev-mode):
4387 * composite.el (auto-composition-mode):
4388 * menu-bar.el (menu-bar-mode):
4389 * simple.el (transient-mark-mode):
4390 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4391 that they do not define the associated variables twice.
4392 * simple.el (transient-mark-mode): Remove defvar.
4393 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4394 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4395 Handle multiple groups, and also custom-delayed-init-variables.
4396 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4398 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4401 (pcase-if): Add one minor optimization.
4402 (pcase-split-equal): Rename from pcase-split-eq.
4403 (pcase-split-member): Rename from pcase-split-memq.
4404 (pcase-u1): Add strings to the member optimization.
4405 Add `guard' variant of predicates.
4406 (pcase-q1): Add string patterns.
4408 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4410 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4412 2010-10-28 Glenn Morris <rgm@gnu.org>
4414 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4415 Move menu-bar related settings to ../menu-bar.el.
4416 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4417 Move ns-specific settings here from term/ns-win.el.
4419 * simple.el (x-selection-owner-p): Remove unused declaration.
4421 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * minibuffer.el (completion-cycling): New var (bug#7266).
4424 (minibuffer-complete, completion--do-completion):
4425 Use completion--flush-all-sorted-completions.
4426 (minibuffer-complete): Only cycle if completion-cycling is set.
4427 (completion--flush-all-sorted-completions): Unset completion-cycling.
4428 (minibuffer-force-complete): Set completion-cycling.
4429 (completion-all-sorted-completions): Move declaration before first use.
4431 2010-10-28 Leo <sdl.web@gmail.com>
4433 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4434 which changes the order of matches seen by users (bug#7231).
4436 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4438 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4439 Don't confuse -omega as "-o mega".
4441 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4444 (log-edit-author): New dynamic var.
4445 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4446 to return the author if different from committer.
4447 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4449 * play/landmark.el: Adjust commenting convention.
4450 (lm-nil-score): Rename from nil-score.
4451 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4452 (OOOOscore): Move into a let in lm-score-trans-table.
4453 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4455 * electric.el (electric-indent-chars): Autoload.
4456 * progmodes/octave-mod.el (octave-mode):
4457 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4458 (ruby-mode-abbrev-table): Merge initialization and declaration.
4460 2010-10-27 Glenn Morris <rgm@gnu.org>
4462 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4465 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4467 * term/ns-win.el: Restore require of cl when compiling.
4468 (menu-bar-final-items): Remove non-existent `windows' menu.
4469 (ns-handle-nxopen): Optionally handle the temp-case.
4470 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4471 (ns-insert-file, ns-find-file): Use `pop'.
4473 2010-10-26 Glenn Morris <rgm@gnu.org>
4475 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4477 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4479 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4481 * term/common-win.el (x-setup-function-keys): Remove most of the
4482 keymappings. Comment on the remaining ones.
4484 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4486 * server.el (server-port): New option. (Bug#854)
4487 (server-start): Use server-port.
4489 2010-10-26 Glenn Morris <rgm@gnu.org>
4491 * term/ns-win.el (ns-version-string): Remove unused declaration.
4492 (ns-invocation-args): Change to x-invocation-args.
4493 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4494 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4495 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4496 Use x-invocation-args instead of ns-invocation-args.
4497 (ns-initialize-window-system, handle-args-function-alist):
4498 Use x-handle-args instead of ns-handle-args.
4499 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4500 * startup.el (command-line-ns-option-alist): Replace
4501 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4502 ns-handle-iconic with the x- equivalents.
4504 * term/common-win.el (x-select-enable-clipboard):
4505 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4507 * term/ns-win.el: No need to require cl when compiling.
4508 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4509 (xw-defined-colors): Use the common-win definitions.
4510 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4511 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4512 * term/common-win.el (x-select-text, x-alternatives-map)
4513 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4514 * loadup.el [ns]: Load common-win.
4516 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4518 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4519 recipients; expand mail aliases (Bug#7280).
4521 2010-10-25 Glenn Morris <rgm@gnu.org>
4523 * term/common-win.el (x-handle-switch): Simplify with pop.
4524 Optionally handle numeric switches.
4525 (x-handle-numeric-switch): Just call x-handle-switch.
4526 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4527 (x-handle-name-switch, x-handle-display, x-handle-args):
4530 * term/ns-win.el: Do not require easymenu.
4531 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4532 <spell>: Move adjustments to menu-bar.el.
4533 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4534 <separator-undo, spell>: Move ns-win's adjustments here.
4535 * loadup.el [ns]: Do not load easymenu.
4537 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4539 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4542 * startup.el (fancy-startup-tail): Instead of using inline images,
4543 refer to image files from etc/.
4545 * wid-edit.el (checkbox): Likewise.
4546 (widget-image-find): Center image specs.
4548 2010-10-24 Glenn Morris <rgm@gnu.org>
4550 * term/ns-win.el (x-select-text): Doc fix.
4551 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4552 (x-select-text): Move to term/common-win.
4553 * term/w32-win.el (xw-defined-colors): Move to common-win.
4554 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4555 (x-setup-function-keys, x-select-text): Move to common-win.
4556 * term/common-win.el (x-select-text, x-alternatives-map)
4557 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4560 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4562 * net/mairix.el (mairix-searches-mode-map):
4563 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4565 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4567 * verilog-mode.el (verilog-directive-re): Make this variable
4568 auto-built for efficiency of execution and updating.
4569 (verilog-extended-complete-re): Support 'pure' fucntion & task
4570 declarations (these have no bodies).
4571 (verilog-beg-of-statement): General cleanup to enable support of
4572 'pure' fucntion & task declarations (these have no bodies).
4573 These efforts together fix Verilog bug210 from veripool; which was also
4574 noticed by Steve Pearlmutter.
4575 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4576 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4577 Support `elsif. Reported by Shankar Giri.
4578 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4579 attribute handling for lining up declarations and assignments.
4580 (verilog-beg-of-statement-1): Fix issue where continued declaration
4581 is indented differently if it is after a begin..end clock.
4582 (verilog-in-attribute-p, verilog-skip-backward-comments)
4583 (verilog-skip-forward-comment-p): Support proper treatment of
4584 attributes by indent code. Reported by Jeff Steele.
4585 (verilog-in-directive-p): Fix comment to correctly describe function.
4586 (verilog-backward-up-list, verilog-in-struct-region-p)
4587 (verilog-backward-token, verilog-in-struct-p)
4588 (verilog-in-coverage-p, verilog-do-indent)
4589 (verilog-pretty-declarations): Use verilog-backward-up-list as
4590 wrapper around backward-up-list inorder to properly skip comments.
4591 Reported by David Rogoff.
4592 (verilog-property-re, verilog-endcomment-reason-re)
4593 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4594 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4595 of if). Reported by Max Bjurling and
4596 (verilog-calc-1): Fix for clocking block in modport
4597 declaration. Reported by Brian Hunter.
4599 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4601 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4602 (verilog-gate-keywords, verilog-read-sub-decls)
4603 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4604 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4605 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4606 (verilog-read-decls): Fix spaces in V2K module parameters causing
4607 mis-identification as interfaces, bug287.
4608 (verilog-read-decls): Fix not treating "parameter string" as a
4609 parameter in AUTOINSTPARAM.
4610 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4611 treating `elsif similar to `endif inside AUTOSENSE.
4612 (verilog-do-indent): Implement correct automatic or static task or
4613 function end comment highlight. Reported by Steve Pearlmutter.
4614 (verilog-font-lock-keywords-2): Fix highlighting of single
4615 character pins, bug264. Reported by Michael Laajanen.
4616 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4617 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4618 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4619 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4620 (verilog-pretty-expr): Fix interactive arguments, bug272.
4621 Reported by Mark Johnson.
4622 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4623 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4624 bug269. Suggested by Gary Delp.
4625 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4626 (verilog-preprocessor, verilog-set-compile-command):
4627 Create verilog-preprocess and verilog-preprocessor to show
4628 preprocessed output.
4629 (verilog-get-beg-of-line, verilog-get-end-of-line)
4630 (verilog-modi-file-or-buffer, verilog-modi-name)
4631 (verilog-modi-point, verilog-within-string): Move defmacro's
4632 before first use to avoid warning. Reported by Steve Pearlmutter.
4633 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4634 (verilog-colorize-region, verilog-highlight-buffer)
4635 (verilog-highlight-includes, verilog-highlight-modules)
4636 (verilog-highlight-region, verilog-mode): Rename colorize to
4637 highlight to match other packages. Disable module highlighting,
4638 as received speed complaints, reenable for experimentation only
4639 using new verilog-highlight-modules.
4640 (verilog-read-decls): Fix regexp stack overflow in very large
4641 AUTO_TEMPLATEs, bug250.
4642 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4643 (verilog-scan): Create verilog-save-buffer-state to standardize
4644 making insignificant changes that shouldn't call hooks.
4645 (verilog-save-no-change-functions, verilog-save-scan-cache)
4646 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4647 Create verilog-save-no-change-functions to wrap verilog-scan
4648 preservation, and fix to work with nested preserved calls.
4649 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4650 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4651 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4652 (verilog-submit-bug-report): Update variable list to be complete.
4653 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4654 breaking on-the-fly font-locking.
4655 (verilog-colorize-buffer, verilog-colorize-include-files)
4656 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4657 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4658 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4659 AUTOINST cell instance name, middle mouse button now finds-file on
4660 it. Suggested by Brad Dobbie.
4661 (verilog-alw-get-temps, verilog-auto-reset)
4662 (verilog-auto-sense-sigs, verilog-read-always-signals)
4663 (verilog-read-always-signals-recurse): Fix loop indexes being
4664 AUTORESET. AUTORESET now assumes any variables in the
4665 initialization section of a for() should be ignored.
4666 Reported by Dan Dever.
4667 (verilog-error-font-lock-keywords)
4668 (verilog-error-regexp-emacs-alist)
4669 (verilog-error-regexp-xemacs-alist): Fix error detection of
4670 Cadence HAL, reported by David Asher. Repair drift between the
4671 three similar error variables.
4672 (verilog-modi-lookup, verilog-modi-lookup-cache)
4673 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4674 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4675 Fix slow verilog-auto expansion on very large files.
4676 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4677 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4678 "{1*2{...". Broke in last revision.
4679 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4680 submodule connections with replications "{#{a},#{b}}".
4682 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4684 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4685 Fix typo in docstring.
4687 2010-10-24 Kenichi Handa <handa@m17n.org>
4689 * face-remap.el (text-scale-adjust): Call read-event with a proper
4692 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4694 * emacs-lisp/unsafep.el: Don't mark functions that display
4695 messages as safe. Suggested by Johan Bockgård.
4697 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4699 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4700 Turn comments into docstrings.
4702 * minibuffer.el (completion--replace): Move point where it belongs
4703 when there's a common suffix (bug#7215).
4705 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4707 Merge read-color and facemenu-read-color (Bug#7242).
4709 * faces.el (read-color): Use the completion code from
4710 facemenu-read-color. Require match in completion. Doc fix.
4712 * facemenu.el (facemenu-read-color): Alias for read-color.
4713 (facemenu-set-foreground, facemenu-set-background):
4716 * frame.el (set-background-color, set-foreground-color)
4717 (set-cursor-color, set-mouse-color, set-border-color):
4720 2010-10-24 Leo <sdl.web@gmail.com>
4722 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4723 argument of delete-file and delete-directory (Bug#7011).
4725 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4727 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4730 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4732 * emacs-lisp/package.el (package--generate-package-list): Make the
4733 *Packages* buffer read-only.
4735 2010-10-24 Alan Mackenzie <acm@muc.de>
4737 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4738 result of `c-beginning-of-decl-1' between invocations of a lambda
4739 function (Bug #7265).
4741 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4743 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4744 executable is not available on the system (Bug#7268).
4746 2010-10-24 Glenn Morris <rgm@gnu.org>
4748 * select.el (selection-coding-system, next-selection-coding-system):
4749 Sync doc with C versions.
4751 * w32-vars.el (x-select-enable-clipboard):
4752 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4753 * term/common-win.el (x-select-enable-clipboard): Move here.
4755 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4756 definition of C variable.
4758 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4759 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4760 Don't redefine things that are defined in C.
4761 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4762 (show-trailing-whitespace, auto-hscroll-mode)
4763 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4764 Set up the appropriate custom properties.
4766 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4769 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4770 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4771 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4772 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4774 2010-10-23 Glenn Morris <rgm@gnu.org>
4776 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4779 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4780 Sync docs with C version.
4782 * term/ns-win.el (xw-defined-colors):
4783 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4785 * term/pc-win.el (x-select-enable-clipboard):
4786 * term/x-win.el (x-select-enable-clipboard):
4787 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4789 * comint.el (comint-password-prompt-regexp): Make it less vague.
4792 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4794 * help.el (finder-by-keyword): Remove unnecessary autoload.
4796 2010-10-22 Glenn Morris <rgm@gnu.org>
4798 * loadup.el: Unconditionally load float-sup.
4799 * paren.el (show-paren-delay):
4800 * emacs-lisp/float-sup.el:
4801 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4802 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4803 (lazy-lock-stealth-verbose): Assume float support.
4804 * ps-print.el: Assume float support on Emacs.
4805 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4806 Remove non-float branch.
4808 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4809 src/Makefile no longer being pre-processed.
4811 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * emacs-lisp/find-func.el (find-library): Use test-completion.
4815 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4819 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4821 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4822 space in stat format string.
4823 (tramp-send-command): Unset $PS1 when using here documents, in
4824 order not to get several prompts.
4825 (tramp-get-inline-coding): Return `nil' in case of errors.
4827 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4829 * hexl.el (hexl-mode, hexl-mode-exit):
4830 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4831 (hexl-revert-buffer-function): New function.
4832 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4834 2010-10-19 Alan Mackenzie <acm@muc.de>
4836 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4837 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4838 that these keywords aren't wrongly matched as identifiers.
4840 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4841 setting of c-new-BEG and c-new-END from c-before-change to
4842 c-after-change. (Bug#7181)
4844 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4846 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4849 * custom.el (custom-theme-set-variables): Likewise.
4850 (load-theme): Add custom-theme-set-faces and
4851 custom-theme-set-variables to safe-functions while loading.
4852 (custom-enabled-themes): Mark as risky.
4854 2010-10-18 Julien Danjou <julien@danjou.info>
4856 * bindings.el: Remove end dashes in default mode-line-format.
4858 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4860 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4861 to delete-forward-char.
4863 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4864 deletechar, and hence delete-forward-char.
4866 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4868 * repeat.el (repeat): Use read-key (bug#6256).
4870 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4872 * emacs-lisp/unsafep.el: Don't mark functions that display
4873 messages as safe. Suggested by Johan Bockgård.
4875 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * minibuffer.el (completion--replace): Move point where it belongs
4878 when there's a common suffix (bug#7215).
4880 2010-10-19 Kenichi Handa <handa@m17n.org>
4882 * international/characters.el: Add category '|' (word breakable)
4883 to fullwidth characters.
4885 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4887 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4888 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4889 order to make stat results a float. Patch by Andreas Schwab
4890 <schwab@linux-m68k.org>.
4892 2010-10-18 Julien Danjou <julien@danjou.info>
4894 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4895 hidden by `make-pointer-invisible'.
4897 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * files.el (locate-file-completion-table): Strip non-matching elements
4900 before checking length of list (bug#7238).
4902 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4904 * custom.el (custom-theme-set-variables): Mark as a safe function.
4905 (load-theme): Check forms using unsafep.
4907 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4909 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4911 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4912 Fix aspell data file searching (bug#7230).
4914 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4916 * cus-theme.el (custom-theme--migrate-settings): New var.
4917 (customize-create-theme): Allow editing the `user' theme.
4918 (custom-theme-add-variable, custom-theme-add-var-1)
4919 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4920 to the front of each variable or face widget.
4921 (custom-theme-write): Save theme settings in the correct order.
4922 Optionally, remove saved settings from user customizations.
4923 (custom-theme-write-variables, custom-theme-write-faces):
4924 Save only the checked widgets.
4925 (customize-themes): Add a link for migrating custom settings.
4927 * custom.el (custom-declare-theme, provide-theme):
4928 Use custom-theme-name-valid-p.
4929 (custom-theme-name-valid-p): Remove checks that are now
4930 unnecessary since themes no longer obey load-path.
4932 * cus-edit.el (custom-variable-value-create): For the simple
4933 style, hide documentation string when hidden.
4935 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4937 * cus-edit.el (custom-variable, custom-face): Combine the
4938 :inhibit-magic and :display-style properties into a single
4939 :custom-style property.
4940 (custom-toggle-hide-variable, custom-toggle-hide-face):
4941 New functions. If hiding an edited value, save it to :shown-value.
4942 (custom-variable-value-create, custom-face-value-create): Use them.
4943 (custom-magic-reset): Allow magic property to be unset.
4945 * custom.el: Custom themes no longer use load-path.
4946 (custom-theme-load-path): New option. Change built-in theme
4948 (custom-enabled-themes): Add custom-theme-load-path dependency.
4949 (custom-theme--load-path): New function.
4950 (load-theme, custom-available-themes): Use it.
4952 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4953 (customize-themes): Link to custom-theme-load-path variable.
4954 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4955 :custom-style property.
4957 * themes/*.el: Moved to etc/.
4959 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4961 * textmodes/reftex-cite.el
4962 (reftex-extract-bib-entries-from-thebibliography): Do not move
4963 point when searching for \bibitem entries. Match entries with
4964 spaces or tabs in front of arguments.
4966 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4968 * cus-theme.el (customize-create-theme): Delete overlays after
4969 erasing. If given a THEME arg, display only the faces of that arg
4970 instead of custom-theme--listed-faces.
4971 (custom-theme-variable-menu, custom-theme-variable-action)
4972 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4973 (custom-theme-add-variable, custom-theme-add-face): Apply value
4974 from the theme settings, instead of the current value.
4975 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4976 (custom-theme-visit-theme): Allow calling outside theme buffers.
4977 (custom-theme-merge-theme): Don't enable the theme when merging.
4978 (custom-theme-write-variables, custom-theme-write-faces): Use the
4979 :shown-value properties to save buffer values, not global ones.
4980 (customize-themes): Display a warning about user customizations.
4982 * cus-edit.el (custom-variable-value-create)
4983 (custom-face-value-create): Obey new special properties
4984 :shown-value and :inhibit-magic.
4986 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4988 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4989 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4992 2010-10-14 Kenichi Handa <handa@m17n.org>
4994 * mail/rmail.el (rmail-show-message-1): Catch an error of
4995 base64-decode-region and just show an error message (bug#7165).
4997 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4998 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4999 a font-spec (bug#7197).
5001 2010-10-14 Glenn Morris <rgm@gnu.org>
5003 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5005 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5007 * international/mule.el (define-coding-system):
5008 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5009 * composite.el (compose-region): Fix typo in docstring.
5011 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5013 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5014 only after checking the theme-face property.
5016 * faces.el (face-spec-reset-face): Reset all attributes in one
5017 single call to set-face-attribute.
5018 (face-spec-match-p): Make it a defsubst.
5019 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5020 (x-create-frame-with-faces, tty-create-frame-with-faces)
5021 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5022 frame-set-background-mode, since they are recomputed immediately
5023 afterwards in face-set-after-frame-default.
5024 (face-set-after-frame-default): Minor optimization.
5025 (cursor): Provide non-trivial defface spec.
5027 * custom.el (custom-theme-recalc-face): Simplify.
5029 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5031 * calc/calc-alg.el (math-var): Rename from `var'.
5032 (math-is-polynomial, math-is-poly-rec): Replace `var'
5035 * calc/calcalg2.el (math-var): Rename from `var'.
5036 (calcFunc-table, math-scan-for-limits): Replace `var'
5039 2010-10-13 Glenn Morris <rgm@gnu.org>
5041 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5043 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5045 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5047 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049 * net/tls.el (tls-program): Remove spurious %s from openssl.
5050 (tls-starttls-switches): Remove starttls hack.
5051 (open-tls-stream): Ditto.
5052 (tls-find-starttls-argument): Ditto.
5054 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5056 * image.el (image-library-alist): Declare as obsolete alias.
5057 (image-type-available-p): Use `dynamic-library-alist'.
5059 * term/w32-win.el (dynamic-library-alist):
5060 Use instead of `image-library-alist'.
5062 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5064 * subr.el (last): Make it faster. (Bug#7174)
5066 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5068 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5070 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5072 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5073 (describe-theme-1): Extract doc from unloaded themes.
5075 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5077 * themes/tango-theme.el:
5078 * themes/tango-dark-theme.el:
5079 * themes/wheatgrass-theme.el: New files.
5081 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5083 * cus-theme.el (describe-theme, customize-themes)
5084 (custom-theme-save): New commands.
5085 (custom-new-theme-mode-map): Bind C-x C-s.
5086 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5087 (customize-create-theme): New optional arg THEME.
5088 (custom-theme-revert): Use it.
5089 (custom-theme-visit-theme): Remove dead code.
5090 (custom-theme-merge-theme): Use custom-available-themes.
5091 (custom-theme-write): Make interactive.
5092 (custom-theme-write): Use custom-theme-name-valid-p.
5093 (describe-theme-1, custom-theme-choose-revert)
5094 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5096 (custom-theme-allow-multiple-selections): New option.
5097 (custom-theme-choose-mode): New major mode.
5099 * custom.el (custom-theme-set-variables): Remove dead code.
5100 Obey custom--inhibit-theme-enable.
5101 (custom--inhibit-theme-enable): New var.
5102 (provide-theme): Obey it.
5103 (load-theme): Replace load with manual read/eval, in order to
5104 check for correctness. Use custom-theme-name-valid-p.
5105 (custom-theme-name-valid-p): New function.
5106 (custom-available-themes): Use it.
5108 * cus-edit.el (custom--initialize-widget-variables): New function.
5109 (Custom-mode): Use it.
5111 * cus-face.el (custom-theme-set-faces): Remove dead code.
5112 Obey custom--inhibit-theme-enable.
5114 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5116 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5118 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5120 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5122 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5123 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5124 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5126 * cus-start.el (all): ns-right-alternate-modifier is new.
5128 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * emacs-lisp/lisp.el (lisp-completion-at-point):
5131 Use emacs-lisp-mode-syntax-table for the whole function.
5133 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5135 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5136 instead of font-lock-mode before adding keywords.
5137 Remove hi-lock-mode off code. Remove inhibit hack.
5138 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5139 non-nil; removed hook inhibit hack.
5141 2010-10-12 Glenn Morris <rgm@gnu.org>
5143 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5144 (load-path-shadows-find): ... to this.
5145 (list-load-path-shadows): Update for above change.
5147 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5149 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5151 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5152 Fix comment for declare-function.
5154 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5156 * custom.el (custom-fix-face-spec): New function; code moved from
5157 custom-face-edit-fix-value.
5158 (custom-push-theme): Use it when checking if a face has been
5159 changed outside customize.
5160 (custom-available-themes): New function.
5161 (load-theme): Use it.
5163 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5165 * custom.el (custom-push-theme): Cleanup (use cond).
5166 (disable-theme): Recompute the saved-face property.
5167 (custom-theme-recalc-face): Follow face alias before setting prop.
5169 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5170 New variables, containing checkbox images.
5172 * startup.el (fancy-startup-tail):
5173 * wid-edit.el (checkbox): Use them.
5175 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5177 * shell.el (shell-mode-map):
5178 * progmodes/modula2.el (m2-mode-map):
5179 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5180 * play/mpuz.el (mpuz-mode-map):
5181 * play/landmark.el (lm-mode-map):
5182 * play/decipher.el (decipher-mode-map):
5183 * play/5x5.el (5x5-mode-map):
5184 * net/telnet.el (telnet-mode-map):
5185 * net/quickurl.el (quickurl-list-mode-map):
5186 * net/mairix.el (mairix-searches-mode-map):
5187 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5188 * net/dig.el (dig-mode-map):
5189 * mail/mspools.el (mspools-mode-map):
5190 * hexl.el (hexl-mode-map):
5191 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5192 (wordstar-C-o-map, wordstar-C-q-map):
5193 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5194 * emacs-lisp/chart.el (chart-map):
5195 * edmacro.el (edmacro-mode-map):
5196 * erc/erc-list.el (erc-list-menu-mode-map):
5197 * array.el (array-mode-map): Declare and define in one step.
5199 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5201 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5203 * epa.el (epa-passphrase-callback-function): Display filename
5204 passed as the 3rd arg.
5205 * epa-file.el (epa-file-passphrase-callback-function):
5206 Pass filename to epa-passphrase-callback-function.
5208 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5210 * cus-edit.el (custom-face-widget-to-spec)
5211 (custom-face-get-current-spec, custom-face-state): New functions.
5212 (custom-face-set, custom-face-mark-to-save)
5213 (custom-face-value-create, custom-face-state-set): Use them.
5215 * cus-theme.el (custom-theme--listed-faces): New var.
5216 (customize-create-theme): Use *Custom Theme* as the buffer name.
5217 Set revert-buffer-function. Optional arg BUFFER. Insert all
5218 faces listed in custom-theme--listed-faces.
5219 (custom-theme-revert): New function.
5220 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5222 (custom-theme-write): Prompt for theme name if empty.
5223 (custom-theme-write-variables): Use dolist.
5224 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5226 2010-10-09 Alan Mackenzie <acm@muc.de>
5228 Enhance fontification of declarators to take account of the
5229 presence/absence of "typedef".
5231 * cc-engine.el (c-forward-type): New &optional param
5233 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5234 presence of either or both of a "struct"-like keyword and "typedef".
5236 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5237 fontification of declarators which follow a "}".
5238 (c-font-lock-declarations): Fontify declarators according to the
5239 presence/absence of "typedef".
5241 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5243 (c-typedef-decl-key): New lang variable built from
5244 c-typedef-decl-kwds.
5246 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5248 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5249 since that's too annoying. Move the filter groups commands to
5252 * epa.el (epa-passphrase-callback-function): Say what we're
5253 querying the password for.
5255 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5256 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5258 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5260 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5261 (custom-magic-value-create): Pad button tags with spaces.
5262 (custom-face-edit): New variable.
5263 (custom-face-value-create): Determine whether to use the usual
5264 face editor here, instead of using custom-face-selected.
5265 Pass face defaults to custom-face-edit widget.
5266 (custom-face-selected, custom-display-unselected): Delete widgets.
5267 (custom-display-unselected-match): Function removed.
5268 (custom-face-set, custom-face-mark-to-save):
5269 Accept custom-face-edit widgets as the direct widget child.
5271 * wid-edit.el (widget--completing-widget): New var.
5272 (widget-default-complete): Bind it when doing completion.
5273 (widget-string-complete, widget-file-complete): Use it.
5275 2010-10-09 Glenn Morris <rgm@gnu.org>
5277 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5278 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5279 (holiday-hebrew-misc): Small simplifications.
5281 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5283 * net/browse-url.el: Don't require thingatpt, term, dired,
5284 executable, or w3-auto when compiling.
5285 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5287 (browse-url-text-emacs): Require term.
5289 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5291 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5293 2010-10-08 Glenn Morris <rgm@gnu.org>
5295 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5297 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5298 (shadows-compare-text-p): Make it an obsolete alias for...
5299 (load-path-shadows-compare-text): ... new name.
5300 (find-emacs-lisp-shadows): Update for above name change.
5301 (load-path-shadows-same-file-or-nonexistent): New name for the old
5302 shadow-same-file-or-nonexistent.
5304 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5306 * minibuffer.el (completion--some, completion--do-completion)
5307 (minibuffer-complete-and-exit, minibuffer-completion-help)
5308 (completion-basic-try-completion)
5309 (completion-basic-all-completions)
5310 (completion-pcm--find-all-completions): Use lexical-let to
5311 avoid some false matches in variable completion (Bug#7056)
5313 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5315 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5317 2010-10-08 Leo <sdl.web@gmail.com>
5319 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5320 return non-nil if the file exists (Bug#7090).
5322 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5324 * minibuffer.el (completion--replace):
5325 Better preserve markers (bug#7138).
5327 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5329 * server.el (server-process-filter): Doc fix.
5331 2010-10-08 Drew Adams <drew.adams@oracle.com>
5333 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5335 2010-10-08 Glenn Morris <rgm@gnu.org>
5337 * vc/ediff-wind.el (ediff-setup-control-frame):
5338 * vc/ediff-ptch.el (ediff-default-backup-extension):
5339 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5340 (ediff-exec-process): Remove system-types emx, windows-95.
5342 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5344 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5346 * cus-edit.el (custom-variable, custom-face): Doc fix.
5347 (custom-face-edit): Add value-create attribute.
5348 (custom-face-edit-value-create)
5349 (custom-face-edit-value-visibility-action): New functions.
5350 Hide unused face attributes by default, and add a visibility toggle.
5351 (custom-face-edit-deactivate): Show empty values with shadow face.
5352 (custom-face-selected): Only use this for face specs with default
5354 (custom-face-value-create): Cleanup.
5356 * wid-edit.el (widget-checklist-value-create): Use dolist.
5357 (widget-checklist-match-find): Make second arg optional.
5359 2010-10-07 Glenn Morris <rgm@gnu.org>
5361 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5364 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5365 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5366 load-path-shadows-mode, update references.
5367 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5368 Rename variable and button.
5369 (list-load-path-shadows): Update button caller.
5371 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5373 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5374 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5375 (smie-merge-prec2s): Handle those new entries.
5376 (smie-prec2-levels): Only set precedence to nil for actual
5378 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5379 that is now unnecessary.
5381 2010-10-07 Miles Bader <miles@gnu.org>
5383 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5385 2010-10-07 Glenn Morris <rgm@gnu.org>
5387 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5388 (mail-position-on-field): Remove declarations.
5389 (mail-position-on-field): Autoload it.
5390 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5391 and mail-header-end. Don't require sendmail.
5393 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5394 (shadow-mode): New mode.
5395 (shadow-find-file): New button.
5396 (list-load-path-shadows): Use shadow-mode and buttons.
5398 * iimage.el (iimage-version): Remove.
5399 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5400 Turn into defcustoms.
5401 (iimage-mode-map): Give it a doc string.
5403 * calendar/appt.el (appt-activate): Give a warning rather than an error
5404 if there is no diary-file.
5406 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5408 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5409 Use `tramp-handle-find-backup-file-name'.
5411 2010-10-06 Glenn Morris <rgm@gnu.org>
5413 * font-core.el (font-lock-defaults-alist): Remove variable.
5414 (font-lock-mode): Doc fix.
5415 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5416 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5417 (font-lock-set-defaults): Doc fix.
5418 Do not consult font-lock-defaults-alist.
5420 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5422 * emacs-lisp/cl.el: No longer provide cl-19.
5424 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5426 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5427 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5428 New defuns, taken from tramp-smb.el.
5429 (tramp-coding-system-change-eol-conversion)
5430 (tramp-set-process-query-on-exit-flag): Remove.
5432 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5433 (tramp-compat-coding-system-change-eol-conversion)
5434 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5437 * net/tramp-gvfs.el:
5438 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5439 by `tramp-compat-set-process-query-on-exit-flag'.
5441 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5442 Use `tramp-handle-directory-files-and-attributes',
5443 `tramp-handle-file-exists-p' and
5444 `tramp-handle-file-newer-than-file-p'.
5445 (tramp-imap-handle-file-exists-p)
5446 (tramp-imap-handle-file-executable-p)
5447 (tramp-imap-handle-file-readable-p)
5448 (tramp-imap-handle-directory-files-and-attributes)
5449 (tramp-imap-handle-file-newer-than-file-p): Remove.
5451 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5452 by `tramp-compat-set-process-query-on-exit-flag' and
5453 `tramp-coding-system-change-eol-conversion' by
5454 `tramp-compat-coding-system-change-eol-conversion'.
5456 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5457 Use `tramp-handle-directory-files-and-attributes',
5458 `tramp-handle-file-exists-p' and
5459 `tramp-handle-file-newer-than-file-p'.
5460 (tramp-smb-handle-directory-files-and-attributes)
5461 (tramp-smb-handle-file-exists-p)
5462 (tramp-smb-handle-file-newer-than-file-p): Remove.
5463 (tramp-smb-maybe-open-connection):
5464 Replace `tramp-set-process-query-on-exit-flag' by
5465 `tramp-compat-set-process-query-on-exit-flag'.
5467 2010-10-05 Glenn Morris <rgm@gnu.org>
5469 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5471 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5473 Continue reorganization of load dependencies. (Bug#7156)
5475 * net/tramp.el (tramp-handle-file-local-copy-hook)
5476 (tramp-delete-temp-file-function): Move down.
5477 (tramp-exists-file-name-handler): Move up.
5478 (tramp-register-file-name-handlers): Simplify autoload.
5479 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5480 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5481 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5482 (tramp-handle-file-name-completion)
5483 (tramp-handle-file-name-directory)
5484 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5485 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5486 (tramp-handle-find-backup-file-name)
5487 (tramp-handle-insert-file-contents, tramp-handle-load)
5488 (tramp-handle-substitute-in-file-name)
5489 (tramp-handle-unhandled-file-name-directory)
5490 (tramp-mode-string-to-int, tramp-local-host-p)
5491 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5493 * net/tramp-gvfs.el (top):
5494 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5496 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5497 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5499 2010-10-04 Glenn Morris <rgm@gnu.org>
5501 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5502 (appt-activate): Give status messages.
5504 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5506 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5507 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5508 `gnutls-negotiate' (formerly `starttls-negotiate').
5509 Remove trivial wrapper `starttls-open-stream'.
5511 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5513 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5514 log-outgoing commands.
5515 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5516 to create a buffer local revert-buffer-function variable.
5517 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5518 revert-buffer-function lambda.
5520 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5522 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5523 `gnutls-boot'. Make TYPE the only required parameter.
5524 Allow TRUSTFILES and KEYFILES to be lists.
5525 (open-ssl-stream): Use it.
5527 2010-10-03 Glenn Morris <rgm@gnu.org>
5529 * subr.el (directory-sep-char): Remove obsolete variable.
5530 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5533 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5534 * vc/vc.el (vc-static-header-alist): Doc fix.
5535 * vc/vc-cvs.el (vc-cvs-header):
5536 * vc/vc-rcs.el (vc-rcs-header):
5537 * vc/vc-sccs.el (vc-sccs-header):
5538 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5539 * obsolete/vc-mcvs.el (vc-mcvs-header):
5540 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5543 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5545 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5546 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5548 2010-10-03 Glenn Morris <rgm@gnu.org>
5550 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5552 * textmodes/rst.el (rst-font-lock-keywords-function):
5555 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5557 * printing.el: Drop Emacs 20 code.
5559 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5560 without having used appt.el already).
5562 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5563 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5564 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5566 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5567 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5569 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5570 (charset-width, find-charset-region, chars-in-region, forward-point)
5571 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5572 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5573 Remove compatibility cruft (none of these are used by ps*.el).
5575 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5577 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5579 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5581 * server.el (server-process-filter, server-return-error):
5582 Give emacsclient time to shut down after receiving an error string.
5584 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5586 * files.el (remote-file-name-inhibit-cache): New defcustom.
5588 * time.el (display-time-file-nonempty-p):
5589 Use `remote-file-name-inhibit-cache'.
5591 * net/tramp.el (tramp-completion-reread-directory-timeout):
5594 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5595 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5596 `remote-file-name-inhibit-cache'. Check also for an integer
5597 value. Add/increase counter when `tramp-verbose' >= 10.
5598 (tramp-set-file-property): Add/increase counter when
5599 `tramp-verbose' >= 10.
5601 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5602 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5603 (tramp-bug): Set tramp-autoload cookie. Report all interned
5604 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5605 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5606 characters only in strings.
5608 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5609 to backward compatibility.
5611 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5612 (tramp-handle-file-name-all-completions)
5613 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5614 (tramp-open-connection-setup-interactive-shell):
5615 Call `tramp-cleanup-connection' directly.
5617 2010-10-02 Glenn Morris <rgm@gnu.org>
5619 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5621 * subr.el (char-bytes): Remove obsolete function.
5623 * isearch.el (isearch-return-char): Remove obsolete function.
5625 * mouse.el: No longer provide mldrag.
5626 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5627 Remove obsolete aliases.
5629 * comint.el (comint-kill-output): Remove obsolete alias.
5631 * composite.el (decompose-composite-char): Remove obsolete function.
5632 * ps-def.el (decompose-composite-char): Remove unused function.
5634 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5636 * outline.el (outline-visible): Remove obsolete function.
5638 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5639 * faces.el (internal-find-face, internal-get-face)
5640 (frame-update-faces, frame-update-face-colors)
5641 (x-frob-font-weight, x-frob-font-slant)
5642 (internal-frob-font-weight, internal-frob-font-slant)
5643 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5644 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5645 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5647 * emulation/viper-util.el (viper-get-face):
5648 * obsolete/lucid.el (find-face, get-face): Use facep.
5649 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5650 Remove unused functions.
5651 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5653 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5654 delete tempfile if interrupted during compilation.
5656 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5658 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5660 (tls-program): Add --insecure to be consistent with the defaults from
5661 openssl s_client. Now all three commands are insecure.
5663 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5665 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5666 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5667 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5669 2010-10-01 Glenn Morris <rgm@gnu.org>
5671 * obsolete/sc.el: Remove file.
5673 * files.el (temporary-file-directory): On darwin, also try
5674 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5676 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5678 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5679 Let's not break compatibility gratuitously, shall we?
5681 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5683 * net/tls.el (tls-starttls-switches): New variable.
5684 (tls-find-starttls-argument): Use it.
5685 (open-tls-stream): Ditto.
5687 * net/netrc.el (netrc-credentials): Return the value of the "default"
5689 (netrc-machine): Ditto.
5691 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5693 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5695 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5697 * server.el (server-start): Don't write pid to the authentication file.
5698 (server-create-tty-frame): Don't send pid.
5699 (server-process-filter): Send pid at the start of every connection.
5701 2010-09-30 Glenn Morris <rgm@gnu.org>
5703 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5704 (show-all-diary-entries): Remove obsolete function aliases.
5706 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5707 Remove options, obsolete since 22.1.
5708 (appt-display-format, appt-display-message):
5709 Remove backwards-compatibility code.
5710 (appt-check): No longer check appt-issue-message.
5711 (appt-make-list): No longer autoload it. Doc fix. No longer
5712 activate the package.
5714 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5716 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5717 (starttls-negotiate): Just call boot, and let the handshake be
5718 triggered from the read loop.
5720 2010-09-29 Glenn Morris <rgm@gnu.org>
5722 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5723 not displaying the diary.
5724 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5725 * calendar/appt.el (appt-check): No longer need to kill diary.
5727 * calendar/diary-lib.el (diary-list-entries): Move the
5728 "Preparing..." message entirely here.
5729 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5730 messages to diary-list-entries.
5731 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5732 diary-display-function.
5734 * calendar/diary-lib.el (diary-include-other-diary-files):
5735 Trap some recursive includes.
5737 * calendar/appt.el (appt-activate): Check diary file.
5739 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5741 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5744 * calendar/time-date.el: No need to require cl for Emacs 21.
5746 2010-09-28 Glenn Morris <rgm@gnu.org>
5748 * calendar/appt.el (appt-check): Minor simplification.
5750 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5752 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5755 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5757 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5758 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5760 2010-09-27 Kenichi Handa <handa@m17n.org>
5762 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5765 2010-09-27 Kenichi Handa <handa@m17n.org>
5767 * international/mule.el (define-coding-system): Docstring fixed.
5769 * international/mule-diag.el (describe-character-set): Use princ
5770 with proper print-length and print-level instead of insert.
5772 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5774 * window.el (walk-windows): Doc fix (bug#7105).
5776 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5778 * emacs-lisp/float-sup.el (e): Remove.
5780 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5782 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5784 (starttls-negotiate): Use it.
5786 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5788 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5791 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5793 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5795 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5797 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5799 * net/netrc.el (netrc-store-data): New function.
5801 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5803 * net/gnutls.el: GnuTLS glue code to set up a connection.
5805 2010-09-25 Julien Danjou <julien@danjou.info>
5807 * notifications.el: Call dbus-register-signal only if it is bound.
5809 2010-09-25 Glenn Morris <rgm@gnu.org>
5811 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5812 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5813 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5814 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5815 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5816 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5817 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5818 * eshell/esh-util.el, eshell/esh-var.el:
5819 Remove leading `*' from docs of faces and defcustoms.
5821 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5823 * eshell/em-ls.el (eshell-ls-archive-regexp):
5824 * eshell/esh-util.el (eshell-tar-regexp):
5825 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5826 * info.el (Info-suffix-list):
5827 * international/mule.el (auto-coding-alist):
5828 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5829 * progmodes/etags.el (tags-compression-info-list):
5830 Support xz compression.
5832 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5834 * files.el (get-free-disk-space): Don't assume the "df" output
5835 columns line up (Bug#6995).
5837 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5839 * finder.el (finder-unknown-keywords):
5840 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5841 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5843 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5845 * server.el (server-start): Revert part of 2010-08-08 change. Using
5846 address 127.0.0.1 for local host is now done in Fmake_network_process.
5848 2010-09-24 Glenn Morris <rgm@gnu.org>
5850 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5851 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5852 * textmodes/css-mode.el, textmodes/dns-mode.el:
5853 Move autoloaded auto-mode-alist entries to files.el.
5854 * files.el (auto-mode-alist): Move entries here.
5856 2010-09-23 Glenn Morris <rgm@gnu.org>
5858 * isearch.el (isearch-lazy-highlight-cleanup)
5859 (isearch-lazy-highlight-initial-delay)
5860 (isearch-lazy-highlight-interval)
5861 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5862 * net/net-utils.el (ipconfig-program-options):
5863 Move aliases to options before the associated definitions.
5865 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * newcomment.el (comment-normalize-vars): Better test validity of
5870 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5873 (float-e): New name for `e'.
5874 (degrees-to-radians, radians-to-degrees):
5875 * calendar/solar.el (solar-longitude):
5876 * calculator.el (calculator-registers, calculator-funcall):
5877 * textmodes/artist.el (artist-spray-random-points):
5878 * play/bubbles.el (bubbles--initialize-images): Use new names.
5880 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5882 Update to CEDET 1.0's version of EIEIO.
5884 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5886 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5887 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5888 (class-precedence-list): If class is nil, return nil.
5889 (eieio-generic-call): If class of first input arg is nil, don't
5890 look up static methods, and do check for primary methods.
5891 (initialize-instance): See if the default needs to be evaluated
5892 during the constructor.
5893 (eieio-perform-slot-validation-for-default): Don't do the check
5894 for values that will eventually be evaluated.
5895 (eieio-eval-default-p): New function.
5896 (eieio-default-eval-maybe): Use it.
5898 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5900 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5901 method-invocation-order.
5902 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5903 (eieio-class-precedence-dfs): Compute class precedence list using
5905 (eieio-class-precedence-bfs): Compute class precedence list using
5907 (eieio-class-precedence-c3): Compute class precedence list using
5909 (class-precedence-list): New function.
5910 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5911 (inconsistent-class-hierarchy): New error symbol.
5912 (call-next-method): Stow the replacement argument list for future
5913 call-next-method invocations.
5915 2010-09-23 Glenn Morris <rgm@gnu.org>
5917 * calendar/appt.el (appt-check): If not displaying the diary,
5918 use (diary 1) to only get the entries we need.
5919 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5920 that it is in day order. (Bug#7019)
5922 * calendar/appt.el (appt-check): Rather than showing the diary,
5923 just turn off invisible display, and only if needed.
5925 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5927 2010-09-23 Glenn Morris <rgm@gnu.org>
5929 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5930 (byte-compile-defvar, byte-compile-cl-warn):
5931 Start warnings with lower-case, like the majority.
5933 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5935 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5937 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5938 * files.el (auto-mode-alist): Move ld-script entries here, further down
5941 * vc/add-log.el: Don't require timezone when compiling.
5942 (timezone-make-date-sortable): Autoload it.
5943 (change-log-sortable-date-at): Don't require timezone.
5944 Use `ignore-errors'.
5946 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5947 Move alias before definition, so it does not need autoloading.
5949 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5950 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5951 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5952 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5953 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5954 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5955 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5956 * textmodes/tex-mode.el, textmodes/two-column.el:
5957 Remove leading `*' from docs of defcustoms etc.
5959 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5961 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5963 2010-09-22 Dan Christensen <jdc@uwo.ca>
5965 * calendar/time-date.el (date-to-time): Try using parse-time-string
5966 first before using the slower timezone-make-date-arpa-standard.
5968 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5970 * calendar/time-date.el (format-seconds): Comment fix.
5972 2010-09-22 Glenn Morris <rgm@gnu.org>
5974 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5975 is not automatically buffer-local.
5977 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5980 (smie-indent-comment): Be more careful with comment-start-skip.
5981 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5982 (smie-indent-functions): Use them.
5984 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5986 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5988 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5990 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5991 tool-bar-position. Don't modify frame parameters here.
5992 (menu-bar-options-save): Add tool-bar-position.
5994 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5996 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5998 * textmodes/reftex-parse.el (reftex-what-macro)
5999 (reftex-context-substring): Let-bind forward-sexp-function to nil
6000 since we don't need/want to treat \begin...\end as a block (bug#7053).
6002 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6004 * simple.el (blink-matching-open): Use syntax-class.
6006 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6007 Set invisibility spec for pascal's outline mode.
6008 (pascal-outline-change): Clean up calling convention.
6009 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6011 * progmodes/prolog.el (prolog-smie-forward-token)
6012 (prolog-smie-backward-token): New functions.
6013 (prolog-mode-variables): Use them to parse "!," correctly.
6014 Set up smie-blink-matching for ".".
6016 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6018 (ispell-region, ispell-process-line): Update users.
6020 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6023 * textmodes/ispell.el: Fix commenting convention.
6024 (ispell-parse-output): Simplify, use push.
6025 (ispell-region): Use match-string-no-properties.
6026 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6027 (ispell-minor-mode): Use define-minor-mode.
6028 (ispell-message): Remove unused var `skip-regexp'.
6029 (ispell-add-per-file-word-list): Use dynamic let-binding.
6030 Try and use the proper comment marker.
6032 * mail/sendmail.el: Fix commenting convention.
6033 (sendmail-send-it): Use line-beginning-position.
6035 * help-fns.el (describe-variable): Add original value, if applicable.
6037 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6039 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6041 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6043 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6045 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6046 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6047 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6048 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6049 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6050 something like "." can also be a closer.
6051 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6052 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6053 Rename internal functions to use "--". Update callers.
6055 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6057 * fringe.el (fringe-styles): New var.
6058 (fringe-mode, fringe-query-style): Use it.
6060 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6062 * progmodes/sql.el: Version 2.8
6063 (sql-login-params): Update widget structure; changes still needed.
6064 (sql-product-alist): Add :list-all and :list-table features for
6065 SQLite, Postgres and MySQL products.
6066 (sql-redirect): Handle default value.
6067 (sql-execute, sql-execute-feature): New functions.
6068 (sql-read-table-name): New function.
6069 (sql-list-all, sql-list-table): New functions. User API.
6070 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6071 for above functions.
6072 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6073 for above functions.
6074 (sql-postgres-login-params): Add user and database defaults.
6075 (sql-buffer-live-p): Bug fix.
6076 (sql-product-history): New variable.
6077 (sql-read-product): New function. Use it.
6078 (sql-set-product, sql-product-interactive): Use it.
6079 (sql-connection-history): New variable.
6080 (sql-read-connection): New function. Use it.
6081 (sql-connect): New function.
6082 (sql-for-each-login): Redesign function interface.
6083 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6084 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6085 (sql-comint): Check for program. Existing live buffer.
6086 (sql-comint-postgres): Add port parameter.
6088 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * emacs-lisp/warnings.el: Fix commenting convention.
6091 (display-warning): Use special mode and make the buffer read-only.
6093 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6095 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6096 empty string when it follows a repeated or optional pattern.
6098 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6101 (indent-region): Use indent-according-to-mode.
6103 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6105 * fringe.el (fringe-mode): Doc fix.
6107 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6109 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6110 refreshing the preview buffer.
6112 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6115 (latex-syntax-propertize-rules): New consts; replace
6116 tex-font-lock-syntactic-keywords.
6117 (tex-env-mark, latex-env-before-change): New functions.
6118 (latex-electric-env-pair-mode): New minor mode.
6119 (tex-font-lock-verb): Change arguments; do move point.
6120 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6121 representation as a form of comment.
6122 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6123 (doctex-syntax-propertize-rules): New const; replaces
6124 doctex-font-lock-syntactic-keywords.
6125 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6127 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6128 (fortran-make-syntax-propertize-function): New function; replaces
6129 fortran-font-lock-syntactic-keywords.
6130 (fortran-mode): Use it.
6131 (fortran-line-length): Use it. Improve interactive spec.
6133 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6134 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6135 when adding surrounding \(..\).
6137 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6139 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6141 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6142 Use with-current-buffer.
6144 * isearch.el (isearch-face): Rename from `isearch'.
6145 (isearch-highlight): Use new name.
6147 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6149 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6150 5, for `half' width fringes. (Bug#6933)
6152 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6154 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6155 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6157 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6159 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6161 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6162 in calculating new frame position. Add more space between new and
6163 parent on the left (Bug#7048).
6165 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6167 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6170 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6172 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6174 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6175 obsolete alias for x-selection-value.
6177 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6179 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6181 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6184 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6186 * net/tramp-compat.el (tramp-compat-with-temp-message)
6187 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6188 (tramp-compat-process-put): New defuns.
6190 * net/tramp.el (top):
6191 * net/tramp-gvfs.el (top):
6192 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6194 * net/tramp.el (tramp-progress-reporter-update):
6195 Use `tramp-compat-funcall'.
6197 * net/tramp.el (tramp-process-actions):
6198 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6199 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6200 (tramp-get-remote-stat, tramp-get-remote-readlink):
6201 Use `tramp-compat-with-temp-message'.
6203 * net/tramp-sh.el (top): Require 'cl.
6204 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6205 (tramp-open-connection-setup-interactive-shell):
6206 Use `tramp-compat-process-put'.
6208 2010-09-15 Alan Mackenzie <acm@muc.de>
6210 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6212 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6214 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6216 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6217 `lexical' for warnings related to lexical scoping.
6218 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6219 global vars which don't have a prefix and could hence affect lexical
6220 scoping in unrelated files.
6222 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6224 * net/imap.el: Revert back to version
6225 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6228 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6230 * obsolete/old-whitespace.el (whitespace-unload-function):
6231 Explicitly pass `obarray' to `unintern' to avoid a warning.
6233 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6235 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6236 Add `when' argument. Update callers.
6238 * subr.el (unintern): Declare the obarray arg mandatory.
6240 2010-09-14 Glenn Morris <rgm@gnu.org>
6242 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6245 * calendar/diary-lib.el (diary-included-files): New variable.
6246 (diary-list-entries): Maybe initialize diary-included-files.
6247 (diary-include-other-diary-files): Append to diary-included-files.
6248 * calendar/appt.el (appt-update-list): Also check the members of
6249 diary-included-files. (Bug#6999)
6250 (appt-check): Doc fix.
6252 2010-09-14 David Reitter <david.reitter@gmail.com>
6254 * simple.el (line-move-visual): Do not truncate goal column to
6255 integer size. (Bug#7020)
6257 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * repeat.el (repeat): Allow repeating when the last event is a click.
6260 Suggested by Drew Adams (bug#6256).
6262 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6264 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6265 Replace setting HGRCPATH to "" by some less invasive --config options.
6267 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * font-lock.el (font-lock-beginning-of-syntax-function):
6272 2010-09-14 Glenn Morris <rgm@gnu.org>
6274 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6275 and tool-bar modes. (Bug#6211)
6276 (menu-bar-mode): Move setting of standard-value after the
6277 minor-mode definition, otherwise it seems to have no effect.
6279 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6281 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6282 Fix typo. (Bug#6976)
6284 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6286 * whitespace.el: Allow cleaning up blanks without blank
6287 visualization (Bug#6651). Adjust help window for
6288 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6289 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6290 (whitespace-style): Add new value 'face. Adjust docstring.
6291 (whitespace-space, whitespace-hspace, whitespace-tab):
6292 Adjust foreground property face.
6293 (whitespace-line-column): Adjust docstring and type declaration.
6294 (whitespace-style-value-list, whitespace-toggle-option-alist)
6295 (whitespace-help-text): Adjust const initialization.
6296 (whitespace-toggle-options, global-whitespace-toggle-options):
6298 (whitespace-display-window, whitespace-interactive-char)
6299 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6300 (whitespace-help-scroll): New fun.
6302 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6304 * calendar/time-date.el (format-seconds): Comment fix.
6306 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6308 * progmodes/sql.el: Version 2.7.
6309 (sql-buffer-live-p): Improve detection.
6310 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6311 (sql-set-sqli-buffer): Use it.
6312 (sql-product-interactive): Run `sql-set-sqli-hook'.
6313 (sql-rename-buffer): Code cleanup.
6314 (sql-redirect, sql-redirect-value): New functions. More to come.
6316 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6318 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.
6319 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6320 (TRAMP_SRC): New macro.
6321 ($(lisp)/net/tramp-loaddefs.el): New target.
6323 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6325 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6327 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6329 * net/tramp.el (top): Don't show loading message. Require just
6330 'tramp-compat, everything else is required there.
6331 Use `ignore-errors' where appropriate.
6332 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6333 (tramp-terminal-type, tramp-end-of-output)
6334 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6335 (tramp-completion-function-alist-ssh)
6336 (tramp-completion-function-alist-telnet)
6337 (tramp-completion-function-alist-su)
6338 (tramp-completion-function-alist-putty, tramp-remote-path)
6339 (tramp-remote-process-environment, tramp-sh-extra-args)
6340 (tramp-actions-before-shell, tramp-uudecode)
6341 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6342 (tramp-perl-file-attributes)
6343 (tramp-perl-directory-files-and-attributes)
6344 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6345 (tramp-perl-encode, tramp-perl-decode)
6346 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6347 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6348 (tramp-handle-make-symbolic-link, tramp-handle-load)
6349 (tramp-handle-file-name-as-directory)
6350 (tramp-handle-file-name-directory)
6351 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6352 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6353 (tramp-do-file-attributes-with-ls)
6354 (tramp-do-file-attributes-with-perl)
6355 (tramp-do-file-attributes-with-stat)
6356 (tramp-handle-set-visited-file-modtime)
6357 (tramp-handle-verify-visited-file-modtime)
6358 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6359 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6360 (tramp-handle-file-selinux-context)
6361 (tramp-handle-set-file-selinux-context)
6362 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6363 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6364 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6365 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6366 (tramp-handle-file-ownership-preserved-p)
6367 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6368 (tramp-handle-directory-files-and-attributes)
6369 (tramp-do-directory-files-and-attributes-with-perl)
6370 (tramp-do-directory-files-and-attributes-with-stat)
6371 (tramp-handle-file-name-all-completions)
6372 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6373 (tramp-handle-copy-file, tramp-handle-copy-directory)
6374 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6375 (tramp-do-copy-or-rename-file-via-buffer)
6376 (tramp-do-copy-or-rename-file-directly)
6377 (tramp-do-copy-or-rename-file-out-of-band)
6378 (tramp-handle-make-directory, tramp-handle-delete-directory)
6379 (tramp-handle-delete-file)
6380 (tramp-handle-dired-recursive-delete-directory)
6381 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6382 (tramp-handle-insert-directory)
6383 (tramp-handle-unhandled-file-name-directory)
6384 (tramp-handle-expand-file-name)
6385 (tramp-handle-substitute-in-file-name)
6386 (tramp-handle-executable-find, tramp-process-sentinel)
6387 (tramp-handle-start-file-process, tramp-handle-process-file)
6388 (tramp-handle-call-process-region, tramp-handle-shell-command)
6389 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6390 (tramp-handle-insert-file-contents)
6391 (tramp-handle-insert-file-contents-literally)
6392 (tramp-handle-find-backup-file-name)
6393 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6394 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6395 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6396 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6397 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6398 (tramp-find-file-exists-command, tramp-open-shell)
6399 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6400 (tramp-open-connection-setup-interactive-shell)
6401 (tramp-local-coding-commands, tramp-remote-coding-commands)
6402 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6403 (tramp-inline-compress-commands, tramp-find-inline-compress)
6404 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6405 (tramp-send-command, tramp-wait-for-output)
6406 (tramp-send-command-and-check, tramp-barf-unless-okay)
6407 (tramp-send-command-and-read, tramp-mode-string-to-int)
6408 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6409 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6410 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6411 (tramp-method-out-of-band-p, tramp-local-host-p)
6412 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6413 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6414 (tramp-get-test-command, tramp-get-test-nt-command)
6415 (tramp-get-file-exists-command, tramp-get-remote-ln)
6416 (tramp-get-remote-perl, tramp-get-remote-stat)
6417 (tramp-get-remote-readlink, tramp-get-remote-trash)
6418 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6419 (tramp-get-local-uid, tramp-get-local-gid)
6420 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6422 (tramp-methods, tramp-default-method-alist)
6423 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6424 Move initialization to tramp-sh.el.
6425 (tramp-temp-name-prefix): Make it a defconst.
6426 (tramp-dissect-file-name): Don't check anymore for multi-hop
6428 (tramp-debug-outline-regexp): Add a docstring.
6429 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6430 (tramp-get-debug-buffer): Use it.
6432 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6433 initialization forms.
6434 (tramp-set-connection-property): Don't protect `tramp-message'
6435 call, it isn't necessary any longer.
6436 (tramp-dump-connection-properties): Use `ignore-errors'.
6438 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6439 'password-cache and 'auth-source.
6441 * net/tramp-gvfs.el (top):
6442 * net/tramp-smb.el (top): Require 'tramp-sh.
6444 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6446 * net/tramp-sh.el: New file, derived from tramp.el.
6447 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6448 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6449 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6450 Use `ignore-errors' where appropriate.
6451 (tramp-sh-file-name-handler-alist): Rename from
6452 `tramp-file-name-handler-alist'.
6453 (tramp-send-command-and-check): Return t or nil. Remove all
6454 `zerop' checks, where called.
6455 (tramp-handle-set-file-modes)
6456 (tramp-do-copy-or-rename-file-directly)
6457 (tramp-handle-delete-directory, tramp-handle-delete-file)
6458 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6459 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6460 (tramp-get-remote-ln): Set tramp-autoload cookie.
6462 * net/tramp-fish.el: Remove file.
6464 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6466 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6467 buffer-file-name to avoid file-locking. (Bug#7026)
6469 2010-09-13 Julien Danjou <julien@danjou.info>
6471 * notifications.el (notifications-notify): Add support for
6472 image-path and sound-name.
6473 (notifications-specification-version): Add this variable.
6475 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6479 2010-09-12 Leo <sdl.web@gmail.com>
6481 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6482 (rcirc-completion-start): New variables.
6483 (rcirc-nick-completions): Rename to rcirc-completions.
6484 (rcirc-nick-completion-start-offset): Delete.
6485 (rcirc-completion-at-point): New function for constructing
6486 completion data for both nicks and irc commands. Add to
6487 completion-at-point-functions in rcirc mode.
6488 (rcirc-complete): Rename from rcirc-nick-complete; use
6489 rcirc-completion-at-point.
6490 (defun-rcirc-command): Update rcirc-client-commands.
6492 2010-09-11 Glenn Morris <rgm@gnu.org>
6494 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6495 atomically, to avoid parallel build errors. (Bug#4196)
6497 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6499 * progmodes/sql.el: Version 2.6
6500 (sql-dialect): Synonym for "sql-product".
6501 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6502 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6503 Set "sql-buffer" to buffer name not buffer object so multiple sql
6504 interactive buffers work properly. Reverts misguided changes in
6506 (sql-comint): Make sure different buffer name is used if "*SQL*"
6507 buffer is for a different product.
6508 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6510 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6511 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6512 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6513 Accept new buffer name or prompt for one.
6514 (sql-port): Default to zero.
6515 (sql-comint-mysql): Handle "sql-port" as a numeric.
6516 (sql-port-history): Delete unused variable.
6517 (sql-get-login): Default "sql-port" to a number.
6518 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6519 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6520 "sqlite3" executables.
6521 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6522 (sql-buffer-live-p): New function.
6523 (sql-mode-menu, sql-send-string): Use it.
6524 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6526 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6527 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6529 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6531 * net/netrc.el (netrc-credentials): New convenience function.
6533 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6536 to replace texinfo-font-lock-syntactic-keywords.
6537 (texinfo-mode): Use it.
6539 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6540 Use syntax-propertize-function.
6542 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6543 replace sgml-font-lock-syntactic-keywords.
6544 (sgml-mode): Use it.
6546 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6547 since we don't use it.
6549 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6551 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6553 (vhdl-fontify-buffer): Adjust.
6555 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6556 replace tcl-font-lock-syntactic-keywords.
6559 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6560 replace simula-font-lock-syntactic-keywords.
6561 (simula-mode): Use it.
6563 * progmodes/sh-script.el (sh-st-symbol): Remove.
6564 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6565 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6566 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6567 (sh-font-lock-paren): Set syntax-multiline.
6568 (sh-font-lock-syntactic-keywords): Remove.
6569 (sh-syntax-propertize-function): New function to replace it.
6572 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6573 Define while compiling.
6574 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6575 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6576 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6577 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6578 (ruby-here-doc-end-syntax): Only define when
6579 syntax-propertize is not available.
6580 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6582 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6583 (electric-indent-chars): Silence bytecompiler.
6584 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6585 electric-indent-chars.
6587 * progmodes/python.el (python-syntax-propertize-function): New var to
6588 replace python-font-lock-syntactic-keywords.
6589 (python-mode): Use it.
6590 (python-quote-syntax): Simplify and adjust to new use.
6592 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6593 replace perl-font-lock-syntactic-keywords.
6594 (perl-syntax-propertize-special-constructs): New fun to replace
6595 perl-font-lock-special-syntactic-constructs.
6596 (perl-font-lock-syntactic-face-function): New fun.
6597 (perl-mode): Use it.
6599 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6600 to replace octave-font-lock-close-quotes.
6601 (octave-syntax-propertize-function): New function to replace
6602 octave-font-lock-syntactic-keywords.
6603 (octave-mode): Use it.
6605 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6606 replaces mixal-font-lock-syntactic-keywords.
6607 (mixal-mode): Use it.
6609 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6610 New var; replaces makefile-font-lock-syntactic-keywords.
6611 (makefile-mode): Use it.
6612 (makefile-imake-mode): Adjust.
6614 * progmodes/js.el (js--regexp-literal): Define while compiling.
6615 (js-syntax-propertize-function): New var; replaces
6616 js-font-lock-syntactic-keywords.
6619 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6620 replaces gdb-script-font-lock-syntactic-keywords.
6621 (gdb-script-mode): Use it.
6623 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6624 (fortran--font-lock-syntactic-keywords): New var.
6625 (fortran-line-length): Update syntax-propertize-function and
6626 fortran--font-lock-syntactic-keywords.
6628 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6630 * progmodes/cfengine.el (cfengine-mode):
6631 Use syntax-propertize-function.
6632 (cfengine-font-lock-syntactic-keywords): Remove.
6634 * progmodes/autoconf.el (autoconf-mode):
6635 Use syntax-propertize-function.
6636 (autoconf-font-lock-syntactic-keywords): Remove.
6638 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6639 (ada-after-change-function, ada-initialize-syntax-table-properties)
6640 (ada-handle-syntax-table-properties): Only define when
6641 syntax-propertize is not available.
6642 (ada-mode): Use syntax-propertize-function.
6644 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6645 (font-lock-fontify-syntactic-keywords-region): Move handling of
6646 font-lock-syntactically-fontified to...
6647 (font-lock-default-fontify-region): ...here.
6648 Let syntax-propertize-function take precedence.
6649 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6651 * emacs-lisp/syntax.el (syntax-propertize-function)
6652 (syntax-propertize-chunk-size, syntax-propertize--done)
6653 (syntax-propertize-extend-region-functions): New vars.
6654 (syntax-propertize-wholelines, syntax-propertize-multiline)
6655 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6656 (syntax-propertize): New functions.
6657 (syntax-propertize-rules): New macro.
6658 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6659 (syntax-ppss): Call syntax-propertize.
6661 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6663 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6665 * textmodes/ispell.el (ispell-init-process): Improve comments.
6666 XEmacs compatibility changes regarding (add-hook) 'local option
6667 and (set-process-query-on-exit-flag).
6669 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6671 * net/tramp-cache.el (tramp-parse-connection-properties):
6672 Set tramp-autoload cookie.
6674 2010-09-09 Glenn Morris <rgm@gnu.org>
6676 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6677 (imagemagick-register-types): Doc fix.
6679 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6681 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6683 * progmodes/js.el (require): Require is already "eval-and-compile".
6684 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6685 (js--re-search-backward): Use js--re-search-forward.
6687 * progmodes/fortran.el (fortran-line-length): Don't recompute
6688 syntactic keywords redundantly a second time.
6690 * progmodes/ada-mode.el: Replace "(set '" with setq.
6691 (ada-mode): Simplify.
6692 (ada-create-case-exception, ada-adjust-case-interactive)
6693 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6694 (ada-search-ignore-string-comment, ada-move-to-start)
6695 (ada-move-to-end): Use with-syntax-table.
6697 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6698 (font-lock-unfontify-region, font-lock-default-fontify-region):
6699 Update usage correspondingly.
6700 (font-lock-fontify-syntactic-keywords-region):
6701 Set parse-sexp-lookup-properties buffer-locally here.
6702 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6704 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6706 2010-09-08 Glenn Morris <rgm@gnu.org>
6708 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6709 Error if not compiled with -DBYTE_CODE_METER.
6711 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6712 Ignore dir-locals-file.
6714 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6718 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6719 for the `gnu' messages.
6720 (compilation-set-skip-threshold): New command.
6721 (compilation-start): Use \' rather than $.
6722 (compilation-forget-errors): Use clrhash.
6724 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6726 * textmodes/ispell.el (ispell-valid-dictionary-list):
6729 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6731 Migrate to Tramp 2.2. Rearrange load dependencies.
6732 (Bug#1529, Bug#5448, Bug#5705)
6734 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6735 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6736 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6738 * net/tramp.el (top): Remove all other tramp-* loads except
6739 tramp-compat.el. Remove all changes to tramp-unload-hook for
6740 other tramp-* packages. Rearrange defun order. Change calls of
6741 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6742 `tramp-compat-octal-to-decimal' to new function names.
6743 (tramp-terminal-type, tramp-initial-end-of-output)
6744 (tramp-methods, tramp-foreign-file-name-handler-alist)
6745 (tramp-tramp-file-p, tramp-completion-mode-p)
6746 (tramp-send-command-and-check, tramp-get-remote-path)
6747 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6748 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6749 (with-file-property, with-connection-property): Move to
6751 (tramp-local-call-process, tramp-decimal-to-octal)
6752 (tramp-octal-to-decimal): Move to tramp-compat.el.
6753 (tramp-handle-shell-command): Do not require 'shell.
6754 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6756 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6758 * net/tramp-cache.el (top): Require 'tramp. Add to
6759 `tramp-unload-hook'.
6760 (tramp-cache-data, tramp-get-file-property)
6761 (tramp-set-file-property, tramp-flush-file-property)
6762 (tramp-flush-directory-property, tramp-get-connection-property)
6763 (tramp-set-connection-property, tramp-flush-connection-property)
6764 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6766 (with-file-property, with-connection-property): New defuns, moved
6768 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6771 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6772 (tramp-version): Set tramp-autoload cookie.
6774 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6775 changes to tramp-unload-hook for other tramp-* packages. Add to
6776 `tramp-unload-hook'.
6777 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6778 (tramp-compat-call-process): New defuns, moved from tramp.el.
6780 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6781 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6782 Add to `tramp-unload-hook'. Change call of
6783 `tramp-compat-decimal-to-octal' to new function name.
6784 (tramp-fish-method): Make it a defconst.
6785 (tramp-fish-file-name-p): Make it a defsubst.
6786 (tramp-fish-method, tramp-fish-file-name-handler)
6787 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6789 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6790 `tramp-foreign-file-name-handler-alist'. Add to
6791 `tramp-unload-hook'.
6792 (tramp-ftp-method): Make it a defconst.
6793 (tramp-ftp-file-name-p): Make it a defsubst.
6794 (tramp-ftp-method, tramp-ftp-file-name-handler)
6795 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6797 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6798 `tramp-foreign-file-name-handler-alist'. Add to
6799 `tramp-unload-hook'. Change checks, whether package can be
6801 (tramp-gvfs-file-name-p): Make it a defsubst.
6802 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6803 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6804 (tramp-gvfs-handle-file-directory-p): New defun.
6805 (tramp-gvfs-file-name-handler-alist): Use it.
6807 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6808 `tramp-foreign-file-name-handler-alist'. Add to
6809 `tramp-unload-hook'.
6810 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6811 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6813 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6814 (tramp-gw-open-connection): Set tramp-autoload cookie.
6816 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6817 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6818 Add to `tramp-unload-hook'. Change checks, whether package can be
6820 (tramp-imap-file-name-p): Make it a defsubst.
6821 (tramp-imap-method, tramp-imaps-method)
6822 (tramp-imap-file-name-handler)
6823 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6825 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6826 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6827 Add to `tramp-unload-hook'. Change checks, whether package can be
6828 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6830 (tramp-smb-tunnel-method): Make it a defconst.
6831 (tramp-smb-file-name-p): Make it a defsubst.
6832 (tramp-smb-method, tramp-smb-file-name-handler)
6833 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6835 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6836 (tramp-uuencode-region): Set tramp-autoload cookie.
6838 * net/trampver.el (top) Add to `tramp-unload-hook'.
6839 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6840 cookie. Update release number.
6842 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6844 * textmodes/ispell.el (ispell-start-process): Make sure original
6845 arg list is properly initialized (Bug#6993, Bug#6994).
6847 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6849 * files.el (directory-abbrev-alist): Use \` as default regexp.
6851 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6852 chars like - or ] (bug#6984).
6853 (rx-any-condense-range): Explode 2-char ranges.
6855 2010-09-06 Glenn Morris <rgm@gnu.org>
6857 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6859 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * textmodes/bibtex.el:
6862 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6864 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6866 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6867 since no callers use it.
6868 (imap-message-get): Ditto.
6869 (imap-message-put): Ditto.
6870 (imap-mailbox-map): Ditto.
6871 (imap-mailbox-put): Ditto.
6872 (imap-mailbox-get): Ditto.
6873 (imap-mailbox-get): Revert last change for this function.
6875 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6877 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6878 callers to use `imap-fetch' instead. According to the comments, this
6879 should be safe, since all other IMAP clients use the 1:* syntax.
6880 (imap-enable-exchange-bug-workaround): Remove.
6881 (imap-debug): Remove -- doesn't seem very useful.
6883 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6885 * net/imap.el (imap-log): New convenience function used throughout
6886 instead of repeating the same code all over the place.
6888 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6890 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6891 when mouse-drag-copy-region is non-nil (Bug#6956).
6893 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6895 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6896 Improve regexps (Bug#6987).
6897 (dired-sort-toggle): Search more robustly for -t flag.
6899 * files.el (get-free-disk-space): Search more robustly for
6900 "available" column. Suggested by Ehud Karni
6901 <ehud@unix.mvs.co.il>.
6903 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6905 * international/uni-bidi.el:
6906 * international/uni-category.el:
6907 * international/uni-combining.el:
6908 * international/uni-decimal.el:
6909 * international/uni-mirrored.el:
6910 * international/uni-name.el: Regenerate.
6912 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6914 * electric.el (electric-indent-post-self-insert-function):
6915 Don't reindent with a sloppy indentation function.
6917 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6918 border case in change-log-mode.
6920 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6923 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6924 Recognize leading tab in gcc-include regexp. Ignore names with
6925 leading "from" or "in" in gnu regexp (Bug#6937).
6927 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6929 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6930 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6931 (ispell-start-process): Avoid setq and simplify logic.
6932 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6933 (kill-buffer-hook): Don't use it globally with code that uses
6934 expand-file-name since that may call kill-buffer via
6935 code_conversion_restore.
6937 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6939 * emacs-lisp/package.el (package-directory-list): Only call
6940 file-name-nondirectory on a string.
6942 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6944 * emacs-lisp/package.el (package--download-one-archive):
6945 Ensure that archive-contents is valid before saving it.
6946 (package-activate-1, package-mark-obsolete, define-package)
6947 (package-compute-transaction, package-list-maybe-add): Use push.
6949 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6951 Use SMIE's blink-paren for octave-mode.
6952 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6953 Backslashes do not escape single-quotes, single-quotes do.
6954 (octave-block-else-regexp, octave-block-end-regexp)
6955 (octave-block-match-alist): Remove.
6956 (octave-smie-bnf-table): New var, with old content.
6957 (octave-smie-op-levels): Use it.
6958 (octave-smie-closer-alist): New var.
6959 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6960 (octave-blink-matching-block-open): Remove.
6961 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6962 (octave-electric-space): Let self-insert-command run expand-abbrev and
6965 * electric.el (electricity): New group.
6966 (electric-indent-chars): New var.
6967 (electric-indent-post-self-insert-function): New fun.
6968 (electric-indent-mode): New minor mode.
6969 (electric-pair-skip-self): New custom.
6970 (electric-pair-post-self-insert-function): New function.
6971 (electric-pair-mode): New minor mode.
6973 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6974 calcAlg-blink-matching-open.
6975 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6976 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6977 Use the new blink-matching-check-function.
6979 Provide blink-matching support to SMIE.
6980 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6981 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6982 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6984 * simple.el (newline): Fix last change to properly remove itself from
6987 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * simple.el (newline): Eliminate optimization.
6990 Use post-self-insert-hook to set hard-newline and things before
6991 running post-self-insert-hook.
6992 (blink-matching-check-mismatch): New function.
6993 (blink-matching-check-function): New variable.
6994 (blink-matching-open): Use them.
6995 Skip back forward over prefix chars skipped by forward-sexp.
6996 Don't check if the parens are backslash escaped.
6997 (blink-paren-post-self-insert-function): Check backslash escaping here.
6999 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7001 * emacs-lisp/package.el (package-menu-mode-map):
7002 Change package-menu-revert bindings to revert-buffer.
7003 (package-menu-mode): Set revert-buffer-function.
7004 (package-menu-revert): Doc fix.
7006 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7008 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7009 `default-directory' unless using Ispell per-directory personal
7010 dictionaries and not in a mini-buffer under XEmacs.
7011 (kill-buffer-hook): Do not kill ispell process on exit when
7012 `ispell-process-directory' is "~/". (Bug#6143)
7014 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7016 * simple.el (kill-new): Call interprogram-cut-function with only
7019 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7020 Remove cut buffer from error message.
7022 * term/x-win.el (x-select-text):
7023 * term/pc-win.el (x-selection-value):
7024 * term/ns-win.el (x-selection-value):
7025 * eshell/em-term.el:
7026 * w32-fns.el (x-get-selection-value):
7027 * mouse-sel.el (mouse-sel-set-selection-function):
7028 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7030 * term/x-win.el: Update documentation for x-last-selected-text-*.
7031 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7032 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7033 (x-select-text): Remove argument PUSH, update documentation.
7034 Remove cut-buffer code.
7035 (x-selection-value-internal): Was previously x-selection-value.
7036 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7037 Update documentation, remove cut-buffer code.
7038 Call x-selection-value-internal.
7039 (x-clipboard-yank): Call x-selection-value-internal.
7040 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7042 * term/pc-win.el (x-last-selected-text):
7043 x-cut-buffer-or-selection-value renamed to x-selection-value
7044 (x-select-text): Remove argument PUSH, update documentation.
7046 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7047 x-cut-buffer-or-selection-value renamed to x-selection-value
7048 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7049 (x-select-text): Remove argument PUSH, update documentation.
7051 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7053 * w32-fns.el (x-last-selected-text):
7054 x-cut-buffer-or-selection-value renamed to x-selection-value.
7055 (x-cut-buffer-max): Remove.
7056 (x-select-text): Remove argument PUSH, update documentation.
7058 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7060 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7062 * mouse-sel.el (mouse-sel-get-selection-function):
7063 x-cut-buffer-or-selection-value renamed to x-selection-value.
7064 (x-select-text): Remove optional push.
7066 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * simple.el (blink-paren-function): Move from C to here.
7069 (blink-paren-post-self-insert-function): New function.
7070 (post-self-insert-hook): Use it.
7072 * emacs-lisp/pcase.el (pcase-split-memq):
7073 Fix overenthusiastic optimisation.
7074 (pcase-u1): Handle the case of a lambda pred.
7076 2010-08-31 Kenichi Handa <handa@m17n.org>
7078 * international/mule-cmds.el (standard-display-european-internal):
7079 Setup standard-display-table for 8-bit characters by storing 8-bit
7080 characters in the element vector.
7082 * disp-table.el (standard-display-8bit):
7083 Setup standard-display-table for 8-bit characters by storing 8-bit
7084 characters in the element vector.
7085 (standard-display-european): Likewise.
7087 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7089 * textmodes/nroff-mode.el (nroff-view): New command.
7090 (nroff-mode-map): Bind it to C-c C-c.
7092 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7094 * emacs-lisp/smie.el (smie-down-list): New command.
7096 Remove old indentation and navigation code on octave-mode.
7097 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7098 smie-down-list rather than add a binding for octave-down-block.
7099 (octave-mark-block, octave-blink-matching-block-open):
7100 Rely on forward-sexp-function.
7101 (octave-fill-paragraph): Don't narrow, so you can use
7102 indent-according-to-mode.
7103 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7104 (octave-in-block-p, octave-re-search-forward-kw)
7105 (octave-re-search-backward-kw, octave-indent-calculate)
7106 (octave-end-as-array-index-p, octave-block-end-offset)
7107 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7108 (octave-down-block, octave-backward-up-block, octave-up-block)
7109 (octave-before-magic-comment-p, octave-indent-line): Remove.
7111 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7113 * emacs-lisp/package.el (package--read-archive-file): Just use
7114 `read', to avoid copying an additional string.
7115 (package-menu-mode): Set header-line-format here.
7116 (package-menu-refresh, package-menu-revert): Signal an error if
7117 not in the Package Menu.
7118 (package-menu-package-list): New var.
7119 (package--generate-package-list): Operate on the current buffer;
7120 don't assume that it is *Packages*, since the user may rename it.
7121 Allow persistent package listings and sort keys using
7122 package-menu-package-list and package-menu-package-sort-key.
7123 (package-menu--version-predicate): Fix version calculation.
7124 (package-menu-sort-by-column): Don't select the window.
7125 (package--list-packages): Create the *Packages* buffer.
7126 Set package-menu-package-list-key.
7127 (list-packages): Sorting by status is now the default.
7128 (package-buffer-info): Use match-string-no-properties.
7129 (define-package): Add a &rest argument for future proofing, but
7131 (package-install-from-buffer, package-install-buffer-internal):
7132 Merge into a single function, package-install-from-buffer.
7133 (package-install-file): Change caller.
7135 * finder.el: Load finder-inf using `require'.
7136 (finder-list-matches): Sorting by status is now the default.
7137 (finder-compile-keywords): Simpify printing.
7139 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7142 (octave-mode-map): Remove special bindings for forward/backward-block
7143 and octave-backward-up-block. Use smie-close-block.
7144 (octave-continuation-marker-regexp): New var.
7145 (octave-continuation-regexp): Use it.
7146 (octave-operator-table, octave-smie-op-levels)
7147 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7148 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7149 (octave-mode): Use SMIE.
7150 (octave-close-block): Delete.
7152 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7154 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7155 CLIPBOARD, not in PRIMARY. (Bug#6944)
7157 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7159 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7161 (smie-indent-column): Allow indirection through variables.
7163 * composite.el (save-buffer-state): Delete, unused.
7164 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7165 (font-lock-default-fontify-region): Use with-syntax-table.
7166 * jit-lock.el (with-buffer-unmodified): Remove.
7167 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7169 Use `declare' in defmacros.
7170 * window.el (save-selected-window):
7171 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7172 * progmodes/python.el (def-python-skeleton):
7173 * net/dbus.el (dbus-ignore-errors):
7174 * jka-cmpr-hook.el (with-auto-compression-mode):
7175 * international/mule.el (with-category-table):
7176 * emacs-lisp/timer.el (with-timeout):
7177 * emacs-lisp/lisp-mnt.el (lm-with-file):
7178 * emacs-lisp/eieio.el (with-slots):
7179 * emacs-lisp/easymenu.el (easy-menu-define):
7180 * emacs-lisp/debug.el (debugger-env-macro):
7181 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7182 (Multiple-value-call, Multiple-value-prog1):
7183 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7184 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7185 edebug rule to definition.
7186 * emacs-lisp/lisp-mode.el (save-selected-window)
7187 (with-current-buffer, combine-after-change-calls)
7188 (with-output-to-string, with-temp-file, with-temp-buffer)
7189 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7190 (dolist, dotimes, when, unless):
7191 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7193 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7195 * finder.el: Require `package'.
7196 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7197 (finder-package-info): Var deleted.
7198 (finder-keywords-hash, finder--builtins-alist): New vars.
7199 (finder-compile-keywords): Compute package--builtins and
7200 finder-keywords-hash instead of finder-keywords-hash, respecting
7201 the "Package" header.
7202 (finder-unknown-keywords, finder-list-matches):
7203 Use finder-keywords-hash and package--list-packages.
7204 (finder-mode): Don't set font-lock-defaults.
7205 (finder-exit): We don't use "*Finder-package*" and "*Finder
7206 Category*" buffers anymore.
7208 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7209 (package--builtins): Set default value to nil.
7210 (package-initialize): Load precomputed value of package--builtins
7212 (package-alist, package-compute-transaction)
7213 (package-download-transaction): Improve docstring.
7214 (package-read-all-archive-contents): Do not change
7215 package--builtins here.
7216 (list-packages): Make package-list-packages an alias for this.
7217 Sort by status by default.
7218 (package--list-packages): Add optional PACKAGES arg.
7219 (describe-package-1): Use font-lock-face property. For built-in
7220 packages, insert file commentary.
7221 (package--generate-package-list): Rename from
7222 package-list-packages-internal; all callers changed. Add optional
7223 PACKAGES arg. Add alphabetical sort fallbacks.
7224 (package-menu--version-predicate, package-menu--status-predicate)
7225 (package-menu--description-predicate)
7226 (package-menu--name-predicate): New functions.
7228 * info.el (Info-finder-find-node): Search package-alist instead of
7229 finder-package-info.
7231 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7233 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7235 (version-to-list): Handle versions like "10.3d".
7237 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7240 (macroexp-accumulate): Use `declare'.
7242 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7244 * whitespace.el (whitespace-style): Adjust type declaration.
7246 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7248 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7249 empty argument to gvfs-copy.
7251 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7253 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7254 handle new TRASH arg of `delete-file'.
7256 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7258 * net/tramp.el (tramp-handle-insert-directory): Don't use
7259 `forward-word', its default syntax could be changed.
7261 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7262 Michael Albinus <michael.albinus@gmx.de>
7264 Implement compression for inline methods.
7266 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7267 (tramp-copy-size-limit): Allow also nil.
7268 (tramp-inline-compress-commands): New defconst.
7269 (tramp-find-inline-compress, tramp-get-inline-compress)
7270 (tramp-get-inline-coding): New defuns.
7271 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7272 replaced by `tramp-get-inline-coding'.
7273 (tramp-handle-file-local-copy, tramp-handle-write-region)
7274 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7276 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7278 Detect ssh 'ControlMaster' argument automatically in some cases.
7280 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7281 (tramp-default-method): Use it.
7283 2010-08-26 Karel Klíč <kklic@redhat.com>
7285 * net/tramp.el (tramp-file-name-for-operation):
7286 Add file-selinux-context.
7288 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7290 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7292 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7294 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7297 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7299 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7300 (js-paren-indent-offset, js-square-indent-offset)
7301 (js-curly-indent-offset): New options.
7302 (js--proper-indentation): Use them.
7304 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7306 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7307 instead of inspecting font-lock properties (Bug#6916).
7309 2010-08-26 David Reitter <david.reitter@gmail.com>
7311 * server.el (server-visit-files): Run pre-command-hook and
7312 post-command-hook for each buffer while it is current (Bug#6910).
7313 (server-execute): Do not run hooks here.
7315 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7317 Sync with Tramp 2.1.19.
7319 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7320 (tramp-reporter-dump-variable, tramp-load-report-modules)
7321 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7322 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7324 * net/tramp-compat.el (top): Do not autoload
7325 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7326 only when `start-file-process' is not bound.
7327 (byte-compile-not-obsolete-vars): Define if not bound.
7328 (tramp-compat-funcall): New defmacro.
7329 (tramp-compat-line-beginning-position)
7330 (tramp-compat-line-end-position)
7331 (tramp-compat-temporary-file-directory)
7332 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7333 (tramp-compat-copy-file, tramp-compat-copy-directory)
7334 (tramp-compat-delete-file, tramp-compat-delete-directory)
7335 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7337 (tramp-advice-file-expand-wildcards): Do not use
7338 `tramp-handle-file-remote-p'.
7339 (tramp-compat-make-temp-file): Simplify fallback implementation.
7340 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7341 (tramp-compat-copy-tree): Remove function.
7342 (tramp-compat-delete-file): New defun.
7343 (tramp-compat-delete-directory): Provide implementation for older
7345 (tramp-compat-file-attributes): Handle only
7346 `wrong-number-of-arguments' error.
7348 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7349 Add PRESERVE_SELINUX_CONTEXT.
7350 (tramp-fish-handle-delete-file): Add TRASH arg.
7351 (tramp-fish-handle-directory-files-and-attributes):
7352 Do not use `tramp-fish-handle-file-attributes.
7353 (tramp-fish-handle-file-local-copy)
7354 (tramp-fish-handle-insert-file-contents)
7355 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7357 * net/tramp-gvfs.el (top): Require url-util.
7358 (tramp-gvfs-mount-point): Remove.
7359 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7360 and `set-file-selinux-context'.
7361 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7362 (tramp-gvfs-handle-file-selinux-context)
7363 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7364 (with-tramp-dbus-call-method): Format trace message.
7365 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7366 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7367 Implement backup call, when operation on local files fails.
7368 Use progress reporter. Flush properties of changed files.
7369 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7370 Use `tramp-compat-delete-file'.
7371 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7372 (tramp-gvfs-handle-make-directory): Make more traces.
7373 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7374 (tramp-gvfs-url-file-name): Hexify file name in url.
7375 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7376 into account for the resulting file name.
7377 (tramp-gvfs-handler-askquestion): Preserve current message, in
7378 order to let progress reporter continue afterwards. (Bug#6257)
7379 Return dummy mountpoint, when the answer is "no".
7380 See `tramp-gvfs-maybe-open-connection'.
7381 (tramp-gvfs-handler-mounted-unmounted)
7382 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7383 attribute "default_location". Set "prefix" property.
7384 Handle default-location.
7385 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7386 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7387 exists. Raise an error, if not (due to a corresponding answer
7388 "no" in interactive questions, for example).
7389 Use `tramp-compat-funcall'.
7391 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7392 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7393 (tramp-imap-do-copy-or-rename-file)
7394 (tramp-imap-handle-insert-file-contents)
7395 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7396 (tramp-imap-handle-delete-file): Add TRASH arg.
7398 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7399 Add PRESERVE-SELINUX-CONTEXT.
7400 (tramp-smb-handle-copy-file)
7401 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7402 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7403 Use `with-progress-reporter'.
7404 (tramp-smb-handle-delete-file): Add TRASH arg.
7406 * net/tramp.el (tramp-methods): Move hostname to the end in all
7407 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7409 (tramp-verbose): Describe verbose level 9.
7410 (tramp-completion-function-alist)
7411 (tramp-file-name-regexp, tramp-chunksize)
7412 (tramp-local-coding-commands, tramp-remote-coding-commands)
7413 (with-connection-property, tramp-completion-mode-p)
7414 (tramp-action-process-alive, tramp-action-out-of-band)
7415 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7416 (tramp-exists-file-name-handler): Fix docstring.
7417 (tramp-remote-process-environment): Use `format' instead of
7418 `concat'. Protect version string by apostroph.
7419 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7421 (tramp-file-name-regexp-unified)
7422 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7423 not regard the volume letter as remote filename. (Bug#5447)
7424 (tramp-perl-file-attributes)
7425 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7426 (tramp-vc-registered-read-file-names): Read input as
7427 here-document, otherwise the command could exceed maximum length
7429 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7430 `set-file-selinux-context'.
7431 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7432 backtrace functions.
7433 (tramp-error-with-buffer): Don't show the connection buffer when
7434 we are in completion mode.
7435 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7436 (tramp-handle-file-selinux-context)
7437 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7438 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7440 (with-progress-reporter): New defmacro.
7441 (tramp-debug-outline-regexp): New defconst.
7442 (top, tramp-rfn-eshadow-setup-minibuffer)
7443 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7444 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7445 (tramp-completion-mode-p, tramp-check-for-regexp)
7446 (tramp-open-connection-setup-interactive-shell)
7447 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7448 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7449 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7450 Use `tramp-compat-funcall'.
7451 (tramp-handle-make-symbolic-link): Flush file properties.
7452 (tramp-handle-load, tramp-handle-file-local-copy)
7453 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7454 (tramp-handle-vc-registered, tramp-maybe-send-script)
7455 (tramp-find-shell): Use `with-progress-reporter'.
7456 (tramp-do-file-attributes-with-stat): Add space in format string,
7457 in order to work around a bug in pdksh. Reported by Gilles Pion
7459 (tramp-handle-verify-visited-file-modtime): Do not send a command
7460 when the connection is not established.
7461 (tramp-handle-set-file-times): Simplify the check for utc.
7462 (tramp-handle-directory-files-and-attributes)
7463 (tramp-get-remote-path): Use `copy-tree'.
7464 (tramp-completion-handle-file-name-all-completions): Ensure, that
7465 non remote files are still checked. Oops.
7466 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7467 Handle PRESERVE-SELINUX-CONTEXT.
7468 (tramp-do-copy-or-rename-file): Add progress reporter.
7469 (tramp-do-copy-or-rename-file-directly): Do not use
7470 `tramp-handle-file-remote-p'.
7471 (tramp-do-copy-or-rename-file-out-of-band):
7472 Use `tramp-compat-delete-directory'.
7473 (tramp-do-copy-or-rename-file-out-of-band)
7474 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7475 Use `format-spec-make'.
7476 (tramp-handle-delete-file): Add TRASH arg.
7477 (tramp-handle-dired-uncache): Flush directory cache, not only file
7479 (tramp-handle-expand-file-name)
7480 (tramp-completion-handle-file-name-all-completions)
7481 (tramp-completion-handle-file-name-completion):
7482 Use `tramp-connectable-p'.
7483 (tramp-handle-start-file-process): Set connection property "vec".
7484 Use it, in order to invalidate file caches. Check only for
7485 `remote-tty' process property.
7486 Implement tty setting. (Bug#4604, Bug#6360)
7487 (tramp-file-name-for-operation): Add `call-process-region' and
7488 `set-file-selinux-context'.
7489 (tramp-find-foreign-file-name-handler)
7490 (tramp-advice-make-auto-save-file-name)
7491 (tramp-set-auto-save-file-modes): Remove superfluous check for
7492 `stringp'. This is done inside `tramp-tramp-file-p'.
7493 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7494 operations when we are in completion mode. This gives the user
7495 the chance to correct the file name in the minibuffer.
7496 (tramp-completion-mode-p): Use `non-essential'.
7497 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7498 compatibility: Use `completion-ignore-case' if
7499 `read-file-name-completion-ignore-case' does not exist.
7500 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7501 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7503 (tramp-action-password): Hide password prompt before next run.
7504 (tramp-process-actions): Widen connection buffer for the trace.
7505 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7506 process property. Trace stty settings if `tramp-verbose' >= 9.
7507 Apply workaround for IRIX64 bug. Move argument of last
7508 `tramp-send-command' where it belongs to.
7509 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7510 front of `login-args'.
7511 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7512 on "/dev/null" instead of "/".
7513 (tramp-get-ls-command-with-dired): Make test for "--dired"
7515 (tramp-set-auto-save-file-modes): Adapt version check.
7516 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7517 (tramp-handle-process-file): Call the program in a subshell, in
7518 order to preserve working directory.
7519 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7520 `tramp-remote-sh' from `tramp-methods'.
7521 (tramp-get-ls-command): Make test for "--color=never" stronger.
7522 (tramp-check-for-regexp): Use (forward-line 1).
7524 * net/trampver.el: Update release number.
7526 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7528 * help.el (help-map): Bind `C-h P' to describe-package.
7530 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7532 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7533 when downloading archives.
7534 (describe-package-1): Add package commentary.
7535 (package-install-button-action): New function.
7536 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7537 (package-menu-view-commentary): Function removed.
7538 (package-list-packages-internal): Hide the `package' package too.
7540 2010-08-25 Kenichi Handa <handa@m17n.org>
7542 * language/misc-lang.el ("Arabic"): New language environment.
7543 Setup composition-function-table for Arabic characters.
7545 * international/fontset.el (setup-default-fontset): Fix typo for
7546 arabic OTF spec (fini->fina).
7548 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7550 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7553 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7555 * whitespace.el: Allow cleaning up blanks without blank
7556 visualization (Bug#6651). Adjust help window for
7557 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7558 instead of whitespace-line-column (from EmacsWiki). New version
7560 (whitespace-style): Add new value 'face. Adjust docstring.
7561 (whitespace-space, whitespace-hspace, whitespace-tab):
7562 Adjust foreground property face.
7563 (whitespace-line-column): Adjust docstring and type declaration.
7564 (whitespace-style-value-list, whitespace-toggle-option-alist)
7565 (whitespace-help-text): Adjust const initialization.
7566 (whitespace-toggle-options, global-whitespace-toggle-options):
7568 (whitespace-display-window, whitespace-interactive-char)
7569 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7570 (whitespace-help-scroll): New fun.
7572 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7574 * emacs-lisp/package.el (list-packages): Alias for
7575 package-list-packages.
7577 2010-08-24 Kevin Ryde <user42@zip.com.au>
7579 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7582 * progmodes/ruby-mode.el (ruby): Add defgroup.
7584 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7586 * progmodes/python.el: Add Ipython support (Bug#5390).
7587 (python-shell-prompt-alist)
7588 (python-shell-continuation-prompt-alist): New options.
7589 (python--set-prompt-regexp): New function.
7590 (inferior-python-mode, run-python, python-shell):
7591 Require ansi-color. Use python--set-prompt-regexp to set the comint
7592 prompt based on the Python interpreter.
7593 (python--prompt-regexp): New var.
7594 (python-check-comint-prompt)
7595 (python-comint-output-filter-function): Use it.
7596 (run-python): Use a pipe (Bug#5694).
7598 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7600 * progmodes/python.el (python-send-region): Send a different
7601 Python command if Ipython is in use.
7602 (python-check-version): Use a Python command to find the version.
7604 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7606 * mouse.el (mouse-yank-primary): Avoid setting primary when
7607 deactivating the mark (Bug#6872).
7609 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7611 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7612 with "else" (Bug#3991).
7614 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7616 * net/dbus.el: Accept UNIX domain sockets as bus address.
7617 (top): Don't initialize `dbus-registered-objects-table' anymore,
7618 this is done in dbusbind,c.
7619 (dbus-check-event): Adapt test for bus.
7620 (dbus-return-values-table, dbus-unregister-service)
7621 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7624 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7626 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7628 2010-08-22 Juri Linkov <juri@jurta.org>
7630 * simple.el (read-extended-command): New function with the logic
7631 for `completing-read' moved to Elisp from `execute-extended-command'.
7632 Use `function-called-at-point' in `minibuffer-default-add-function'
7633 to get a command name for M-n (bug#5364, bug#5214).
7635 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7637 * startup.el (command-line-1): Issue warning for ignored arguments
7638 --unibyte, etc (Bug#6886).
7640 2010-08-22 Leo <sdl.web@gmail.com>
7642 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7643 (ignore, bright, dim, keyword): Split list of nicknames before
7644 passing to rcirc-add-or-remove (Bug#6894).
7646 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7648 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7650 2010-08-22 Leo <sdl.web@gmail.com>
7652 Fix buffer-list rename&refresh after killing a buffer in ido.
7653 * ido.el: Revert Óscar's.
7654 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7655 Remember the buffers at head, rather than their name.
7656 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7658 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7659 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7662 extra backslash added to each line (bug#6890).
7664 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7668 2010-08-22 Glenn Morris <rgm@gnu.org>
7670 * menu-bar.el (menu-bar-games-menu): Add landmark.
7672 2010-08-22 Glenn Morris <rgm@gnu.org>
7674 * align.el (align-regexp): Make group and spacing arguments
7675 use the interactive defaults when non-interactive. (Bug#6698)
7677 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7678 expansion, so as not to need sendmail.
7679 (mail-text-start): Remove declaration.
7680 (rmail-retry-failure): Require sendmail.
7682 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7684 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7686 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7688 * progmodes/flymake.el (flymake-start-syntax-check-process):
7689 Use `start-file-process' in order to let it run also on remote hosts.
7691 2010-08-22 Kenichi Handa <handa@m17n.org>
7693 * files.el: Add `word-wrap' as safe local variable.
7695 2010-08-22 Glenn Morris <rgm@gnu.org>
7697 * woman.el (woman-translate): Case matters. (Bug#6849)
7699 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7701 * simple.el (kill-region): Doc fix (Bug#6787).
7703 2010-08-22 Glenn Morris <rgm@gnu.org>
7705 * calendar/diary-lib.el (diary-header-line-format):
7706 Fit it to the window, not the frame.
7708 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7710 * subr.el (ignore-errors): Add debug declaration.
7712 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7714 * whitespace.el (whitespace-color-off): Remove post-command-hook
7717 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7719 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7721 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7723 * cus-edit.el (custom-group-value-create): Add extra newline
7724 before end line (Bug#6876).
7726 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7728 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7729 when extending it. Before killing on the second click, check if
7730 the buffer is the correct one. Doc fix.
7731 (mouse-secondary-save-then-kill): Allow usage without first
7732 calling mouse-start-secondary, by defaulting to point. Don't save
7733 an empty secondary selection. Doc fix.
7735 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7737 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7738 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7740 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7741 Adjust initialization.
7742 (whitespace-bob-marker, whitespace-eob-marker)
7743 (whitespace-buffer-changed): New vars.
7744 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7745 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7746 (whitespace-post-command-hook, whitespace-display-char-on):
7748 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7749 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7751 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * files.el (locate-file-completion-table): Only list the .el and .elc
7754 extensions if there's no other choice (bug#5955).
7756 * facemenu.el (facemenu-self-insert-data): New var.
7757 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7759 (facemenu-add-face): Use them.
7761 * simple.el (blink-matching-open): Obey forward-sexp-function.
7763 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7765 * simple.el (prog-mode-map): New var.
7766 (prog-indent-sexp): New command.
7768 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7770 * progmodes/prolog.el (smie): Require.
7772 * emacs-lisp/smie.el (smie-default-backward-token)
7773 (smie-default-forward-token): Strip properties.
7774 (smie-next-sexp): Be more careful with associative operators.
7775 (smie-forward-sexp-command): Generalize.
7776 (smie-backward-sexp-command): Simplify.
7777 (smie-closer-alist): New var.
7778 (smie-close-block): New command.
7779 (smie-indent-debug-log): New var.
7780 (smie-indent-offset-rule): Add a few more cases.
7781 (smie-indent-column): New function.
7782 (smie-indent-after-keyword): Use it.
7783 (smie-indent-keyword): Use it.
7784 Fix up the opener code's point position.
7785 (smie-indent-comment): Only applies at BOL.
7786 (smie-indent-debug): New command.
7788 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7789 declarations that are useful before running the macro.
7791 2010-08-18 Joakim Verona <joakim@verona.se>
7793 * image.el (imagemagick-types-inhibit): New variable.
7794 (imagemagick-register-types): New function.
7795 * image-mode.el (image-transform-properties): New function.
7796 (image-transform-set-scale, image-transform-fit-to-height)
7797 (image-transform-set-rotation, image-transform-set-resize)
7798 (image-transform-fit-to-width, image-transform-fit-to-height):
7800 (image-toggle-display-image): Support image transforms.
7802 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7804 * image.el (create-animated-image): Don't add heuristic mask to image
7807 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7809 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7810 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7812 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7816 Font-lock '...' strings, plus various simplifications and fixes.
7817 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7818 (octave-font-lock-close-quotes): New function.
7819 (octave-font-lock-syntactic-keywords): New var.
7820 (octave-mode): Use it. Set beginning-of-defun-function.
7821 (octave-mode-map): Don't override the <foo>-defun commands.
7822 (octave-mode-menu): Pass it directly to easy-menu-define;
7823 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7824 (octave-block-match-alist): Fix up last change so that
7825 octave-close-block uses the more specific keyword.
7826 (info-lookup-mode): Silence byte-compiler.
7827 (octave-beginning-of-defun): Not interactive any more.
7829 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7830 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7831 (octave-completion-at-point-function): Make sure point is within
7833 (octave-reindent-then-newline-and-indent):
7834 Use reindent-then-newline-and-indent.
7835 (octave-add-octave-menu): Remove.
7837 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7839 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7840 (report-emacs-bug-can-use-xdg-email): New functions.
7841 (report-emacs-bug): Set can-xdg-email to result of
7842 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7843 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7846 * net/browse-url.el (browse-url-default-browser): Add cond
7847 for browse-url-xdg-open.
7848 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7850 2010-08-17 Glenn Morris <rgm@gnu.org>
7852 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7853 (c-fontify-recorded-types-and-refs): Define for compiler.
7854 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7857 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7860 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7862 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7864 (tramp-handle-process-file): Call the program in a subshell, in
7865 order to preserve working directory.
7866 (tramp-action-password): Hide password prompt before next run.
7867 (tramp-process-actions): Widen connection buffer for the trace.
7869 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7871 * net/rcirc.el (rcirc-log-process-buffers): New option.
7872 (rcirc-print): Use it.
7873 (rcirc-generate-log-filename): New function.
7874 (rcirc-log-filename-function): Change default to
7875 rcirc-generate-log-filename (Bug#6828).
7877 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7879 * simple.el (deactivate-mark): If select-active-regions is `only',
7880 only set selection for temporarily active regions.
7882 * cus-start.el: Change defcustom for select-active-regions.
7884 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7886 * mouse.el (mouse--drag-set-mark-and-point): New function.
7887 (mouse-drag-track): Use LOCATION arg to push-mark.
7888 Use mouse--drag-set-mark-and-point to take click-count into
7889 consideration when updating point and mark (Bug#6840).
7891 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7894 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7896 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7898 * font-lock.el (lisp-font-lock-keywords-2):
7899 Add combine-after-change-calls, condition-case-no-debug,
7900 with-demoted-errors, and with-silent-modifications (Bug#6025).
7902 2010-08-14 Kevin Ryde <user42@zip.com.au>
7904 * emacs-lisp/copyright.el (copyright-update-year)
7905 (copyright-update): Temporary switch-to-buffer to ensure the
7906 buffer change being queried is visible (Bug#5394).
7908 2010-08-14 Tom Tromey <tromey@redhat.com>
7910 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7913 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7915 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7918 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7920 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7921 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7922 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7923 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7924 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7925 Call menu-bar-set-tool-bar-position.
7927 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7930 comment style (bug#6834).
7931 * progmodes/scheme.el (scheme-mode-syntax-table):
7932 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7933 "b" flag in "' 14b" syntax.
7935 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7936 for (un)commenting the region and performing completion.
7937 (octave-mode-menu): Use standard commands for help and completion.
7938 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7939 (octave-mode): Use define-derived-mode.
7940 Set completion-at-point-functions and don't set columns.
7941 Don't disable adaptive-fill-regexp.
7942 (octave-describe-major-mode, octave-comment-region)
7943 (octave-uncomment-region, octave-comment-indent)
7944 (octave-indent-for-comment): Remove.
7945 (octave-indent-calculate): Rename from calculate-octave-indent.
7946 (octave-indent-line, octave-fill-paragraph): Update caller.
7947 (octave-initialize-completions): No need to make an alist.
7948 (octave-completion-at-point-function): New function.
7949 (octave-complete-symbol): Use it.
7950 (octave-insert-defun): Use define-skeleton.
7952 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7953 (octave-mode-map): Use comment-dwim (bug#6829).
7955 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7957 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7958 indentation of inserted comment.
7960 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7962 * faces.el (region): Add type gtk that uses gtk colors.
7964 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7965 Handle theme-name change.
7967 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7969 * progmodes/sql.el: Version 2.5
7970 (sql-product-alist): Add :prompt-cont-regexp property for several
7972 (sql-prompt-cont-regexp): New variable.
7973 (sql-output-newline-count, sql-output-by-send):
7974 New variables. Record number of newlines in input text.
7975 (sql-send-string): Handle multiple filters and count newlines.
7976 (sql-send-magic-terminator): Count terminator newline.
7977 (sql-interactive-remove-continuation-prompt): Filters output to
7978 remove continuation prompts; one for each newline.
7979 (sql-interactive-mode): Set up new variables, prompt regexp and
7981 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7982 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7984 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * emacs-lisp/pcase.el: New file.
7988 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7990 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7991 as here-document, otherwise the command could exceed maximum
7992 length of command line.
7993 (tramp-handle-vc-registered): Call script accordingly.
7994 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7996 2010-08-10 Kenichi Handa <handa@m17n.org>
7998 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8001 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8003 * emacs-lisp/package.el (package-version-split)
8004 (package--version-first-nonzero, package-version-compare):
8006 (package-directory-list, package-load-all-descriptors)
8007 (package--built-in, package-activate, define-package)
8008 (package-installed-p, package-compute-transaction)
8009 (package-read-all-archive-contents)
8010 (package--add-to-archive-contents, package-buffer-info)
8011 (package-tar-file-info, package-list-packages-internal):
8012 Use version-to-list and version-list-*.
8014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8015 Use version-to-list.
8016 (package-upload-buffer-internal): Use version-list-<=.
8018 2010-08-09 Kenichi Handa <handa@m17n.org>
8020 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8023 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8025 * tutorial.el (tutorial--default-keys): C-d is now bound to
8026 delete-forward-char (Bug#6826).
8028 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8029 for `double' value of mouse-1-click-follows-link (Bug#6807).
8031 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8033 * replace.el (replace-highlight): Bind isearch-forward and
8034 isearch-error, ensuring that highlighting is updated if the user
8035 switches the search direction (Bug#6808).
8037 * isearch.el (isearch-lazy-highlight-forward): New var.
8038 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8039 (isearch-lazy-highlight-update): Use it.
8041 2010-08-08 Kenichi Handa <handa@m17n.org>
8043 * international/mule.el (define-charset): Store NAME as :base property.
8044 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8045 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8046 current priority. Force using the designation of the specific
8047 charset by adding `charset' text property. Improve the whole algorithm.
8049 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8051 * emulation/pc-select.el (pc-selection-mode-hook)
8052 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8053 (pc-selection-mode): Fix typos in docstrings.
8055 2010-08-08 Kenichi Handa <handa@m17n.org>
8057 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8058 ctext-non-standard-encodings-alist here.
8060 * international/mule.el (ctext-non-standard-encodings-alist):
8061 Add "koi8-r" and "microsoft-cp1251".
8062 (ctext-standard-encodings): New variable.
8063 (ctext-non-standard-encodings-table): List only elements for
8064 non-standard encodings.
8065 (ctext-pre-write-conversion): Adjust for the above change.
8066 Check ctext-standard-encodings.
8068 * international/mule-conf.el (compound-text): Doc fix.
8069 (ctext-no-compositions): Doc fix.
8070 (compound-text-with-extensions): Doc fix.
8072 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8074 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8076 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8078 * progmodes/which-func.el (which-func-format): Split help-echo text
8079 into lines, like other mode-line tooltips.
8081 * server.el (server-start): When using TCP sockets, force IPv4
8082 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8084 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8086 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8088 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8090 * term.el (term-delimiter-argument-list): Reflow docstring.
8091 (term-read-input-ring, term-write-input-ring, term-send-input)
8092 (term-bol, term-erase-in-display, serial-supported-or-barf):
8093 Fix typos in docstrings.
8095 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8099 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8101 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8103 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8105 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8106 Fix typo in docstring (bug#6747).
8108 2010-08-08 Leo <sdl.web@gmail.com>
8110 * eshell/esh-io.el (eshell-get-target): Better detection of
8111 read-only file (Bug#6762).
8113 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8115 * align.el (align-default-spacing): Doc fix.
8116 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8118 2010-08-08 Stephen Peters <speters@itasoftware.com>
8120 * calendar/icalendar.el
8121 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8122 (icalendar--get-weekday-numbers): New.
8123 (icalendar--convert-recurring-to-diary): Handle multiple byday
8124 values in weekly rules. (Bug#6766)
8126 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8128 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8129 (icalendar--create-uid, icalendar-export-region)
8130 (icalendar--parse-summary-and-rest): Code formatting.
8132 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8134 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8135 to italicize headers.
8136 (calc-highlight-selections-with-faces): New variable.
8137 (calc-selected-face, calc-nonselected-face): New faces.
8139 * calc/calccomp.el (math-comp-highlight-string): Use
8140 `calc-highlight-selections-with-faces' to determine how to highlight
8143 * calc/calc-sel.el (calc-show-selections): Change message to when
8144 using faces to highlight selections.
8146 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8148 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8149 Add SQLite 3 keywords, functions and datatypes.
8150 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8153 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8155 * simple.el (select-active-regions): Move to keyboard.c.
8156 (deactivate-mark): Used saved-region-selection.
8157 (select-active-region): Function removed.
8158 (activate-mark, set-mark, push-mark-command)
8159 (handle-shift-selection): Don't call it.
8160 (keyboard-quit): Avoid adding the region to the window selection.
8162 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8163 select-active-regions implementation.
8164 (mouse-yank-at-click): Doc fix.
8166 * cus-start.el: Add custom declaration for select-active-regions.
8168 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8170 * simple.el (delete-forward-char): Doc fix.
8172 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8173 after reading the tutorial.
8175 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8177 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8178 Fix for the case that a C style comment has its delimiters alone on
8179 their respective lines.
8181 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8183 * net/tramp.el (tramp-handle-start-file-process): Set connection
8185 (tramp-process-sentinel): Use it for flushing the cache.
8186 We cannot do it via the process buffer, the buffer could be deleted
8187 already when running the sentinel.
8189 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8191 * comint.el (comint-mode): Make directory tracking functions
8192 functional on remote files. (Bug#6764)
8194 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8196 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8198 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8200 * emacs-lisp/find-gc.el (find-gc-source-files):
8201 Rename unexec.c => unexcoff.c.
8203 * emacs-lisp/authors.el (authors-fixed-entries):
8204 Rename unexec.c => unexcoff.c.
8206 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8208 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8209 cache, not only file cache.
8210 (tramp-process-sentinel): New defun.
8211 (tramp-handle-start-file-process): Use it, in order to invalidate
8214 2010-08-03 Leo <sdl.web@gmail.com>
8216 * server.el (server-start): Simplify loop.
8218 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * frame.el (screen-height, screen-width, set-screen-width)
8221 (set-screen-height): Remove ancient compatibility aliases.
8223 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8224 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8226 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8227 that change current buffer.
8229 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8231 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8232 beginning of the string. Use `string-match-p'. (Bug#6765)
8234 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8236 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8238 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8240 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8241 (package--builtins): Tweak descriptions.
8242 (package-print-package): Upcase descriptions if necessary.
8243 Show all built-in packages in font-lock-builtin-face.
8244 (package-list-packages-internal): Omit "emacs" package.
8245 Show status of built-in packages as "built-in".
8247 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8249 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8250 before killing to preserve the primary selection (Bug#6701).
8252 * term/x-win.el (x-select-text): Doc fix.
8254 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8256 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8257 (objc-font-lock-extra-types):
8258 * progmodes/cc-mode.el (c-basic-common-init):
8259 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8260 (c++-make-template-syntax-table)
8261 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8262 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8263 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8264 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8265 * progmodes/cc-fonts.el (c-make-inverse-face)
8266 (c-basic-matchers-after):
8267 * progmodes/cc-engine.el (c-forward-keyword-clause)
8268 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8269 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8270 (c-guess-continued-construct, c-guess-basic-syntax):
8271 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8272 The above functions were modified or created.
8274 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8276 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8278 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8280 * files.el (bidi-paragraph-direction): Define safe local values.
8282 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8283 language-info-alist. Remove outdated FIXME in a comment.
8285 2010-07-31 Alan Mackenzie <acm@muc.de>
8287 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8288 Auto-fill broken in C/C++ modes.
8290 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8292 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8293 (menu-bar-showhide-tool-bar-menu-customize-disable)
8294 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8295 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8296 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8297 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8298 make a menu for Options => toolbar that can move it.
8300 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8302 * emacs-lisp/package-x.el (package--make-rss-entry):
8303 (package-maint-add-news-item, package--update-news)
8304 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8306 * emacs-lisp/package.el (package-archive-url): Rename from
8308 (package-install): Doc fix.
8309 (package-download-single, package-download-tar, package-install)
8310 (package-menu-view-commentary): Callers changed.
8312 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8314 * net/tramp.el (tramp-handle-start-file-process): Check only for
8315 `remote-tty' process property.
8316 (tramp-open-shell): Don't check for tty.
8317 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8320 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8323 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8325 * emacs-lisp/package.el (package-load-list, package-archives)
8326 (package-archive-contents, package-user-dir)
8327 (package-directory-list, package--builtins, package-alist)
8328 (package-activated-list, package-obsolete-alist): Mark as risky.
8330 2010-07-28 Phil Hagelberg <phil@evri.com>
8332 Add support for non-default package repositories.
8333 * emacs-lisp/package.el (package-archive-base): Var deleted.
8334 (package-archives): New variable.
8335 (package-archive-contents): Doc fix.
8336 (package-load-descriptor): Do nothing if descriptor file is missing.
8337 (package--write-file-no-coding): New function.
8338 (package-unpack-single): Use it.
8339 (package-archive-id): New function.
8340 (package-download-single, package-download-tar)
8341 (package-menu-view-commentary): Use it.
8342 (package-installed-p): Make second argument optional.
8343 (package-read-all-archive-contents): New function.
8344 (package-initialize): Use it.
8345 (package-read-archive-contents): Add ARCHIVE argument.
8346 (package--add-to-archive-contents): New function.
8347 (package-install): Don't call package-read-archive-contents.
8348 (package--download-one-archive): Store archive file in a
8349 subdirectory of package-user-dir.
8350 (package-menu-execute): Remove spurious line movement.
8352 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8354 * cus-start.el (tool-bar-style): Add text-image-horiz.
8356 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8358 * progmodes/gud.el (gud-common-init): Check for remoteness of
8359 `file', and not of `default-directory'.
8361 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8363 * net/tramp.el (tramp-methods): Move hostname to the end in all
8364 ssh `tramp-login-args'.
8365 (tramp-verbose): Describe verbose level 9.
8366 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8367 (tramp-open-connection-setup-interactive-shell): Trace stty
8368 settings if `tramp-verbose' >= 9.
8369 (tramp-handle-start-file-process): Implement tty setting.
8370 (Bug#4604, Bug#6360)
8372 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8373 `tramp-verbose' to 9.
8375 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8377 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8378 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8379 Remove references to package `lisp-re' (bug#4369).
8381 2010-07-27 Tom Tromey <tromey@redhat.com>
8383 * progmodes/js.el (js-mode):
8384 * progmodes/make-mode.el (makefile-mode):
8385 * progmodes/simula.el (simula-mode):
8386 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8388 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8390 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8392 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8393 (display-time-world-buffer-name, display-time-world-mode-map):
8394 Fix typos in docstrings.
8396 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8398 * image-mode.el (image-display-size): New function.
8399 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8400 (image-mode-fit-frame): Use it (Bug#6639).
8402 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8404 * dired.el (dired-buffers-for-dir): Handle list values of
8405 dired-directory (Bug#6636).
8407 2010-07-26 Sam Steingold <sds@gnu.org>
8409 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8410 Do not call `x-get-selection' the second time, reuse the value.
8412 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8414 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8415 which consist of control chars only. Suggested by Richard Stallman.
8417 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8419 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8420 exists before passing an error to find-file-not-found-functions
8423 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8425 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8426 Remove leading nil element, adjust values.
8427 (tetris-shapes, tetris-shape-scores):
8428 Change representation of shapes and remove some redundancy.
8429 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8430 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8431 Adjust for working with new representation of shapes.
8432 (tetris-shape-rotations): New function.
8433 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8434 (tetris-rotate-prev, tetris-rotate-next):
8435 Adjust for working with the new version of tetris-test-shape.
8437 2010-07-23 Markus Triska <markus.triska@gmx.at>
8439 * progmodes/ps-mode.el: Use comint (bug#5954).
8440 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8441 (ps-mode-other-newline): Simplify.
8442 (ps-run-mode): Derive from comint-mode instead of
8443 fundamental-mode, yielding input history etc.
8444 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8445 (ps-run-send-string): Adapt for comint-mode.
8446 (ps-run-newline): Remove now unneeded function.
8448 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8450 * net/tramp.el (tramp-methods): Move hostname to the end in all
8451 plink `tramp-login-args'.
8453 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8455 * net/tramp.el (tramp-open-shell): New defun.
8456 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8459 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8461 * net/tramp.el (tramp-file-name-regexp-unified)
8462 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8463 not regard the volume letter as remote filename. (Bug#5447)
8465 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8467 * custom.el (custom-declare-variable): Give a clearer error message
8468 when the docstring is missing (bug#6476).
8470 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8472 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8473 (sql-login-params): New widget definition.
8474 (sql-oracle-login-params, sql-mysql-login-params)
8475 (sql-solid-login-params, sql-sybase-login-params)
8476 (sql-informix-login-params, sql-ingres-login-params)
8477 (sql-ms-login-params, sql-postgres-login-params)
8478 (sql-interbase-login-params, sql-db2-login-params)
8479 (sql-linter-login-params): Use it.
8480 (sql-sqlite-login-params): Use it; Define "database" parameter as
8482 (sql-sqlite-program): Change to "sqlite3".
8483 (sql-comint-sqlite): Make sure database name is complete.
8484 (sql-for-each-login): New function.
8485 (sql-connect, sql-save-connection): Use it.
8486 (sql-get-login-ext): New function.
8487 (sql-get-login): Use it.
8488 (sql-make-alternate-buffer-name): Handle :file parameters.
8490 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8492 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8493 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8495 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8497 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8499 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8501 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8503 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8505 * net/tramp.el (tramp-get-ls-command)
8506 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8509 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8511 * progmodes/sql.el: Version 2.3.
8512 (sql-connection-alist): Change keys from symbols to strings;
8513 enhanced the widget definition.
8514 (sql-mode-menu): Add submenu to select connections.
8515 (sql-interactive-mode-menu): Add "Save Connection" item.
8516 (sql-add-product): Fix menu item.
8517 (sql-get-product-feature): Improved error handling.
8518 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8519 (sql-make-alternate-buffer-name): Simplified.
8520 (sql-product-interactive): Handle missing product.
8521 (sql-connect): Support string keys, minor improvements.
8522 (sql-save-connection): New function.
8523 (sql-connection-menu-filter): New function.
8525 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8527 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8528 (tramp-open-connection-setup-interactive-shell):
8529 Apply workaround for IRIX64 bug. Move argument of last
8530 `tramp-send-command' where it belongs to.
8532 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8534 * net/tramp.el (tramp-perl-file-attributes)
8535 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8536 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8537 front of `login-args'.
8539 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8541 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8542 Set `show-trailing-whitespace' to nil.
8543 (display-time-world-display): Simplify.
8545 2010-07-18 Alan Mackenzie <acm@muc.de>
8547 Enhance `c-file-style' in file/directory local variables.
8548 * progmodes/cc-mode.el (c-count-cfss): New function.
8549 (c-before-hack-hook): Call `c-set-style' differently according to
8550 whether c-file-style was set in file or directory local
8553 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8555 * progmodes/sql.el: Version 2.2.
8556 (sql-product, sql-user, sql-database, sql-server, sql-port):
8557 Use defcustom :safe keyword rather than putting safe-local-variable
8559 (sql-password): Use defcustom :risky keyword rather than putting
8560 risky-local-variable property.
8561 (sql-oracle-login-params, sql-sqlite-login-params)
8562 (sql-solid-login-params, sql-sybase-login-params)
8563 (sql-informix-login-params, sql-ingres-login-params)
8564 (sql-ms-login-params, sql-postgres-login-params)
8565 (sql-interbase-login-params, sql-db2-login-params)
8566 (sql-linter-login-params): Add `port' option.
8567 (sql-get-product-feature): Add NO-INDIRECT parameter.
8568 (sql-comint-oracle, sql-comint-sybase)
8569 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8570 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8571 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8572 (sql-comint-linter): Rename sql-connect-* functions to
8574 (sql-product-alist, sql-mode-menu): Rename as above and
8575 :sqli-connect-func to :sqli-comint-func.
8576 (sql-connection): New variable.
8577 (sql-interactive-mode): Set it.
8578 (sql-connection-alist): New variable.
8579 (sql-connect): New function.
8580 (sql--alt-buffer-part, sql--alt-if-not-empty)
8581 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8583 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8585 * image-mode.el (image-bookmark-make-record): Do not set context
8586 in an image (Bug#6650).
8588 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8590 * simple.el (select-active-region): New function.
8591 (push-mark-command, set-mark, activate-mark)
8592 (handle-shift-selection): Use it.
8593 (deactivate-mark): Don't check for size of region.
8595 * mouse.el (mouse-drag-track): Use select-active-region.
8597 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8599 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8602 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8604 * term/x-win.el (x-select-enable-primary): Change default to nil.
8605 (x-select-enable-clipboard): Add :version keyword.
8607 * mouse.el (mouse-drag-copy-region):
8608 * simple.el (select-active-regions): Likewise.
8610 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8612 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8613 (vc-coding-system-for-diff): Use it to decide whether to inherit
8614 from the file the EOL format for reading the diffs of that file.
8617 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8619 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8620 unibyte, so compressed attachments are not compressed again.
8622 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8624 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8625 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8626 (tramp-find-shell): Simplify setting connection property.
8627 (tramp-get-ls-command): Make test for "--color=never" stronger.
8629 2010-07-15 Simon South <ssouth@member.fsf.org>
8631 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8632 blocks within record declarations (i.e. variant parts) correctly.
8634 2010-07-15 Simon South <ssouth@member.fsf.org>
8636 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8637 over literal tokens when parsing so newlines aren't "absorbed" by
8638 single-line comments. Corrects the indentation of case blocks
8639 that have a comment on the first line.
8641 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8643 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8644 by Drew Adams (Bug#5504).
8646 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8648 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8649 now that Unicode is used (Bug#6594).
8651 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8653 * term/x-win.el (x-select-enable-clipboard): Default to t.
8654 (x-initialize-window-system): Don't overwrite Paste menu item.
8656 * simple.el (select-active-regions): Default to t.
8657 (push-mark-command): Don't overwrite primary with empty string.
8659 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8660 (mouse-drag-copy-region): Default to nil.
8662 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8663 Cut/Copy/Paste menu bar items.
8665 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8667 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8668 Patch applied by Karl Fogel.
8670 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8671 and `bookmark-current-buffer' if they have been already set in
8672 another buffer (e.g gnus-art).
8674 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8675 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8677 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8679 * bookmark.el (bookmark-make-record-default): Allow unneeded
8680 information to be omitted from the record.
8682 Adjust declarations and calls:
8684 * info.el (bookmark-make-record-default): Adjust declaration.
8685 (Info-bookmark-make-record): Adjust call.
8687 * woman.el (bookmark-make-record-default): Adjust declaration.
8688 (woman-bookmark-make-record): Adjust call.
8690 * man.el (bookmark-make-record-default): Adjust declaration.
8691 (Man-bookmark-make-record): Adjust call.
8693 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8695 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8697 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8699 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8700 This is also from Thierry Volpiatto's patch in bug #6444. However,
8701 because it was extraneous to the functional change in that patch,
8702 and causes a re-indendation, I am committing it separately.
8704 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8706 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8707 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8708 Patch applied by Karl Fogel (Bug#6444).
8710 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8712 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8714 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8716 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8717 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8718 (ns-alternatives-map): Change S-tab binding to backtab
8721 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8724 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8726 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8729 * language/tv-util.el (tai-viet-re): Remove format.
8731 2010-07-12 Kenichi Handa <handa@m17n.org>
8733 * language/hebrew.el: Remove no-byte-compile declaration.
8734 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8735 composition-function-table for 3-character looking back.
8736 (hebrew-font-get-precomposed): New function.
8737 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8739 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8741 * mouse.el (mouse-drag-track): Handle select-active-regions
8744 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8746 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8747 empty argument to gvfs-copy.
8749 2010-07-10 Glenn Morris <rgm@gnu.org>
8751 * calendar/calendar.el (calendar-week-end-day): New function.
8752 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8753 Respect calendar-week-start-day. (Bug#6606)
8754 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8755 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8756 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8757 respect calendar-week-start-day.
8759 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8761 * simple.el (use-region-p): Doc fix (Bug#6607).
8763 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8766 Add regexps for cucumber and ruby.
8768 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8770 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8771 (epa-file-insert-file-contents): Hack to prevent
8772 find-file from opening empty buffer when decryption failed
8775 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8777 * textmodes/ispell.el (ispell-alternate-dictionary):
8778 Use file-readable-p.
8779 Return nil if no word-list is found at default locations.
8780 (ispell-complete-word-dict): Default to nil.
8781 (ispell-command-loop): Use 'word-list' when using lookup-words.
8782 (lookup-words): Use ispell-complete-word-dict or
8783 ispell-alternate-dictionary. Check for word-list availability
8784 and handle errors if needed with better messages (Bug#6539).
8785 (ispell-complete-word): Use ispell-complete-word-dict or
8786 ispell-alternate-dictionary.
8788 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8790 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8791 builtins (BufferError, BytesWarning, WindowsError; callables
8792 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8794 2010-07-07 Glenn Morris <rgm@gnu.org>
8796 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8797 (zone-shift-left): Ignore intangibility, and any errors from
8799 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8800 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8801 deleting, and copying text properties.
8802 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8803 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8804 to point-max is hard.
8805 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8806 (zone-fill-out-screen): Ignore intangibility.
8808 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8810 * menu-bar.el (menu-bar-mode):
8811 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8814 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8815 word/line selection (Bug#6565).
8817 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8819 * net/dbus.el (dbus-send-signal): Declare function.
8821 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8823 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8824 (dbus-register-property): New optional argument EMITS-SIGNAL.
8825 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8827 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8829 * mouse.el (mouse-drag-overlay): Variable deleted.
8830 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8831 (mouse--remap-link-click-p): New function.
8832 (mouse-drag-track): Handle dragging by using temporary Transient
8833 Mark mode, instead of a special overlay.
8834 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8837 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8840 2010-07-02 Juri Linkov <juri@jurta.org>
8842 * autoinsert.el (auto-insert-alist): Fix readability
8843 by using dotted pair notation for lambda.
8845 2010-07-02 Juri Linkov <juri@jurta.org>
8847 * faces.el (read-face-name): Rename arg `string-describing-default'
8848 to `default'. Doc fix. Display the default value in quotes
8849 in the prompt. With empty input, return the `default' arg,
8850 unless the default value is a string (in which case return nil).
8851 (describe-face): Replace the string `default' arg of `read-face-name'
8852 with the symbol `default'.
8854 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8856 * emulation/viper-cmd.el (viper-delete-backward-char)
8857 (viper-del-backward-char-in-insert)
8858 (viper-del-backward-char-in-replace, viper-change)
8859 (viper-backward-indent): Replace delete-backward-char with
8860 delete-char (Bug#6552).
8862 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8864 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8866 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8868 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8869 argument passed to frame-creation-function (Bug#5378).
8871 * faces.el (x-handle-named-frame-geometry)
8872 (x-handle-reverse-video, x-create-frame-with-faces)
8873 (face-set-after-frame-default, tty-create-frame-with-faces):
8874 Don't separately consult default-frame-alist. It is now passed as the
8877 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8879 * startup.el (command-line): Don't call tool-bar-setup in a
8882 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8884 * ruler-mode.el (ruler--save-header-line-format): New fun.
8885 (ruler-mode): Use it as a setter function, so as not to overwrite
8886 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8888 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8890 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8891 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8892 (vc-log-outgoing): Use it.
8893 (vc-diff-internal): Set diff-vc-backend.
8895 * vc/diff-mode.el (diff-vc-backend): New var.
8897 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8899 * dynamic-setting.el (font-setting-change-default-font):
8900 Remove call to message.
8902 2010-06-28 Kenichi Handa <handa@m17n.org>
8904 * international/quail.el (quail-insert-kbd-layout): Fix the
8905 showing of untranslated characters.
8907 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8909 * simple.el (delete-active-region): New option.
8910 (delete-backward-char): Implement in Lisp.
8911 (delete-forward-char): New command.
8913 * mouse.el (mouse-region-delete-keys): Deleted.
8914 (mouse-show-mark): Simplify.
8916 * bindings.el (global-map): Bind delete and DEL, the former to
8917 delete-forward-char.
8919 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8921 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8922 (ruby-mode): Bind indent-line-function (Bug#5119).
8924 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8926 * startup.el (command-line): Recognize "0" X resource value.
8928 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8930 * startup.el (command-line): Use X resources to set the value of
8931 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8933 * menu-bar.el (menu-bar-mode):
8934 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8935 Set init-value to t.
8937 * frame.el (frame-notice-user-settings): Don't change
8938 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8939 vice versa (Bug#2249).
8941 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8943 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8945 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8947 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8948 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8950 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8951 default directories are expanded (Bug#6143).
8953 2010-06-24 Juri Linkov <juri@jurta.org>
8955 * minibuffer.el (completions-format): Change default from nil to
8956 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8958 2010-06-24 Juri Linkov <juri@jurta.org>
8960 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8961 buffer-locally to lambda that re-runs the vc diff command.
8964 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8966 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8967 echo area is in use (Bug#3412).
8969 2010-06-22 Glenn Morris <rgm@gnu.org>
8971 * textmodes/texinfmt.el (texinfo-format-region)
8972 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8973 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8974 (texinfo-format-option, texinfo-noindent):
8975 Use line-beginning-position and line-end-position.
8977 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8978 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8979 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8982 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8984 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8985 forward-line fallout.
8987 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8989 * mouse.el (mouse-appearance-menu): Add docstring.
8991 * help.el (describe-key): Print up-event using key-description.
8993 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8995 * net/zeroconf.el (zeroconf-resolve-service)
8996 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8997 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8999 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9001 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9003 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9005 Avoid displaying files with a nil state in vc-dir.
9006 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9007 cases that cause insertion.
9008 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9011 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9013 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9015 2010-06-29 Leo <sdl.web@gmail.com>
9017 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9019 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9021 * generic-x.el (bat-generic-mode): Fix regexp for command line
9022 switches (Bug#5719).
9024 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9026 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9027 of nconc to avoid pure storage error (Bug#6239).
9029 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
9031 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9032 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9033 bindings of bookmark-automatically-show-annotations (Bug#6515).
9035 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9037 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9038 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9040 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9042 * comint.el (make-comint, make-comint-in-buffer): Mention return
9043 value in the docstrings. (Bug#6498)
9045 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9047 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9048 since it is not present when using some non-default switches.
9050 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9052 * simple.el (compose-mail): Fix doc string to refer to
9053 `compose-mail-user-agent-warnings', instead of to the
9054 nonexistent `compose-mail-check-user-agent'.
9056 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9058 Fix an indentation bug:
9060 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9061 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9064 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9065 (c-clear->-pair-props-if-match-before): now return t when they've
9066 cleared properties, nil otherwise.
9067 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9068 by taking account of the existing value.
9070 * progmodes/cc-defs.el
9071 (c-clear-char-property-with-value-function): Fix this to clear the
9072 property rather than overwriting it with nil.
9074 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9076 * emacs-lisp/package.el (package-print-package): Add link to
9077 package description via describe-package.
9078 (describe-package-1): List package requirements. Add button to
9079 perform installation.
9080 (package-menu-describe-package): New command.
9082 * help-mode.el (help-package): New button type.
9084 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9086 * emacs-lisp/package.el: Move package-list-packages binding to
9088 (describe-package, describe-package-1, package--dir): New funs.
9089 (package-activate-1): Use package--dir.
9091 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9093 * help-mode.el (help-package-def): New button type.
9095 * menu-bar.el: Move package-list-packages binding here from
9098 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9100 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9102 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9104 * emacs-lisp/edebug.el (edebug-read-list):
9105 Phase out old-style backquotes.
9107 2010-06-17 Juri Linkov <juri@jurta.org>
9109 * help-mode.el (help-mode): Set buffer-local variable
9110 revert-buffer-function to help-mode-revert-buffer.
9111 (help-mode-revert-buffer): New function.
9113 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9114 before popping to "*info*" (like in other Info functions).
9115 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9116 old-history-forward. Pop to old-buffer-name or "*info*" to
9117 recreate the killed buffer. Set Info-history-forward from
9118 old-history-forward.
9119 (Info-breadcrumbs-depth): Add :group and :version.
9121 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9123 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9125 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9127 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9128 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9130 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9132 * emacs-lisp/package.el (package-menu-mode-map):
9133 Move initialization into declaration.
9135 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9137 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9139 * emacs-lisp/package.el (package-archive-base): Point to
9141 (package-enable, package-load-list): New defcustoms.
9142 (package-user-dir, package-directory-list): Turn into defcustoms.
9143 Don't include package-user-dir in package-directory-list.
9144 (package--builtins-base): Don't include Emacs as a "package".
9145 (package-subdirectory-regexp): New var.
9146 (package-load-all-descriptors, package-compute-transaction)
9147 (package-download-transaction): Obey package-load-list.
9148 (package-activate-1): Rename from package-do-activate.
9149 (package-list-packages-internal): Check package-load-list.
9150 (package-load-descriptor, package-generate-autoloads)
9151 (package-unpack, package-unpack-single)
9152 (package--read-archive-file, package-delete):
9153 Use expand-file-name.
9155 * emacs-lisp/package-x.el: New file. Package uploading
9156 functionality split out from package.el.
9158 * startup.el (command-line): Load packages after reading init file.
9160 2010-06-17 Tom Tromey <tromey@redhat.com>
9162 * emacs-lisp/package.el: New file.
9164 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9166 Fix vc-annotate for renamed files when using Git.
9167 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9168 ls-files. Doe not pass the object as a file name to cat-file, it
9170 (vc-git-annotate-command): Pass the file name using -- to avoid
9171 ambiguity with the revision.
9172 (vc-git-previous-revision): Pass a relative file name.
9174 2010-06-22 Glenn Morris <rgm@gnu.org>
9176 * progmodes/js.el (js-mode-map): Use standard capitalization and
9177 ellipses for menu entries.
9179 * wid-edit.el (widget-complete): Doc fix.
9181 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9183 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9185 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9187 Fix annotating other revisions for renamed files in vc-annotate.
9188 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9189 VC backend. Use it when non-nil.
9190 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9193 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9194 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9195 Do not pass the file name to the 'previous-revision call when we
9196 don't want a file diff. (Bug#6489)
9198 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9200 Fix finding revisions for renamed files in vc-annotate.
9201 * vc/vc.el (vc-find-revision): Add an optional argument for
9202 the VC backend. Use it when non-nil.
9203 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9204 backend to vc-find-revision. (Bug#6487)
9206 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9208 Fix reading file names in Git annotate buffers.
9209 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9210 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9212 2010-06-20 Alan Mackenzie <acm@muc.de>
9214 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9215 in file local variables, set it first.
9217 2010-06-19 Glenn Morris <rgm@gnu.org>
9219 * descr-text.el (describe-char-unicode-data): Insert separating
9220 space when needed. (Bug#6422)
9222 * progmodes/idlwave.el (idlwave-action-and-binding):
9223 Fix typo in 2009-12-03 change. (Bug#6450)
9225 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9227 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9228 handling for `lambda' (misunderstanding).
9230 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9232 * calc/calc-poly.el (math-accum-factors): Make sure that
9233 constants aren't distributed after they are factored out.
9235 2010-06-16 Juri Linkov <juri@jurta.org>
9237 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9238 `list-colors-print'. (Bug#6332)
9240 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9242 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9244 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9245 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9247 * font-lock.el (font-lock-major-mode): Rename from
9248 font-lock-mode-major-mode to distinguish it from
9249 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9250 (font-lock-set-defaults):
9251 * font-core.el (font-lock-default-function): Adjust users.
9252 (font-lock-mode): Don't set it at all.
9254 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9258 2010-06-16 Glenn Morris <rgm@gnu.org>
9260 * calendar/appt.el (appt-time-msg-list): Doc fix.
9261 (appt-check): Let-bind appt-warn-time.
9262 (appt-add): Make the 3rd argument optional.
9263 Simplify argument names. Doc fix. Check for integer WARNTIME.
9264 Only add WARNTIME to the output list if non-nil.
9266 2010-06-16 Ivan Kanis <apple@kanis.eu>
9268 * calendar/appt.el (appt-check): Let the 3rd element of
9269 appt-time-msg-list specify the warning time.
9270 (appt-add): Add new argument with the warning time. (Bug#5176)
9272 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9274 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9275 older than version 1.6. (Bug#6361)
9277 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9279 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9280 used by cl-do-arglist. (Bug#6408)
9282 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9284 * textmodes/ispell.el (ispell-dictionary-base-alist):
9285 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9286 Suggested by Rolando Pereira (bug#6434).
9288 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9290 * facemenu.el (list-colors-sort): Doc fix.
9292 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9294 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9296 2010-06-14 Juri Linkov <juri@jurta.org>
9298 Add sort option `list-colors-sort'. (Bug#6332)
9299 * facemenu.el (color-rgb-to-hsv): New function.
9300 (list-colors-sort): New defcustom.
9301 (list-colors-sort-key): New function.
9302 (list-colors-display): Doc fix. Sort list according to the option
9304 (list-colors-print): Add HSV values to `help-echo' property of
9307 2010-06-14 Juri Linkov <juri@jurta.org>
9309 * compare-w.el: Move to the "vc" subdirectory.
9311 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * image-mode.el (image-mode-map): Remap left-char and right-char.
9315 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9317 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9319 * term/common-win.el (x-colors): Add all the color names defined
9320 in rgb.txt (Bug#6332).
9322 * facemenu.el (list-colors-print): Don't print extra names if it
9323 will overflow the window width.
9325 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9328 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9330 * files.el (make-directory): Doc fix (bug#6396).
9332 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9334 * net/tramp.el (tramp-remote-process-environment): Protect version
9335 string by apostroph.
9336 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9338 (tramp-file-name-for-operation): Add `call-process-region'.
9339 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9341 * net/tramp-compat.el (top): Do not autoload
9342 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9343 only when `start-file-process' is not bound.
9344 (tramp-advice-file-expand-wildcards): Do not use
9345 `tramp-handle-file-remote-p'.
9346 (tramp-compat-make-temp-file): Handle the case, that
9347 `make-temp-file' has no third argument EXTENSION.
9349 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9351 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9353 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9355 2010-06-11 Juri Linkov <juri@jurta.org>
9357 * finder.el (finder-known-keywords): Add keyword "vc"
9358 for version control.
9360 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9361 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9362 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9363 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9365 2010-06-11 Juri Linkov <juri@jurta.org>
9367 Move version control related files to the "vc" subdirectory.
9368 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9369 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9370 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9371 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9372 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9373 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9374 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9375 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9376 Move files to the "vc" subdirectory.
9378 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9380 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9383 2010-06-11 Stephen Eglen <stephen@gnu.org>
9385 * shell.el: Bind `shell-resync-dirs' to M-RET.
9387 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9389 * notifications.el: Move file from lisp/net, because it is
9390 supposed to talk locally to the user.
9392 2010-06-10 Julien Danjou <julien@danjou.info>
9394 * net/notifications.el (notifications-on-action-signal)
9395 (notifications-on-closed-signal): Pass notification id as first
9396 argument to the callback functions. Add docstrings.
9397 (notifications-notify): Fix docstring.
9399 2010-06-10 Glenn Morris <rgm@gnu.org>
9401 * emacs-lisp/authors.el (authors-ignored-files)
9402 (authors-valid-file-names): Add some files.
9404 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9407 merge conflict, giving preference to the emacs-23 version of the code.
9409 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9411 * emacs-lisp/advice.el (ad-compile-function):
9412 Define warning-suppress-types before we let-bind it (bug#6275).
9414 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9415 declare it, make it buffer-local and permanent-local (bug#6324).
9416 (vc-resynch-window): Adjust name.
9417 * vc-hooks.el (vc-find-file-hook): Adjust name.
9419 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9421 * net/notifications.el (notifications-notify): Fix docstring.
9423 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9425 Update to Unicode 6.0.0 beta.
9426 * international/charprop.el: Update copyright.
9427 * international/mule-cmds.el (ucs-names): Update character ranges.
9428 * international/uni-bidi.el:
9429 * international/uni-category.el:
9430 * international/uni-combining.el:
9431 * international/uni-comment.el:
9432 * international/uni-decimal.el:
9433 * international/uni-decomposition.el:
9434 * international/uni-digit.el:
9435 * international/uni-lowercase.el:
9436 * international/uni-mirrored.el:
9437 * international/uni-name.el:
9438 * international/uni-numeric.el:
9439 * international/uni-old-name.el:
9440 * international/uni-titlecase.el:
9441 * international/uni-uppercase.el: Regenerate.
9443 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9445 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9446 (smie-precs-precedence-table): Fix typo in docstring.
9448 * vc-mtn.el (log-edit-extract-headers): Declare function.
9450 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9452 * net/notifications.el (dbus-register-signal): Declare function.
9453 (notifications-notify): Fix typos and reflow docstring.
9455 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9457 Improve VC create/retrieve tag/branch.
9458 * vc.el (vc-create-tag): Do not read the directory name for VCs
9459 with repository revision granularity. Adjust the tag/branch
9460 prompt. Reset VC properties.
9461 (vc-retrieve-tag): Do not read the directory name for VCs
9462 with repository revision granularity. Reset VC properties.
9464 2010-06-09 Julien Danjou <julien@danjou.info>
9466 * net/notifications.el: New file.
9468 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9470 Add optional support for resetting VC properties.
9471 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9472 call vc-file-clearprops when true.
9473 (vc-resynch-buffer): Add new optional argument, pass it down.
9474 (vc-resynch-buffers-in-directory): Likewise.
9476 Improve support for special markup in the VC commit message.
9477 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9478 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9479 * vc-git.el (vc-git-checkin):
9480 * vc-bzr.el (vc-bzr-checkin): Likewise.
9482 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9485 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9487 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9489 * iimage.el: Remove images as soon as the underlying text is modified.
9490 (iimage-modification-hook): New function.
9491 (iimage-mode-buffer): Use it.
9493 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9495 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9496 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9497 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9498 (smie-indent-keyword): Add handling of open-paren keywords.
9499 (smie-indent-comment-continue): Don't assume comment-continue.
9501 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9503 * window.el (pop-to-buffer): Remove the conditional that
9504 compares new-window and old-window, so it will reselect
9505 the selected window unconditionally.
9506 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9508 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9510 * emacs-lisp/smie.el (smie-indent-offset-after)
9511 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9512 (smie-indent-after-keyword): Use them.
9513 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9514 (smie-indent-keyword): Tweak the black magic.
9515 (smie-indent-comment-continue): Strip comment-continue before use.
9516 (smie-indent-functions): Indent comments before keywords.
9518 2010-06-06 Juri Linkov <juri@jurta.org>
9520 * isearch.el (isearch-lazy-highlight-search): Fix looping
9521 by checking for empty match. This syncs this loop with the
9522 similar loop in `isearch-search'. (Bug#6362)
9524 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9526 * net/dbus.el (dbus-register-method): Declare function.
9527 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9528 (dbus-introspect): Doc fix.
9529 (dbus-event-bus-name, dbus-introspect-get-interface)
9530 (dbus-introspect-get-argument): Reflow docstrings.
9532 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9534 vc-log-incoming/vc-log-outgoing fixes for Git.
9535 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9536 incoming/outgoing logs.
9537 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9538 instead of vc-git-compute-remote.
9539 (vc-git-compute-remote): Remove.
9541 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9543 * term/common-win.el (x-colors): Add "dark green" and "dark
9544 turquoise" (Bug#6332).
9546 2010-06-04 Juri Linkov <juri@jurta.org>
9548 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9549 Instead of setting `replace' to t and replacing the same string
9550 with itself, don't do certain actions when
9551 kill-do-not-save-duplicates is non-nil and string is equal to car
9552 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9553 interprogram-paste strings to kill-ring, and don't push the input
9554 argument `string' to kill-ring.
9555 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9557 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9559 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9561 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9563 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9564 (tramp-gvfs-handler-mounted-unmounted)
9565 (tramp-gvfs-connection-mounted-p): Handle default-location.
9567 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9568 move files to trash.
9570 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9572 * international/mule-cmds.el (nonascii-insert-offset)
9573 (nonascii-translation-table): Add obsolescence information.
9575 * international/mule.el (make-translation-table-from-vector): Doc fix.
9577 2010-06-03 Glenn Morris <rgm@gnu.org>
9579 * desktop.el (desktop-clear-preserve-buffers):
9580 Add "*Warnings*" buffer. (Bug#6336)
9582 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9584 vc-log-incoming/vc-log-outgoing improvements for Git.
9585 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9587 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9589 Add bindings for vc-log-incoming and vc-log-outgoing.
9590 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9591 and vc-log-outgoing.
9592 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9593 and vc-log-outgoing.
9595 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9597 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9598 (rcirc-handler-366): Always sort nicknames.
9600 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9602 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9604 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9606 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9608 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9611 (rcirc-sort-nicknames-join): Avoid setq.
9613 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9615 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9616 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9617 (rcirc-handler-366): Use them.
9619 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9621 Split smie-indent-calculate into more manageable chunks.
9622 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9623 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9624 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9625 (smie-indent-exps): Extract from smie-indent-calculate.
9626 (smie-indent-functions): New var.
9627 (smie-indent-functions): Use them.
9629 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9631 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9632 (smie-indent-calculate): Simplify and cleanup.
9634 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9636 * net/tramp-gvfs.el (top): Require url-util.
9637 (tramp-gvfs-mount-point): Remove.
9638 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9640 (with-tramp-dbus-call-method): Format trace message.
9641 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9642 Implement backup call, when operation on local files fails.
9643 Use progress reporter. Flush properties of changed files.
9644 (tramp-gvfs-handle-make-directory): Make more traces.
9645 (tramp-gvfs-url-file-name): Hexify file name in url.
9646 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9647 into account for the resulting file name.
9648 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9649 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9650 (tramp-gvfs-handler-mounted-unmounted)
9651 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9652 attribute "default_location". Set "prefix" property.
9653 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9654 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9655 exists. Raise an error, if not (due to a corresponding answer
9656 "no" in interactive questions, for example).
9658 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9660 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9662 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9664 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9667 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9669 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9670 * vc-git.el (vc-git-compute-remote): New function.
9671 (vc-git-log-outgoing): Use it instead of hard coding a value.
9672 (vc-git-log-incoming): New function.
9674 Improve state updating for VC tag commands.
9675 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9676 to update the state of all buffers in the directory.
9678 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9680 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9683 `file-directory-p' to the filename part rather than to the whole text.
9685 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9689 2010-05-31 Drew Adams <drew.adams@oracle.com>
9691 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9693 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9695 * subr.el (momentary-string-display): Just use read-event to read
9696 the exit event (Bug#6238).
9698 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9700 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9702 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9704 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9705 Suggested by Eli Zaretskii <eliz@gnu.org>.
9707 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9709 * minibuffer.el (completion-file-name-table): Don't return a boundary
9710 past the end of `string' (bug#6299).
9711 (completion--file-name-table): Delegate to completion-file-name-table
9712 for the `boundaries' case.
9714 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9716 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9719 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9720 `path-separator', but maintain compatibility with Emacs 20.2.
9722 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9724 * server.el (server-process-filter): Receive parent-id argument
9726 (server-create-window-system-frame): New arg. Pass parent-id as
9729 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9731 Bidi-sensitive word movement with arrow keys.
9732 * subr.el (right-arrow-command, left-arrow-command): Move to
9735 * bindings.el (right-char, left-char): Move from subr.el and
9736 rename from right-arrow-command and left-arrow-command.
9737 (right-word, left-word): New functions.
9738 (global-map) <right>: Bind to right-char.
9739 (global-map) <left>: Bind to left-char.
9740 (global-map) <C-right>: Bind to right-word.
9741 (global-map) <C-left>: Bind to left-word.
9743 * ls-lisp.el (ls-lisp-classify-file): New function.
9744 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9745 (ls-lisp-classify): Call ls-lisp-classify-file.
9746 (insert-directory): Remove blanks from switches.
9748 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9750 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9751 (ansi-color-drop-regexp): New constant.
9752 (ansi-color-apply, ansi-color-filter-region)
9753 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9754 (ansi-color-apply): Build string list before calling concat.
9756 2010-05-28 Juri Linkov <juri@jurta.org>
9758 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9759 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9762 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9764 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9765 to ignored backtrace functions.
9766 (with-progress-reporter): Expand docstring.
9767 (tramp-handle-delete-file): Implement TRASH argument.
9768 (tramp-get-remote-trash): New defun.
9770 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9772 * net/tramp-compat.el (tramp-compat-delete-file):
9773 Use `symbol-value' for backward compatibility.
9775 * net/tramp.el (tramp-handle-make-symbolic-link)
9777 (tramp-do-copy-or-rename-file-via-buffer)
9778 (tramp-do-copy-or-rename-file-directly)
9779 (tramp-do-copy-or-rename-file-out-of-band)
9780 (tramp-handle-process-file, tramp-handle-call-process-region)
9781 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9782 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9783 (tramp-delete-temp-file-function): Use `delete-file' instead
9784 of `tramp-compat-delete-file'.
9786 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9787 (tramp-fish-handle-make-symbolic-link)
9788 (tramp-fish-handle-process-file): Use `delete-file' instead
9789 of `tramp-compat-delete-file'.
9791 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9792 Use `delete-file' instead of `tramp-compat-delete-file'.
9794 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9795 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9796 `tramp-compat-delete-file'.
9798 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9799 Use `delete-file' instead of `tramp-compat-delete-file'.
9801 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9802 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9803 (tramp-smb-handle-write-region): Use `delete-file' instead of
9804 `tramp-compat-delete-file'.
9805 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9807 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9809 * dired.el (dired-delete-file): New arg TRASH.
9810 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9811 (dired-do-flagged-delete, dired-do-delete): Use trash.
9813 * speedbar.el (speedbar-item-delete): Allow trashing.
9815 * files.el (delete-directory): New arg TRASH.
9817 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9818 (ange-ftp-rename-remote-to-remote)
9819 (ange-ftp-rename-local-to-remote)
9820 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9821 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9823 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9826 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9827 handle new TRASH arg of `delete-file'.
9829 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9830 (tramp-handle-make-symbolic-link, tramp-handle-load)
9831 (tramp-do-copy-or-rename-file-via-buffer)
9832 (tramp-do-copy-or-rename-file-directly)
9833 (tramp-do-copy-or-rename-file-out-of-band)
9834 (tramp-handle-process-file, tramp-handle-call-process-region)
9835 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9836 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9837 (tramp-delete-temp-file-function): Use null TRASH arg in
9838 tramp-compat-delete-file call.
9840 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9841 (tramp-fish-handle-delete-file)
9842 (tramp-fish-handle-make-symbolic-link)
9843 (tramp-fish-handle-process-file): Use null TRASH arg in
9844 `tramp-compat-delete-file' call.
9846 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9847 arg in `tramp-compat-delete-file' call.
9849 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9850 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9851 `tramp-compat-delete-file' call.
9853 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9854 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9855 `tramp-compat-delete-file' call.
9857 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9858 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9859 (tramp-smb-handle-write-region): Use null TRASH arg in
9860 tramp-compat-delete-file call.
9861 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9862 (tramp-smb-handle-delete-file): Rename arg.
9864 * diff.el (diff-sentinel):
9865 * epg.el (epg--make-temp-file, epg-decrypt-string)
9866 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9867 * jka-compr.el (jka-compr-partial-uncompress)
9868 (jka-compr-call-process, jka-compr-write-region):
9869 * server.el (server-sentinel): Remove optional arg from
9870 delete-file, reverting 2010-05-03 change.
9872 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9874 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9875 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9877 2010-05-27 Kenichi Handa <handa@m17n.org>
9879 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9880 element of GSTRING is nil.
9882 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * emacs-lisp/smie.el (smie-forward-token-function)
9885 (smie-backward-token-function): New vars.
9886 (smie-backward-sexp, smie-forward-sexp)
9887 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9888 (smie-default-backward-token): Rename from smie-backward-token and
9890 (smie-default-forward-token): Rename from smie-forward-token and
9892 (smie-next-sexp): Handle nil results from next-token.
9893 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9895 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9897 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9898 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9900 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9902 * htmlfontify.el (hfy-face-resolve-face): New function.
9903 (hfy-face-to-style): Use it (Bug#6279).
9905 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9907 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9908 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9910 2010-05-26 Glenn Morris <rgm@gnu.org>
9912 * emulation/edt.el (edt-load-keys): Use locate-library.
9914 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9916 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9917 (log-edit-changelog-entries): Doc fix.
9918 (log-edit-changelog-insert-entries): Args changed.
9919 Rename relative filenames in ChangeLog entries. Delete tabs.
9920 (log-edit-insert-changelog-entries): Reorganize return value of
9921 `log-edit-changelog-entries' to pass filenames to
9922 log-edit-changelog-insert-entries.
9924 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9926 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9927 `image-dired-dired-insert-marked-thumbs' to
9928 `image-dired-dired-toggle-marked-thumbs'.
9930 * image-dired.el: Require cl when compiling.
9931 (image-dired-dired-toggle-marked-thumbs): Rename from
9932 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9933 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9934 to 'no-dir. Skip files whose names don't match
9935 `image-file-name-regexp'. When file has a thumbnail overlay,
9936 delete it. (Bug#5270)
9938 2010-05-25 Juri Linkov <juri@jurta.org>
9940 * image-mode.el (image-mode): Add image-after-revert-hook to
9942 (image-after-revert-hook): New function. (Bug#5669)
9944 2010-05-25 Juri Linkov <juri@jurta.org>
9946 * image.el (image-animated-p): When delay between animated images
9947 is 0, set it to 10 (0.1 sec). (Bug#6258)
9949 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9951 * net/tramp.el (tramp-handle-insert-directory): Don't use
9952 `forward-word', its default syntax could be changed.
9954 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9956 * net/tramp.el (tramp-progress-reporter-update): New defun.
9957 (with-progress-reporter): Use it.
9958 (tramp-process-actions):
9959 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9960 Preserve current message, in order to let progress reporter continue
9961 afterwards. (Bug#6257)
9963 2010-05-25 Glenn Morris <rgm@gnu.org>
9965 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9968 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9970 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9971 (rcirc-default-full-name): Change to "unknown".
9972 (rcirc-user-name-history): Add variable.
9974 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9975 Jonathan Rockway <jon@jrock.us>
9977 * net/rcirc.el (rcirc-server-alist): Add :pass.
9978 (rcirc): When prompting for connection parameters, also prompt for
9979 username and password.
9980 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9981 value to server when connecting.
9983 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9986 (smie-merge-prec2s): Pass the tables as separate args.
9987 (smie-bnf-precedence-table): Adjust call accordingly.
9988 (smie-prec2-levels): Set levels at the end.
9990 Replace Lisp calls to delete-backward-char by delete-char.
9991 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9992 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9993 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9994 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9995 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9996 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9997 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9998 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9999 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10000 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10001 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10002 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10003 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10004 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10005 delete-backward-char by calls to delete-char.
10007 2010-05-25 Kenichi Handa <handa@m17n.org>
10009 * language/hebrew.el (hebrew-shape-gstring): New function.
10010 Register it in composition-function-table for all Hebrew combining
10013 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * epa.el (epa--select-keys): Don't explicitly delete the window since
10016 that can fail (e.g. sole window in frame). Use dedication instead.
10018 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10020 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10022 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10024 * image.el (image-refresh): Define as an alias for image-flush.
10026 * image-mode.el (image-toggle-display-image): Caller changed.
10028 2010-05-21 Juri Linkov <juri@jurta.org>
10030 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10031 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10032 whitespace, call wildcard-to-regexp on substrings and concat them
10033 with "\\|". (Bug#6114)
10035 2010-05-21 Alan Mackenzie <acm@muc.de>
10037 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10038 Replace parameter `here' with `here-' and `here-plus', which sandwich
10039 any pertinent CPP construct.
10040 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10041 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10042 CPP construct from taking part in the scanning.
10044 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10046 * net/tramp.el (tramp-do-copy-or-rename-file)
10047 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10048 Tune `with-progress-reporter' messages.
10049 (tramp-handle-vc-registered):
10050 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10051 (tramp-fish-handle-insert-file-contents)
10052 (tramp-fish-maybe-open-connection):
10053 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10054 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10055 (tramp-imap-handle-insert-file-contents)
10056 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10058 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10060 * add-log.el (change-log-font-lock-keywords):
10061 Highlight all authors in multi-author entries.
10063 * smerge-mode.el (smerge-refine-ignore-whitespace)
10064 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10065 Fix typos in docstrings.
10066 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10068 2010-05-21 Glenn Morris <rgm@gnu.org>
10070 * progmodes/fortran.el (fortran-mode):
10071 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10073 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10074 having a relative path in src/Makefile.in.
10076 2010-05-20 Kevin Ryde <user42@zip.com.au>
10078 * help-mode.el (help-make-xrefs): For Info node links turn
10079 newlines into spaces. Link node names with newlines are matched
10080 by help-xref-info-regexp and buttonized, this change ensures they
10081 can be followed successfully with RET. (Bug#6206)
10083 2010-05-20 Juri Linkov <juri@jurta.org>
10085 * locate.el (locate): Use pop-to-buffer instead of
10086 switch-to-buffer-other-window. (Bug#6204)
10088 2010-05-20 Juri Linkov <juri@jurta.org>
10090 * replace.el (replace-highlight): Fix lazy-highlighting
10091 for `M-s w str M-% str RET'.
10093 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10095 * isearch.el (isearch-yank-word-or-char): Pull next subword
10096 when `subword-mode' is activated. (Bug#6220)
10098 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10100 * isearch.el (isearch-update-post-hook): New hook.
10101 (isearch-update): Use the new hook. (Bug#6225)
10103 2010-05-20 Juri Linkov <juri@jurta.org>
10105 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10106 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10109 2010-05-20 Juri Linkov <juri@jurta.org>
10111 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10114 2010-05-20 Juri Linkov <juri@jurta.org>
10116 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10117 FILE-NAME to read from the minibuffer when called interactively
10118 with prefix argument instead of using buffer-file-name.
10119 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10121 * dired.el: Update autoloads.
10123 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10125 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10126 nxml-finish-element, for consistency with SGML mode.
10128 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10129 octave-close-block.
10131 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10133 * composite.el: Require cl when compiling.
10134 (reference-point-alist, compose-gstring-for-graphic)
10135 (compose-gstring-for-terminal): Fix typos in docstrings.
10137 2010-05-19 Juri Linkov <juri@jurta.org>
10139 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10140 set-window-parameter.
10142 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10144 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10146 (tramp-maybe-open-connection): Use it.
10148 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10150 * simple.el (move-end-of-line): Make sure we are at line beginning
10151 before backing up to end of previous line.
10153 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10155 * password-cache.el (password-cache-remove): Fix docstring.
10157 * net/secrets.el: Autoload the widget functions.
10158 (secrets-search-items, secrets-create-item)
10159 (secrets-get-attributes, secrets-expand-item): Attributes will be
10160 stored on the password database without leading ":", as all other
10161 clients do as well.
10162 (secrets-mode): Fix docstring.
10163 (secrets-show-secrets): Provide it as autoloaded command only when
10164 D-Bus support is available. Check existence of Secret Service API.
10166 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * indent.el (indent-region): Deactivate region (bug#6200).
10170 2010-05-19 Glenn Morris <rgm@gnu.org>
10172 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10174 2010-05-19 Kenichi Handa <handa@m17n.org>
10176 * composite.el: Register compose-gstring-for-graphic in
10177 composition-function-table only for combining characters (Mn, Mc, Me).
10179 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10181 * calc/calc-trail.el (calc-trail-isearch-forward)
10182 (calc-trail-isearch-backward): Ensure that the new window
10183 point is set correctly.
10185 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10187 * subr.el (read-quoted-char): Resolve modifiers after key
10188 remapping (bug#6212).
10190 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10192 Add visualization code for secrets.
10193 * net/secrets.el (secrets-mode): New major mode.
10194 (secrets-show-secrets, secrets-show-collections)
10195 (secrets-expand-collection, secrets-expand-item)
10196 (secrets-tree-widget-after-toggle-function)
10197 (secrets-tree-widget-show-password): New defuns.
10199 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10202 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10203 handled in smie-next-sexp.
10204 (smie-indent-calculate): Provide a starting indentation (so the
10205 recursion is well-founded ;-).
10207 Fix handling of non-associative equal levels.
10208 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10209 when it's not needed.
10210 (smie-op-left, smie-op-right): New functions.
10211 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10212 Better handle equal levels to distinguish the associative case from
10213 the "multi-keyword construct" case.
10214 (smie-backward-sexp, smie-forward-sexp): Use it.
10216 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10218 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10220 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10221 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10223 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10225 Provide a simple generic indentation engine and use it for Prolog.
10226 * emacs-lisp/smie.el: New file.
10227 * progmodes/prolog.el (prolog-smie-op-levels)
10228 (prolog-smie-indent-rules): New var.
10229 (prolog-mode-variables): Use them to configure SMIE.
10230 (prolog-indent-line, prolog-indent-level): Remove.
10232 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10234 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10235 order before computing the averages.
10237 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10239 * calc/calc-vec.el (calc-histogram):
10240 (calcFunc-histogram): Allow vectors as inputs.
10241 (math-vector-avg): New function.
10243 * calc/calc-ext.el (math-group-float): Have the number of digits
10244 being grouped depend on the radix (Bug#6189).
10246 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10248 * version.el (emacs-copyright, emacs-version): Don't define here,
10249 now that emacs.c defines it.
10251 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10253 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10254 "Describe Language Environment" menu item.
10256 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10258 Bidi-sensitive movement with arrow keys.
10259 * subr.el (right-arrow-command, left-arrow-command): New functions.
10261 * bindings.el (global-map): Bind them to right and left arrow keys.
10263 Don't override standard definition of convert-standard-filename.
10264 * files.el (convert-standard-filename):
10265 Call w32-convert-standard-filename and dos-convert-standard-filename on
10266 the corresponding systems.
10268 * w32-fns.el (w32-convert-standard-filename): Rename from
10269 convert-standard-filename. Doc fix.
10271 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10272 (convert-standard-filename): Don't defalias.
10273 (register-name-alist, make-register, register-value)
10274 (set-register-value, intdos): Obsolete aliases for the
10275 corresponding dos-* functions and variables.
10276 (dos-intdos): Add a doc string.
10278 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10280 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10281 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10282 (math-compose-tex-func):
10283 * calc/calccomp.el (math-compose-expr):
10284 * calc/calc-ext.el (math-format-flat-expr-fancy):
10285 * calc/calc-store.el (calc-read-var-name):
10286 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10288 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10289 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10290 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10291 (math-standard-units): Add units.
10293 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * progmodes/asm-mode.el (asm-mode):
10296 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10298 * pcomplete.el (pcomplete-completions-at-point): New function,
10299 extracted from pcomplete-std-complete.
10300 (pcomplete-std-complete): Use it.
10302 2010-05-15 Glenn Morris <rgm@gnu.org>
10304 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10305 Remove references to CVS, RCS and Old directories.
10307 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10309 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10312 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10315 (sh-mode-syntax-table): Give it a default value instead.
10316 (sh-header-marker): Make buffer-local.
10317 (sh-mode): Move make-local-variable to the corresponding setq.
10318 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10319 Use complete-with-action.
10321 * simple.el (prog-mode): New (abstract) major mode.
10322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10323 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10325 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10327 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10328 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10329 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10330 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10331 (sql-escape-newlines-filter, sql-input-sender)
10332 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10334 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10336 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10338 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10339 latex-open-block and C-c / to latex-close-block.
10341 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10342 and C-c C-e to sgml-close-tag.
10344 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10346 * net/tramp.el (with-progress-reporter): Create reporter object
10347 only when the message would be displayed. Handle nested calls.
10348 (tramp-handle-load, tramp-handle-file-local-copy)
10349 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10350 (tramp-maybe-send-script, tramp-find-shell):
10351 Use `with-progress-reporter'.
10352 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10355 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10356 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10357 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10358 Use `with-progress-reporter'.
10360 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10362 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10363 process everytime when spellchecking from the minibuffer (bug#6143).
10365 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10369 * dos-fns.el: Add "dos-" prefix for namespace control.
10370 (convert-standard-filename): Define as alias for
10371 dos-convert-standard-filename but only if applicable.
10373 2010-05-12 Alan Mackenzie <acm@muc.de>
10375 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10376 Push the mark at the start of these functions when appropriate.
10378 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10380 * minibuffer.el (completion-cycle-threshold): New custom var.
10381 (completion--do-completion): Use it.
10382 (minibuffer-complete): Use cycling if appropriate.
10384 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10386 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10387 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10389 2010-05-11 Juri Linkov <juri@jurta.org>
10391 * scroll-all.el (scroll-all-check-to-scroll):
10392 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10394 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * iimage.el (iimage-mode-map): Move initialization into declaration.
10397 (iimage-mode-buffer): Use with-silent-modifications.
10398 Simplify calling convention. Adjust callers.
10399 (iimage-mode): Don't run hook redundantly.
10401 * minibuffer.el (completion-pcm--pattern->regex):
10402 Fix last change (bug#6160).
10404 2010-05-10 Juri Linkov <juri@jurta.org>
10406 Remove nodes visited during Isearch from the Info history.
10407 * info.el (Info-isearch-initial-history)
10408 (Info-isearch-initial-history-list): New variables.
10409 (Info-isearch-start): Record initial values of
10410 Info-isearch-initial-history and Info-isearch-initial-history-list.
10411 Add Info-isearch-end to isearch-mode-end-hook.
10412 (Info-isearch-end): New function.
10414 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10416 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10417 format string, in order to work around a bug in pdksh.
10418 Reported by Gilles Pion <gpion@lfdj.com>.
10419 (tramp-handle-verify-visited-file-modtime): Do not send a command
10420 when the connection is not established.
10421 (tramp-handle-set-file-times): Simplify the check for utc.
10423 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10425 Fix use of `filter-buffer-substring' (rework previous change).
10426 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10427 (cua-repeat-replace-region):
10428 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10429 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10430 (cua-cut-region-to-global-mark): Use it.
10432 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10434 * progmodes/sql.el: Version 2.1.
10435 (sql-product-alist): Redesign structure of product info.
10436 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10437 (sql-port, sql-port-history): New variables.
10438 (sql-interactive-product): New variable.
10439 (sql-send-terminator): New variable.
10440 (sql-imenu-generic-expression): Add "Types" imenu entry.
10441 (sql-oracle-login-params, sql-sqlite-login-params)
10442 (sql-mysql-login-params, sql-solid-login-params)
10443 (sql-sybase-login-params, sql-informix-login-params)
10444 (sql-ingres-login-params, sql-ms-login-params)
10445 (sql-postgres-login-params, sql-interbase-login-params)
10446 (sql-db2-login-params, sql-linter-login-params)
10447 (sql-oracle-scan-on): New variables.
10448 (sql-mode-map): Add C-c C-i to start interactive mode.
10449 (sql-mode-menu): Update existing menu entries.
10450 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10451 (sql-mode-oracle-font-lock-keywords)
10452 (sql-mode-postgres-font-lock-keywords)
10453 (sql-mode-ms-font-lock-keywords)
10454 (sql-mode-sybase-font-lock-keywords)
10455 (sql-mode-informix-font-lock-keywords)
10456 (sql-mode-interbase-font-lock-keywords)
10457 (sql-mode-ingres-font-lock-keywords)
10458 (sql-mode-solid-font-lock-keywords)
10459 (sql-mode-mysql-font-lock-keywords)
10460 (sql-mode-sqlite-font-lock-keywords)
10461 (sql-mode-db2-font-lock-keywords)
10462 (sql-mode-linter-font-lock-keywords): Update initialization to
10463 reduce run-time complexity.
10464 (sql-add-product, sql-del-product): New functions.
10465 (sql-set-product-feature, sql-get-product-feature): New functions.
10466 (sql-product-font-lock): Update product API.
10467 (sql-add-product-keywords): New function.
10468 (sql-highlight-product): Update product API.
10469 (sql-help-list-products): New function.
10470 (sql-help): Dynamically lists free and non-free products.
10471 (sql-get-login): Correct bug in handling history and added
10473 (sql-copy-column): Copy without properties.
10474 (sqli-input-sender): Apply filters to SQLi input.
10475 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10476 Implement as a filter.
10477 (sql-escape-newlines-filter): Implement as a filter.
10478 (sql-remove-tabs-filter): New function.
10479 (sql-send-magic-terminator): New function.
10480 (sql-send-string): Implement magic terminator.
10481 (sql-send-region): Use `sql-send-string'.
10482 (sql-interactive-mode): Use product API.
10483 (sql-product-interactive): Use product API.
10484 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10485 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10486 (sql-db2, sql-linter): Use `sql-product-interactive'.
10487 (sql-connect): New function.
10488 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10489 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10490 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10491 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10494 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10497 New custom variable.
10498 (completion-pcm--string->pattern): Use it.
10499 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10500 Make it handle any symbol as `any'.
10501 (completion-pcm--merge-completions): Extract common suffix for the new
10502 `prefix' symbol as well.
10503 (completion-substring--all-completions): Use the new `prefix' symbol.
10505 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10507 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10509 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10510 (tramp-compat-funcall): New defmacro.
10511 (tramp-compat-line-beginning-position)
10512 (tramp-compat-line-end-position)
10513 (tramp-compat-temporary-file-directory)
10514 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10515 (tramp-compat-copy-file, tramp-compat-copy-directory)
10516 (tramp-compat-delete-file, tramp-compat-delete-directory)
10517 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10518 * net/tramp.el (top, with-progress-reporter)
10519 (tramp-rfn-eshadow-setup-minibuffer)
10520 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10521 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10522 (tramp-completion-mode-p, tramp-check-for-regexp)
10523 (tramp-open-connection-setup-interactive-shell)
10524 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10525 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10526 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10527 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10528 (tramp-reporter-dump-variable, tramp-load-report-modules)
10529 (tramp-append-tramp-buffers)
10530 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10532 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10534 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10537 buffer-modtime. Adjust users.
10539 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10541 * international/mule.el (auto-coding-alist): Only purecopy
10542 car of each item, not the whole list (Bug#6083).
10544 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10546 * progmodes/js.el (js-mode): Make paragraph variables local before
10547 calling c-setup-paragraph-variables (Bug#6071).
10549 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10551 * composite.el (compose-region, reference-point-alist): Fix typos
10552 in the doc strings.
10554 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10556 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10557 gnuplot's "set" command.
10559 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10561 * abbrev.el (last-abbrev-text): Doc fix.
10562 (abbrev-prefix-mark): Don't escape parenthesis.
10564 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10566 * composite.el (find-composition): Doc fix.
10568 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10570 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10571 (sql-oracle-program, sql-sqlite-options)
10572 (sql-query-placeholders-and-send): Doc fixes.
10573 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10574 (sql-imenu-generic-expression, sql-buffer)
10575 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10576 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10577 (sql-mode-sybase-font-lock-keywords)
10578 (sql-mode-informix-font-lock-keywords)
10579 (sql-mode-interbase-font-lock-keywords)
10580 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10581 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10582 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10583 (sql-product-feature, sql-highlight-product)
10584 (comint-line-beginning-position, sql-rename-buffer)
10585 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10586 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10587 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10588 Fix typos in docstrings.
10590 2010-05-08 Juri Linkov <juri@jurta.org>
10592 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10593 property instead of `invisible' and `after-string' (bug#5998).
10595 2010-05-08 Juri Linkov <juri@jurta.org>
10597 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10599 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10601 * filecache.el (file-cache-add-directory-list)
10602 (file-cache-add-directory-recursively): Fix typos in docstrings.
10604 2010-05-08 Kenichi Handa <handa@m17n.org>
10606 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10607 (gujarati-composable-pattern): Fix typo.
10609 2010-05-08 Kenichi Handa <handa@m17n.org>
10611 * language/indian.el (oriya-composable-pattern)
10612 (tamil-composable-pattern, malayalam-composable-pattern):
10613 Add two-part vowels to "v" (vowel sign).
10615 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10617 * files.el (copy-directory): Handle symlinks (Bug#5982).
10619 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10621 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10622 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10625 2010-05-08 Glenn Morris <rgm@gnu.org>
10627 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10629 * minibuffer.el (completion-at-point): Doc fix.
10631 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10633 * electric.el (Electric-command-loop): Minor tweak.
10635 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10636 better with dedicated windows.
10638 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10640 * Version 23.2 released.
10642 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10643 Stefan Monnier <monnier@iro.umontreal.ca>
10645 Highlight vendor specific properties.
10646 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10647 (css-proprietary-property): New face.
10648 (css-font-lock-keywords): Use them.
10650 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10652 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10654 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10656 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10657 * files.el (auto-mode-alist): Remove redundant entries.
10659 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10660 * simple.el (auto-save-mode): Move from files.el.
10661 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10663 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10665 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10667 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10669 * mail/binhex.el (binhex-decode-region-internal)
10670 * mail/uudecode.el (uudecode-decode-region-internal)
10671 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10672 (dns-read-type, dns-query)
10673 * pgg-parse.el (pgg-parse-armor)
10674 * pgg.el (pgg-verify-region)
10675 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10678 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10680 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10682 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10684 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10685 * emulation/cua-base.el (cua-repeat-replace-region):
10686 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10687 (cua-cut-region-to-global-mark):
10688 Remove text properties with `set-text-properties'.
10690 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10692 * net/tramp.el (top, with-progress-reporter):
10693 Use `symbol-function' inside `funcall'.
10695 * net/tramp-compat.el (tramp-compat-file-attributes)
10696 (tramp-compat-delete-file, tramp-compat-delete-directory):
10697 Handle only `wrong-number-of-arguments' error.
10699 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10700 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10703 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * minibuffer.el (completion--sreverse, completion--common-suffix):
10707 (completion-pcm--merge-completions): Extract common suffix when safe.
10709 * emacs-lisp/easy-mmode.el (define-minor-mode):
10710 Make :variable more flexible.
10711 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10713 2010-05-05 Juri Linkov <juri@jurta.org>
10715 Add `slow' and `history' tags to the desktop data.
10717 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10718 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10719 (Info-finder-find-node): Require `finder.el' to be able
10720 to restore node from the desktop.
10721 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10722 data `Info-history' and `slow' tag in the assoc list.
10723 (Info-restore-desktop-buffer): Don't restore nodes with the
10724 `slow' tag. Restore `Info-history'.
10726 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10728 Add FORCE argument to `delete-file'.
10730 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10731 forcing to delete the temporary file.
10732 (ange-ftp-delete-file): Add FORCE arg.
10733 (ange-ftp-rename-remote-to-remote)
10734 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10735 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10736 Force file deletion.
10738 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10740 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10741 (tramp-handle-make-symbolic-link, tramp-handle-load)
10742 (tramp-do-copy-or-rename-file-via-buffer)
10743 (tramp-do-copy-or-rename-file-directly)
10744 (tramp-do-copy-or-rename-file-out-of-band)
10745 (tramp-handle-process-file, tramp-handle-call-process-region)
10746 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10747 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10748 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10750 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10751 (tramp-fish-handle-make-symbolic-link)
10752 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10754 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10755 Use `tramp-compat-delete-file'.
10757 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10758 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10760 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10761 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10763 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10764 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10765 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10766 Use `tramp-compat-delete-file'.
10768 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * subr.el (add-minor-mode): Use push.
10772 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10773 * emulation/edt.el (edt-select-mode): Simplify.
10775 Use define-minor-mode in more cases.
10776 * term/tvi970.el (tvi970-set-keypad-mode):
10777 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10778 (normal-erase-is-backspace-mode):
10779 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10780 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10781 (get-scroll-bar-mode): New function.
10782 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10784 Use define-minor-mode for less obvious cases.
10785 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10786 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10787 * international/iso-ascii.el (iso-ascii-mode):
10788 * frame.el (auto-raise-mode, auto-lower-mode):
10789 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10791 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10793 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10794 in order to see error messages for failed logins.
10796 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10798 * diff.el (diff-sentinel):
10800 * epg.el (epg--make-temp-file, epg-decrypt-string)
10801 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10803 * jka-compr.el (jka-compr-partial-uncompress)
10804 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10806 * server.el (server-sentinel): Use delete-file's new FORCE arg
10809 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10811 Use define-minor-mode where applicable.
10812 * view.el (view-mode):
10813 * type-break.el (type-break-query-mode)
10814 (type-break-mode-line-message-mode):
10815 * textmodes/reftex.el (reftex-mode):
10816 * term/vt100.el (vt100-wide-mode):
10817 * tar-mode.el (tar-subfile-mode):
10818 * savehist.el (savehist-mode):
10819 * ibuf-ext.el (ibuffer-auto-mode):
10820 * composite.el (auto-composition-mode):
10821 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10822 Use define-minor-mode.
10823 (vhdl-mode): Use static mode-line format.
10824 (vhdl-mode-line-update): Delete.
10825 (vhdl-create-mode-menu, vhdl-activate-customizations)
10826 (vhdl-hs-minor-mode): Don't bother calling it.
10828 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10830 * simple.el (with-wrapper-hook): Move.
10831 (buffer-substring-filters): Mark obsolete.
10832 (filter-buffer-substring-functions): New variable.
10833 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10835 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10836 Michael Albinus <michael.albinus@gmx.de>
10838 Implement compression for inline methods.
10840 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10841 (tramp-copy-size-limit): Allow also nil.
10842 (tramp-inline-compress-commands): New defconst.
10843 (tramp-find-inline-compress, tramp-get-inline-compress)
10844 (tramp-get-inline-coding): New defuns.
10845 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10846 replaced by `tramp-get-inline-coding'.
10847 (tramp-handle-file-local-copy, tramp-handle-write-region)
10848 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10850 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10852 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10853 Remove unused functions.
10855 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10856 Set find-tag-default-function as a variable rather than a property.
10858 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10859 * progmodes/etags.el (tags-completion-at-point-function):
10860 Remove left over interactive spec. Add autoloading stub.
10861 (complete-tag): Use tags-completion-at-point-function.
10863 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10865 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10867 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10869 * ido.el (ido-init-completion-maps): Remove C-v binding.
10870 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10872 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10874 * minibuffer.el (tags-completion-at-point-function): New function.
10875 (completion-at-point-functions): Use it.
10877 * progmodes/etags.el (complete-tag): Revert last change.
10879 2010-04-29 Alan Mackenzie <acm@muc.de>
10881 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10882 off-by-one error (in end of macro position).
10884 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10887 firefox is absent. Don't autoload.
10888 (browse-url-galeon-program): Don't autoload.
10890 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10892 * bindings.el (complete-symbol): Move into minibuffer.el.
10894 * minibuffer.el (complete-tag): Move from etags.el. If tags
10895 completion cannot be performed, return nil instead of signalling
10897 (completion-at-point): Make it an alias for complete-symbol.
10898 (complete-symbol): Move from bindings.el, and replace with the
10899 body of completion-at-point.
10901 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10903 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10905 * net/tramp.el (tramp-remote-selinux-p): New defun.
10906 (tramp-handle-file-selinux-context)
10907 (tramp-handle-set-file-selinux-context): Use it.
10909 2010-04-28 Sam Steingold <sds@gnu.org>
10911 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10912 `safe-local-variable' if the value is a string or a symbol with
10913 the property `bug-reference-url-format'.
10915 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10917 * progmodes/bug-reference.el (bug-reference-url-format):
10918 Revert 2010-04-27 change due to security risk.
10920 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10922 Make it possible to locally disable a globally enabled mode.
10923 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10924 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10925 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10926 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10927 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10928 that subsequent hooks get a chance to disable it.
10930 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10933 Avoid re-enabling a minor mode after the user turned the minor mode
10934 off if MODE-enable-in-buffers is run twice (typically once from
10935 fundamental-mode's after-change-major-mode-hook and a second time from
10936 run-mode-hook's own after-change-major-mode-hook).
10938 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10940 2010-04-27 Sam Steingold <sds@gnu.org>
10942 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10943 `safe-local-variable' if the value is a string or a function, as
10944 documented and implemented on 2010-04-02.
10946 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10948 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10949 when method is 'kill.
10951 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10953 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10954 condition in default directory check.
10955 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10956 Kill ispell process when killing its associated buffer.
10958 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10960 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10961 but we aren't using it.
10963 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10965 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10966 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10968 2010-04-24 Glenn Morris <rgm@gnu.org>
10970 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10971 Ignore VCS-ignore files, and deleted nextstep preferences files.
10972 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10973 (authors-ambiguous-files): New list.
10974 (authors-valid-file-names): Add some deleted files.
10975 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10976 (authors-disambiguate-file-name): New function. (Bug#5501)
10977 (authors-canonical-file-name): Doc fix.
10978 Don't warn about obsolete files.
10979 (authors-canonical-file-name, authors-scan-el):
10980 Use authors-disambiguate-file-name.
10982 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10983 Add autoload cookies.
10984 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10985 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10986 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10987 They have definitions / compiler macros in cl.el.
10988 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10989 Replace manual autoloads with generated ones.
10990 (htmlfontify-unload-rgb-file): Remove autoload.
10991 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10993 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10996 (byte-compile-setq-default): Optimize for the
10997 single-var case and don't call byte-compile-form in this case to avoid
10998 inf-loop with byte-compile-set-default.
11000 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11002 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11004 Implement SELINUX backends.
11006 * net/tramp.el (tramp-file-name-handler-alist):
11007 Add `file-selinux-context' and `set-file-selinux-context'.
11008 (tramp-handle-file-selinux-context)
11009 (tramp-handle-set-file-selinux-context): New defuns.
11010 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11011 Handle PRESERVE-SELINUX-CONTEXT.
11013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11014 Add `file-selinux-context' and `set-file-selinux-context'.
11015 (tramp-gvfs-handle-file-selinux-context)
11016 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11017 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11019 * net/ange-ftp.el (ange-ftp-copy-file):
11020 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11021 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11022 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11023 Add PRESERVE-SELINUX-CONTEXT.
11025 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11027 Synchronize with Tramp repository.
11029 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11030 (tramp-action-process-alive, tramp-action-out-of-band)
11031 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11032 (tramp-exists-file-name-handler): Fix docstring.
11033 (with-progress-reporter): New defmacro.
11034 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11035 (tramp-maybe-open-connection): Use it.
11037 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11039 Detect ssh 'ControlMaster' argument automatically in some cases.
11041 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11042 (tramp-default-method): Use it.
11044 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11046 * net/tramp.el (tramp-handle-copy-file): Add new optional
11047 parameter `preserve-selinux-context'.
11048 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11050 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11052 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11053 Ensure, that non remote files are still checked. Oops.
11055 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11059 * icomplete.el (icomplete-completions): Use `non-essential'.
11061 * net/tramp.el (tramp-connectable-p): New defun.
11062 (tramp-handle-expand-file-name)
11063 (tramp-completion-handle-file-name-all-completions)
11064 (tramp-completion-handle-file-name-completion): Use it.
11066 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11068 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11070 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11072 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11074 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11076 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11079 * info.el (info-tool-bar-map): Add labels.
11081 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11083 * cus-edit.el (custom-commands): Add labels for tool bar.
11084 (custom-buffer-create-internal, Custom-mode): Adjust for
11085 labels in custom-commands.
11087 * dynamic-setting.el: Renamed from font-setting.el.
11089 2010-04-21 John Wiegley <jwiegley@gmail.com>
11091 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11092 toggles the use of virtual buffers.
11093 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11094 (ido-toggle-virtual-buffers): New function.
11096 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11098 Use `define-derived-mode'; fix window selection; doc fixes.
11099 * play/tetris.el (tetris, tetris-update-speed-function)
11100 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11101 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11102 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11103 (tetris-pause-game): Fix typos in docstrings.
11104 (tetris-mode-map, tetris-null-map):
11105 Move initialization into declaration.
11106 (tetris-mode): Define with `define-derived-mode';
11107 set show-trailing-whitespace to nil.
11108 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11110 2010-04-21 Karel Klíč <kklic@redhat.com>
11112 * files.el (backup-buffer): Handle SELinux context, and return it
11113 if a backup was made by renaming.
11114 (backup-buffer-copy): Set SELinux context to the target file.
11115 (basic-save-buffer): Set SELinux context of the newly written file.
11116 (basic-save-buffer-1): Now it also returns any SELinux context.
11117 (basic-save-buffer-2): Set SELinux context of the newly created file,
11119 * net/tramp.el (tramp-file-name-for-operation):
11120 Add file-selinux-context.
11122 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11124 Make the log-edit comments use RFC822 format throughout.
11126 * vc.el (vc-checkin, vc-modify-change-comment):
11127 Adjust to new vc-start/finish-logentry.
11128 (vc-find-conflicted-file): New command.
11129 (vc-transfer-file): Adjust to new vc-checkin.
11130 (vc-next-action): Improve scoping.
11132 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11133 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11135 * vc-git.el (vc-git-log-edit-mode): Remove.
11136 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11137 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11139 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11140 (vc-start-logentry): Remove argument `extra'.
11141 (vc-finish-logentry): Remove extra args.
11143 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11144 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11145 (vc-bzr-conflicted-files): New function.
11147 * log-edit.el (log-edit-extra-flags)
11148 (log-edit-before-checkin-process): Remove.
11149 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11150 (log-edit-headers-alist): New var.
11151 (log-edit-header-contents-regexp): New const.
11152 (log-edit-match-to-eoh): New function.
11153 (log-edit-font-lock-keywords): Use them.
11154 (log-edit): Insert a "Summary:" header as default.
11155 (log-edit-mode): Mark font-lock rules as case-insensitive.
11156 (log-edit-done): Cleanup headers.
11157 (log-view-process-buffer): Remove.
11158 (log-edit-extract-headers): New function to replace it.
11160 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11162 * subr.el (default-direction-reversed): Remove obsolescence info.
11164 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11166 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11169 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11170 I.e. include text after point in the completion region.
11171 Also, return nil when we're not after/in a symbol.
11173 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11174 default enable-multibyte-characters.
11176 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11178 * international/mule.el: Help the user choose a valid coding-system.
11179 (read-buffer-file-coding-system): New function.
11180 (set-buffer-file-coding-system): Use it. Prompt the user if the
11181 coding-system cannot encode all the chars.
11183 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11184 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11185 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11186 Don't use *vc-bzr-shelve*.
11188 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11190 Fix the version number for added files.
11191 * vc-hg.el (vc-hg-working-revision): Check if the file is
11192 registered after hg parent fails (Bug#5961).
11194 2010-04-19 Glenn Morris <rgm@gnu.org>
11196 * htmlfontify.el (htmlfontify-buffer)
11197 (htmlfontify-copy-and-link-dir): Autoload entry points.
11199 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11201 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11202 name relative to the project root (Bug#5960).
11204 2010-04-19 Glenn Morris <rgm@gnu.org>
11206 * vc-git.el (vc-git-print-log): Doc fix.
11208 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11210 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11212 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
11214 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11215 default settings (Bug#5928).
11217 2010-04-19 Glenn Morris <rgm@gnu.org>
11219 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11221 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11223 2010-04-19 Kenichi Handa <handa@m17n.org>
11225 * language/indian.el (malayalam-composable-pattern): Fix previous
11226 change (add U+0D4D "SIGN VIRAMA").
11227 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11228 (tamil-composable-pattern): Fix typo in the regexp.
11229 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11230 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11231 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11233 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11235 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11236 paragraph-separate (Bug#5821).
11238 2010-04-19 Juri Linkov <juri@jurta.org>
11240 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11242 * info.el (Info-find-node-2): Comment out code that skips
11244 (Info-mouse-follow-link): New command.
11245 (Info-link-keymap): New keymap.
11246 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11247 Return a string with links instead of inserting breadcrumbs
11248 to the Info buffer.
11249 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11250 Instead of putting the `invisible' text property over the Info
11251 header, make an overlay over the Info header with the `invisible'
11252 property and `after-string' set to the string returned by
11253 `Info-breadcrumbs'.
11255 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11257 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11258 Reported by monkey@sandpframing.com.
11260 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11262 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11263 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11264 available in the "keyseq cache" any more.
11266 * custom.el (defcustom): Add edebug spec.
11268 2010-04-18 Juri Linkov <juri@jurta.org>
11270 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11272 * view.el (view-file, view-buffer): Move test for special mode-class
11273 from view-file to view-buffer.
11275 * tar-mode.el (tar-extract): Turn if's into one cond
11276 like in arc-mode.el.
11278 2010-04-18 Juri Linkov <juri@jurta.org>
11280 Add 7z archive format support (bug#5475).
11282 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11283 (archive-7z-extract): New defcustom.
11284 (archive-find-type): Add magic string for 7z.
11285 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11286 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11287 `buffer' arg of `call-process'.
11288 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11289 call the function `archive-7z-extract' with the variable
11290 `archive-7z-extract' let-bound to `archive-zip-extract'.
11291 (archive-7z-summarize, archive-7z-extract): New functions.
11293 * international/mule.el (auto-coding-alist):
11294 * files.el (auto-mode-alist): Add 7z file extension.
11296 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11298 * loadup.el: Setup hash-cons for pure data.
11300 Fix duplicate entries in cedet's loaddefs.el files.
11301 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11302 Should make most file-local generated-autoload-file unnecessary.
11303 (print-readably): Silence warnings.
11304 (autoload-find-destination): Take load-name as an arg to make sure
11305 it's the same as the one that will be in the file.
11306 (autoload-generate-file-autoloads): Adjust to above changes.
11307 Try to make the dataflow a bit simpler.
11309 * cvs-status.el (cvs-refontify): Remove unused.
11311 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11313 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11315 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11316 twos-complement mode.
11318 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11320 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11321 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11322 (calc-inverse): Add "Option" to message, as appropriate.
11323 (calc-hyperbolic): Add "Option" to message, as appropriate.
11324 (calc-option, calc-is-option): New functions.
11326 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11327 (calc-option-prefix-help): New function.
11329 * calc/calc-misc.el (calc-help): Add "Option" entry.
11331 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11332 (calc-option-flag): New variable.
11333 (calc-do): Set `calc-option-flag to nil.
11334 (calc-set-mode-line): Add "Opt " as appropriate.
11336 2010-04-16 Juri Linkov <juri@jurta.org>
11338 Move scrolling commands from simple.el to window.el
11339 because their primitives are implemented in window.c.
11341 * simple.el (scroll-error-top-bottom)
11342 (scroll-up-command, scroll-down-command, scroll-up-line)
11343 (scroll-down-line, scroll-other-window-down)
11344 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11345 * window.el (scroll-error-top-bottom)
11346 (scroll-up-command, scroll-down-command, scroll-up-line)
11347 (scroll-down-line, scroll-other-window-down)
11348 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11349 Move from simple.el to window.el because their primitives are
11350 implemented in window.c.
11352 2010-04-16 Juri Linkov <juri@jurta.org>
11354 * isearch.el (isearch-lookup-scroll-key): Check both
11355 `isearch-scroll' and `scroll-command' properties.
11356 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11358 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11360 * simple.el (scroll-up-command, scroll-down-command)
11361 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11363 2010-04-15 Juri Linkov <juri@jurta.org>
11365 * simple.el (scroll-up-command, scroll-down-command)
11366 (scroll-up-line, scroll-down-line): Put `scroll-command'
11367 property on the these symbols. Remove them from
11368 `scroll-preserve-screen-position-commands'.
11370 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11371 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11372 Remove it from `scroll-preserve-screen-position-commands'.
11374 * isearch.el (isearch-allow-scroll): Doc fix.
11376 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11378 * net/tramp.el (tramp-error-with-buffer): Don't show the
11379 connection buffer when we are in completion mode.
11380 (tramp-file-name-handler): Catch the error for some operations
11381 when we are in completion mode. This gives the user the chance to
11382 correct the file name in the minibuffer.
11384 2010-04-15 Glenn Morris <rgm@gnu.org>
11386 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11388 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11390 Simplify by using `define-derived-mode'.
11391 * info.el (Info-mode):
11392 * calendar/todo-mode.el (todo-mode):
11393 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11394 (gomoku-mode-map): Move initialization into declaration.
11396 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11399 * ido.el (ido-file-name-all-completions-1):
11400 * minibuffer.el (minibuffer-completion-help):
11401 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11403 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11405 * simple.el (non-essential): New var.
11407 Add a new field `location' to bookmarks for non-file bookmarks.
11408 * bookmark.el (bookmark-location): Use the new field, if present.
11409 (bookmark-insert-location): Undo last change, not needed any more.
11410 * man.el (Man-bookmark-make-record):
11411 * woman.el (woman-bookmark-make-record): Add `location' field.
11413 2010-04-14 Juri Linkov <juri@jurta.org>
11415 * simple.el (scroll-error-top-bottom): New defcustom.
11416 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11418 * emulation/pc-select.el (pc-select-override-scroll-error):
11419 Obsolete in favor of `scroll-error-top-bottom'.
11421 2010-04-14 Juri Linkov <juri@jurta.org>
11423 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11424 `scroll-up-command' and `M-v' to `scroll-down-command'.
11426 * emulation/cua-rect.el (cua--init-rectangles):
11427 * forms.el (forms--change-commands):
11428 * image-mode.el (image-mode-map):
11429 Remap scroll-down-command and scroll-up-command
11430 in addition to scroll-down and scroll-up.
11432 2010-04-14 Juri Linkov <juri@jurta.org>
11434 * mwheel.el (scroll-preserve-screen-position-commands):
11435 Add mwheel-scroll to this list of commands.
11437 * simple.el (scroll-preserve-screen-position-commands):
11438 Add scroll-up-command, scroll-down-command, scroll-up-line,
11439 scroll-down-line to this list of commands.
11441 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11443 * obsolete/complete.el: Move from lisp/complete.el.
11445 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11447 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11448 to the minor mode function now turns the mode ON unconditionally.
11450 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * vc-dir.el (vc-dir-kill-line): New command.
11453 (vc-dir-mode-map): Bind it to C-k.
11455 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11457 * woman.el: Add bookmark declarations to silence the compiler.
11458 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11459 step to compatibility between man and woman bookmarks.
11460 Adjust for Man-default-bookmark-title renaming.
11461 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11463 * man.el: Add bookmark declarations to silence the compiler.
11464 (Man-name-local-regexp): Make it match NAME as well.
11465 (Man-getpage-in-background): Return the buffer.
11466 (Man-notify-when-ready): Use `case'.
11467 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11468 Don't hardcode "NAME". Simplify.
11469 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11470 Rename from Man-bookmark-make-record.
11471 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11472 we have the actual man-args. Use Man-getpage-in-background rather
11473 than `man' since the arg is already processed. Let bookmark.el do the
11474 window handling. Only wait for the relevant process.
11475 Don't forget to autoload.
11477 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11479 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11481 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11483 (woman-mode): Setup bookmark support.
11485 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11486 (man-bookmark-jump): New functions.
11487 (Man-mode): Setup bookmark support.
11489 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11491 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11492 recognize ssh-keygen prompt (Bug#2817).
11494 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11496 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11498 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11500 Synchronize with Tramp repository.
11502 * net/tramp.el (tramp-completion-function-alist)
11503 (tramp-file-name-regexp, tramp-chunksize)
11504 (tramp-local-coding-commands, tramp-remote-coding-commands):
11506 (tramp-remote-process-environment): Use `format' instead of `concat'.
11507 (tramp-handle-directory-files-and-attributes)
11508 (tramp-get-remote-path): Use `copy-tree'.
11509 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11510 compatibility: Use `completion-ignore-case' if
11511 `read-file-name-completion-ignore-case' does not exist.
11512 (tramp-do-copy-or-rename-file-directly): Do not use
11513 `tramp-handle-file-remote-p'.
11514 (tramp-do-copy-or-rename-file-out-of-band):
11515 Use `tramp-compat-delete-directory'.
11516 (tramp-do-copy-or-rename-file-out-of-band)
11517 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11518 Use `format-spec-make'.
11519 (tramp-find-foreign-file-name-handler)
11520 (tramp-advice-make-auto-save-file-name)
11521 (tramp-set-auto-save-file-modes): Remove superfluous check for
11522 `stringp'. This is done inside `tramp-tramp-file-p'.
11523 (tramp-debug-outline-regexp): New defconst.
11524 (tramp-get-debug-buffer): Use it.
11525 (tramp-check-for-regexp): Use (forward-line 1).
11526 (tramp-set-auto-save-file-modes): Adapt version check.
11528 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11529 Wrap call of `featurep' for 2nd argument.
11530 (tramp-compat-make-temp-file): Simplify fallback implementation.
11531 (tramp-compat-copy-tree): Remove function.
11532 (tramp-compat-delete-directory): Provide implementation for older
11535 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11536 Do not use `tramp-fish-handle-file-attributes.
11538 * net/trampver.el: Update release number.
11540 2010-04-10 Glenn Morris <rgm@gnu.org>
11542 * progmodes/compile.el (compilation-save-buffers-predicate):
11543 Add missing :version tag.
11545 2010-04-09 Sam Steingold <sds@gnu.org>
11547 * progmodes/compile.el (compilation-save-buffers-predicate):
11548 Remove the "autoload" cookie.
11550 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11551 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11552 and `bug-reference-prog-mode' can be used in hooks directly.
11554 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11556 Add --author support to git commit.
11557 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11558 (vc-git-log-edit-mode): New minor mode.
11559 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11562 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11564 * vc-hooks.el, vc-git.el: Improve documentation comments.
11566 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11568 Fix some of the problems in defsubst* (bug#5728).
11569 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11570 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11572 2010-04-07 Sam Steingold <sds@gnu.org>
11574 * progmodes/compile.el (compilation-save-buffers-predicate):
11575 New custom variable.
11576 (compile, recompile): Pass it to `save-some-buffers'.
11578 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11580 * wid-edit.el (widget-choose): Move cursor to the second line of
11581 the buffer (Bug#5695).
11583 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11585 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11586 * vc.el (vc-print-log-setup-buttons): New function split out from
11587 vc-print-log-internal.
11588 (vc-log-internal-common): New function, a parametrized version of
11589 vc-print-log-internal.
11590 (vc-print-log-internal): Just call vc-log-internal-common with the
11592 (vc-incoming-outgoing-internal):
11593 (vc-log-incoming, vc-log-outgoing): New functions.
11594 (vc-log-view-type): New permanent local variable.
11596 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11598 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11599 of the dynamic bound vc-short-log.
11600 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11602 * vc-git.el (vc-git-log-outgoing): New function.
11603 (vc-git-log-view-mode): Use vc-log-view-type instead
11604 of the dynamic bound vc-short-log.
11606 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11607 of the dynamic bound vc-short-log. Highlight the tag.
11608 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11609 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11610 (vc-hg-incoming-mode): Remove.
11611 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11613 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11615 Fix default-directory for vc-root-diff.
11616 * vc.el (vc-root-diff): Bind default-directory to the root
11617 directory for the diff command.
11619 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11621 * progmodes/verilog-mode.el (verilog-forward-sexp):
11622 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11623 word keywords, suggested by Steve Pearlmutter.
11624 (verilog-pretty-declarations): Support lineup of declarations in
11626 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11627 fix bug for /* / comments.
11628 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11629 Speed up and simplfy as this is never called with a bound.
11630 (verilog-pretty-declarations): Enhance to line up declarations
11631 inside a parameter list, suggested by Alan Morgan.
11632 (verilog-pretty-expr): Tune assignment regular expression match
11633 string for corner cases; also use markers instead of character
11634 number as indent changes the later.
11636 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11638 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11639 as missing keyword.
11640 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11641 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11642 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11643 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11645 (verilog-keywords):
11646 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11647 1800-2009 keywords, including "global.".
11649 2010-04-06 John Wiegley <jwiegley@gmail.com>
11651 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11652 appearing in buffer list (if a live buffer name matched a recentf
11653 file basename). Should use uniquify to offer a real solution.
11655 2010-04-06 John Wiegley <jwiegley@gmail.com>
11657 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11658 comment to code, and add a :version tag.
11659 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11661 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11663 Enable recentf-mode if using virtual buffers.
11664 * ido.el (recentf-list): Declare for byte-compiler.
11665 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11666 (ido-make-buffer-list): Simplify.
11667 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11669 2010-04-05 Juri Linkov <juri@jurta.org>
11671 Scrolling commands which scroll a line instead of full screen.
11672 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11674 * simple.el (scroll-up-line, scroll-down-line): New commands.
11675 Put property isearch-scroll=t on them.
11677 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11680 2010-04-05 Juri Linkov <juri@jurta.org>
11682 Scrolling commands which do not signal errors at top/bottom.
11683 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11685 * simple.el (scroll-up-command, scroll-down-command): New commands.
11686 Put property isearch-scroll=t on them.
11688 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11689 `scroll-down-command' and [next] from `scroll-up' to
11690 `scroll-up-command'.
11692 * emulation/cua-base.el: Put property CUA=move on
11693 `scroll-up-command' and `scroll-down-command'.
11694 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11695 and `scroll-down-command' to `cua-scroll-down'.
11697 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11699 * help.el (describe-mode): Return nil.
11701 2010-04-04 John Wiegley <jwiegley@gmail.com>
11703 * ido.el (ido-use-virtual-buffers): New variable to indicate
11704 whether "virtual buffer" support is enabled for IDO.
11705 (ido-virtual): Face used to indicate virtual buffers in the list.
11706 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11707 exists, but a virtual buffer of that name does (which would be why
11708 it was in the list), recreate the buffer by reopening the file.
11709 (ido-make-buffer-list): If virtual buffers are being used, call
11710 `ido-add-virtual-buffers-to-list' before the make list hook.
11711 (ido-virtual-buffers): New variable which contains a copy of the
11712 current contents of the `recentf-list', albeit pared down for the
11713 sake of speed, and with proper faces applied.
11714 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11715 create a list of "virtual buffers" to present to the user in
11716 addition to the currently open set. Note that this logic could
11717 get rather slow if that list is too large. With the default
11718 `recentf-max-saved-items' of 200, there is little speed penalty.
11720 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11722 * font-lock.el: Require CL when compiling.
11723 (font-lock-turn-on-thing-lock): Use `case'.
11725 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11727 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11730 2010-04-02 Juri Linkov <juri@jurta.org>
11732 * ehelp.el (electric-help-orig-major-mode):
11733 New buffer-local variable.
11734 (electric-help-mode): Set it to original major-mode. Doc fix.
11735 (with-electric-help): Use `electric-help-orig-major-mode' instead
11736 of (default-value 'major-mode). Doc fix.
11737 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11739 2010-04-02 Sam Steingold <sds@gnu.org>
11741 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11742 `vc-hg-command' with a list of flags.
11744 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11745 Also accept "patch" and "RFE".
11746 (bug-reference-fontify): `bug-reference-url-format' can also be a
11747 function to be able to handle the bug kind.
11748 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11750 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11752 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11753 value to fboundp, it may not be a symbol.
11755 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11757 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11759 2010-03-31 Juri Linkov <juri@jurta.org>
11761 * simple.el (next-line, previous-line): Re-throw a signal
11762 with `signal' instead of using `ding'.
11763 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11765 2010-03-31 Juri Linkov <juri@jurta.org>
11767 * simple.el (keyboard-escape-quit): Raise deselecting the active
11768 region higher than exiting the minibuffer.
11769 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11771 2010-03-31 Juri Linkov <juri@jurta.org>
11773 * image.el (image-animated-p): Use `image-metadata' instead of
11774 `image-extension-data'. Get GIF extenstion data from metadata
11775 property `extension-data'.
11777 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * simple.el (append-to-buffer): Simplify.
11781 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11783 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11784 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11786 2010-03-31 Kenichi Handa <handa@m17n.org>
11788 * language/sinhala.el (composition-function-table): Fix regexp for
11789 the new Unicode specification.
11791 * language/indian.el (devanagari-composable-pattern)
11792 (tamil-composable-pattern, kannada-composable-pattern)
11793 (malayalam-composable-pattern): Adjust for the new Unicode
11795 (bengali-composable-pattern, gurmukhi-composable-pattern)
11796 (gujarati-composable-pattern, oriya-composable-pattern)
11797 (telugu-composable-pattern): New variables to cope with the new
11798 Unicode specification. Use them in composition-function-table.
11800 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11802 Make tmm-menubar work for the Buffers menu again (bug#5726).
11803 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11804 vectors rather than cons cells, as used in menu-bar-update-buffers.
11806 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11808 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11809 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11810 electric punctuation for "{}();,:" (Bug#5586).
11812 * mail/sendmail.el (mail-default-directory): Doc fix.
11814 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11816 * mail/sendmail.el (mail-default-directory): Doc fix.
11818 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11820 * subr.el (version-regexp-alist, version-to-list)
11821 (version-list-<, version-list-=, version-list-<=)
11822 (version-list-not-zero, version<, version<=, version=): Doc fix.
11825 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11827 * vc.el (vc-root-diff): Doc fix.
11829 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11831 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11833 * simple.el (append-to-buffer): Fix last change.
11835 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11837 * simple.el (append-to-buffer): Ensure that point is preserved if
11838 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11841 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11843 * files.el (auto-mode-case-fold): Change default to t.
11845 2010-03-30 Juri Linkov <juri@jurta.org>
11847 * dired-x.el (dired-omit-mode): Doc fix.
11849 2010-03-30 Juri Linkov <juri@jurta.org>
11851 * replace.el (occur-accumulate-lines): Move occur-engine related
11852 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11853 to be located after `occur-engine'.
11855 2010-03-30 Juri Linkov <juri@jurta.org>
11857 Make occur handle multi-line matches cleanly with context.
11858 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11860 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11861 (occur-engine): Add local variables `ret', `prev-after-lines',
11862 `prev-lines'. Use more arguments for `occur-context-lines'.
11863 Set first elem of its returned list to `data', and the second elem
11864 to `prev-after-lines'. Don't print the separator line.
11865 In the end, print remaining context after-lines.
11866 (occur-context-lines): Add new arguments `begpt', `endpt',
11867 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11868 after-lines of the previous match with before-lines of the
11869 current match and not overlap them. Return a list with two
11870 values: the output line and the list of context after-lines.
11872 2010-03-30 Juri Linkov <juri@jurta.org>
11874 * replace.el (occur-accumulate-lines): Fix a bug where the first
11875 context line at the beginning of the buffer was missing.
11877 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11879 * files.el: Make bidi-display-reordering safe variable for boolean
11882 2010-03-29 Phil Hagelberg <phil@evri.com>
11883 Chong Yidong <cyd@stupidchicken.com>
11885 * subr.el: Extend progress reporters to perform "spinning".
11886 (progress-reporter-update, progress-reporter-do-update):
11887 Handle non-numeric value arguments.
11888 (progress-reporter--pulse-characters): New var.
11890 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11892 * progmodes/compile.el (compilation-start): Fix regexp detection
11893 of initial cd command (Bug#5771).
11895 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11897 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11899 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11901 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11902 * progmodes/gdb-mi.el: Restore.
11903 * progmodes/gdb-ui.el: Remove.
11904 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11906 2010-03-25 Glenn Morris <rgm@gnu.org>
11908 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11909 all dired buffers, even tramp ones. (Bug#5755)
11911 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11913 Add "union tags" in mpc.el.
11914 * mpc.el: Remove backward compatibility code.
11915 (mpc-browser-tags): Change default.
11916 (mpc--find-memoize-union-tags): New var.
11917 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11918 (mpc-cmd-find): Handle the case where the playlist does not exist.
11920 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11921 (mpc-cmd-add): Use mpc-cmd-flush.
11922 (mpc-tagbrowser-tag-name): New fun.
11923 (mpc-tagbrowser-buf): Use it.
11924 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11926 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11929 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11930 Use replace-regexp-in-string.
11931 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11932 (makefile-imake-mode-syntax-table): Move init into defvar.
11933 (makefile-mode): Use define-derived-mode.
11935 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11936 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11937 not be present any more.
11939 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11941 * faces.el (set-face-attribute): Fix typo in docstring.
11942 (face-valid-attribute-values): Reflow docstring.
11944 2010-03-24 Glenn Morris <rgm@gnu.org>
11946 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11948 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11950 * indent.el (indent-for-tab-command): Doc fix.
11952 2010-03-24 Alan Mackenzie <acm@muc.de>
11954 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11955 Fix off-by-one error. Fixes bug #5747.
11957 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11959 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11960 (image-dired-read-comment): Doc fix.
11962 * json.el (json-object-type, json-array-type, json-key-type)
11963 (json-false, json-null, json-read-number):
11964 * minibuffer.el (completion-in-region-functions):
11965 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11966 (cal-tex-cursor-week):
11967 * emacs-lisp/trace.el (trace-function):
11968 * eshell/em-basic.el (eshell/printnl):
11969 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11970 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11971 * obsolete/levents.el (allocate-event, event-key, event-object)
11972 (event-point, event-process, event-timestamp, event-to-character)
11973 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11974 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11975 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11976 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11977 (reftex-highlight-selection): Fix typos in docstrings.
11979 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11981 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11983 2010-03-24 Glenn Morris <rgm@gnu.org>
11985 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11986 2008-02-13 without comment; mark it obsolete.
11987 (rmail-highlight-headers): Use rmail-highlight-face once more.
11989 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11991 * woman.el (woman2-process-escapes): Only consume the newline if
11992 the filler character is on a line by itself (Bug#5729).
11994 2010-03-24 Kenichi Handa <handa@m17n.org>
11996 * language/indian.el (devanagari-composable-pattern): Add more
11999 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12001 * net/trampver.el: Update release number.
12003 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12005 * net/tramp.el (tramp-find-executable):
12006 Use `tramp-get-connection-buffer'. Make the regexp for checking
12007 output of "wc -l" more robust.
12008 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12009 (tramp-open-connection-setup-interactive-shell): Remove workaround
12010 for OpenSolaris bug, it is not needed anymore.
12012 2010-03-24 Glenn Morris <rgm@gnu.org>
12014 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12016 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12018 * files.el (auto-mode-alist): Accept more verilog file patterns.
12020 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12022 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12024 2010-03-24 Glenn Morris <rgm@gnu.org>
12026 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12027 log-edit-before-checkin-process.
12029 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12031 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12033 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12034 (log-view-process-buffer, log-edit-extra-flags): Declare.
12036 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12038 2010-03-23 Sam Steingold <sds@gnu.org>
12040 Fix bug#5620: recalculate all markers on compilation buffer
12041 modifications, not on file modifications.
12042 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12043 variable: the buffer modification time, for buffers not associated with
12045 (compilation-mode): Create it.
12046 (compilation-filter): Update it.
12047 (compilation-next-error-function): Use it instead of
12048 `visited-file-modtime' for timestamp.
12050 2010-03-23 Juri Linkov <juri@jurta.org>
12052 Implement Occur multi-line matches.
12053 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12055 * replace.el (occur): Doc fix.
12056 (occur-engine): Set `begpt' to the beginning of the first line.
12057 Set `endpt' to the end of the last match line. At first, count
12058 line numbers between `origpt' and `begpt'. Split out code from
12059 `out-line' variable to new let-bindings `match-prefix' and
12060 `match-str'. In `out-line' add non-numeric prefix to all
12061 non-first lines of multi-line matches. Finally, count lines
12062 between `begpt' and `endpt' and add to `lines'.
12064 2010-03-23 Juri Linkov <juri@jurta.org>
12066 * replace.el (occur-accumulate-lines, occur-engine):
12067 Use `occur-engine-line' instead of duplicate code.
12068 (occur-engine-line): New function created from duplicate code
12069 in `occur-accumulate-lines' and `occur-engine'.
12071 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12072 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12074 2010-03-23 Juri Linkov <juri@jurta.org>
12076 * finder.el: Remove TODO tasks.
12078 * info.el (Info-finder-find-node): Add node "all"
12079 with all package info. Handle a list of multiple keywords
12080 separated by comma.
12081 (info-finder): In interactive use with a prefix argument,
12082 use `completing-read-multiple' to read a list of keywords
12083 separated by comma.
12085 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12087 Add a new completion style `substring'.
12088 * minibuffer.el (completion-basic--pattern): New function.
12089 (completion-basic-try-completion, completion-basic-all-completions):
12091 (completion-substring--all-completions)
12092 (completion-substring-try-completion)
12093 (completion-substring-all-completions): New functions.
12094 (completion-styles-alist): New style `substring'.
12096 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12098 Get rid of .elc files after removal of the corresponding .el.
12099 * Makefile.in (compile-clean): New target.
12100 (compile-main): Use it.
12102 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12104 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12105 don't do make there. When compiling with separate object dir, there
12106 is no Makefile there.
12108 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12110 Get rid of the ELCFILES abomination, again.
12111 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12112 (all, compile): Don't call compile-last.
12113 (compile-main): Build the "elcfiles" list dynamically.
12114 (compile-targets): New (internal) target.
12116 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12118 * Makefile.in (top_srcdir): Define.
12119 (abs_top_builddir): Define.
12120 (srcdir): Don't append `/..'.
12121 (EMACS): Use ${abs_top_builddir}.
12122 (all, compile, compile-always, compile-last): Don't set emacswd.
12123 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12125 (lisp): Use $(srcdir) instead of @srcdir@.
12127 2010-03-21 Juri Linkov <juri@jurta.org>
12129 Fix message of multi-line occur regexps and multi-buffer header lines.
12130 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12132 * replace.el (occur-1): Don't display regexp if it is longer
12133 than window-width. Use `query-replace-descr' to display regexp.
12134 (occur-engine): Don't display regexp in the buffer header for
12135 multi-buffer occur. Display a separate header line with total
12136 match count and regexp for multi-buffer occur.
12137 Use `query-replace-descr' to display regexp.
12139 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12141 * net/secrets.el: Fix parenthesis.
12142 (secrets-enabled): Fix parenthesis.
12144 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12146 Use more relative file and directory names.
12147 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12148 (setwins, setwins_almost, setwins_for_subdirs):
12149 Don't `cd'; output relative names.
12150 (all, compile, compile-always, compile-last): Set emacswd.
12151 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12152 Just cd to the lisp source dir so we can use relative file names.
12154 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12156 2010-03-20 Glenn Morris <rgm@gnu.org>
12158 * textmodes/rst.el: Use faces for font-lock customization, and make the
12159 old -face variables obsolete.
12160 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12161 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12162 (rst-block-face, rst-external-face, rst-definition-face)
12163 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12164 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12166 (rst-font-lock-keywords-function): Update for above changes.
12168 2010-03-20 Juri Linkov <juri@jurta.org>
12171 * obsolete/s-region.el: Move to obsolete.
12173 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12175 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12177 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12179 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12181 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12183 Add special markup processing for commit logs.
12184 * log-edit.el (log-edit-extra-flags): New variable.
12185 (log-edit): Add new argument MODE. Use that mode when non-nil
12186 instead of the log-view-mode.
12187 (log-view-process-buffer): New function.
12189 * vc.el: Document that the checkin method takes optional
12190 arguments. Document new backend specific method: log-view-mode.
12191 (vc-default-log-edit-mode): New function.
12192 (vc-checkin): Use a backend specific log-view-mode.
12193 Pass extra arguments to the checkin method.
12194 (vc-modify-change-comment): Pass a dummy extra argument.
12196 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12198 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12199 (vc-finish-logentry): Process the log buffer before passing it
12200 down. Pass log-edit-extra-flags.
12202 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12204 (log-edit-extra-flags, log-edit-before-checkin-process):
12207 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12209 (log-edit-extra-flags, log-edit-before-checkin-process):
12211 (vc-hg-log-edit-mode): New derived mode.
12213 * vc-arch.el (vc-arch-checkin):
12214 * vc-cvs.el (vc-cvs-checkin):
12215 * vc-git.el (vc-git-checkin):
12216 * vc-mtn.el (vc-mtn-checkin):
12217 * vc-rcs.el (vc-rcs-checkin):
12218 * vc-sccs.el (vc-sccs-checkin):
12219 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12221 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12223 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12226 2010-03-19 Glenn Morris <rgm@gnu.org>
12228 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12230 2010-03-18 Glenn Morris <rgm@gnu.org>
12232 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12234 * replace.el (query-replace-history): Give it a doc string.
12235 (map-query-replace-regexp): Use query-replace-from-history-variable
12236 and query-replace-to-history-variable.
12238 * mail/hashcash.el (declare-function): Remove duplicate definition.
12240 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12241 Make it an obsolete alias for report-emacs-bug-address.
12242 (message-strip-special-text-properties): Declare.
12243 (report-emacs-bug): Remove test for a pretest bug address.
12244 Combine message-mode-specific code.
12246 * mail/supercite.el: Don't require sendmail.
12247 (mh-in-header-p): Declare rather than using with-no-warnings.
12248 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12249 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12251 * calendar/cal-french.el: Convert to utf-8.
12253 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12256 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12258 * net/secrets.el (secrets-enabled): New variable. Use it instead
12261 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12263 * net/secrets.el (top): Register the D-Bus signals only when the
12264 service "org.freedesktop.secrets" can be pinged.
12265 Provide subfeature `enabled'.
12267 2010-03-14 Juri Linkov <juri@jurta.org>
12269 Add finder unknown keywords.
12271 * finder.el (finder-unknown-keywords): New function.
12273 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12274 to create a Finder node with unknown keywords.
12276 2010-03-14 Juri Linkov <juri@jurta.org>
12278 * finder.el (finder-compile-keywords): Replace `princ' with
12279 `prin1' on a list of symbols interned from keyword strings.
12281 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12282 a comma, then split keywords using a comma and optional whitespace.
12283 Otherwise, split by whitespace.
12291 * progmodes/mixal-mode.el: Fix keywords.
12293 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12295 * Makefile.in (ELCFILES): Add net/secrets.elc.
12297 * net/secrets.el: New file.
12299 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12301 * facemenu.el (list-colors-display, list-colors-print): New arg
12302 callback. Use it to allow selecting colors.
12304 * wid-edit.el (widget-image-insert): Insert image prop even if the
12305 current display is non-graphic.
12306 (widget-field-value-set): New fun.
12307 (editable-field): Use it.
12308 (widget-field-value-get): Clean up unused var.
12309 (widget-color-value-create, widget-color--choose-action):
12310 New funs. Allow using list-colors-display to choose color.
12312 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12314 * cus-edit.el: Resort topmost custom groups.
12315 (custom-buffer-sort-alphabetically): Default to t.
12316 (customize-apropos): Use apropos-parse-pattern.
12317 (custom-search-field): New var.
12318 (custom-buffer-create-internal): Add custom-apropos search field.
12319 (custom-add-parent-links): Don't display parent doc.
12320 (custom-group-value-create): Don't sort top-level custom group.
12321 (custom-magic-value-create): Show visibility button before option name.
12323 (custom-variable-state): New fun, from custom-variable-state-set.
12324 (custom-variable-state-set): Use it.
12325 (custom-group-value-create): Hide options with standard values
12326 using the :hidden-states property. Use progress reporter.
12328 (custom-show): Simplify.
12329 (custom-visibility): Disable images by default.
12330 (custom-variable): New property :hidden-states.
12331 (custom-variable-value-create): Enable images for
12332 custom-visibility widgets. Use :hidden-states property to
12333 determine initial visibility.
12335 * wid-edit.el (widget-image-find): Give images center ascent.
12336 (visibility): Add :on-image and :off-image properties.
12337 (widget-visibility-value-create): Use them.
12339 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12341 * cus-edit.el (processes): Remove from development group.
12342 (oop, hypermedia): Delete group.
12343 (comm): Promote to top-level group.
12345 * net/browse-url.el (browse-url):
12346 * net/xesam.el (xesam):
12347 * net/tramp.el (tramp):
12348 * net/goto-addr.el (goto-address):
12349 * net/ange-ftp.el (ange-ftp): Put in comm group.
12351 * view.el (view): Remove from editing group.
12353 * uniquify.el (uniquify): Put in files group.
12355 * net/browse-url.el (browse-url):
12356 * ps-print.el (postscript): Put in external group.
12358 * cus-edit.el (outlines):
12359 * textmodes/text-mode.el (text-mode-hook):
12360 * textmodes/table.el (table):
12361 * textmodes/picture.el (picture):
12362 * outline.el (outlines): Put in wp group.
12364 * nxml/nxml-mode.el (nxml): Remove from wp group.
12366 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12368 * mail/metamail.el (metamail): Remove from hypermedia group.
12370 * cus-edit.el (abbrev):
12371 * whitespace.el (whitespace):
12372 * vcursor.el (vcursor):
12373 * reveal.el (reveal):
12374 * hl-line.el (hl-line): Put in convenience group.
12376 * epg-config.el (epg): Put in data group.
12378 * emulation/pc-select.el (pc-select): Put in emulations group.
12380 * calculator.el (calculator): Put in applications group.
12382 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12384 Add .dir-locals.el support for file-less buffers.
12385 * files.el (hack-local-variables): Split out code to apply local
12386 variable settings ...
12387 (hack-local-variables-apply): ... here. New function.
12388 (hack-dir-local-variables): Use the default directory for when the
12389 buffer does not have an associated file.
12390 (hack-dir-local-variables-non-file-buffer): New function.
12391 * diff-mode.el (diff-mode):
12392 * vc-annotate.el (vc-annotate-mode):
12393 * vc-dir.el (vc-dir-mode):
12394 * log-edit.el (log-edit-mode):
12395 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12397 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12399 Add support for shelving snapshots and for showing shelves.
12400 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12401 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12403 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12404 (vc-bzr-extra-menu-map): Map them.
12406 2010-03-11 Glenn Morris <rgm@gnu.org>
12408 * cus-edit.el (customize-changed-options-previous-release):
12411 * image.el (image-animate-max-time): Fix :version tag.
12413 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12417 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12419 * vc-git.el (vc-git-revision-table): Include remote branches.
12421 2010-03-10 Kim F. Storm <storm@cua.dk>
12423 Animated image API.
12424 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12426 * image.el (image-animate-max-time): New defcustom.
12427 (image-animated-types): New defconst.
12428 (create-animated-image, image-animate-timer)
12429 (image-animate-start, image-animate-stop, image-animate-timeout)
12430 (image-animated-p): New functions.
12432 * image-mode.el (image-toggle-display-image):
12433 Replace `create-image' with `create-animated-image'.
12435 2010-03-09 Miles Bader <miles@gnu.org>
12437 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12438 instead of "format:"; this ensures that the output is
12439 newline-terminated.
12441 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12443 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12444 that all errors are caught, and that the return value is always a
12447 2010-03-08 Kenichi Handa <handa@m17n.org>
12449 * language/misc-lang.el (windows-1256): New coding system.
12450 (cp1256): New alias of windows-1256 (bug#5690).
12452 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12454 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12455 call to rfc822-bad-address. (Bug#5692)
12457 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12459 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12460 Use vc-git-root as default directory for revision path (Bug#5657).
12462 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12464 * calculator.el (calculator): Don't bind split-window-keep-point
12467 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12469 * vc-git.el: Re-flow to fit into 80 columns.
12470 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12471 Remove spurious `quote' element in each case alternative.
12472 (vc-git-show-log-entry): Use prog1.
12473 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12475 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12479 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12481 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12482 definition, not the name (Bug#5481).
12484 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12486 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12487 argument with a local variable. (Bug#5670)
12489 2010-03-02 Juri Linkov <juri@jurta.org>
12491 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12493 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12495 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12496 error when FILENAME and NEWNAME are existing remote directories.
12498 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12499 parameter DIR-FLAG.
12501 2010-03-02 Glenn Morris <rgm@gnu.org>
12503 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12504 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12506 2010-03-01 Kenichi Handa <handa@m17n.org>
12508 * language/burmese.el (burmese-composable-pattern): Rename from
12509 myanmar-composable-pattern.
12511 * international/characters.el (script-list):
12512 * international/fontset.el (script-representative-chars):
12513 Change myanmar to burmese.
12514 (otf-script-alist): Likewise.
12515 (setup-default-fontset): Likewise. Re-fix :otf spec.
12517 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12519 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12521 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12523 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12525 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12527 * net/tramp.el (tramp-handle-write-region): START can be a string.
12528 Take care in the checks. Reported by Dan Davison
12529 <davison@stats.ox.ac.uk>.
12531 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12533 * net/dbus.el (dbus-introspect, dbus-get-property)
12534 (dbus-set-property, dbus-get-all-properties):
12535 Use `dbus-call-method' when noninteractive. (Bug#5645)
12537 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12539 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12540 * emacs-lisp/elint.el (elint-add-required-env):
12541 * calendar/icalendar.el (icalendar--add-diary-entry):
12542 * calc/calcalg2.el (math-tracing-integral):
12543 * files.el (recover-session-finish): Use with-current-buffer
12544 instead of save-excursion.
12546 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12548 Fix in-buffer completion when after-change-functions modify the buffer.
12549 * minibuffer.el (completion--replace): New function.
12550 (completion--do-completion): Use it and use relative movement.
12552 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12554 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12556 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12558 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12559 Allow the characters _<> in the stack entry (Bug#5653).
12561 2010-02-26 Kenichi Handa <handa@m17n.org>
12563 * language/burmese.el: Fix entries in composition-function-table.
12564 (myanmar-composable-pattern): New variable.
12566 * international/fontset.el (setup-default-fontset): Add an entry
12569 * international/characters.el (script-list): Add Myanmar
12572 2010-02-26 Glenn Morris <rgm@gnu.org>
12574 * custom.el (custom-initialize-delay): Doc fix.
12576 * mail/sendmail.el (send-mail-function): Autoload the call
12577 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12579 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12581 * files.el (hack-local-variables-filter): For eval forms, also
12582 check safe-local-variable-p (Bug#5636).
12584 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12586 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12587 setting the modes by `ignore-errors'. It might fail, for example
12588 if the file is not owned by the user but the group.
12589 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12591 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12593 * files.el (directory-listing-before-filename-regexp):
12594 Use stricter matching for iso-style dates, to avoid false matches with
12595 date-like filenames (Bug#5597).
12597 * htmlfontify.el (htmlfontify): Doc fix.
12599 * eshell/eshell.el (eshell): Doc fix.
12601 * startup.el (fancy-about-screen): In mode-line, apply
12602 mode-line-buffer-id face only to the buffer name (Bug#5613).
12604 2010-02-20 Kevin Ryde <user42@zip.com.au>
12606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12607 In `watcom' anchor regexp to start of line, to avoid slowness
12610 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12612 * subr.el (remove-yank-excluded-properties): Explain in a comment
12613 why `category' property is removed.
12615 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12617 * isearch.el (isearch-update-post-hook, isearch-update):
12618 Revert 2010-02-17 change.
12620 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12622 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12623 (icalendar--convert-weekly-to-ical)
12624 (icalendar--convert-yearly-to-ical)
12625 (icalendar--convert-block-to-ical)
12626 (icalendar--convert-cyclic-to-ical)
12627 (icalendar--convert-anniversary-to-ical): Take care of time
12628 specifications where hour has 1-digit only (Bug#5549).
12630 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12632 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12633 of disassemble output in GDB 7.1.
12635 2010-02-19 Glenn Morris <rgm@gnu.org>
12637 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12638 property. (Bug#5593)
12640 2010-02-18 Sam Steingold <sds@gnu.org>
12642 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12644 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12646 Use abbreviated file names in bookmarks (bug#5591).
12647 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12648 calls to expand-file-name.
12649 (bookmark-relocate): Use abbreviated file names in bookmarks.
12650 (bookmark-load): Use abbreviated file names in messages.
12652 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12654 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12655 expand "." and "..". Reported by Thierry Volpiatto
12656 <thierry.volpiatto@gmail.com>.
12658 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12660 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12661 permissions of the temporary file to "0600". In case the remote
12662 file has no read permissions for the owner, there might be
12663 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12665 22010-02-18 Glenn Morris <rgm@gnu.org>
12667 * emacs-lisp/authors.el (authors-renamed-files-alist):
12668 Add entries for INSTALL.CVS.
12670 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12672 * vc-bzr.el: Fix typo in Known Bugs section.
12674 * isearch.el (isearch-update-post-hook): New hook.
12675 (isearch-update): Use the new hook.
12677 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12679 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12680 Fix errors in copying directories.
12681 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12682 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12683 (tramp-handle-delete-file)
12684 (tramp-handle-dired-recursive-delete-directory)
12685 (tramp-handle-write-region): Flush also the cache for the upper
12688 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12690 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12692 * cus-edit.el (hardware): Doc fix.
12694 * man.el (man): Add to external custom group.
12696 * delim-col.el (columns): Move to wp custom group.
12698 * doc-view.el (doc-view): Add to data custom group.
12700 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12702 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12703 by ispell-parse-output (Bug#5575).
12705 2010-02-16 Kenichi Handa <handa@m17n.org>
12707 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12708 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12709 (skkdic-convert): Use `euc-japan' coding system for writing.
12711 2010-02-16 Glenn Morris <rgm@gnu.org>
12713 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12714 tex-main-file before using it. (Bug#5562)
12716 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12719 warnings, since it is annoying for the user to see them each time he
12722 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12724 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12726 instead of PROC for caching "first-password-request". Otherwise,
12727 new processes would not profit from passwords already entered.
12729 * net/tramp-cache.el (tramp-dump-connection-properties):
12730 Don't save "first-password-request" property.
12732 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12734 * outline.el (outline-head-from-level):
12735 * simple.el (with-wrapper-hook):
12736 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12737 (elint-defun, elint-buffer-env, elint-top-form-logged)
12738 (elint-unbound-variable):
12739 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12740 Fix typos in docstrings.
12742 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12744 * files.el (insert-directory): When WILDCARD-REGEXP and
12745 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12746 whole directory. (Bug#5551)
12748 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12749 dired's alignment sanity. (Bug#5516)
12751 2010-02-14 Juri Linkov <juri@jurta.org>
12753 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12754 Remove remaining ^H with their preceding chars. (Bug#5566)
12756 2010-02-13 Glenn Morris <rgm@gnu.org>
12758 * simple.el (transpose-subr): Give it a doc-string.
12760 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12763 2010-02-12 Juri Linkov <juri@jurta.org>
12765 * arc-mode.el (archive-unique-fname): Make directories for nested
12766 archives. (Bug#5540)
12768 2010-02-12 Juri Linkov <juri@jurta.org>
12770 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12772 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12774 * subr.el (copy-overlay): Handle deleted overlays.
12776 * man.el (Man-completion-table): Don't signal an error if we can't run
12777 manual-program (bug#4056).
12779 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12781 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12783 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12785 * info.el (Info-bookmark-jump): Simplify.
12787 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12788 (bookmark-default-handler): Accept new bookmark field `buffer'.
12790 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12792 * iswitchb.el (iswitchb-completions): Revert last change.
12794 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12796 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12797 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12798 This prevents file names like "~/" being listed literally.
12800 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12802 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12803 Remove dead code. (Bug#5546)
12805 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12807 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12808 correctly (Bug#5548).
12810 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12812 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12813 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12815 2010-02-08 Kenichi Handa <handa@m17n.org>
12817 * international/mule-util.el (with-coding-priority): Add autoload
12818 cookie for putting `lisp-indent-function'.
12820 2010-02-07 Glenn Morris <rgm@gnu.org>
12822 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12823 Move F2003 named interfaces from keywords-2 to keywords-1, and
12824 use function-name-face rather than constant-face.
12825 Simplify "abstract interface" regexp.
12827 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12829 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12830 ID-FORMAT. Pass it to `file-attributes'.
12832 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12834 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12836 * faces.el (set-face-attribute): Allow calling
12837 internal-set-lisp-face-attribute with 'unspecified family and
12838 foundry argument (Bug#5536).
12840 2010-02-07 Glenn Morris <rgm@gnu.org>
12842 * progmodes/f90.el (f90-font-lock-keywords-2)
12843 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12844 Handle F2003 named interfaces.
12846 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12848 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12849 beg and end before calling c-get-state-before-change-functions.
12851 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12853 * vc-bzr.el (vc-bzr-dir-extra-headers):
12854 Disable the pending merges header.
12856 2010-02-05 Juri Linkov <juri@jurta.org>
12858 * doc-view.el (doc-view-mode):
12859 * image-mode.el (image-mode): Put property mode-class=special.
12862 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12864 * vc-svn.el (vc-svn-revision-table): New function.
12866 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12868 * net/ange-ftp.el (ange-ftp-insert-directory):
12869 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12870 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12871 Handle also directories. (Bug#5478)
12873 2010-02-05 Glenn Morris <rgm@gnu.org>
12875 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12877 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12879 * startup.el (command-line-1): Convert options beginning with a
12880 single dash as well (Bug#5519).
12882 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12884 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12885 * minibuffer.el (completion-initials-expand): Only check the presence
12886 of delims *within* the boundaries, since otherwise the / delim is
12887 always found for files.
12889 Fix up various corner case problems.
12890 * doc-view.el (doc-view-last-page-number): New function.
12891 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12892 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12893 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12894 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12895 (doc-view-convert-current-doc): Don't create the resolution.el file
12897 (doc-view-pdf/ps->png): Do it here instead.
12898 (doc-view-already-converted-p): Check that resolution.el is present.
12899 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12900 windows that are not yet showing images.
12902 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12904 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12905 `dired-uncache' for every elemnt which is an absolute file name.
12907 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12908 directory, handle its directory component.
12909 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12910 function is called permanently and creates noise, otherwise.
12912 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12913 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12914 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12916 2010-02-04 David Burger <dburger@google.com> (tiny change)
12918 * macros.el (apply-macro-to-region-lines):
12919 Minor simplification. (Bug#5485)
12921 2010-02-04 Glenn Morris <rgm@gnu.org>
12923 * mail/rmail.el (rmail-show-message-1): Handle malformed
12924 quoted-printable text. (Bug#5441)
12926 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12928 * simple.el (visual-line-mode): Capitalize lighter.
12930 2010-02-03 John Wiegley <jwiegley@gmail.com>
12932 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12933 list of files considered for "virtual buffer" completions.
12935 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12937 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12938 also in case of (and (not full) (not wildcard)). This is needed
12939 when dired is called with a list of files, which are not in
12940 `default-directory'. (Bug#5478)
12942 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12946 2010-02-02 Juri Linkov <juri@jurta.org>
12948 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12949 from unidiff to allow function-line after @@.
12951 2010-02-02 Juri Linkov <juri@jurta.org>
12953 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12954 '(RCS SCCS) with inverted condition.
12956 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12958 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12961 2010-02-01 Juri Linkov <juri@jurta.org>
12963 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12964 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12965 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12966 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12968 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12971 (doc-view-revert-buffer): New command.
12972 (doc-view-mode-map): Use it.
12974 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12976 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12977 pending merge is detected.
12979 2010-01-31 Juri Linkov <juri@jurta.org>
12981 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12982 beginning of interactive spec like all other grep commands do.
12983 Put "all" in front of "gz". (Bug#5260)
12985 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12987 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12989 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12991 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12992 regexp is incorrect (Bug#5476).
12994 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12996 * net/tramp.el (tramp-handle-insert-directory): Handle also
12997 symlinks, when FILENAME is not in `default-directory'.
12999 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13001 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13002 FILE is not in `default-directory'. (Bug#5478)
13004 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13005 of SWITCHES. Handle the case, FILENAME is not in
13006 `default-directory'. (Bug#5478)
13007 (tramp-register-file-name-handlers): Add safe-magic property.
13009 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13011 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13014 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13016 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13017 (flymake-master-make-header-init): Add other C++ filename masks.
13018 (flymake-find-possible-master-files)
13019 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13021 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13023 Fix some busybox annoyances.
13025 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13026 not responding." string.
13027 (tramp-open-connection-setup-interactive-shell): Dump stty
13028 settings. Enable "neveropen" arg for all `tramp-send-command'
13029 calls. Handle "=" in variable values properly.
13030 (tramp-find-inline-encoding): Raise an error, when no encoding is
13032 (tramp-wait-for-output): Check, whether PROC buffer is available.
13033 Remove spurious " ^H" sequences, sent by busybox.
13034 (tramp-get-ls-command): Suppress coloring, if possible.
13036 2010-01-28 Glenn Morris <rgm@gnu.org>
13038 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13040 * log-edit.el (log-edit-strip-single-file-name): Add missing
13041 :safe, :group, and :version tags.
13043 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13045 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13046 buffers. (Bug#5477)
13048 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13050 * files.el (delete-directory): Handle moving to trash without
13051 first doing recursion (Bug#5436).
13053 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13055 * vc-hooks.el (vc-path): Mark as obsolete.
13057 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13059 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13062 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13064 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13066 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13068 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13070 * vc-bzr.el (vc-bzr-revision-table): New function.
13072 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13074 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13075 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13077 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13079 Remove support for adding --signoff on commit.
13080 Future support will use an incompatible generic mechanism.
13081 * vc-git.el (vc-git-add-signoff): Remove variable.
13082 (vc-git-toggle-signoff): Remove function.
13083 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13085 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13086 Rename from xterm-set-background-mode. Return t if the background mode
13088 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13089 earlier, call it again in case the background mode has changed.
13091 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13093 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13096 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13098 * emacs-lisp/assoc.el (aelement): Doc fix.
13099 (aput, adelete, amake): Use lexical-let (Bug#5450).
13101 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13103 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13104 is the same as subprogram call, not declaration. (Bug#5435).
13106 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13108 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13109 (tramp-smb-maybe-open-connection): Use it.
13111 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13113 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13115 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13118 just because we see "encoding: 8bit".
13119 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13121 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13123 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13125 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13127 * jka-compr.el (jka-compr-load): If load-file is not in
13128 load-history, try its file-truename version. (bug#5447)
13130 2010-01-21 Alan Mackenzie <acm@muc.de>
13132 Fix a situation where deletion of a cpp construct throws an error.
13133 * progmodes/cc-engine.el (c-invalidate-state-cache):
13134 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13135 special cpp construct is still in the buffer.
13136 (c-parse-state): Record the special cpp with markers, not numbers.
13138 2010-01-21 Kenichi Handa <handa@m17n.org>
13140 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13141 process last-command-event, as it is now decoded first (Bug#5380).
13143 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13145 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13147 2010-01-20 Glenn Morris <rgm@gnu.org>
13149 * indent.el (tab-always-indent): Fix custom-type.
13151 2010-01-19 Alan Mackenzie <acm@muc.de>
13153 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13154 buffer throws "args out of range".
13155 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13156 playing the role of delimiter.
13158 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13160 * progmodes/ada-mode.el: Fix bug#5400.
13161 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13162 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13163 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13164 Improve comments in "is" portion. Handle null procedure declaration.
13165 (ada-move-to-end): Improve doc string.
13167 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13169 * ido.el (ido-cur-list): Initialize to nil.
13170 Remove obsolete information from commentary.
13171 (ido-choice-list): Initialize to nil.
13172 (ido-get-bufname): Reject minibuffers.
13173 (ido-make-buffer-list): If "default" is a nonexistent
13174 buffer, ignore it, as per the function's comment.
13175 (ido-kill-buffer-internal): New function.
13176 (ido-kill-buffer-at-head): Use it.
13177 (ido-visit-buffer): Likewise.
13179 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13181 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13183 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13185 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13186 Fix typos in chart titles.
13188 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13189 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13190 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13191 (describe-class, eieio-describe-generic, describe-generic):
13192 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13193 (eieio-speedbar-expand):
13194 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13195 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13196 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13197 (viper-del-backward-char-in-replace, viper-backward-indent)
13198 (viper-brac-function, viper-register-to-point, viper-submit-report):
13199 * net/tramp.el (tramp-remote-coding-commands):
13200 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13201 Fix typos in docstrings.
13203 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13205 * mail/sendmail.el (mail-yank-original): Set the mark if the
13206 specified function for yanking does not do it.
13208 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13210 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13212 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13213 resyncing a directory.
13215 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13217 * progmodes/ada-mode.el: Fix bug#1920.
13218 (ada-ident-re): Delete ., allow multibyte characters.
13219 (ada-goto-label-re): New; matches goto labels.
13220 (ada-block-label-re): New; matches block labels.
13221 (ada-label-re): New; matches both.
13222 (ada-named-block-re): Deleted; callers changed to use
13223 `ada-block-label-re' instead.
13224 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13225 Use `ada-block-label-re'.
13226 (ada-indent-on-previous-lines): Improve handling of goto labels.
13227 (ada-get-indent-block-start): Special-case block label.
13228 (ada-get-indent-label): Split into `ada-indent-block-label' and
13229 `ada-indent-goto-label'.
13230 (ada-goto-stmt-start, ada-goto-next-non-ws):
13231 Optionally ignore goto labels.
13232 (ada-goto-next-word): Simplify.
13233 (ada-indent-newline-indent-conditional): Insert newline before
13234 trying to fix indentation; doc fix.
13236 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13238 * calc/calc.el (calc-command-flags): Give it an initial value.
13240 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13242 * files.el (minibuffer-with-setup-hook):
13243 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13244 (artist-key-draw-continously, artist-key-do-continously-continously)
13245 (artist-key-set-point-continously, artist-mouse-draw-continously):
13246 Fix typos in docstrings.
13248 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13250 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13251 Never return t (Bug#3898).
13253 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13255 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13256 can parse the output of the external commands (Bug#5279).
13258 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13260 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13262 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13264 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13266 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13268 * startup.el (command-line): Remove unused --icon-type arg.
13269 Handle --display arg, passing it to command-line-1 (Bug#5392).
13271 2010-01-16 Mario Lang <mlang@delysid.org>
13273 * emacs-lisp/chart.el (chart-translate-namezone):
13274 * textmodes/artist.el (artist-compute-popup-menu-table):
13275 Remove duplicated words in doc-strings.
13277 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13279 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13280 to mairix-search to suppress threading (Bug#5342).
13282 2010-01-15 Kenichi Handa <handa@m17n.org>
13284 * international/mule-cmds.el (canonicalize-coding-system-name):
13285 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13287 2010-01-15 Glenn Morris <rgm@gnu.org>
13289 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13291 * wid-edit.el (widget-keymap): Doc fix.
13293 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13294 former seems to be more widely accepted by various svn versions.
13296 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13298 * find-cmd.el (find-constituents):
13299 * vc-arch.el (vc-arch-root):
13300 * window.el (window-body-height, pop-up-frames):
13301 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13302 * progmodes/ada-stmt.el (ada-if):
13303 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13304 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13305 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13306 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13308 * progmodes/flymake.el (flymake-post-syntax-check):
13309 Fix typo in error message.
13311 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13313 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13314 which is always a string. (Bug#5313)
13316 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13318 * progmodes/ada-xref.el (ada-default-prj-properties):
13319 Simplify previous change.
13321 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13323 * progmodes/ada-xref.el (ada-default-prj-properties):
13324 Default ada_project_path to $ADA_PROJECT_PATH.
13326 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13328 * progmodes/ada-mode.el (ada-create-keymap):
13329 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13331 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13333 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13334 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13335 (ada-get-current-indent, ada-imenu-generic-expression)
13336 (ada-which-function): Check for it.
13338 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13340 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13341 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13343 2010-01-14 Glenn Morris <rgm@gnu.org>
13345 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13347 2010-01-14 Kenichi Handa <handa@m17n.org>
13349 * composite.el (auto-composition-mode): Make it a buffer local
13350 variable (permanent-local).
13351 (auto-composition-function): Set the default value to
13352 auto-compose-chars.
13353 (auto-composition-mode): Make it a simple function, not a minor mode.
13354 (global-auto-composition-mode): Likewise.
13355 (turn-on-auto-composition-if-enabled): Delete it.
13357 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13359 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13361 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13363 * files.el (copy-directory): Compute target for recursive
13364 directories with identical names. (Bug#5343)
13366 2010-01-12 Glenn Morris <rgm@gnu.org>
13368 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13369 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13371 2010-01-11 Sam Steingold <sds@gnu.org>
13373 * imenu.el (imenu-default-create-index-function): Detect infinite
13374 loops caused by imenu-prev-index-position-function.
13376 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13378 * htmlfontify.el (htmlfontify-load-rgb-file)
13379 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13380 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13381 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13382 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13383 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13384 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13385 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13386 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13387 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13388 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13389 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13390 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13391 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13392 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13393 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13394 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13395 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13396 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13397 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13398 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13399 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13400 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13401 backslash-quoting from parentheses, etc.
13403 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13405 * progmodes/js.el: Autoload javascript-mode alias.
13407 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13409 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13410 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13411 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13412 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13413 Fix typos in docstrings.
13414 (ffap-url-regexp): Doc fix.
13415 (ffap-at-mouse): Fix typo in message.
13417 2010-01-11 Glenn Morris <rgm@gnu.org>
13419 * version.el (emacs-copyright): Set copyright year to 2010.
13421 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13423 * format.el (format-annotate-function): Only set
13424 write-region-post-annotation-function after running to-fn so as not to
13425 affect nested write-region calls (bug#5273).
13427 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13429 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13432 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13434 * man.el (Man-goto-section): Signal error if the section is not
13437 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13439 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13440 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13442 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13444 * progmodes/compile.el: Don't treat compile-command as safe if
13445 compilation-read-command might be nil (Bug#4218).
13447 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13449 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13452 2010-01-08 Kenichi Handa <handa@m17n.org>
13454 * international/fontset.el (build-default-fontset-data):
13455 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13457 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13459 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13460 to `create-file-buffer' as it expects, not just a buffer name.
13461 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13462 to help uniquify. (Bug#3224)
13464 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13466 * font-setting.el (font-setting-change-default-font): Use user-spec
13469 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13471 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13473 2010-01-05 Tom Tromey <tromey@redhat.com>
13475 * progmodes/python.el (python-font-lock-keywords):
13476 Handle qualified decorators (Bug#881).
13478 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13480 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13481 in a lightweight checkout.
13483 2010-01-05 Kenichi Handa <handa@m17n.org>
13485 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13487 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13489 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13491 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13493 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13494 checkouts. (Bug#618)
13495 (vc-bzr-log-view-mode): Also highlight the author.
13496 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13497 (vc-bzr-shelve-menu-map):
13498 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13499 (vc-bzr-shelve-apply): Make prompt more explicit.
13501 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13503 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13504 They are valid characters in URL paths (rfc3986), and at least
13505 Firefox does not understand the encoded version (Bug#3166).
13507 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13509 * progmodes/octave-mod.el (octave-end-keywords)
13510 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13511 Add "end" keyword (Bug#3061).
13512 (octave-end-as-array-index-p): New function.
13513 (calculate-octave-indent): Use it.
13515 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13517 * bookmark.el: Consistently put the text property on the bookmark name.
13518 (bookmark-bmenu-marks-width): Bump back to 2, to include
13520 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13521 property on the bookmark name, instead of not putting it at all.
13522 (bookmark-bmenu-list): Fix where we put the text property.
13524 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13526 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13527 for showing buffer modified state (as added in the previous change).
13529 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13531 * bookmark.el: Show modified state of bookmark buffer more accurately.
13532 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13533 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13534 (with-buffer-modified-unmodified): New macro.
13535 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13536 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13537 Use new macro to preserve the buffer modified state.
13539 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13541 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13542 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13543 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13544 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13545 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13546 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13547 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13549 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13551 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13552 Make the lines in the generated doc string shorter. (Bug#4668)
13554 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13556 * net/rcirc.el: Add follow-link binding (Bug#4738).
13558 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13560 * Makefile.in (bzr-update): Rename from cvs-update.
13561 (cvs-update): New target for backward compatibility.
13563 * makefile.w32-in (bzr-update): Rename from cvs-update.
13564 (cvs-update): New target for backward compatibility.
13566 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13568 * bookmark.el: Remove gratuitous gratitude.
13570 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13572 * bookmark.el (bookmark-bmenu-any-marks): New function.
13573 (bookmark-bmenu-save): Clear buffer modification if no marks.
13575 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13577 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13578 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13579 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13580 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13582 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13583 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13584 To: emacs-devel {_AT_} gnu.org
13585 Subject: bookmark.el bug report
13586 Date: Mon, 28 Dec 2009 14:19:16 +0800
13587 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13589 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13591 * bookmark.el: Improvements suggested by Drew Adams:
13592 (bookmark-bmenu-ensure-position): New name for
13593 `bookmark-bmenu-check-position'. Just ensure the position,
13594 don't return any meaningful value.
13595 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13598 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13600 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13601 (bookmark-yank-point, bookmark-bmenu-check-position):
13602 Fix typos in docstrings.
13603 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13604 (bookmark-name-from-full-record, bookmark-get-position)
13605 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13606 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13607 Remove useless quoting of parenthesis, etc. in docstrings.
13609 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13610 (ediff-append-custom-diff): Fix typo in error message.
13611 (ediff-meta-mark-equal-files): Fix typos in messages.
13613 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13615 * net/imap-hash.el (imap-hash-make): Doc fix.
13616 (imap-hash-test): Fix typo in error message; reflow docstring.
13617 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13618 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13619 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13620 Fix typos in docstrings.
13621 (imap-hash-open-connection): Fix typo in error message.
13623 * play/gomoku.el (gomoku): Fix typos in docstring.
13625 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13626 (gdb-jsonify-buffer): Fix typos in docstring.
13627 (gdb-goto-breakpoint): Fix typo in error message.
13628 ("Display Other Windows"): Fix typo in help message.
13629 (gdb-speedbar-expand-node): Fix typo in question.
13631 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13632 (idlwave-html-system-help-location, idlwave-html-help-location)
13633 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13634 (idlwave-help-browser-generic-args, idlwave-help-directory)
13635 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13636 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13637 (idlwave-online-help, idlwave-help-html-link)
13638 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13639 Fix typos in docstrings.
13640 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13642 (idlwave-help-assistant-start): Fix typo in error message.
13644 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13645 (octave-electric-space): Fix typos in docstrings.
13647 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13649 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13651 2010-01-01 Juri Linkov <juri@jurta.org>
13653 * comint.el (comint-input-ring-size): Make it a defcustom and
13654 increase the default to 500 (Bug#5148).
13656 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13658 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13659 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13660 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13662 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13664 Show working revision correctly for mercurial.
13665 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13666 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13668 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13670 Declare some functions for the byte-compiler.
13671 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13672 (speedbar-timer-fn, speedbar-change-expand-button-char)
13673 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13675 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13677 This changeset reverts GDB Graphical Interface to use annotations.
13678 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13680 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13682 Make vc-dir work on subdirectories of the bzr root.
13683 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13684 Return file names relative to it.
13685 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13686 relative directory to vc-bzr-after-dir-status.
13688 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13690 * font-lock.el (font-lock-refresh-defaults): New function, which
13691 can be used to let font-lock react to external changes in
13692 variables like font-lock-defaults and keywords.
13693 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13695 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13697 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13699 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13701 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13703 Supersede color.diff settings in git log (bug#5211).
13705 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13706 escape chars in its output when the user has color.diff set to `always'.
13707 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13709 2009-12-26 Kevin Ryde <user42@zip.com.au>
13711 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13712 node. Keep previous "Index" name to work with past coreutils too.
13714 * man.el (man): Revise docstring a bit to show -a and -l as
13715 examples. Add -k description since support for it has otherwise
13716 been a secret. (Further to bug#3717.)
13717 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13718 "no matches" rather than "Can't find manpage", as the latter reads
13719 like -k was interpreted as a page name, which is not so. (Bug#5431)
13721 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13723 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13724 switches. Check also for //SUBDIRED// line.
13726 2009-12-25 Kenichi Handa <handa@m17n.org>
13728 * language/indian.el (devanagari-composable-pattern): Fix to
13729 handle ZWNJ and ZWJ. Use it in composition-function-table for
13731 (malayalam-composable-pattern): Fix previous change.
13733 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13735 * ps-print.el (ps-face-attributes): It was not returning the
13736 attribute face for faces specified as string. Reported by harven
13737 <harven@free.fr>. (Bug#5254)
13738 (ps-print-version): New version 7.3.5.
13740 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13742 * calendar/icalendar.el (icalendar--convert-tz-offset):
13743 Fix timezone names.
13744 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13745 (icalendar--add-diary-entry): Remove the trailing blank that
13746 diary-make-entry inserts.
13748 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13750 Make `file-expand-wildcards' work for remote files.
13752 * files.el (file-expand-wildcards): In case of remote files, check
13753 only local file name part for wildcards. Provide feature 'files
13754 and subfeature 'remote-wildcards. (Bug#5198)
13756 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13757 if there is already an established connection.
13758 (tramp-advice-file-expand-wildcards): Remove it.
13760 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13761 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13762 Activate advice for older GNU Emacs versions. (Bug#5237)
13764 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13766 Some doc fixes (more needed).
13768 * find-cmd.el (find-constituents): Reflow docstring.
13769 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13770 (find-generic): Doc fix.
13772 2009-12-17 Juri Linkov <juri@jurta.org>
13774 Fix regression from 23.1 to allow multiple modes in Local Variables.
13776 * files.el (hack-local-variables-filter): While ignoring duplicates,
13777 don't take `mode' into account.
13778 (hack-local-variables-filter, hack-dir-local-variables):
13779 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13781 2009-12-17 Juri Linkov <juri@jurta.org>
13783 Make `dired-diff' safer. (Bug#5225)
13785 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13786 `current' or when `file' is a directory of the `current' file.
13788 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13790 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13791 unconditionally preloaded files.
13793 2009-12-16 Juri Linkov <juri@jurta.org>
13795 Revert to old 23.1 logic of using the file at the mark as default.
13796 * dired-aux.el (dired-diff): Use the file at the mark as default
13797 if it's not the same as the current file, and the target dir is
13798 the current dir or the mark is active. Add the current file
13799 as the arg of `dired-dwim-target-defaults'. Use the default file
13800 in the prompt. (Bug#5225)
13802 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13804 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13805 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13806 (tramp-check-for-regexp): Check also, when an echoing shell stops
13807 to echo sent commands.
13809 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13811 * Makefile.in: Revert last change (Bug#5191).
13813 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13815 * vc-hg.el (vc-hg-print-log): Fix argument order.
13816 (vc-hg-working-revision): Make sure the command is executed in a
13817 known environment so that we can parse the output. (Bug#4417)
13819 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13821 * progmodes/python.el (python-symbol-completions): Remove text
13822 properties from symbol string before calling python-send-receive.
13824 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13826 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13827 when there are values for both file and line. (Bug#5060)
13829 2009-12-14 Juri Linkov <juri@jurta.org>
13831 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13832 whitespace after the file name of the first line of unified format,
13833 because git-diff doesn't output whitespace and file modification time
13834 after the file name.
13836 2009-12-14 David Kastrup <dak@gnu.org>
13838 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13839 check if it already has the `display' property added by
13840 `Info-display-images-node', and not put the `invisible' property
13843 2009-12-13 Glenn Morris <rgm@gnu.org>
13845 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13846 (report-emacs-bug): In message-mode, sort manually before storing
13847 original report text. (Bug#5178)
13848 Remove superfluous save-excursion.
13850 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13852 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13853 when responding to "GetAll" properties.
13855 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13857 * simple.el (compose-mail): Remove mail-setup-with-from from
13858 customization checks.
13860 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13862 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13863 RAR archives created on Unix systems.
13865 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13868 the varalias that was accidentally removed by the 2009-11-19 change
13871 2009-12-12 Kenichi Handa <handa@m17n.org>
13873 * language/indian.el (indian-compose-regexp): New function.
13874 (malayalam-composable-pattern): Fix the pattern.
13875 (composition-function-table): Set malayalam-composable-pattern for
13876 Malayalam characters.
13878 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13880 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13881 rather than down-mouse-1, based on follow-link conventions.
13883 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13886 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13888 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13889 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13890 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13891 (verilog-leap-to-head, verilog-backward-token):
13892 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13894 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13896 * progmodes/verilog-mode.el (verilog-auto-lineup)
13897 (verilog-nameable-item-re): Cleanup user-visible spelling and
13898 documentation errors. One reported by Gary Delp.
13899 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13900 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13901 package, bug195. Reported by Pierre-David Pfister.
13903 2009-12-11 Glenn Morris <rgm@gnu.org>
13905 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13907 * mail/emacsbug.el: No longer require sendmail.
13908 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13909 (report-emacs-bug-orig-text): Doc fix.
13910 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13911 New local variables, to adapt to different mail-user-agents.
13912 (report-emacs-bug): Fix test for a gnu.org address.
13913 Use overlays for emphasis, since font-lock defeats 'face property.
13914 Pretest bugs also end up at the newsgroup these days.
13915 Stop message-mode stripping text properties.
13916 Set and use the new buffer-local variables.
13917 (report-emacs-bug-hook): Add doc-string.
13918 Remove some unnecessary save-excursions and simplify.
13919 Use the appropriate hook and send-command.
13921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13922 capitalization of some menu entries.
13924 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13926 * whitespace.el (whitespace-display-char-on):
13927 Ensure `buffer-display-table' is unique when two or more windows are
13928 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13931 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13933 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13934 characters in the Attribute field.
13936 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13938 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13940 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13942 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13943 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13944 Disregard autoload-excludes.
13945 (update-directory-autoloads): Obey autoload-excludes here instead.
13946 But don't store its contents in no-autoloads and remove entries that
13947 refer to excludes files.
13949 2009-12-10 Glenn Morris <rgm@gnu.org>
13951 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13952 (expand-mail-aliases): Define for compiler.
13954 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13955 Define for compiler.
13957 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13958 appropriate for the mail-user-agent in use.
13960 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13962 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13964 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13966 Fix short log parsing and fontification.
13967 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13968 Fix fontification for the [merge] label.
13970 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13972 Drop some properties to avoid surprises (bug#5002).
13973 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13974 (hfy-fontify-buffer): Use it.
13976 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13979 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13980 Adjust all callers.
13981 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13982 args compulsory. Adjust callers.
13983 (ffap-gopher-at-point): Remove unused var `name'.
13985 Get rid of the ELCFILES abomination.
13986 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13987 (compile-elcfiles): New phony target.
13988 (compile-main): Compute ELCFILES dynamically.
13989 (compile-clean): New target to remove left-over elc files.
13990 (compile, all): Use it.
13992 2009-12-09 Kenichi Handa <handa@etlken>
13994 * international/mule-diag.el: Require help-mode instead of help-fns.
13996 2009-12-09 Kenichi Handa <handa@m17n.org>
13998 * international/mule-cmds.el (ucs-names): Supply sufficiently
13999 fine ranges instead of pre-calculating accurate ranges.
14000 Iterate with bigger gc-cons-threshold.
14002 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14004 Add support for stashing a snapshot of the current tree.
14005 * vc-git.el (vc-git-stash-snapshot): New function.
14006 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14008 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14010 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14011 instead of `(beginning|end)-of-line'.
14013 2009-12-08 Glenn Morris <rgm@gnu.org>
14015 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14017 * Makefile.in (ELCFILES): Regenerate.
14019 2009-12-07 Juri Linkov <juri@jurta.org>
14021 Don't lazy-highlight the comint output in history Isearch mode.
14023 * comint.el (comint-history-isearch-search): Instead of
14024 `comint-line-beginning-position', use `comint-after-pmark-p'
14025 to check if point if before the process mark, and go to
14026 `process-mark' in this case.
14028 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14030 * textmodes/tex-mode.el (latex-complete)
14031 (latex-indent-or-complete): Remove.
14032 (latex-mode): Set completion-at-point-functions instead.
14034 Provide a standard completion command and hook it into TAB.
14035 * minibuffer.el (completion-at-point-functions): New var.
14036 (completion-at-point): New command.
14037 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14038 * progmodes/python.el (python-mode-map): Use completion-at-point.
14039 (python-completion-at-point): Rename from python-partial-symbol and
14040 adjust for use in completion-at-point-functions.
14041 (python-mode): Setup completion-at-point for Python completion.
14042 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14043 extracted from lisp-complete-symbol.
14044 (lisp-complete-symbol): Use it.
14045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14046 setup completion-at-point for Elisp completion.
14047 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14048 Use completion-at-point.
14049 * ielm.el (ielm-map): Use completion-at-point.
14050 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14051 * progmodes/sym-comp.el: Move to...
14052 * obsolete/sym-comp.el: Move from progmodes.
14054 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14056 Prevent save-buffer in Rmail buffers from using the coding-system
14057 of the current message, and from clobbering the encoding mnemonics
14058 in the mode line (Bug#4623).
14060 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14062 (rmail-message-encoding): New variable.
14063 (rmail-write-region-annotate): Record the encoding of the current
14064 message in rmail-message-encoding.
14065 (rmail-after-save-hook): New function, restores the encoding of
14066 the current message after the message collection is saved.
14068 2009-12-07 Juri Linkov <juri@jurta.org>
14070 * progmodes/grep.el (grep-read-files): Use `completing-read'
14071 instead of `read-string'. Set its `collection' arg to
14072 `read-file-name-internal'. (Bug#4301)
14074 2009-12-07 Juri Linkov <juri@jurta.org>
14076 Correctly restore original Isearch point. (Bug#4994)
14078 * isearch.el (isearch-mode): Move `isearch-push-state' after
14079 `(run-hooks 'isearch-mode-hook)'.
14080 (isearch-cancel): When `isearch-push-state-function' is defined,
14081 let-bind `isearch-cmds' to the first state (the last element of
14082 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14083 function and restores the original point). Otherwise, move point
14084 to `isearch-opoint'.
14086 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14088 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14089 chars that don't have names, so the table can be built much faster at
14092 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14094 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14095 change. Suggested by David Kastrup.
14097 * simple.el (compose-mail): Check for incompatibilities and warn.
14098 (compose-mail-user-agent-warnings): New option.
14100 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14102 Support showing a single log entry from vc-annotate.
14103 * vc.el (print-log): Add a new argument: START-REVISION.
14104 (vc-print-log-internal): Add a new optional argument and
14105 pass it to the backend.
14106 (vc-print-log, vc-print-root-log): Adjust callers.
14107 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14108 buffer already displays the requested log entry, use it.
14109 Otherwise display only the log entry in question.
14110 * vc-svn.el (vc-svn-print-log):
14111 * vc-mtn.el (vc-mtn-print-log):
14112 * vc-hg.el (vc-hg-state):
14113 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14114 (vc-git-show-log-entry): Return t on success.
14115 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14116 (vc-bzr-show-log-entry): Return t on success.
14117 * vc-rcs.el (vc-rcs-print-log):
14118 * vc-sccs.el (vc-sccs-print-log):
14119 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14121 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14123 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14124 Add menus to the meta mode. (Bug#5043)
14126 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14128 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14131 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14133 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14135 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14136 Berbain <raphael.berbain@gmail.com>.
14138 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14140 (tramp-initial-end-of-output): New defconst.
14141 (tramp-methods, tramp-find-shell)
14142 (tramp-open-connection-setup-interactive-shell)
14143 (tramp-maybe-open-connection): Use it.
14144 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14145 Handle existence of `#' and `$'.
14147 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14148 Use `tramp-initial-end-of-output'.
14150 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14152 Get the background mode from the terminal for xterm, and set
14154 * term/xterm.el (xterm-set-background-mode): New function.
14155 (terminal-init-xterm): Use it in case xterm supports background
14156 color queries. Recompute faces after getting the background
14159 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14161 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14162 number comment back on its own line, for easier parsing.
14164 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14166 Make it work for non-file buffers (bug#5102).
14167 * doc-view.el (doc-view-current-cache-dir):
14168 Use doc-view-buffer-file-name rather than buffer-file-name.
14169 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14171 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14173 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14174 author field is too short.
14176 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14178 * vc-git.el (vc-git-print-log): Handle a limit argument.
14179 Display the short log in graph form and with labels.
14180 (vc-git-log-view-mode): Handle labels.
14182 Make vc-revert change VC state from 'added to 'unregistered.
14183 * vc-git.el (vc-git-revert): Call git reset first.
14185 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14187 * net/newst-backend.el, net/newst-plainview.el:
14188 * net/newst-reader.el, net/newst-ticker.el:
14189 * net/newst-treeview.el, net/newsticker.el:
14190 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14192 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14194 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14196 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14197 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14198 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14199 Update annotation regexp.
14201 * simple.el (beginning-of-visual-line): Constrain to field
14202 boundaries (Bug#5106).
14204 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14206 * xml.el (xml-substitute-numeric-entities):
14207 Move newsticker--decode-numeric-entities in newst-backend.el to
14208 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14209 * net/newst-backend.el (newsticker--parse-generic-feed)
14210 (newsticker--parse-generic-items)
14211 (newsticker--decode-numeric-entities):
14212 Move newsticker--decode-numeric-entities in newst-backend.el to
14213 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14215 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14217 * progmodes/js.el (js--js-not): Add null to the list of values.
14219 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14221 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14223 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14225 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14226 delimiter if it is at the end of the current line.
14227 (bibtex-generate-url-list): Fix docstring.
14229 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14232 minibuffer's content with itself.
14233 Fold the confirm-after-completion case into the `confirm' case.
14234 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14236 2009-12-06 Kevin Ryde <user42@zip.com.au>
14238 * ffap.el (ffap-rfc-path): Make this a defcustom since
14239 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14241 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14242 manuals, similar to existing setup for help-mode. (Bug#3913.)
14244 2009-12-05 Juri Linkov <juri@jurta.org>
14246 Save and restore dired buffer's point positions too. (Bug#4880)
14248 * dired.el (dired-save-positions): Return in the first element
14249 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14251 (dired-restore-positions): First restore buffer's position.
14252 While restoring window's positions, check if window still displays
14253 the original buffer.
14255 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14257 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14260 * shell.el (shell): Require ansi-color (Bug#5113).
14262 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14264 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14266 2009-12-05 Alan Mackenzie <acm@muc.de>
14268 * progmodes/cc-mode.el (c-before-hack-hook)
14269 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14270 `c-file-style' to work again. This reversion restores the current
14271 software to its state in Emacs 23.1. (Bug#4146)
14273 2009-12-05 Kevin Ryde <user42@zip.com.au>
14275 * textmodes/sgml-mode.el (sgml-lexical-context):
14276 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14278 2009-12-05 Juri Linkov <juri@jurta.org>
14280 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14281 for virtual nodes. (Bug#4147)
14282 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14283 when moving from a virtual node.
14284 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14285 (Info-mode): Add `Info-virtual-index' to the docstring.
14287 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14289 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14290 track of the buffer position of the end of a BibTeX entry as this
14291 position may change during reformatting.
14292 (bibtex-format-entry): Remove whitespace before processing
14293 numerical fields so that we recognize the latter properly.
14294 (bibtex-reformat): Do not use push which changes the global value
14295 of bibtex-entry-format.
14296 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14297 (bibtex-field-re-init): Replace only space characters by regexp
14299 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14300 (bibtex-initialize): Also update bibtex-strings.
14301 (bibtex-kill-field): Preserve white space at end of entry.
14302 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14303 Update bibtex-reference-keys.
14305 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14307 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14308 point after a star, if that's the only place where modifications can
14311 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14313 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14316 2009-12-04 Juri Linkov <juri@jurta.org>
14318 * proced.el (proced): Call `(proced-update t)' to update process
14319 information instead of only running proced-post-display-hook.
14320 (proced-send-signal): Add a leading space to the buffer name
14321 " *Marked Processes*" to make this buffer ephemeral.
14323 2009-12-04 Juri Linkov <juri@jurta.org>
14325 * dired.el (dired-auto-revert-buffer): New defcustom.
14326 (dired-internal-noselect): Use it.
14328 2009-12-04 Juri Linkov <juri@jurta.org>
14330 Change roles of modes and functions in image-mode.el (Bug#5062).
14332 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14333 in `auto-mode-alist'.
14334 (image-mode-previous-major-mode): New variable.
14335 (image-minor-mode-map): Rename from `image-mode-text-map'.
14336 (image-mode): Move graceful error-handling code from
14337 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14338 (image-minor-mode): Remove all image-handling code.
14339 Replace `image-mode-text-map' with `image-minor-mode-map'.
14340 Check for `image-type' in mode-line format string.
14341 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14342 (image-mode-as-text): New function with most code from
14343 `image-mode-maybe'.
14344 (image-toggle-display-text): Move code that removes image
14345 properties from `image-toggle-display' to here.
14346 (image-toggle-display-image): New function with code that adds
14347 image properties copied from `image-toggle-display'.
14348 (image-toggle-display): Remove most code with leaving only code
14349 that toggles between `image-mode-as-text' and `image-mode'.
14351 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14353 * net/newst-treeview.el
14354 (newsticker--treeview-list-highlight-start): Restored call to
14355 save-excursion: Selected item was stuck.
14356 (newsticker--treeview-list-select): New.
14357 (newsticker--treeview-item-show-text)
14358 (newsticker--treeview-item-show)
14359 (newsticker--treeview-item-update): Use new
14360 newsticker-treeview-item-mode.
14361 (newsticker-treeview-update): Keep current item.
14362 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14363 (newsticker--treeview-first-feed): Doc change.
14364 (newsticker-treeview-list-menu)
14365 (newsticker-treeview-item-menu): Add menu entries.
14366 (newsticker-treeview-item-mode): New.
14368 * net/newst-backend.el (newsticker-customize): Delete other
14371 2009-12-04 Sam Steingold <sds@gnu.org>
14373 * log-view.el (log-view-mode-map): "q" calls quit-window,
14374 like in all the other non-self-insert buffers.
14376 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14379 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14380 key decoding rather than do it manually via last-input-event +
14382 (term-exec): Use delete-and-extract-region.
14383 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14384 (term-process-pager): Remove unused var `i'.
14385 (term-dynamic-simple-complete): Make obsolete.
14386 (serial-update-config-menu): Remove unused vars `y' and `str'.
14387 (term-update-mode-line): Remove unused var `temp'.
14389 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14391 Limit the number of log entries displayed by default.
14392 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14393 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14394 using a prefix argument.
14396 2009-12-03 Glenn Morris <rgm@gnu.org>
14398 * progmodes/idlwave.el (class): Restore still useful declaration.
14400 2009-12-03 Alan Mackenzie <acm@muc.de>
14402 Enhance `c-parse-state' to run efficiently in "brace deserts".
14404 * progmodes/cc-mode.el (c-basic-common-init):
14405 Call c-state-cache-init.
14406 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14407 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14408 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14410 * progmodes/cc-langs.el (c-before-font-lock-function):
14411 c-extend-and-neutralize-syntax-in-CPP has been renamed
14412 c-neutralize-syntax-in-and-mark-CPP.
14414 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14415 with `category' properties now, not `syntax-table' ones.
14417 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14418 enhanced (but slower) version of c-end-of-macro that won't land
14419 inside a literal or on another awkward character.
14420 (c-state-cache-too-far, c-state-cache-start)
14421 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14422 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14423 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14424 (c-state-min-scan-pos, c-state-brace-pair-desert)
14425 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14426 buffer local variables.
14427 (c-state-literal-at, c-state-lit-beg)
14428 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14429 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14430 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14431 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14432 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14433 (c-renarrow-state-cache)
14434 (c-append-lower-brace-pair-to-state-cache)
14435 (c-state-push-any-brace-pair, c-append-to-state-cache)
14436 (c-remove-stale-state-cache)
14437 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14438 (c-invalidate-state-cache-1, c-parse-state-1)
14439 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14440 (c-parse-state): Enhance and refactor.
14441 (c-debug-parse-state): Amend to deal with all the new variables.
14443 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14444 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14445 modify to use category text properties rather than syntax-table ones.
14446 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14447 to switch off/on the syntactic paren property of C++ template
14448 delimiters using the category property.
14449 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14450 template delims suppressed.
14451 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14452 New constant/macros which apply category properties to the start
14453 and end of preprocessor constructs.
14454 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14455 "comment out" the syntactic value of characters in preprocessor
14457 (c-with-cpps-commented-out)
14458 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14459 with characters in all or all but one preprocessor constructs
14462 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14464 * proced.el (proced-filter-alist): Use regexp-quote.
14466 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14469 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14470 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14471 arguments. Expand `default-directory'.
14473 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14474 the benefit of returning an expanded localname.
14475 (tramp-tramp-file-p): Handle the case NAME is not a string.
14477 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14479 Add support for bzr shelve/unshelve.
14480 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14481 (vc-bzr-extra-menu-map): New variables.
14482 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14483 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14484 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14485 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14486 (vc-bzr-dir-extra-headers): Display shelves.
14488 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14490 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14492 * textmodes/bibtex.el (bibtex-complete-internal):
14493 Use completion-in-region.
14494 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14496 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14498 Support applying stashes. Improve UI.
14499 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14500 (vc-git-stash-apply, vc-git-stash-pop)
14501 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14502 (vc-git-stash-menu): New functions.
14503 (vc-git-stash-menu-map): New variable.
14504 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14506 2009-12-03 Glenn Morris <rgm@gnu.org>
14508 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14509 (vc-print-log-internal): Fix previous change.
14510 (vc-revert): Correct pluralization.
14512 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14514 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14515 it to be an alist any more.
14516 (makefile-complete): Use completion-in-region.
14518 * progmodes/octave-mod.el (octave-complete-symbol):
14519 Use completion-in-region.
14522 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14523 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14524 (idlwave-complete-class): Don't quote lambda.
14525 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14526 (idlwave-mode-map): Move initialization into declaration.
14527 (idlwave-action-and-binding): Use backquotes.
14528 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14530 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14531 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14532 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14533 `parts', and `all-parts'.
14534 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14535 (idlwave-convert-xml-system-routine-info): Remove unused string
14537 (idlwave-display-user-catalog-widget): Use dolist.
14538 (idlwave-scanning-lib): Declare dynamically-scoped var.
14539 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14540 (completion-highlight-first-word-only): Declare to silence bytecomp.
14541 (idlwave-popup-select): Tighten scope of `resp'.
14542 (idlwave-find-struct-tag): Remove unused var `beg'.
14543 (idlwave-after-load-rinfo-hook): Declare.
14544 (idlwave-sintern-class-info): Remove unused var `taglist'.
14545 (idlwave-find-class-definition): Remove unused var `list'.
14546 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14547 (idlwave-what-module-find-class): Remove unused var `classes'.
14549 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14551 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14553 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14555 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14556 buffers visited. Remove redundant current-buffer-saving.
14558 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14560 Use completion-in-buffer and remove uses of dynamic scoping.
14561 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14562 (pascal-buffer-to-use, pascal-flag): Don't declare.
14563 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14564 (pascal-get-completion-decl, pascal-keyword-completion):
14565 Add `pascal-str' argument, save-excursion,
14566 return the found completions, and don't filter with pascal-pred.
14567 (pascal-completion-cache): New var.
14568 (pascal-completion): Don't switch buffer any more (it was never
14569 necessary). Don't save-excursion any more (it's done by the called
14570 subroutines). Use a cache to avoid redundant computations.
14571 Use complete-with-action rather than pascal-completion-response and
14572 let it apply the predicate as well.
14573 (pascal-complete-word): Use completion-in-buffer when
14574 pascal-toggle-completions is nil.
14575 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14577 (pascal-comp-defun): Don't change buffer any more.
14578 Use complete-with-action rather than pascal-completion-response and
14579 let it apply the predicate as well.
14580 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14583 2009-12-02 Kenichi Handa <handa@m17n.org>
14585 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14586 shape for all Indic scripts.
14588 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14590 Use completion-in-buffer.
14591 * wid-edit.el (widget-field-text-end): New function.
14592 (widget-field-value-get): Use it.
14593 (widget-string-complete, widget-file-complete)
14594 (widget-color-complete): Use it and completion-in-region.
14595 (widget-complete): Don't narrow the buffer.
14597 2009-12-02 Glenn Morris <rgm@gnu.org>
14599 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14600 (rmail-select-summary): Use rmail-pop-to-buffer.
14601 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14602 rmail-pop-to-buffer, to prevent horizontal splits.
14604 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14605 save-excursion with save-current-buffer.
14606 Widen before searching. (Bug#5093)
14607 (diary-list-sexp-entries): Remove superfluous save-excursion.
14609 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14611 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14614 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14616 * ido.el (ido-file-internal): Handle filenames at point that do
14617 not have a directory part. (Bug#5049)
14619 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14621 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14622 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14624 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14626 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14627 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14630 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * comint.el (comint-insert-input): Ignore clicks to the right of
14633 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14635 * vc.el (vc-print-log-internal): Don't wait for the process to
14636 terminate before setting up the major mode.
14638 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14641 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14644 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14646 2009-12-01 Glenn Morris <rgm@gnu.org>
14648 * window.el (window--display-buffer-2): Fix previous changes.
14650 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14652 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14654 2009-12-01 Glenn Morris <rgm@gnu.org>
14656 * Makefile.in (ELCFILES): Add mpc.elc.
14658 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14660 * mpc.el: New file.
14662 2009-12-01 Glenn Morris <rgm@gnu.org>
14664 * window.el (window-to-use): Define for compiler.
14666 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14667 consistent with others (no final period).
14669 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14670 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14672 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14674 Make vc-print-log buttons work.
14675 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14677 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14679 * savehist.el (savehist-autosave-interval): Allow setting to nil
14680 through customize. (Bug#5056)
14682 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14684 Fix references to jit-lock properties.
14685 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14686 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14687 (perl-font-lock-special-syntactic-constructs):
14688 Quote jit-lock-defer-multiline property.
14690 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14692 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14694 2009-11-30 Juri Linkov <juri@jurta.org>
14696 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14697 value `buffer' of `multi-isearch-next-buffer-current-function'.
14698 Use `(current-buffer)' when `buffer' is nil.
14699 (multi-isearch-next-buffer-from-list): Don't fallback to
14700 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14702 2009-11-30 Juri Linkov <juri@jurta.org>
14704 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14705 of buffers with `get-buffer' to `multi-isearch-buffers'.
14706 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14707 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14708 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14709 FILES with `expand-file-name' converting relative file names
14710 to absolute. Doc fix. (Bug#4727)
14712 2009-11-30 Juri Linkov <juri@jurta.org>
14714 * misearch.el (multi-isearch-read-buffers)
14715 (multi-isearch-read-matching-buffers): New functions.
14716 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14717 Use them in the `interactive' spec. Doc fix.
14718 (multi-isearch-read-files, multi-isearch-read-matching-files):
14720 (multi-isearch-files, multi-isearch-files-regexp):
14721 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14723 2009-11-30 Juri Linkov <juri@jurta.org>
14725 * doc-view.el (doc-view-continuous):
14726 Rename from `doc-view-continuous-mode'.
14727 (doc-view-menu): Move "Toggle display" to the top.
14728 Add submenu "Continuous" with radio buttons "Off"/"On"
14729 and "Save as Default".
14730 (doc-view-scroll-up-or-next-page)
14731 (doc-view-scroll-down-or-previous-page)
14732 (doc-view-next-line-or-next-page)
14733 (doc-view-previous-line-or-previous-page):
14734 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14736 2009-11-30 Juri Linkov <juri@jurta.org>
14738 * comint.el (comint-mode-map): Rebind `M-r' from
14739 `comint-previous-matching-input' to
14740 `comint-history-isearch-backward-regexp'.
14741 Unbind `M-s' to allow global key binding `M-s'.
14742 Add menu items for `comint-history-isearch-backward' and
14743 `comint-history-isearch-backward-regexp'. (Bug#3746)
14745 2009-11-30 Juri Linkov <juri@jurta.org>
14747 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14748 For def=recenter, replace `recenter' with `recenter-top-bottom'
14749 that is called with `this-command' and `last-command' let-bound
14750 to `recenter-top-bottom'. When the last `def' was not `recenter',
14751 set `recenter-last-op' to nil. (Bug#4981)
14753 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14755 Minor cleanup and simplification.
14756 * filecache.el (file-cache-add-directory)
14757 (file-cache-add-directory-recursively)
14758 (file-cache-add-from-file-cache-buffer)
14759 (file-cache-delete-file-regexp, file-cache-delete-directory)
14760 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14761 (file-cache-temp-minibuffer-message): Delete function.
14762 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14764 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14765 Don't signal an error when bumping into EOB in tr, s, or y.
14767 2009-11-29 Juri Linkov <juri@jurta.org>
14769 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14772 * descr-text.el (describe-char-unidata-list): Use lowercase name
14773 for "Unicode name" like in other tags.
14775 2009-11-29 Juri Linkov <juri@jurta.org>
14777 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14778 New compatibility macro.
14779 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14781 2009-11-29 Juri Linkov <juri@jurta.org>
14783 Add defcustom to define the cycling order of `recenter-top-bottom'.
14786 * window.el (recenter-last-op): Doc fix.
14787 (recenter-positions): New defcustom.
14788 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14789 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14791 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14793 Improve integration of Tramp and ange-ftp in eshell.
14795 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14796 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14797 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14799 * eshell/esh-util.el (top): Require also Tramp when compiling.
14800 (eshell-directory-files-and-attributes): Check for FTP remote
14802 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14803 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14804 (eshell-file-attributes): Handle ".". Return `entry'.
14806 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14807 (ange-ftp-directory-files-and-attributes)
14808 (ange-ftp-real-directory-files-and-attributes): New defuns.
14810 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14811 shell with "exec" when possible. This prevents trailing prompts
14812 in `start-file-process'.
14814 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14816 Try and remove assumptions about point-min==1.
14817 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14818 (rng-compute-mode-line-string): Show the validation percentage in
14819 terms of the narrowed text, not the widened text.
14820 (rng-do-some-validation): Don't catch internal errors when debugging.
14821 (rng-first-error): Simplify.
14822 (rng-after-change-function): Remove work around. AFAIK the bug has
14823 been fixed a while ago.
14825 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14826 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14828 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14830 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14831 `cd' doesn't always do it for us (bug#5067).
14833 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14834 on 2009-10-25 as part of some other change (bug#5067).
14836 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14840 (byte-compile-warnings): Use byte-compile-warning-types.
14841 (byte-compile-save-excursion): Warn about use of set-buffer right
14842 after save-excursion.
14844 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14845 the excursion as well.
14847 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14849 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14850 providing a Tramp related implementation of "su" and "sudo".
14851 (eshell-unix-initialize): Add "su" and "sudo".
14853 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14855 * net/socks.el (socks-send-command): Convert binary request to
14856 unibyte before sending. This fixes mishandling of some port
14857 numbers such as 129.
14859 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14861 * help.el (describe-bindings-internal): Remove `interactive'.
14863 * man.el (Man-completion-table): Trim a terminating "(".
14864 Remove the space between name page a section.
14865 Add the command's description on the `help-echo' property.
14866 Remove `process-connection-type' binding since it's unused by
14868 Provide completion for the "<section> <name>" format as well.
14869 (Man-default-man-entry): Remove spurious var shadowing the argument.
14871 2009-11-26 Kevin Ryde <user42@zip.com.au>
14873 * log-view.el: Add "Keywords: tools", since its other keywords
14874 aren't in finder-known-keywords, and following vc.el.
14876 * sha1.el (sha1-string-external): default-directory "/" in case
14877 otherwise non-existent. process-connection-type pipe for touch of
14878 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14880 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14882 Misc coding convention cleanups.
14883 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14884 hfy-init-kludge-hooks.
14885 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14886 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14887 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14889 (hfy-slant, hfy-weight): Use tables rather than code.
14890 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14891 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14892 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14893 (hfy-face-to-css): Remove `nconc' with single arg.
14894 (hfy-p-to-face-lennart): Use `or'.
14895 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14896 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14897 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14898 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14899 (hfy-force-fontification): Use run-hooks.
14901 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14903 Various minor fixes.
14904 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14905 Javascript belongs in the header, not the body.
14906 (hfy-javascript): Remove.
14907 (hfy-fontify-buffer): Don't insert it any more.
14908 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14909 Fix bug in invis handling when there were no invis props in a chunk.
14911 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14913 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14915 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14917 * finder.el (finder-mode-map): Add a menu.
14919 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14921 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14922 "unsigned" structs.
14924 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14925 fork" statement better.
14927 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14929 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14930 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14931 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14932 Reported by Clay Douglass.
14934 (verilog-auto-inst, verilog-auto-star-safe)
14935 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14936 Fix removing "// Interfaces" when saving .* expansions.
14937 Reported by Pierre-David Pfister.
14939 2009-11-26 Glenn Morris <rgm@gnu.org>
14941 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14944 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14946 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14947 Really use previous revision.
14949 2009-11-25 Kevin Ryde <user42@zip.com.au>
14951 * man.el (Man-completion-table): default-directory "/" in case
14952 doesn't otherwise exist. process-environment COLUMNS=999 so as
14953 not to truncate long names. process-connection-type pipe to avoid
14954 any chance of hitting the pseudo-tty TIOCGWINSZ.
14955 (man): completion-ignore-case t for friendliness and since man
14956 itself is case-insensitive on the command line.
14957 Further to Bug#3717.
14959 * arc-mode.el: Add "Keywords: files", so the details in its
14960 commentary can be reached from finder-by-keyword.
14961 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14962 editing mode, but it's comms related and sgml-mode.el has "comm"
14964 * textmodes/bibtex-style.el: Add "Keywords: tex".
14965 * international/isearch-x.el, international/ja-dic-cnv.el:
14966 * international/ja-dic-utl.el, international/kkc.el:
14967 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14969 2009-11-25 Juri Linkov <juri@jurta.org>
14971 * man.el (Man-completion-table): Modify regexp to include
14972 section names to completion strings. (Bug#3717)
14974 2009-11-25 Juri Linkov <juri@jurta.org>
14976 Search recursively in gzipped files. (Bug#4982)
14978 * progmodes/grep.el (grep-highlight-matches): Add new options
14979 `always' and `auto'. Doc fix.
14980 (grep-process-setup): Check `grep-highlight-matches' for
14981 `auto-detect' to determine the need to compute grep defaults.
14982 Move Windows/DOS specific --colors settings handling
14983 to `grep-compute-defaults'. Check `grep-highlight-matches'
14984 to get the value of "--color=".
14985 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14986 has the value `auto-detect'. Move Windows/DOS specific settings
14987 from `grep-process-setup'.
14988 (zrgrep): New command with alias `rzgrep'.
14990 2009-11-25 Juri Linkov <juri@jurta.org>
14992 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14993 to nil instead of switching off view-mode. (Bug#4896)
14995 2009-11-25 Juri Linkov <juri@jurta.org>
14997 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14999 * mwheel.el (mwheel-scroll-up-function)
15000 (mwheel-scroll-down-function): New defvars.
15001 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15002 `scroll-up', and `mwheel-scroll-down-function' instead of
15005 * doc-view.el (doc-view-scroll-up-or-next-page)
15006 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15007 Use this ARG in the call to image-scroll-up/image-scroll-down.
15008 Change `interactive' spec to "P". Goto next/previous page only
15009 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15010 SPC/DEL case). Doc fix.
15011 (doc-view-next-line-or-next-page)
15012 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15014 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15015 `doc-view-scroll-up-or-next-page', and buffer-local
15016 `mwheel-scroll-down-function' to
15017 `doc-view-scroll-down-or-previous-page'.
15019 2009-11-25 Juri Linkov <juri@jurta.org>
15021 Provide additional default values (directories at other Dired
15022 windows) via M-n in the minibuffer of some Dired commands.
15024 * dired-aux.el (dired-diff, dired-compare-directories)
15025 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15026 `minibuffer-default' in `minibuffer-with-setup-hook'.
15027 (dired-dwim-target-directory): Find a window that displays Dired
15028 buffer instead of failing when the next window is not Dired.
15029 Use `get-window-with-predicate' to find for the next Dired window.
15030 (dired-dwim-target-defaults): New function.
15032 * ediff-util.el (ediff-read-file-name):
15033 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15034 in `minibuffer-with-setup-hook'.
15036 2009-11-25 Juri Linkov <juri@jurta.org>
15038 Provide additional default values (file name at point or at the
15039 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15041 * minibuffer.el (read-file-name-defaults): New function.
15042 (read-file-name): Reset `minibuffer-default' to nil when
15043 it duplicates initial input `insdef'.
15044 Bind `minibuffer-default-add-function' to lambda that
15045 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15046 (minibuffer-insert-file-name-at-point): New command.
15048 * files.el (file-name-at-point-functions): New defcustom.
15049 (find-file-default): Remove defvar.
15050 (find-file-read-args): Don't use `find-file-default'.
15051 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15052 to `read-file-name'.
15053 (find-file-literally): Use `read-file-name' with
15054 `confirm-nonexistent-file-or-buffer'.
15056 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15058 * dired.el (dired-read-dir-and-switches):
15059 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15060 to `read-file-name'.
15061 (dired-file-name-at-point): New function.
15062 (dired-mode): Add hook `dired-file-name-at-point' to
15063 `file-name-at-point-functions'.
15065 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15067 Really make the *Completions* window soft-dedicated (bug#5030).
15068 * window.el (window--display-buffer-2): Add `dedicated' argument.
15069 (display-buffer): Pass it when needed so the dedicated flag is set
15070 after calling set-window-buffer, which would otherwise reset it.
15072 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15074 * progmodes/meta-mode.el (meta-complete-symbol):
15075 * progmodes/etags.el (complete-tag):
15076 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15077 Use completion-in-region.
15079 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15080 (dabbrev-completion): Use completion-in-region.
15081 (dabbrev--abbrev-at-point): Simplify regexp.
15083 * abbrev.el (abbrev--before-point): Use word-motion functions
15084 if :regexp is not specified (bug#5031).
15086 * subr.el (string-prefix-p): New function.
15088 * man.el (Man-completion-cache): New var.
15089 (Man-completion-table): Use it.
15091 * vc.el (vc-print-log-internal): Make `limit' optional for better
15092 compatibility (e.g. with vc-annotate.el).
15094 2009-11-24 Kevin Ryde <user42@zip.com.au>
15096 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15097 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15099 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15100 when .el source file not found or other error.
15102 2009-11-24 Markus Triska <markus.triska@gmx.at>
15104 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15106 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15108 Handle the [back] button properly (bug#4979).
15109 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15110 Use help-setup-xref, help-buffer, and with-help-window.
15111 (describe-char): Add `buffer' argument.
15112 Pass proper command to help-setup-xref. Don't meddle with
15113 help-xref-stack-item directly.
15114 (describe-text-category): Use with-help-window and help-buffer.
15116 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15117 for the displayed buffer (bug#4887).
15119 * man.el (Man-completion-table): New function.
15122 2009-11-24 David Reitter <david.reitter@gmail.com>
15124 * vc-git.el (vc-git-registered): Use checkout directory (where
15125 .git is) rather than the file's directory and a relative path spec
15126 to work around a bug in git.
15128 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15130 Improve handling of processes on remote hosts.
15132 * eshell/esh-util.el (eshell-path-env): New defvar.
15133 (eshell-parse-colon-path): New defun.
15134 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15136 * eshell/esh-ext.el (eshell-search-path):
15137 Use `eshell-parse-colon-path'.
15138 (eshell-remote-command): Remove argument HANDLER.
15139 (eshell-external-command): Check for FTP remote connection.
15141 * eshell/esh-proc.el (eshell-gather-process-output):
15142 Use `file-truename', in order to start also symlinked files.
15143 Apply `start-file-process' instead of `start-process'.
15144 Shorten `command' to the local file name part.
15146 * eshell/em-cmpl.el (eshell-complete-commands-list):
15147 Use `eshell-parse-colon-path'.
15149 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15151 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15152 to `eshell-directory-change-hook'.
15154 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15156 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15157 because it could be enabled automatically if view-read-only is non-nil.
15159 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15161 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15162 made on 2009-11-22.
15164 2009-11-24 Glenn Morris <rgm@gnu.org>
15166 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15167 deleted variable bookmark-bmenu-bookmark-column.
15169 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15171 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15173 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15175 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15176 two slashes to the "file:" prefix.
15177 (browse-url-file-url): De-munge Cygwin filenames before passing
15178 them to Windows browser.
15179 (browse-url-default-windows-browser): Use call-process.
15181 2009-11-23 Juri Linkov <juri@jurta.org>
15183 Implement DocView Continuous mode. (Bug#4896)
15184 * doc-view.el (doc-view-continuous-mode): New defcustom.
15185 (doc-view-mode-map): Bind C-n/<down> to
15186 `doc-view-next-line-or-next-page', C-p/<up> to
15187 `doc-view-previous-line-or-previous-page'.
15188 (doc-view-next-line-or-next-page)
15189 (doc-view-previous-line-or-previous-page): New commands.
15191 2009-11-23 Juri Linkov <juri@jurta.org>
15193 Implement Isearch in comint input history. (Bug#3746)
15194 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15195 `isearch-mode-hook'.
15196 (comint-history-isearch): New defcustom.
15197 (comint-history-isearch-backward)
15198 (comint-history-isearch-backward-regexp): New commands.
15199 (comint-history-isearch-message-overlay): New buffer-local variable.
15200 (comint-history-isearch-setup, comint-history-isearch-end)
15201 (comint-goto-input, comint-history-isearch-search)
15202 (comint-history-isearch-message, comint-history-isearch-wrap)
15203 (comint-history-isearch-push-state)
15204 (comint-history-isearch-pop-state): New functions.
15206 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15208 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15210 (tramp-handle-make-symbolic-link)
15211 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15213 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15214 (tramp-handle-process-file): Use it.
15216 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15218 * window.el (move-to-window-line-last-op): Remove.
15219 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15221 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15223 Make M-r mirror the new cycling behavior of C-l.
15224 * window.el (move-to-window-line-last-op): New var.
15225 (move-to-window-line-top-bottom): New command.
15226 (global-map): Bind M-r move-to-window-line-top-bottom.
15228 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15230 * dired-x.el (dired-guess-shell-alist-default):
15231 Support xz format. (Bug#4953)
15233 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15235 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15236 last-command-char/last-command-event.
15237 (viper-prefix-arg-value): Do correct conversion of event-char for
15240 * emulation/viper-util.el, emulation/viper.el:
15241 Use viper-last-command-char instead of
15242 last-command-char/last-command-event.
15244 * ediff-init.el, ediff-mult.el, ediff-util.el:
15245 Replace last-command-char and last-command-event
15246 with (ediff-last-command-char) everywhere.
15248 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15249 created in fundamental mode.
15251 * ediff.el (ediff-version): Revert the change of interactive-p to
15252 called-interactively-p.
15254 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15256 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15257 generation from word-movement command names.
15259 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15261 * cus-start.el (all): Add native condition for font-use-system-font.
15263 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15265 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15266 Correct the patch from 2009-11-18. (Bug#3910)
15268 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15270 * progmodes/subword.el: Rename from lisp/subword.el.
15272 * subword.el: Rename to progmodes/subword.el.
15274 * Makefile.in (ELCFILES): Adapt to subword.el move.
15276 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15277 Stefan Monnier <monnier@iro.umontreal.ca>
15279 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15280 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15281 (bookmark-bmenu-show-filenames): Use push.
15282 (bookmark-bmenu-hide-filenames): Use local var instead of
15283 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15284 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15285 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15286 filenames now that the bookmark names are always available.
15288 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15290 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15291 (bookmark-search-pattern): Move and leave unbound.
15292 (bookmark-bmenu-mode-map): Change binding.
15293 (bookmark-read-search-input): Simplify.
15294 Don't use text-char-description. Don't error on non-char events.
15295 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15296 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15297 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15298 Use a local var for the timer.
15299 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15300 (i.e. bookmark-bmenu-search).
15302 2009-11-21 Glenn Morris <rgm@gnu.org>
15304 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15306 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15308 * net/browse-url.el (browse-url-default-windows-browser):
15309 Use cygstart for cygwin.
15311 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15313 * bookmark.el: Formatting and doc fixes only:
15314 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15315 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15316 Minor grammar and punctuation fixes in doc string.
15317 (bookmark-read-search-input): Adjust to fit within 80 columns.
15319 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15321 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15322 (c-backward-into-nomenclature): Adapt to subword renaming.
15324 * subword.el (subword-forward, subword-backward, subword-mark)
15325 (subword-kill, subword-backward-kill, subword-transpose)
15326 (subword-downcase, subword-upcase, subword-capitalize)
15327 (subword-forward-internal, subword-backward-internal):
15328 Rename from forward-subword, backward-subword, mark-subword,
15329 kill-subword, backward-kill-subword, transpose-subwords,
15330 downcase-subword, upcase-subword, capitalize-subword,
15331 forward-subword-internal, backward-subword-internal.
15333 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15335 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15337 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15339 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15340 (bookmark-bmenu-filter-alist-by-regexp)
15341 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15342 (bookmark-bmenu-search): New command.
15343 (bookmark-bmenu-mode-map): Bind it.
15345 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15347 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15348 backward-subword to quit the byte-compiler.
15350 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15352 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15354 * progmodes/cc-cmds.el (c-update-modeline)
15355 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15356 Refer to subword.el functions instead of cc-subword.el.
15358 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15359 subword.el functions instead of cc-subword.el.
15361 * progmodes/cc-subword.el: Rename to subword.el.
15362 * subword.el: Rename from progmodes/cc-subword.el.
15363 (subword-mode-map): Rename from c-subword-mode-map.
15364 (subword-mode): Rename from c-subword-mode.
15365 (global-subword-mode): New global minor mode.
15366 (forward-subword): Rename from c-forward-subword.
15367 (backward-subword): Rename from c-backward-subword.
15368 (mark-subword): Rename from c-mark-subword.
15369 (kill-subword): Rename from c-kill-subword.
15370 (backward-kill-subword): Rename from c-backward-kill-subword.
15371 (transpose-subwords): Rename from c-tranpose-subword.
15372 (downcase-subword): Rename from c-downcase-subword.
15373 (capitalize-subword): Rename from c-capitalize-subword.
15374 (forward-subword-internal): Rename from c-forward-subword-internal.
15375 (backward-subword-internal): Rename from c-backward-subword-internal.
15377 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15379 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15380 from a dired buffer.
15381 (vc-dired-deduce-fileset): New function.
15382 (vc-root-diff, vc-print-root-log): Use it.
15384 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15385 nil LIMIT argument to vc-print-log-internal.
15387 2009-11-20 Glenn Morris <rgm@gnu.org>
15389 * Makefile.in (ELCFILES): Regenerate.
15391 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15393 * calc/calc.el (calc-set-mode-line):
15394 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15395 (math-format-number): Rename `math-format-complement-signed' to
15396 `math-format-twos-complement'.
15398 * calc/calc-bin.el (math-format-twos-complement): Rename from
15399 math-format-complement-signed.
15400 (calc-radix): Rename `calc-complement-signed-mode' to
15401 `calc-twos-complement-mode'.
15402 (calc-octal-radix, calc-hex-radix): Add an argument for
15405 * calc/calc-embed.el (calc-embedded-mode-vars):
15406 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15408 * calc/calc-ext.el (calc-init-extensions):
15409 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15410 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15412 * calc/calc-units.el (math-build-units-table-buffer):
15413 Let `calc-twos-complement-mode' be nil.
15415 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15418 * calc/calc-vec.el (calcFunc-vunpack):
15419 * calc/calc-aent.el (calc-do-calc-eval):
15420 * calc/calc-forms.el (math-format-date):
15421 * calc/calc-graph.el (calc-graph-plot):
15422 * calc/calc-math.el (math-use-emacs-fn):
15423 * calc/calccomp.el (math-compose-expr):
15424 Let `calc-twos-complement-mode' be nil.
15426 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15428 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15429 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15430 * minibuffer.el (completion-in-region-functions): New hook.
15431 (completion-in-region): New function.
15432 * emacs-lisp/lisp.el (lisp-complete-symbol):
15433 * pcomplete.el (pcomplete-std-complete): Use it.
15435 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15437 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15438 (latex-complete-alist): New vars.
15439 (latex-string-prefix-p, latex-complete-bibtex-keys)
15440 (latex-complete-envnames, latex-complete-refkeys)
15441 (latex-complete-data): New functions.
15442 (latex-complete, latex-indent-or-complete): New commands.
15444 * window.el (display-buffer-mark-dedicated): New var.
15445 (display-buffer): Obey it.
15446 * minibuffer.el (minibuffer-completion-help): Use it.
15448 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15450 * filecache.el (file-cache-add-file): Use push and cons.
15451 (file-cache-delete-file-regexp): Use push.
15452 (file-cache-complete): Use completion-in-region.
15454 * simple.el (with-wrapper-hook): Fix thinko.
15456 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15457 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15458 Use with-current-buffer and string-to-number.
15459 (hfy-fallback-colour-values): Use assoc-string.
15460 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15461 (hfy-face-at): Remove unused var `found-face'.
15462 (hfy-compile-stylesheet): Remove unused var `css'.
15463 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15465 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15466 Use with-current-buffer.
15467 (hfy-text-p): Use expand-file-name and fewer setq.
15469 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15471 * htmlfontify.el, hfy-cmap.el: New files.
15473 2009-11-19 Juri Linkov <juri@jurta.org>
15475 * minibuffer.el (completions-format): New defcustom.
15476 (completion--insert-strings): Implement vertical format.
15478 * simple.el (switch-to-completions): Move point to the first
15479 completion when point was at the beginning of the buffer.
15481 2009-11-19 Juri Linkov <juri@jurta.org>
15483 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15485 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15487 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15489 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15490 (mail-signature): Change default to t.
15491 (mail-from-style): Deprecate `system-default' value.
15492 (mail-insert-from-field): For default value of mail-from-style,
15493 default to `angles' unless `angles' needs quoting and `parens'
15495 (mail-citation-prefix-regexp): Use citation regexp from
15498 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15500 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15501 Set variables for computing the prompt for reading password.
15503 2009-11-19 Glenn Morris <rgm@gnu.org>
15505 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15507 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15509 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15510 (newsticker-treeview-listwindow-height): Fix custom type.
15512 2009-11-19 Kenichi Handa <handa@m17n.org>
15514 * descr-text.el (describe-char-padded-string): Compose with TAB
15515 only if there's a font for CH.
15516 (describe-char): Fix the condition for detecting a trivial composition.
15518 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15520 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15521 more accurate version of the regexp. (Bug#3910)
15523 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15525 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15527 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15529 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15530 (font-setting-change-default-font): Fix typo in docstring.
15532 2009-11-18 Alan Mackenzie <acm@muc.de>
15534 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15536 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15538 * font-setting.el (font-use-system-font): Move ...
15540 * cus-start.el (all): ... to here.
15542 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15544 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15545 Don't set `ad-return-value' if `ad-do-it' doesn't.
15547 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15550 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15552 * menu-bar.el: Put "Use system font" in Option-menu.
15553 (menu-bar-options-save): Add font-use-system-font.
15555 * loadup.el: If feature system-font-setting or font-render-setting is
15556 there, load font-setting.
15558 * Makefile.in (ELCFILES): Add font-settings.el.
15559 * font-setting.el: New file.
15561 2009-11-17 Glenn Morris <rgm@gnu.org>
15563 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15565 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15566 Preserve point in the list buffer. (Bug#4939)
15568 (newsticker--treeview-list-update-highlight)
15569 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15571 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15573 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15576 * calc/calc-ext.el (calc-init-extensions): Remove references to
15579 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15581 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15582 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15585 2009-11-16 Kevin Ryde <user42@zip.com.au>
15587 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15588 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15590 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15591 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15592 Ignore trailing spaces by omit-nulls to split-string (fixing
15593 regression from Emacs 21 due to the incompatible split-string
15594 change). (Bug #4928.)
15596 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15598 * vc.el (vc-log-show-limit): Default to 2000.
15599 (vc-print-log-internal): Insert buttons to request more entries
15600 when limiting the output.
15602 * vc-sccs.el (vc-sccs-print-log):
15603 * vc-rcs.el (vc-rcs-print-log):
15604 * vc-cvs.el (vc-cvs-print-log):
15605 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15608 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15610 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15611 error when `tramp-gvfs-dbus-event-vector' is set.
15612 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15614 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15616 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15618 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15620 * net/dbus.el (dbus-unregister-service): New defun.
15621 (dbus-register-property): Register the handlers of
15622 "org.freedesktop.DBus.Properties" for SERVICE.
15623 (dbus-property-handler): Fix docstring.
15625 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15627 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15628 Quote doc string reference in defvaralias as it is not in special form.
15629 (byte-compile-output-docform): Doc fix.
15631 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15633 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15634 (calc-complement-signed-mode): New variables.
15635 (calc-set-mode-line): Add indicator for twos-complements.
15636 (math-format-number): Format twos-complement notation.
15638 * calc/calc-bin.el (calc-word-size): Reset the variables
15639 `math-2-word-size' and `math-half-2-word-size'.
15640 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15641 (calc-symclip): New functions.
15643 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15645 * calc/calc-embed.el (calc-embedded-mode-vars):
15646 Add `calc-complement-signed-mode' to the list of modes.
15648 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15649 (calc-b-oper-keys): Add `calc-symclip' to list.
15651 * calc/calc-ext.el (math-read-number-fancy): Read complement
15653 (calc-init-extensions): Add binding for `calc-symclip'.
15654 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15656 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15658 (calc-modes-menu): Add item for twos complement mode.
15660 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15662 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15664 * register.el (jump-to-register, insert-register): Handle Semantic
15665 tags. From commented-out advice in semantic/senator.el.
15667 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15669 * vc.el (vc-log-show-limit): New variable.
15670 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15671 when using a prefix argument.
15672 (vc-print-log-internal): Add new argument LIMIT.
15674 * vc-svn.el (vc-svn-print-log):
15675 * vc-mtn.el (vc-mtn-print-log):
15676 * vc-hg.el (vc-hg-print-log):
15677 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15678 pass it to the log command when set. Make the BUFFER argument
15681 * vc-sccs.el (vc-sccs-print-log):
15682 * vc-rcs.el (vc-rcs-print-log):
15683 * vc-git.el (vc-git-print-log):
15684 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15685 ignore it. Make the BUFFER argument non-optional
15687 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15689 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15691 * dired.el (dired-mode-map): Move encryption items to "Operate"
15694 * strokes.el (strokes-update-window-configuration): Make strokes
15695 buffer current before erasing (Bug#4906).
15697 2009-11-15 Juri Linkov <juri@jurta.org>
15699 * simple.el (set-mark-default-inactive): Add :type, :group
15700 and :version. (Bug#4876)
15702 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15704 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15705 (archive-unique-fname): ... here. (Bug#4929)
15707 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15712 * novice.el (disabled-command-function): Add useful args.
15713 Setup the help buffer so that [back] works.
15714 Remove redundant call to help-mode.
15715 (disabled-command-function): Use `case'.
15716 (en/disable-command): New function extracted from enable-command.
15717 (enable-command, disable-command): Use it.
15719 2009-11-14 Glenn Morris <rgm@gnu.org>
15721 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15722 constants. (Bug#4913)
15724 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15726 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15728 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15729 defined in C that have no doc-strings. (Bug#1063)
15731 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15733 * cus-edit.el (data, files):
15734 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15736 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15738 * simple.el (shell-command): Doc fix (Bug#4891).
15740 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15742 2009-11-14 Glenn Morris <rgm@gnu.org>
15744 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15745 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15746 If they are already loaded, eval-after-load will do the right thing.
15748 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15751 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15753 * simple.el (x-selection-owner-p): Declare.
15754 (read-mail-command): Use custom radio type rather than choice.
15755 (completion-no-auto-exit): Doc fix.
15757 * custom.el (defgroup):
15758 * epg-config.el (epg): Doc fixes.
15760 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15762 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15763 * international/ccl.el (define-ccl-program): Do not purecopy the
15764 docstring, defconst does it anyway.
15766 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15768 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15771 * x-dnd.el (x-dnd-maybe-call-test-function):
15772 * window.el (split-window-vertically):
15773 * whitespace.el (whitespace-help-on):
15774 * vc-rcs.el (vc-rcs-consult-headers):
15775 * userlock.el (ask-user-about-lock-help)
15776 (ask-user-about-supersession-help):
15777 * type-break.el (type-break-force-mode-line-update):
15778 * time-stamp.el (time-stamp-conv-warn):
15779 * terminal.el (te-set-output-log, te-more-break, te-filter)
15780 (te-sentinel, terminal-emulator):
15781 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15782 (term-write-input-ring, term-check-source, term-start-output-log):
15783 (term-display-buffer-line, term-dynamic-list-completions):
15784 (term-ansi-make-term, serial-term):
15785 * subr.el (selective-display):
15786 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15787 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15788 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15789 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15790 (speedbar-remove-localized-speedbar-support)
15791 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15792 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15793 (speedbar-buffers-line-directory):
15794 * simple.el (shell-command-on-region, append-to-buffer)
15795 (prepend-to-buffer):
15796 * shadowfile.el (shadow-save-todo-file):
15797 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15798 (scroll-bar-maybe-set-window-start):
15799 * sb-image.el (speedbar-image-dump):
15800 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15801 (load-save-place-alist-from-file):
15802 * ps-samp.el (ps-print-message-from-summary):
15803 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15804 (ps-background-image, ps-begin-job, ps-do-despool):
15805 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15806 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15807 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15808 (pr-call-process, pr-file-list, pr-interface-save):
15809 * novice.el (disabled-command-function)
15810 (enable-command, disable-command):
15811 * mouse.el (mouse-buffer-menu-alist):
15812 * mouse-copy.el (mouse-kill-preserving-secondary):
15813 * macros.el (kbd-macro-query):
15814 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15815 * informat.el (batch-info-validate):
15816 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15817 * hippie-exp.el (try-expand-dabbrev-visible):
15818 * help-mode.el (help-make-xrefs):
15819 * help-fns.el (describe-variable):
15820 * generic-x.el (bat-generic-mode-run-as-comint):
15821 * finder.el (finder-mouse-select):
15822 * find-dired.el (find-dired-sentinel):
15823 * filesets.el (filesets-file-close):
15824 * files.el (list-directory):
15825 * faces.el (list-faces-display, describe-face):
15826 * facemenu.el (list-colors-display):
15827 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15828 * epg.el (epg--process-filter, epg-cancel):
15829 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15830 (epa--read-signature-type):
15831 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15832 (emerge-file-names):
15833 * ehelp.el (electric-helpify):
15834 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15835 * ediff-vers.el (rcs-ediff-view-revision):
15836 * ediff-util.el (ediff-setup):
15837 * ediff-mult.el (ediff-append-custom-diff):
15838 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15840 * echistory.el (Electric-command-history-redo-expression):
15841 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15842 * disp-table.el (describe-display-table):
15843 * dired.el (dired-find-buffer-nocreate):
15844 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15845 * dabbrev.el (dabbrev--same-major-mode-p):
15846 * chistory.el (list-command-history):
15847 * apropos.el (apropos-documentation):
15848 * allout.el (allout-obtain-passphrase):
15849 (allout-copy-exposed-to-buffer):
15850 (allout-verify-passphrase): Use with-current-buffer.
15852 2009-11-13 Glenn Morris <rgm@gnu.org>
15854 * Makefile.in (ELCFILES): Regenerate.
15856 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15858 * net/dbus.el (dbus-registered-objects-table): Rename from
15859 `dbus-registered-functions-table', because it contains also properties.
15860 (dbus-unregister-object): Unregister also properties.
15861 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15862 Use a timeout of 500 msec, in order to not block.
15863 (dbus-register-property, dbus-property-handler): New defuns.
15865 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15867 * simple.el (minibuffer-default-add-completions): Drop deprecated
15870 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15872 * textmodes/artist.el (artist-mouse-choose-operation):
15873 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15874 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15875 (artist-compute-up-event-key): New function.
15876 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15878 2009-11-13 Kenichi Handa <handa@m17n.org>
15880 * language/japan-util.el: Make sure that the value of jisx0208
15881 property is jisx0208 character.
15883 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15885 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15886 car or each item, not the whole list.
15888 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15890 * minibuffer.el (minibuffer-completion-help):
15891 Use minibuffer-hide-completions.
15893 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15895 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15896 (dired-revert): Use them (bug#4880).
15898 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15900 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15902 2009-11-12 Juri Linkov <juri@jurta.org>
15904 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15906 (find-file-literally-at-point): Alias of `ffap-literally'.
15908 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15910 * textmodes/ispell.el (ispell-skip-region-alist):
15911 * textmodes/css-mode.el (auto-mode-alist):
15912 * progmodes/compile.el (auto-mode-alist):
15913 * international/mule.el (ctext-non-standard-encodings-alist)
15914 (ctext-non-standard-encodings-regexp):
15915 * simple.el (shell-command-switch, text-read-only):
15916 * replace.el (occur-mode-map):
15917 * paths.el (rmail-file-name):
15918 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15919 * find-file.el (ff-special-constructs):
15920 * files.el (file-name-handler-alist):
15921 * composite.el: Purecopy strings.
15923 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15925 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15927 * widget.el (define-widget): Purecopy the docstring.
15928 * international/mule-cmds.el (charset): Do not purecopy the
15929 docstring here, define-widget does it.
15931 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15932 * textmodes/bibtex-style.el (auto-mode-alist):
15933 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15934 * progmodes/compile.el (compile-command):
15935 * language/korea-util.el (default-korean-keyboard):
15936 * international/mule-conf.el (file-coding-system-alist):
15937 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15938 * tooltip.el (tooltip-frame-parameters):
15939 * newcomment.el (comment-end, comment-padding):
15940 * dired.el (dired-trivial-filenames):
15941 * comint.el (comint-file-name-prefix): Purecopy initial values.
15943 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15945 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15946 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15948 (tramp-advice-make-auto-save-file-name)
15949 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15950 after removing the advice.
15952 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15954 * progmodes/grep.el (grep-regexp-alist):
15955 * international/mule-cmds.el (iso-2022-control-alist):
15956 * emacs-lisp/timer.el (timer-duration-words):
15957 * subr.el (version-separator, version-regexp-alist):
15958 * minibuffer.el (completion-styles-alist):
15959 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15960 Change defvars to defconsts.
15962 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15963 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15964 * international/mule-conf.el: Allow to be byte compiled.
15966 * international/mule.el (define-charset): Purecopy props.
15967 (load-with-code-conversion): Purecopy doc string and file name.
15968 (put-charset-property): Purecopy strings.
15969 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15971 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15972 (define-char-code-property): Correctly purecopy the table.
15974 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15976 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15978 * subr.el (add-hook): Purecopy strings.
15979 (eval-after-load): Purecopy load-history-regexp and the form.
15981 * custom.el (custom-declare-group): Purecopy load-file-name.
15983 * subr.el (menu-bar-separator): New defconst.
15984 * net/eudc.el (eudc-tools-menu):
15985 * international/mule-cmds.el (set-coding-system-map)
15986 (mule-menu-keymap):
15987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15988 * vc-hooks.el (vc-menu-map):
15989 * replace.el (occur-mode-map):
15990 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15991 (menu-bar-edit-menu, menu-bar-goto-menu)
15992 (menu-bar-custom-menu, menu-bar-showhide-menu)
15993 (menu-bar-options-menu, menu-bar-tools-menu)
15994 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15995 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15996 (menu-bar-help-menu):
15997 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15998 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16000 * term/x-win.el (x-gtk-stock-map):
16001 * progmodes/vera-mode.el (auto-mode-alist):
16002 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16003 (inferior-lisp-program, inferior-lisp-load-command):
16004 * progmodes/hideshow.el (hs-special-modes-alist):
16005 * progmodes/gud.el (same-window-regexps):
16006 * progmodes/grep.el (grep-program, find-program, xargs-program):
16007 * net/telnet.el (same-window-regexps):
16008 * net/rlogin.el (same-window-regexps):
16009 * language/ethiopic.el (font-ccl-encoder-alist):
16010 * vc-sccs.el (vc-sccs-master-templates):
16011 * vc-rcs.el (vc-rcs-master-templates):
16012 * subr.el (cl-assertion-failed):
16013 * simple.el (next-error-overlay-arrow-position):
16014 * lpr.el (lpr-command):
16015 * locate.el (locate-ls-subdir-switches):
16016 * info.el (same-window-regexps, info)
16017 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16018 * image-mode.el (image-mode, auto-mode-alist):
16019 * hippie-exp.el (hippie-expand-ignore-buffers):
16020 * format.el (format-alist):
16021 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16023 * facemenu.el (facemenu-keybindings):
16024 * dired.el (dired-listing-switches, dired-chown-program):
16025 * diff.el (diff-switches, diff-command):
16026 * cus-edit.el (same-window-regexps):
16027 * bindings.el (mode-line-mule-info)
16028 (mode-line-buffer-identification): Purecopy strings.
16030 2009-11-11 Juri Linkov <juri@jurta.org>
16032 * simple.el (dired-get-filename) <declare-function>:
16033 Tell the byte-compiler about dired-get-filename.
16034 (shell-command): In Dired mode, get filename from the current line
16035 as the default value.
16037 2009-11-10 Glenn Morris <rgm@gnu.org>
16039 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16040 * calendar/holidays.el, progmodes/cperl-mode.el:
16041 Update x-popup-menu declarations.
16043 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16044 (list-load-path-shadows): Use dolist.
16045 (list-load-path-shadows): Use with-current-buffer.
16047 2009-11-10 Juri Linkov <juri@jurta.org>
16049 * minibuffer.el (read-file-name): Support a list of default values
16050 in `default-filename'. Use the first file name where only one
16051 element is required. Doc fix.
16053 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16055 * net/dbus.el (dbus-unregister-object): Release service, if no
16056 other method is registered for it.
16058 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16060 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16061 bookmark-sort-flag is non-nil (Bug#4653).
16063 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16065 * emulation/cua-base.el: Add CUA property to some CC mode commands
16068 2009-11-08 Kevin Ryde <user42@zip.com.au>
16070 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16071 at end of sentence (Bug#4818).
16073 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16076 Handle "see declaration of" MSFT statements (Bug#4100).
16078 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16080 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16081 (tramp-advice-file-expand-wildcards): Unload via
16082 `ad-remove-advice'.
16084 * net/trampver.el: Update release number.
16086 2009-11-08 Kevin Ryde <user42@zip.com.au>
16088 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16091 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16093 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16094 in order to keep context in SELinux.
16096 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16098 * dired-aux.el (dired-query): Place cursor in echo area and allow
16101 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16102 menu item if not on a directory (Bug#4701).
16104 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16106 Sync with Tramp 2.1.17.
16108 * net/tramp.el (tramp-handle-copy-directory): Don't use
16109 `file-remote-p' (due to compatibility).
16111 * net/tramp-compat.el (tramp-compat-copy-directory)
16112 (tramp-compat-delete-directory): New defuns.
16114 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16115 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16116 Use `tramp-compat-delete-directory'.
16118 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16119 (tramp-smb-handle-delete-directory):
16120 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16122 * net/trampver.el: Update release number.
16124 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16126 * tar-mode.el (tar-copy): Call write-region on the right buffer
16129 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16130 by hand, if necessary (Bug#4878).
16132 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16134 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16135 align size column (Bug#4839).
16137 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16140 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16142 * progmodes/ld-script.el (auto-mode-alist):
16143 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16145 * cus-face.el (custom-declare-face): Purecopy face spec.
16147 2009-11-06 Kenichi Handa <handa@m17n.org>
16149 * international/uni-bidi.el: Re-generated.
16150 * international/uni-category.el: Re-generated.
16151 * international/uni-combining.el: Re-generated.
16152 * international/uni-mirrored.el: Re-generated.
16154 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16156 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16157 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16158 (tex-start-options, slitex-run-command, latex-run-command)
16159 (tex-run-command, tex-directory):
16160 * textmodes/ispell.el (ispell-html-skip-alists)
16161 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16162 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16163 (adaptive-fill-regexp):
16164 * textmodes/dns-mode.el (auto-mode-alist):
16165 * progmodes/python.el (interpreter-mode-alist):
16166 * progmodes/etags.el (tags-compression-info-list):
16167 * progmodes/etags.el (tags-file-name):
16168 * net/browse-url.el (browse-url-galeon-program)
16169 (browse-url-firefox-program):
16170 * mail/sendmail.el (mail-signature-file)
16171 (mail-citation-prefix-regexp):
16172 * international/mule-conf.el (eight-bit):
16173 * international/latexenc.el (latex-inputenc-coding-alist):
16174 * international/fontset.el (x-pixel-size-width-font-regexp):
16175 * emacs-lisp/warnings.el (warning-type-format):
16176 * emacs-lisp/trace.el (trace-buffer):
16177 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16178 (emacs-lisp-mode-map):
16179 * calendar/holidays.el (holiday-solar-holidays)
16180 (holiday-bahai-holidays, holiday-islamic-holidays)
16181 (holiday-christian-holidays, holiday-hebrew-holidays)
16182 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16183 (hebrew-holidays-1, holiday-oriental-holidays)
16184 (holiday-general-holidays):
16185 * x-dnd.el (x-dnd-known-types):
16186 * tool-bar.el (tool-bar):
16187 * startup.el (site-run-file):
16188 * shell.el (shell-dumb-shell-regexp):
16189 * rfn-eshadow.el (file-name-shadow-tty-properties)
16190 (file-name-shadow-properties):
16191 * paths.el (remote-shell-program, news-directory):
16192 * mouse.el ([C-down-mouse-3]):
16193 * menu-bar.el (menu-bar-tools-menu):
16194 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16195 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16196 (jka-compr-compression-info-list):
16197 * isearch.el (search-whitespace-regexp):
16198 * image-file.el (image-file-name-extensions):
16199 * find-dired.el (find-ls-option):
16200 * files.el (directory-listing-before-filename-regexp)
16201 (directory-free-space-args, insert-directory-program)
16202 (list-directory-brief-switches, magic-fallback-mode-alist)
16203 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16204 (automount-dir-prefix):
16205 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16206 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16207 (face-font-registry-alternatives, face-font-registry-alternatives)
16208 (face-font-family-alternatives):
16209 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16210 (facemenu-foreground-menu, facemenu-face-menu):
16211 * epa-hook.el (epa-file-name-regexp):
16212 * dnd.el (dnd-protocol-alist):
16213 * textmodes/rst.el (auto-mode-alist):
16214 * button.el (default-button): Purecopy strings.
16216 2009-11-06 Glenn Morris <rgm@gnu.org>
16218 * Makefile.in (ELCFILES): Update.
16220 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16222 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16223 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16225 * nxml/xsd-regexp.el (xsdre-gen-categories):
16226 * nxml/xmltok.el (xmltok-parse-entity):
16227 * nxml/rng-parse.el (rng-parse-validate-file):
16228 * nxml/rng-maint.el (rng-format-manual)
16229 (rng-manual-output-force-new-line):
16230 * nxml/rng-loc.el (rng-save-schema-location-1):
16231 * nxml/rng-cmpct.el (rng-c-parse-file):
16232 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16233 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16235 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16237 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16238 Remove extra save-excursions and make-variable-buffer-local's.
16239 Suggested by Stefan Monnier.
16241 (verilog-getopt-file, verilog-module-inside-filename-p)
16242 (verilog-set-define): Merge GNU 1.35 and repair changes from
16243 switching to using with-current-buffer.
16245 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16246 being treated as a number and confusing AUTORESET.
16247 Reported by Dan Dever.
16249 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16250 Add verilog-auto-ignore-concat to fix backward compatibility with
16251 older verilog-modes. Reported by Dan Katz.
16253 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16254 containing closing anchors "...$".
16256 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16257 Reported by Wade Smith.
16259 (verilog-batch-execute-func): Comment on function usage.
16261 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16263 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16266 (verilog-label-re, verilog-calc-1): Support proper indent of named
16269 (verilog-backward-token, verilog-basic-complete-re)
16270 (verilog-beg-of-statement, verilog-indent-re): Support proper
16271 indent of the assert statement at the beginning of a block of text.
16273 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16274 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16277 2009-11-05 Glenn Morris <rgm@gnu.org>
16279 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16280 Emacs 19. (Bug#1531)
16281 (byte-compile-fix-header): Update for the above change.
16282 Drop test for epoch::version.
16284 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16285 * cus-dep.el (custom-make-dependencies):
16286 * finder.el (finder-compile-keywords):
16287 Use autoload-rubric's feature argument.
16289 * calendar/diary-lib.el (top-level): Make load behave more like require.
16291 * vc-git.el (vc-git-stash-map): Move definition before use.
16293 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16295 * custom.el (custom-declare-group): Purecopy standard-value.
16296 (custom-declare-group): Purecopy custom-prefix.
16298 * international/mule.el (load-with-code-conversion):
16299 Call do-after-load-evaluation unconditionally.
16301 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16303 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16305 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16307 2009-11-04 Glenn Morris <rgm@gnu.org>
16309 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16310 (byte-compile-compatibility): Remove option.
16311 (byte-compile-close-variables, byte-compile-fix-header)
16312 (byte-compile-insert-header, byte-compile-output-docform)
16313 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16314 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16315 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16316 (byte-compile-insert, byte-compile-defun):
16317 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16318 (byte-defop-compiler19): Remove.
16319 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16320 used by anything. Replace all calls with byte-defop-compiler.
16322 2009-11-04 Juri Linkov <juri@jurta.org>
16324 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16325 (menu-bar-options-menu): Don't quote the `prop' arg of
16326 `menu-bar-make-mm-toggle'.
16328 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16330 * calendar/calendar.el (cal-loaddefs):
16331 * calendar/diary-lib.el (diary-loaddefs):
16332 * calendar/holidays.el (hol-loaddefs):
16333 * eshell/esh-module.el (esh-groups): Load rather than require.
16335 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16339 (todo-top-priorities): Only display-buffer when called interactively.
16340 (todo-item-start): Don't save excursion point.
16341 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16342 (todo-insert-item-here, todo-file-item, todo-remove-item):
16343 Adjust uses of todo-item-start and todo-item-end.
16345 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16346 (autoload-rubric): Don't use any more.
16348 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16349 and only put a prop if it is non-nil.
16351 2009-11-03 Juri Linkov <juri@jurta.org>
16353 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16354 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16356 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16357 and "Menu" to make top-level menu item visually one unit (like
16358 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16359 multi-word menu items). Fix :help string for quit-window.
16361 2009-11-03 Glenn Morris <rgm@gnu.org>
16363 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16364 (byte-compile-file-form-define-abbrev-table)
16365 (byte-compile-file-form-custom-declare-variable)
16366 (byte-compile-variable-ref, byte-compile-defvar):
16367 Whether or not a warning is enabled should only affect whether we issue
16368 the warning, not whether or not we collect the relevant data.
16369 Eg warnings can be turned on and off throughout the course of a file.
16371 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16372 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16374 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16376 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16377 * play/mpuz.el (mpuz-create-buffer):
16378 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16379 (lm-print-y,s,noise, lm-print-w0, lm-init):
16380 * play/gomoku.el (gomoku-prompt-for-move):
16381 * play/fortune.el (fortune-in-buffer):
16382 * play/dissociate.el (dissociated-press):
16383 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16384 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16385 * mail/supercite.el (sc-eref-show):
16386 * mail/smtpmail.el (smtpmail-send-it):
16387 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16388 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16389 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16390 (rmail-summary-goto-msg, rmail-summary-expunge)
16391 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16392 (rmail-summary-add-label, rmail-summary-output-menu)
16393 (rmail-summary-output-body):
16394 * mail/rfc822.el (rfc822-addresses):
16395 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16396 * mail/mailpost.el (post-mail-send-it):
16397 * mail/hashcash.el (hashcash-generate-payment):
16398 * mail/feedmail.el (feedmail-run-the-queue)
16399 (feedmail-queue-send-edit-prompt-help-first)
16400 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16401 (feedmail-deduce-address-list):
16402 * eshell/esh-ext.el (eshell-remote-command):
16403 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16404 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16405 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16406 (viper-save-string-in-file, viper-valid-marker):
16407 * emulation/viper-keym.el (viper-toggle-key):
16408 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16409 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16410 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16411 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16412 (viper-exec-form-in-emacs, viper-brac-function):
16413 * emulation/viper.el (viper-delocalize-var):
16414 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16415 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16416 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16417 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16418 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16419 * emulation/edt.el (edt-electric-helpify):
16420 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16421 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16422 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16423 (cua-indent-to-global-mark-column):
16424 * calendar/diary-lib.el (calendar-mark-1):
16425 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16426 Use with-current-buffer.
16427 * emulation/viper.el (viper-delocalize-var): Use dolist.
16429 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16431 * comint.el (comint-replace-by-expanded-history-before-point):
16432 Replace !! with the previous input string literally (Bug#1795).
16434 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16436 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16437 to be made up of whitespace.
16439 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16441 * minibuffer.el (read-file-name): Don't use file dialogs for
16442 remote directories (Bug#99).
16444 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16446 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16448 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16450 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16451 instead of deleting the window or frame.
16453 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16455 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16456 Support face colors.
16458 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16459 New function. Support face colors (Bug#1168).
16460 (tex-common-initialization): Use it.
16462 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16463 mode allows it (Bug#1168).
16465 2009-10-31 Juri Linkov <juri@jurta.org>
16467 * facemenu.el (list-colors-display): Don't mark buffer as
16468 modified (Bug#3948).
16470 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16472 * international/mule-diag.el (list-character-sets-1):
16473 Minor message fix (Bug#3526).
16475 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16476 Fix face property (Bug#4834).
16477 (etags-list-tags, etags-tags-apropos-additional)
16478 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16481 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16484 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16486 * textmodes/two-column.el (2C-split):
16487 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16488 * textmodes/tex-mode.el (tex-set-buffer-directory):
16489 * textmodes/spell.el (spell-region, spell-string):
16490 * textmodes/reftex.el (reftex-erase-buffer):
16491 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16492 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16493 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16494 (reftex-select-item):
16495 * textmodes/reftex-ref.el (reftex-label-info-update)
16496 (reftex-offer-label-menu):
16497 * textmodes/reftex-index.el (reftex-index-change-entry)
16498 (reftex-index-phrases-info):
16499 * textmodes/reftex-global.el (reftex-create-tags-file)
16500 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16501 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16502 (reftex-view-crossref-from-bibtex):
16503 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16504 (reftex-extract-bib-entries-from-thebibliography)
16505 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16506 * textmodes/refbib.el (r2b-capitalize-title):
16507 (r2b-convert-buffer, r2b-help):
16508 * textmodes/page-ext.el (pages-directory)
16509 (pages-directory-goto-with-mouse):
16510 * textmodes/bibtex.el (bibtex-validate-globally):
16511 * textmodes/bib-mode.el (bib-capitalize-title):
16512 * textmodes/artist.el (artist-clear-buffer, artist-system):
16513 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16514 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16515 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16516 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16517 (xscheme-send-control-g-interrupt, xscheme-start-process)
16518 (xscheme-process-sentinel, xscheme-cd):
16519 * progmodes/verilog-mode.el (verilog-read-always-signals)
16520 (verilog-set-define, verilog-getopt-file)
16521 (verilog-module-inside-filename-p):
16522 * progmodes/sh-script.el:
16523 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16524 (python-pdbtrack-grub-for-buffer, python-execute-file):
16525 * progmodes/octave-inf.el (inferior-octave):
16526 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16527 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16528 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16529 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16530 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16531 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16532 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16533 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16534 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16535 (idlwave-shell-examine-display, idlwave-shell-run-region)
16536 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16537 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16538 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16539 (idlwave-help-get-help-buffer):
16540 * progmodes/gud.el (gud-basic-call, gud-find-class)
16541 (gud-tooltip-activate-mouse-motions-if-enabled):
16542 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16543 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16544 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16545 (ebrowse-tags-next-file):
16546 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16547 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16548 (ebnf-eps-finish-and-write):
16549 * progmodes/cpp.el (cpp-edit-save):
16550 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16551 * progmodes/cc-defs.el (c-emacs-features):
16552 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16553 (antlr-directory-dependencies):
16554 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16555 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16556 (ada-find-any-references, ada-make-filename-from-adaname)
16557 (ada-make-body-gnatstub):
16558 * obsolete/rnews.el (news-list-news-groups):
16559 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16560 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16561 * net/rcirc.el (rcirc-debug):
16562 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16563 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16564 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16565 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16566 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16567 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16568 (newsticker--treeview-list-clear-highlight)
16569 (newsticker--treeview-list-update-highlight)
16570 (newsticker--treeview-list-highlight-start)
16571 (newsticker--treeview-tree-update-highlight)
16572 (newsticker--treeview-get-selected-item)
16573 (newsticker-treeview-mark-list-items-old)
16574 (newsticker--treeview-set-current-node):
16575 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16576 * net/newst-backend.el (newsticker--get-news-by-funcall)
16577 (newsticker--get-news-by-wget, newsticker--image-get)
16578 (newsticker--image-sentinel):
16579 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16580 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16581 (eudc-ph-close-session):
16582 * net/eudc.el (eudc-save-options):
16583 * language/thai-word.el (thai-update-word-table):
16584 * language/japan-util.el (japanese-string-conversion):
16585 * international/titdic-cnv.el (tsang-quick-converter)
16586 (ziranma-converter, ctlau-converter):
16587 * international/mule-cmds.el (describe-language-environment):
16588 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16589 (skkdic-convert-postfix, skkdic-convert-prefix):
16590 (skkdic-convert-okuri-nasi, skkdic-convert):
16591 * emacs-lisp/re-builder.el (reb-update-overlays):
16592 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16593 * emacs-lisp/gulp.el (gulp-send-requests):
16594 * emacs-lisp/find-gc.el (trace-call-tree):
16595 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16596 (eieio-describe-generic):
16597 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16598 * emacs-lisp/edebug.el (edebug-outside-excursion):
16599 * emacs-lisp/debug.el (debugger-make-xrefs):
16600 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16601 * emacs-lisp/chart.el (chart-new-buffer):
16602 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16603 Use with-current-buffer.
16604 * textmodes/artist.el (artist-system): Don't call
16605 copy-sequence on a fresh string.
16606 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16608 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16610 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16611 is no item to edit. (Bug#4820)
16612 (todo-top-priorities): Restore point and restore narrowing in Todo
16615 2009-10-31 Glenn Morris <rgm@gnu.org>
16617 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16618 (comint-last-output-start, comint-last-input-start)
16619 (comint-last-input-end): Don't defvar when compiling.
16620 (ange-ftp-process-file): Use bound-and-true-p.
16622 * pcmpl-rpm.el (top-level): Move provide statement to end.
16623 (pcmpl-rpm): Remove unused custom group.
16625 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16627 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16629 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16630 (byte-compile-warnings): Add `constants' as an option.
16631 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16632 (display-call-tree): Update for byte-compile-fdefinition possibly
16633 returning `(macro lambda ...)'. (Bug#4778)
16634 (byte-compile-variable-ref, byte-compile-setq-default):
16635 Respect `constants' member of byte-compile-warnings.
16637 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16639 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16640 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16643 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16645 * textmodes/ispell.el (ispell-skip-region-alist):
16646 * international/mule-conf.el (eight-bit):
16647 * international/fontset.el (font-encoding-alist):
16648 * startup.el (pure-space-overflow-message):
16649 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16650 * paths.el (gnus-nntp-service, rmail-spool-directory)
16651 (term-file-prefix):
16652 * files.el (save-some-buffers-action-alist):
16653 * cmuscheme.el (same-window-buffer-names):
16654 * ielm.el (same-window-buffer-names):
16655 * shell.el (same-window-buffer-names):
16656 * mail/sendmail.el (same-window-buffer-names):
16657 * progmodes/inf-lisp.el (same-window-buffer-names):
16658 * bindings.el (mode-line-client)
16659 (mode-line-column-line-number-mode-map):
16660 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16661 (tibetan-precomposed-regexp): Purecopy string arguments.
16663 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16665 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16666 (calcDigit-nondigit):
16667 * calc/calc-yank.el (calc-copy-to-buffer):
16668 * calc/calc-units.el (calc-invalidate-units-table):
16669 * calc/calc-trail.el (calc-trail-yank):
16670 * calc/calc-store.el (calc-insert-variables):
16671 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16672 * calc/calc-prog.el (calc-read-parse-table):
16673 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16674 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16675 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16676 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16677 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16678 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16679 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16680 * calc/calc-ext.el (calc-realign):
16681 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16682 (calc-embedded-finish-edit, calc-embedded-make-info)
16683 (calc-embedded-finish-command, calc-embedded-stack-change):
16684 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16686 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16687 shell-dynamic-complete-filename in preference to
16688 comint-dynamic-complete-filename.
16690 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16691 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16692 Don't consider whether the display supports colors.
16693 (bookmark-import-new-list): Use dolist.
16694 (bookmark-bmenu-mode-map): Move initialization into declaration.
16695 (bookmark-bmenu-list): Use dolist, simplify.
16696 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16697 (menu-bar-final-items): Use push.
16699 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16701 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16702 it works on remote files.
16703 (vc-hg-diff): Don't pass any `--cwd' argument.
16705 2009-10-27 Kevin Ryde <user42@zip.com.au>
16707 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16708 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16709 (Further to Bug#3921).
16711 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16713 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16714 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16715 calling `tramp-imap-put-file'. Add file size to the call.
16716 (tramp-imap-get-file-entries): Compute also user name, file size,
16718 (tramp-imap-handle-insert-directory): Insert uid and gid.
16719 (tramp-imap-handle-file-attributes): Transform uid and gid
16720 according to `id-format'.
16721 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16722 size in header X-Size.
16724 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16726 * simple.el (transpose-subr): Give clearer error when the mark
16727 is not set. (Bug#4807)
16729 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16731 * net/tramp.el (tramp-perl-file-truename): New defconst.
16732 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16733 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16734 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16735 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16737 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16738 Ignore `dired-call-process'.
16739 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16741 2009-10-26 Julian Scheid <julians37@gmail.com>
16743 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16744 (tramp-get-remote-readlink): New defun.
16745 (tramp-handle-file-truename): Use it.
16746 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16747 file exists if cache value present.
16748 (tramp-check-cached-permissions): New defun.
16749 (tramp-handle-file-readable-p): Use it.
16750 (tramp-handle-file-writable-p): Likewise.
16751 (tramp-handle-file-executable-p): Likewise.
16752 (tramp-handle-file-name-all-completions): Try using Perl to get
16753 partial completions. When perl not available, combine `cd' and
16754 `ls' into single remote operation and use shell expansion to get
16755 partial remote directory contents. Set `file-exists-p' cache for
16756 directory and any files returned by ls. Change cache handling to
16757 support partial directory contents. Use error message emitted by
16758 remote `cd' or Perl code for local tramp-error.
16759 (tramp-do-copy-or-rename-file-directly): Avoid separate
16760 tramp-send-command-and-check call.
16761 (tramp-handle-process-file): Merge three remote ops into one.
16762 Do not flush all caches when `process-file-side-effects' is set.
16763 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16764 file-attributes shows uid/gid to be set already.
16766 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16768 * textmodes/tex-mode.el (tex-dvi-view-command)
16769 (tex-show-queue-command, tex-open-quote):
16770 * progmodes/ruby-mode.el (auto-mode-alist)
16771 (interpreter-mode-alist): Purecopy strings.
16773 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16775 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16776 string for the hook, keymap and abbrev table.
16778 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16780 * x-dnd.el (x-dnd-xdnd-to-action):
16781 * startup.el (fancy-startup-text, fancy-about-text): Change to
16782 defconst from defvar.
16784 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16786 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16787 Purecopy initialization strings.
16789 * mail/sendmail.el (mail-header-separator)
16790 (mail-personal-alias-file):
16791 * mail/rmail.el (rmail-default-dont-reply-to-names)
16792 (rmail-ignored-headers, rmail-retry-ignored-headers)
16793 (rmail-highlighted-headers, rmail-secondary-file-directory)
16794 (rmail-secondary-file-regexp):
16795 * files.el (null-device, file-name-invalid-regexp)
16796 (locate-dominating-stop-dir-regexp)
16797 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16798 (interpreter-mode-alist): Use mapcar instead of mapc.
16800 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16802 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16803 (completion-ignored-extensions):
16804 (debug-ignored-errors): Purecopy strings.
16806 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16808 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16809 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16810 (pcomplete--here): Use push.
16812 * subr.el (all-completions): Declare the 4th arg obsolete.
16814 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16816 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16817 (pcomplete-unquote-argument): New function.
16818 (pcomplete--common-suffix): Always pay attention to case.
16819 (pcomplete--table-subvert): Quote and unquote the text.
16820 (pcomplete--common-quoted-suffix): New function.
16821 (pcomplete-std-complete): Use it and pcomplete-begin.
16823 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16824 we're inside a dedicated or minibuffer window.
16826 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16828 * bookmark.el: Update documentation, especially documentation
16829 of `bookmark-alist' and of the bookmark file format.
16830 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16832 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16834 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16835 keybindings apply to the mail buffer (Bug#4003). Shrink help
16838 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16839 (global-whitespace-mode, global-whitespace-newline-mode)
16840 (whitespace-toggle-options, global-whitespace-toggle-options):
16841 Doc fix (Bug#3660).
16843 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16844 of xmltok-start before the end tag was inserted (Bug#2840).
16846 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16847 patterns that are preceded by an open-paren (Bug#1320).
16849 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16851 * files.el (delete-directory): Delete symlinks to directories with
16852 delete-file (Bug#4739).
16854 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16856 * vc.el (vc-backend-for-registration): Rename from
16857 vc-get-backend-for-registration. Update callers.
16859 * international/mule-cmds.el (set-language-info-alist):
16861 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16862 (charset): Purecopy the name.
16863 (define-char-code-property): Purecopy string arguments.
16865 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16866 Purecopy string arguments.
16868 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16869 * ediff-hook.el (menu-bar-ediff-menu):
16870 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16871 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16873 2009-10-24 Glenn Morris <rgm@gnu.org>
16875 * comint.el (comint-dynamic-list-completions):
16876 * term.el (term-dynamic-list-completions): Use choose-completion rather
16877 than obsolete alias mouse-choose-completion.
16879 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16880 file-cache-choose-completion.
16881 (file-cache-choose-completion): Handle an optional event argument.
16882 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16884 * progmodes/octave-mod.el (octave-complete-symbol):
16885 Use choose-completion if mouse-choose-completion is ever removed.
16887 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16890 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16893 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16895 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16897 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16898 Ignore `pred' now that we receive one.
16899 Handle test-completion specially.
16901 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16903 * vc.el (vc-responsible-backend): Throw an error if not backend is
16904 found. Remove the REGISTER argument. Move the code dealing with
16906 (vc-get-backend-for-registration): ... here. New function.
16907 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16908 of vc-responsible-backend, pass the file name instead of the
16911 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16913 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16915 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16916 (pcomplete-comint-setup): Don't modify a global var via
16917 accidental side-effects.
16918 (pcomplete-shell-setup): Adjust call accordingly.
16919 (pcomplete-parse-comint-arguments): Use push.
16921 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16923 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16924 Allow uncapitalized info node names (Bug#3921).
16926 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16927 to the DEBUG file (Bug#3781).
16929 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16931 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16932 dictionary entry (Bug#4579).
16934 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16936 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16937 from `rfn-eshadow-update-overlay-hook' when unloading.
16938 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16939 "rsyncc". Adjust doc string.
16940 (tramp-temp-buffer-file-name): New buffer-local defvar.
16941 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16942 Keep temporary file when indicated by method ("rsync" and
16944 (tramp-handle-write-region): Handle APPEND.
16945 (tramp-delete-temp-file-function): New defun. Added to
16946 `kill-buffer-hook'.
16948 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16950 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16952 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16954 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16955 (color-name-rgb-alist, tty-standard-colors)
16956 (tty-color-mode-alist): Change to defconst.
16958 * simple.el (mark-inactive): Purecopy message.
16960 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16961 (global-map, yank-menu):
16962 * textmodes/ispell.el (ispell-menu-map):
16963 * net/eudc.el (eudc-tools-menu):
16964 * international/mule-cmds.el (describe-language-environment-map)
16965 (setup-language-environment-map, set-coding-system-map)
16966 (mule-menu-keymap):
16967 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16968 * replace.el (occur-mode-map):
16969 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16971 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16973 * calc/calc.el (math-read-number, math-read-number-simple):
16974 Use `save-match-data'.
16976 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16978 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16979 rather than fiddling with global-map bindings, since it should only
16980 affect per-terminal settings.
16981 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16983 * minibuffer.el (completion-table-with-terminator): Allow to specify
16984 the terminator-regexp.
16986 * simple.el (switch-to-completions): Look for *Completions* in other
16989 * pcomplete.el: Allow the use of completion-tables.
16990 (pcomplete-std-complete): New command.
16991 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16992 (pcomplete--here): Use a function for `form' rather than an expression,
16993 so it can be byte-compiled.
16994 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16995 Add edebug declaration.
16996 (pcomplete-show-completions): Remove unused var `curbuf'.
16997 (pcomplete-do-complete, pcomplete-stub):
16998 Don't assume `completions' is a list of strings any more.
17000 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17002 * find-dired.el (find-name-arg): Fix typo in docstring.
17004 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17006 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17007 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17009 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17012 * comint.el (comint-read-input-ring, comint-write-input-ring)
17013 (comint-substitute-in-file-name)
17014 (comint-dynamic-complete-as-filename)
17015 (comint-dynamic-simple-complete)
17016 (comint-dynamic-list-filename-completions)
17017 (comint-dynamic-list-completions)
17018 (comint-redirect-results-list-from-process): Minor simplifications.
17020 2009-10-21 Kevin Ryde <user42@zip.com.au>
17022 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17023 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17024 the first form. And insert a blank line after ";;; Code" since
17025 that's usual style. (Bug#4612)
17027 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17029 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17031 * minibuffer.el (completion-table-with-terminator): Properly implement
17032 boundaries, in case `terminator' appears in the suffix.
17033 (completion--embedded-envvar-table): Don't return boundaries if
17034 there's no valid completion. Simplify.
17035 (completion-file-name-table): New completion table extracted from
17036 completion--file-name-table.
17037 (completion--file-name-table): Use it.
17038 (read-file-name-predicate): Declare obsolete.
17039 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17040 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17041 completion-file-name-table, and use the `pred' argument.
17042 * files.el (locate-file-completion-table): Use the `pred' arg rather
17043 than read-file-name-predicate.
17044 (abbreviate-file-name): Use \` rather than ^ for BOS.
17046 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17048 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17049 vc-responsible-backend to register, it causes problems.
17051 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17053 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17055 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17057 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17058 (tramp-smb-handle-file-attributes): Use it.
17059 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17060 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17061 `mapcar'. Use `tramp-smb-get-stat-capability'.
17062 Add `dired-filename' text properties.
17063 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17064 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17067 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17069 * subr.el (read-key-delay): Reduce to 0.01.
17070 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17073 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17077 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17078 (Info-menu): Remove unused vars `last' and `completions'.
17079 (Info-index-nodes): Remove unused var `node'.
17081 * info.el (Info-complete-menu-item): Use complete-with-action.
17083 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17085 Make vc-annotate work through copies and renames.
17086 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17087 Return the file name too.
17088 (vc-annotate-revision-at-line)
17089 (vc-annotate-find-revision-at-line)
17090 (vc-annotate-revision-previous-to-line)
17091 (vc-annotate-show-log-revision-at-line): Update to get the file
17092 name from vc-annotate-extract-revision-at-line.
17093 (vc-annotate-show-diff-revision-at-line-internal): Change the
17094 argument to mean whether to show a file diff or not. Get the file
17095 name from vc-annotate-extract-revision-at-line.
17096 (vc-annotate-show-diff-revision-at-line):
17097 Update vc-annotate-show-diff-revision-at-line call.
17098 (vc-annotate-warp-revision): Add an optional file argument.
17100 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17101 (vc-git-annotate-extract-revision-at-line): Also return the file
17104 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17105 command. Remove unused code.
17106 (vc-hg-annotate-re): Update to match --follow output.
17107 (vc-hg-annotate-extract-revision-at-line): Also return the file
17110 * vc.el: Update annotate-extract-revision-at-line documentation.
17112 2009-10-18 Kevin Ryde <user42@zip.com.au>
17114 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17115 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17117 * net/browse-url.el (browse-url): Identify alist with "consp and
17118 not functionp" and let all other things go down the `apply' leg,
17119 as suggested by Stefan. (Further to bug#4531.)
17121 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17123 * minibuffer.el (read-file-name): Check for repeat before putting
17124 a default argument in file-name-history (Bug#4657).
17126 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17127 read syntax (Bug#4737).
17129 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17131 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17133 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17134 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17135 entries and make note of obsolete tags.
17137 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17139 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17141 2009-10-18 Glenn Morris <rgm@gnu.org>
17143 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17144 grep, so that binary files (eg international/uni-bidi.el) can match.
17145 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17146 now, and in any case the file header format has changed.
17148 2009-10-17 Glenn Morris <rgm@gnu.org>
17150 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17151 (flyspell-get-word, flyspell-large-region)
17152 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17154 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17156 * Makefile.in (ELCFILES): Add ede/shell.
17158 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17160 * term/common-win.el (x-colors): Purecopy it.
17162 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17164 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17165 permissive for when the buffer is empty.
17166 (tar-header-block-tokenize): Decode the username and groupname.
17167 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17169 2009-10-17 Eric Ludlam <zappo@gnu.org>
17171 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17172 contains multibyte characters, choose first applicable coding
17173 system automatically.
17175 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17177 * international/mule-cmds.el (select-safe-coding-system): If the file
17178 has a coding cookie, use it regardless of any other setting (bug#4712).
17180 2009-10-17 Glenn Morris <rgm@gnu.org>
17182 * foldout.el (foldout-mouse-swallow-events):
17183 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17185 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17186 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17187 (dired-keep-marker-symlink, dired-dwim-target)
17188 (dired-copy-preserve-time): Do not autoload these defcustoms.
17190 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17191 messages from messing up the file coding. (Bug#4623)
17193 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17195 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17196 if no match is found for the current dictionary. (Bug#4578)
17198 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17199 optional, since that is how it is documented, and this is often called
17200 with a nil argument. (Bug#4577)
17201 (flyspell-external-point-words, flyspell-auto-correct-word)
17202 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17203 (flyspell-word-search-backward): Remove nil argument in calls to
17204 flyspell-get-word, since it is not needed now.
17206 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17208 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17210 2009-10-16 Glenn Morris <rgm@gnu.org>
17212 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17214 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17216 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17217 (ange-ftp-file-size): New function.
17218 (ange-ftp-file-attributes): Use it.
17220 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17222 * net/tramp-smb.el (tramp-smb-version): New defvar.
17223 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17226 2009-10-16 Glenn Morris <rgm@gnu.org>
17228 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17229 Maybe copy some custom properties from old to new name. (Bug#4706)
17231 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17233 * subr.el (error, sit-for, start-process-shell-command)
17234 (start-file-process-shell-command): Set the calling convention
17235 after the function definition.
17237 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17239 * subr.el (error, sit-for, start-process-shell-command)
17240 (start-file-process-shell-command): Use the new
17241 set-advertised-calling-convention feature.
17243 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17245 * international/ucs-normalize.el (ucs-normalize-version):
17247 (check-range): Adjust for Unicode 5.2.
17249 2009-10-15 Juri Linkov <juri@jurta.org>
17251 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17252 to the `menu-item' format.
17254 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17256 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17257 if the environment variable does not exist.
17259 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17260 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17262 (tramp-smb-handle-add-name-to-file)
17263 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17264 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17265 (tramp-smb-handle-file-attributes)
17266 (tramp-smb-do-file-attributes-with-stat)
17267 (tramp-smb-handle-file-local-copy)
17268 (tramp-smb-handle-insert-directory)
17269 (tramp-smb-handle-make-directory)
17270 (tramp-smb-handle-make-directory-internal)
17271 (tramp-smb-handle-make-symbolic-link)
17272 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17273 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17274 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17275 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17276 Handle long file names.
17277 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17278 process is running.
17279 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17280 Read share names with "-g" option.
17282 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17284 * net/rcirc.el (rcirc-view-log-file): New command.
17285 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17286 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17289 2009-10-15 Glenn Morris <rgm@gnu.org>
17291 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17292 from the second command-line argument.
17293 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17294 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17295 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17296 w32-batch-update-autoloads.
17297 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17298 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17300 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17301 the headers cannot be located. Simplify, subtracting superflous
17304 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17306 Replace completion-base-size by completion-base-position to fix bugs
17307 such as (bug#4699).
17308 * simple.el (completion-base-position): New var.
17309 (completion-base-size): Mark as obsolete.
17310 (choose-completion): Make it work for mouse events as well.
17311 Pass the new base-position to choose-completion-string.
17312 (choose-completion-guess-base-position): New function, extracted from
17313 choose-completion-delete-max-match.
17314 (choose-completion-delete-max-match): Use it. Make obsolete.
17315 (choose-completion-string): Use the new base-position info.
17316 (completion-root-regexp): Delete.
17317 (completion-setup-function): Preserve completion-base-position.
17318 Eliminate obsolete base-size manipulation.
17319 * minibuffer.el (display-completion-list): Don't mess with base-size.
17320 (minibuffer-completion-help): Set completion-base-position instead.
17321 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17323 * textmodes/bibtex.el (bibtex-complete):
17324 * emacs-lisp/crm.el (crm--choose-completion-string):
17325 Adjust to new calling convention.
17326 * complete.el (partial-completion-mode): Use minibufferp to avoid
17327 bumping into incompatible change to choose-completion-string-functions.
17328 * ido.el (ido-choose-completion-string): Make its calling convention
17330 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17331 base-size manipulation.
17332 (comint-dynamic-list-input-ring): Use dotimes and push.
17333 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17334 fundamental-mode. Use `or'.
17336 2009-10-14 Juri Linkov <juri@jurta.org>
17338 * misearch.el (multi-isearch-next-buffer-from-list)
17339 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17341 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17343 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17346 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17347 string we return is all made up of text from the completions rather
17348 than part from the completions and part from the input (bug#4219).
17350 * ido.el (ido-everywhere): Use define-minor-mode.
17352 * buff-menu.el (list-buffers, ctl-x-map):
17353 Mark the entry points with ;;;###autoload cookies.
17355 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17357 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17358 correctly in the detached head case.
17359 (vc-git-print-log): Remove unused binding.
17361 * vc.el (vc-responsible-backend): When a directory is passed for
17362 for registration create a VC repository if no backend is
17363 responsible for the directory argument.
17364 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17366 * vc.el: Move comments about RCS and SCCS ...
17368 * vc-sccs.el: ... here, respectively.
17370 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17372 * minibuffer.el (completion--file-name-table): Return nil if there's
17373 no file completion, even if substitute-in-file-name changed
17374 the string (bug#4708).
17376 2009-10-13 Juri Linkov <juri@jurta.org>
17378 * files-x.el (read-file-local-variable-value): Don't filter out
17379 minor modes from mode name completion (bug#4664).
17381 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17383 * international/mule-cmds.el (ucs-names): Remove exclusion of
17384 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17386 2009-10-13 Kenichi Handa <handa@m17n.org>
17388 * international/uni-name.el: Regenerated.
17390 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17392 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17393 should be automatically buffer-local, but isn't.)
17395 2009-10-12 Sam Steingold <sds@gnu.org>
17397 * progmodes/compile.el (compilation-next-error-function): Fix the
17398 timestamps if the buffer has been visited before.
17399 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17400 non-anchored patterns, like the perl one (bug#3928).
17402 2009-10-12 Glenn Morris <rgm@gnu.org>
17404 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17407 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17409 * proced.el (proced-unload-function): New function.
17411 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17412 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17415 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17417 2009-10-11 Juri Linkov <juri@jurta.org>
17419 * files-x.el (read-file-local-variable-value):
17420 Provide default value only for bound variables (bug#4664).
17422 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17424 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17425 connection methods like smb.
17427 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17430 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17431 (tramp-smb-file-name-handler-alist): Add handlers for
17432 `add-name-to-file', `make-symbolic-link'.
17433 (tramp-smb-handle-add-name-to-file)
17434 (tramp-smb-do-file-attributes-with-stat)
17435 (tramp-smb-handle-make-symbolic-link)
17436 (tramp-smb-get-cifs-capabilities): New defuns.
17437 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17438 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17439 (tramp-smb-handle-file-local-copy)
17440 (tramp-smb-handle-make-directory-internal)
17441 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17442 The file name syntax depends on cifs capabilities.
17443 (tramp-smb-handle-file-attributes):
17444 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17445 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17446 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17448 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17450 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17451 (eieio-defclass): Apply deftype handler and setf-method properties
17453 (eieio-add-new-slot): Avoid union function from cl library.
17454 (eieio--typep): New function.
17455 (eieio-perform-slot-validation): Use it.
17457 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17459 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17460 Update documentation to refer to the variables documented in r1.135.
17463 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17465 * bookmark.el (Info-suffix-list): Remove this unused variable.
17466 (bookmark-current-point): Remove this obsolete variable.
17467 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17468 Adjust for removal of bookmark-current-point.
17470 (bookmarks-already-loaded, bookmark-current-buffer)
17471 (bookmark-yank-point): Document. (Bug#4188)
17473 2009-10-10 Glenn Morris <rgm@gnu.org>
17475 * frame.el (frame-height): Doc fix.
17477 * calendar/calendar.el (calendar-split-width-threshold): New option.
17478 (calendar-basic-setup): Use calendar-split-width-threshold.
17480 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17482 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17483 Ideographic Supplement" range (U+1F200..U+1F2FF).
17485 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17487 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17488 since the list will have been rebuilt anyway. (Bug#4349)
17490 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17492 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17493 (bookmark-bmenu-execute-deletions): Don't save here, as
17494 bookmark-delete will now do so if necessary.
17495 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17498 2009-10-09 Glenn Morris <rgm@gnu.org>
17500 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17502 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17504 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17505 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17506 argument now, so the two function's behaviors will match. (Bug#3645)
17508 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17510 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17511 (tramp-file-name-real-host, tramp-file-name-port):
17512 Apply `save-match-data'.
17514 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17515 case both directories are remote.
17516 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17517 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17519 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17521 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17523 2009-10-07 Glenn Morris <rgm@gnu.org>
17525 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17528 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * files-x.el (read-file-local-variable): Include some
17531 non-user-variables in the completion table (bug#4664).
17533 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17535 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17538 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17539 (tramp-smb-file-name-handler-alist): Add handler for
17540 `copy-directory', `expand-file-name', `set-file-modes'.
17541 (tramp-smb-handle-copy-directory)
17542 (tramp-smb-handle-expand-file-name)
17543 (tramp-smb-handle-set-file-modes): New defuns.
17544 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17545 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17547 (tramp-smb-handle-insert-directory): Don't flush the cache.
17548 (tramp-smb-maybe-open-connection): Check for samba client and
17551 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17553 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17554 to not error out of search for "^lisp=" fails.
17556 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17558 * makefile.w32-in (WINS_UPDATES): New macro.
17559 (custom-deps, finder-data, autoloads): Use it.
17561 2009-10-07 Glenn Morris <rgm@gnu.org>
17563 * Makefile.in (autoloads): Revert previous change.
17564 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17565 the list of preloaded files passed on the command-line, get
17566 it from src/Makefile.
17568 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17569 show the original buffer rather than a random one.
17571 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17573 * help.el (describe-no-warranty): Place point in a slightly better
17574 position in the GPLv3 text.
17576 2009-10-06 Sam Steingold <sds@gnu.org>
17578 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17579 the comm attribute is present before calling regexp-quote.
17581 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17583 * play/animate.el (animate-string): For good effect, make sure
17584 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17586 * play/animate.el (animate-sequence, animate-birthday-present):
17587 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17589 2009-10-06 Glenn Morris <rgm@gnu.org>
17591 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17593 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17594 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17595 (batch-update-autoloads): Process a string value of autoload-excludes,
17596 set during the build process.
17597 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17599 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17600 inside with-parsed... macro so that `v' is defined.
17602 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17603 * progmodes/fortran.el (fortran-end-of-block)
17604 (fortran-beginning-of-block):
17605 Also push mark in the macro case.
17607 * emerge.el (emerge-show-file-name):
17608 * calc/calc.el (calc-quit):
17609 * calc/calc-misc.el (calc-big-or-small):
17610 * calc/calc-graph.el (calc-graph-view):
17611 * calc/calc-ext.el (calc-reset):
17612 * calendar/calendar.el (calendar-basic-setup):
17613 Use window-full-height-p.
17615 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17616 header we don't understand, don't insert another. (Bug#4624)
17617 If changing mime charset, insert the new one in the right place.
17619 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17621 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17622 (cal-tex-cursor-month): Correctly increment the end date for diary and
17623 holiday listing. (Bug#4626)
17625 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17627 * help-fns.el (describe-function-1): Don't burp if the function is not
17630 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17632 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17633 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17634 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17635 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17637 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17638 (eieio-default-superclass): Reflow docstrings.
17639 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17640 (eieio-unbind-method-implementations, defmethod)
17641 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17642 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17643 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17644 (eieio-slot-originating-class-p, eieio-slot-name-index)
17645 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17646 (constructor, initialize-instance, no-next-method, object-print)
17647 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17648 Fix typos in docstrings.
17649 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17650 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17651 (next-method-p): Doc fixes.
17652 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17653 Fix typos in error messages.
17654 (eieio-defmethod): Fix typo in description of generic method.
17656 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17657 (eieio-persistent-save-interactive, slot-missing):
17658 Fix typos in docstrings.
17659 (eieio-instance-inheritor-slot-boundp): Doc fix.
17661 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17662 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17664 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17665 (eieio-custom-object-apply-reset):
17666 Fix typos in docstrings and error messages.
17668 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17669 Fix typo in docstring.
17671 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17672 (eieio-browse-tree): Doc fix.
17673 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17674 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17675 Fix typos in docstrings.
17677 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17678 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17679 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17680 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17683 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17685 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17686 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17687 Set log-view-vc-backend so that diff can work.
17689 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17691 (vc-diff-internal): Autoload this instead of vc-version-diff.
17693 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17695 * simple.el (eval-expression): Doc fix.
17697 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17699 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17701 * files.el (directory-files-no-dot-files-regexp): New defconst.
17702 (delete-directory): Use it.
17703 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17705 * net/tramp.el (tramp-verbose): Fix docstring.
17706 (tramp-methods): Add recursive option to `tramp-copy-args'.
17707 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17708 "scp1_old", "scp2_old", "rsync", "rsyncc".
17709 (tramp-default-method): Check also for `auth-source-user-or-password'.
17710 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17711 Add handler for `copy-directory'.
17712 (tramp-handle-copy-directory): New defun.
17713 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17714 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17715 Optimize sent command.
17717 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17719 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17720 window if necessary.
17722 * calendar/calendar.el (calendar-basic-setup): Don't call
17723 switch-to-buffer in a dedicated window.
17725 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17727 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17728 don't do anything related to relocating, just return nil.
17729 (bookmark-error-no-filename): New error.
17730 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17731 bookmark has no file. Don't even attempt to handle things that
17732 are not files; the whole point of custom handlers is to keep that
17733 knowledge elsewhere anyway. Tighten some comments.
17734 (bookmark-file-or-variation-thereof): Remove now-unused function.
17735 (bookmark-location): Doc string fix.
17738 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17740 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17741 don't use a file dialog, because they usually don't know how to read
17742 a directory target from the user. (Bug#4230)
17743 Also, make sure the prompt can display directories as well as files.
17745 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17747 * bookmark.el (bookmark-set, bookmark-buffer-name):
17748 Improve doc strings. (Bug#1193)
17750 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17752 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17753 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17754 (bookmark-get-annotation, bookmark-set-annotation)
17755 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17756 (bookmark-set-position, bookmark-get-front-context-string)
17757 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17758 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17759 (bookmark-jump-other-window, bookmark-handle-bookmark)
17760 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17761 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17762 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17763 Improve doc strings to say whether bookmark can be a string or
17764 a record or both, and make other consistency and clarity fixes.
17765 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17766 (bookmark-default-annotation-text, bookmark-yank-word)
17767 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17768 (bookmark-import-new-list, bookmark-maybe-rename)
17769 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17770 (bookmark-bmenu-bookmark): Give these doc strings.
17771 (bookmark-bmenu-check-position): Give this a doc string, but also
17772 add a FIXME comment about how the function may be pointless.
17773 (bookmark-default-handler): Rework doc string and change a
17774 parameter name, to clarify that this takes a bookmark record
17775 not a bookmark name.
17776 (bookmark-set): Change a parameter name to indicate its meaning,
17777 and improve the doc string a bit.
17780 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17782 * bookmark.el (bookmark-alist): Document the new `handler' element
17783 in the param alist.
17784 (bookmark-make-record-function): Adjust documentation for above.
17787 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17789 * info.el (Info-bookmark-make-record): Document this function.
17790 (Info-bookmark-jump): Document with a doc string, not just a comment.
17793 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17795 * files.el (copy-directory): New defun.
17797 * dired-aux.el (dired-copy-file-recursive): Use it.
17799 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17801 * files-x.el (modify-dir-local-variable)
17802 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17805 * recentf.el (recentf-unload-function): New function.
17807 2009-10-04 Glenn Morris <rgm@gnu.org>
17809 * window.el (window-full-height-p): Add doc string.
17811 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17813 * window.el (window-full-height-p): New function. (Bug#4543)
17815 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17817 * vc.el: Remove commented out code.
17818 (vc-derived-from-dir-mode): Remove, unused.
17819 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17821 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17823 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17824 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17825 there could be recursive loading when `default-directory' is a
17826 remote file name. (Bug#4614)
17828 2009-10-03 Glenn Morris <rgm@gnu.org>
17830 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17832 (calendar-generate-window): Test for shrinkability rather than width.
17834 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17835 reusing existing buffers, in case we happen to visit two files with the
17836 same basename. (Bug#4593)
17838 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17840 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17841 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17842 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17843 subdirs of cedet as well.
17844 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17846 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17848 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17849 Obey advertised-signature-table.
17851 * help-fns.el (help-function-arglist): Don't check
17852 advertised-signature-table.
17853 (describe-function-1): Do it here instead so it also applies to subrs.
17855 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17857 * simple.el (start-file-process): Say in the doc-string, that file
17858 handlers might not support pty association, if PROGRAM is nil.
17860 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17861 HOST and USER are strings. They are nil, when there are
17862 incomplete entries in ~/.netrc, for example.
17863 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17864 root directory ("device busy" error otherwise).
17866 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17867 Flush file properties of created directory.
17869 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17871 * makefile.w32-in (WINS_BASIC): Remove cedet.
17872 (WINS_CEDET): Add cedet.
17873 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17875 2009-10-02 Kevin Ryde <user42@zip.com.au>
17877 * net/browse-url.el (browse-url): Pass any symbol in
17878 browse-url-browser-function to `apply', since if you've mistakenly put
17879 an unbound symbol then the error is clearer. (Bug#4531)
17881 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17883 * allout.el (allout-init, allout-back-to-current-heading)
17884 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17885 (allout-ascend, allout-up-current-level, allout-end-of-level)
17886 (allout-previous-visible-heading, allout-forward-current-level)
17887 (allout-backward-current-level, allout-show-children):
17888 * apropos.el (apropos-describe-plist):
17889 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17890 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17891 * completion.el (add-completion, add-permanent-completion):
17892 * descr-text.el (describe-text-category, describe-char):
17893 * desktop.el (desktop-lazy-abort):
17894 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17895 * dired.el (dired-build-subdir-alist):
17896 * ediff.el (ediff-version):
17897 * elide-head.el (elide-head, elide-head-show):
17898 * emerge.el (emerge-version):
17900 * face-remap.el (variable-pitch-mode):
17901 * faces.el (describe-face):
17902 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17904 * files.el (find-file-existing, auto-save-mode):
17905 * font-lock.el (font-lock-fontify-buffer):
17906 * help-fns.el (describe-function, describe-variable)
17907 (describe-syntax, describe-categories):
17908 * help.el (view-lossage, describe-bindings, describe-key)
17910 * hexl.el (hexl-current-address):
17911 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17912 * info.el (Info-goto-emacs-key-command-node):
17913 * log-edit.el (log-edit-insert-cvs-template)
17914 (log-edit-insert-cvs-rcstemplate):
17915 * menu-bar.el (menu-bar-mode):
17916 * mouse.el (mouse-appearance-menu):
17917 * newcomment.el (comment-indent-new-line):
17918 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17919 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17920 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17921 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17922 * recentf.el (recentf-mode):
17923 * savehist.el (savehist-mode, savehist-save):
17924 * shadowfile.el (shadow-copy-files):
17925 * simple.el (kill-ring-save, next-line, previous-line)
17926 (normal-erase-is-backspace-mode):
17927 * strokes.el (strokes-update-window-configuration)
17928 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17929 (strokes-xpm-for-stroke):
17930 * time.el (emacs-uptime, emacs-init-time):
17931 * tutorial.el (tutorial--describe-nonstandard-key)
17932 (tutorial--detailed-help):
17933 * type-break.el (type-break-mode)
17934 (type-break-mode-line-message-mode, type-break-query-mode)
17935 (type-break-guesstimate-keystroke-threshold):
17936 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17937 * version.el (emacs-version):
17938 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17939 * winner.el (winner-mode):
17940 * calendar/timeclock.el (timeclock-in, timeclock-out)
17941 (timeclock-status-string, timeclock-change)
17942 (timeclock-workday-remaining-string)
17943 (timeclock-workday-elapsed-string)
17944 (timeclock-when-to-leave-string):
17945 * calendar/todo-mode.el (todo-add-category):
17946 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17947 * emacs-lisp/autoload.el (update-file-autoloads):
17948 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17949 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17950 (checkdoc-message-text, checkdoc-defun):
17951 * emacs-lisp/debug.el (debugger-list-functions):
17952 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17953 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17954 (eieio-describe-generic):
17955 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17956 * emacs-lisp/shadow.el (list-load-path-shadows):
17957 * emulation/cua-base.el (cua-mode):
17958 * emulation/edt.el (edt-set-scroll-margins):
17959 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17960 (tpu-toggle-regexp, tpu-toggle-search-direction)
17961 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17962 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17963 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17964 (viper-set-parsing-style-toggling-macro)
17965 (viper-set-emacs-state-searchstyle-macros):
17966 * emulation/viper.el (viper-set-hooks):
17967 * eshell/esh-mode.el (eshell-truncate-buffer):
17968 * international/mule-cmds.el (prefer-coding-system)
17969 (describe-input-method, describe-language-environment):
17970 * international/mule-diag.el (list-character-sets)
17971 (describe-character-set, describe-coding-system)
17972 (describe-fontset, list-fontsets, list-input-methods):
17973 * mail/sendmail.el (mail-signature):
17974 * net/ange-ftp.el (ange-ftp-copy-file):
17975 * net/browse-url.el (browse-url):
17976 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17977 * net/quickurl.el (quickurl-add-url):
17978 * net/rcirc.el (names, topic):
17979 * net/xesam.el (xesam-mode):
17980 * play/5x5.el (5x5-new-game):
17981 * play/yow.el (apropos-zippy):
17982 * progmodes/ada-mode.el (ada-mode-version):
17983 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17985 (f90-beginning-of-block):
17986 * progmodes/fortran.el (fortran-end-of-block)
17987 (fortran-beginning-of-block):
17988 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17989 * progmodes/python.el (python-describe-symbol, python-shell):
17990 * term/ns-win.el (ns-print-buffer):
17991 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17992 * textmodes/flyspell.el (flyspell-mode-on):
17993 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17994 (pages-directory-for-addresses):
17995 * textmodes/table.el (table-recognize-cell)
17996 (table-query-dimension, table-generate-source)
17997 (table-insert-sequence, table--warn-incompatibility):
17998 * textmodes/tex-mode.el (tex-validate-buffer):
17999 * textmodes/texinfmt.el (texinfmt-version)
18000 (texinfo-format-buffer):
18001 Use `called-interactively-p' instead of `interactive-p'.
18003 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18005 * image-mode.el (image-toggle-display):
18006 * emacs-lisp/elp.el (elp-instrument-function):
18007 * emacs-lisp/advice.el (ad-make-advised-definition):
18008 * emacs-lisp/easy-mmode.el (define-minor-mode):
18009 * net/browse-url.el (browse-url-maybe-new-window):
18010 * progmodes/sh-script.el (sh-learn-buffer-indent):
18011 Pass new argument 'any to `called-interactively-p'.
18013 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18015 * international/uni-bidi.el:
18016 * international/uni-category.el:
18017 * international/uni-combining.el:
18018 * international/uni-comment.el:
18019 * international/uni-decimal.el:
18020 * international/uni-decomposition.el:
18021 * international/uni-digit.el:
18022 * international/uni-lowercase.el:
18023 * international/uni-mirrored.el:
18024 * international/uni-name.el:
18025 * international/uni-numeric.el:
18026 * international/uni-old-name.el:
18027 * international/uni-titlecase.el:
18028 * international/uni-uppercase.el:
18029 Regenerate from Unicode 5.2.0 data.
18031 2009-10-01 Glenn Morris <rgm@gnu.org>
18033 * Makefile.in (ELCFILES): Regenerate.
18035 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18037 * subr.el (interactive-p): Mark obsolete.
18038 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18039 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18040 advertised-signature-table for subroutines as well.
18042 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18043 (set-advertised-calling-convention): New function.
18044 (make-obsolete, define-obsolete-function-alias)
18045 (make-obsolete-variable, define-obsolete-variable-alias):
18046 Make the optional-ness of `when' obsolete.
18047 (define-obsolete-face-alias): Make `when' non-optional.
18048 * help-fns.el (help-function-arglist):
18049 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18050 Use advertised-signature-table.
18052 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18054 * files.el (delete-directory): New defun. The original function
18055 in fileio.c has been renamed to `delete-directory-internal'.
18057 * dired.el (dired-delete-file): Call `delete-directory' with
18058 RECURSIVE parameter.
18060 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18061 parameter RECURSIVE. Implementation is missing.
18063 * net/tramp.el (tramp-handle-make-directory): Flush upper
18064 directory's file properties.
18065 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18066 (tramp-handle-dired-recursive-delete-directory): Flush directory
18067 properties after the remove command only.
18069 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18070 Handle optional parameter RECURSIVE.
18072 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18073 Handle optional parameter RECURSIVE.
18075 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18076 connection timeout.
18077 (tramp-smb-handle-delete-directory): Handle optional parameter
18080 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18083 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18084 (byte-compile-defmacro): Use backquotes.
18086 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18088 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18089 has no associated file.
18090 (vc-resynch-buffer): Use vc-dir-buffers.
18092 2009-10-01 Glenn Morris <rgm@gnu.org>
18094 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18095 (chart-file-count):
18096 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18097 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18098 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18099 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18100 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18101 (eieio-copy-parents-into-subclass, make-instance, class-children)
18102 (eieio-generic-form):
18104 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18105 match-data. (Bug#4555).
18107 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18108 rather than parsing it as a regexp. This relaxes the layout
18109 requirements and makes errors easier to detect.
18110 (check-declare-verify): Check file is regular.
18111 (check-declare-directory): Doc fix.
18112 * subr.el (declare-function): Doc fix.
18114 * ibuffer.el (ibuffer-format-qualifier):
18115 * isearch.el (hi-lock-regexp-okay):
18116 * calc/calc.el (math-zerop):
18117 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18118 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18119 Remove unused declarations.
18121 2009-09-30 Eric Ludlam <zappo@gnu.org>
18123 * emacs-lisp/eieio.el (boolean-p): Delete.
18125 2009-09-30 Glenn Morris <rgm@gnu.org>
18127 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18129 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18130 filename is not a string.
18132 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18134 * files.el (safe-local-eval-forms): Fix typo.
18136 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18138 * vc-hooks.el (vc-dir-buffers): New var.
18139 (vc-state-refresh): New function.
18140 (vc-state): Use it.
18141 (vc-after-save): Always ask the backend to recompute the new state.
18142 Always call vc-dir if necessary, using vc-dir-buffers.
18143 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18144 Use vc-dir-buffers.
18145 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18146 (vc-dir-prepare-status-buffer, vc-dir-update)
18147 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18148 Don't call expand-file-name on default-directory.
18150 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18152 * speedbar.el (speedbar-item-delete):
18153 * calc/calc-prog.el (calc-kbd-if):
18154 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18156 * epa.el (epa-key-list-mode-map):
18157 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18159 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18160 (hs-show-hook): Fix typo in docstring.
18162 2009-09-29 Glenn Morris <rgm@gnu.org>
18164 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18165 file-name-nondirectory call preventing location of cedet files.
18166 (check-declare-verify): Use literal search rather than re-search.
18167 Add basic defmethod and defclass, and define-overloadable-function.
18169 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18170 Use tramp-compat-file-attributes rather than nonexistent
18171 tramp-compat-handle-file-attributes.
18173 * Makefile.in (lisptagsfiles4): New.
18174 (AUTOGENEL): Add cedet loaddefs files.
18175 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18176 (update-elclist, compile-always, backup-compiled-files)
18177 (bootstrap-clean): Add yet another directory level.
18178 (update-elclist): Use LC_COLLATE rather than COLLATE.
18179 (ELCFILES): Update, via `make update-elclist'.
18181 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18183 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18184 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18185 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18187 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18189 * Makefile.in (lisptagsfiles3): Define.
18190 (TAGS, TAGS-LISP): Use it.
18191 (update-elclist): Add third directory level to look for elc files.
18192 (compile-always): Likewise.
18193 (backup-compiled-files): Likewise.
18194 (bootstrap-clean): Likewise.
18195 (ELCFILES): Update.
18197 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18199 * Makefile.in (ELCFILES): Add CEDET files.
18201 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18203 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18205 * net/tramp.el (top): Require tramp-imap.
18207 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18208 Use `tramp-compat-handle-file-attributes'.
18210 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18212 * net/tramp-imap.el: New package.
18214 2009-09-28 Eric Ludlam <zappo@gnu.org>
18216 * emacs-lisp/chart.el:
18217 * emacs-lisp/eieio-base.el:
18218 * emacs-lisp/eieio-comp.el:
18219 * emacs-lisp/eieio-custom.el:
18220 * emacs-lisp/eieio-datadebug.el:
18221 * emacs-lisp/eieio-opt.el:
18222 * emacs-lisp/eieio-speedbar.el:
18223 * emacs-lisp/eieio.el: New files.
18225 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18227 * whitespace.el (whitespace-trailing-regexp)
18228 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18231 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18233 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18236 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18237 menu-bar-ediff-menu.
18239 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18240 define-overloadable-function.
18242 * progmodes/autoconf.el: Provide autoconf as well, so that this
18243 file can be `require'd.
18245 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18247 * emacs-lisp/autoload.el (generated-autoload-feature)
18248 (generated-autoload-load-name): New vars.
18249 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18250 (make-autoload): Recognize define-overloadable-function and
18251 defclass forms (for EIEIO).
18253 * Makefile.in (update-subdirs): Exclude cedet directory.
18255 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18257 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18259 * faces.el: Default light-background background for region face to
18260 ns_selection_color under NS.
18262 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18264 * net/imap-hash.el: New library, see NEWS.
18266 * Makefile.in (ELCFILES): Add imap-hash.el.
18268 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18271 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18272 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18273 definition where the docstring could be taken for the return value.
18275 2009-09-26 Glenn Morris <rgm@gnu.org>
18277 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18278 Add option to only show images below a certain size.
18279 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18280 save-excursion calls.
18282 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18284 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18285 subdirectories) and eieio.
18287 2009-09-26 Alan Mackenzie <acm@muc.de>
18289 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18290 Correct buggy bracketing. (Bug#4289)
18292 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18293 character constants (as case labels). (Bug#4289)
18295 2009-09-25 Juri Linkov <juri@jurta.org>
18297 * files.el (safe-local-eval-forms): Allow time-stamp in
18298 before-save-hook (Bug#4554).
18300 2009-09-25 Drew Adams <drew.adams@oracle.com>
18302 * menu-bar.el (list-buffers-directory): Doc fix.
18304 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18306 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18307 Try and avoid copying twice the same paragraph.
18308 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18309 Remove save-excursion.
18310 (log-edit-changelog-entry): Do it here instead.
18312 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18314 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18315 when available, instead of hardcoding mode names. Doc fix.
18317 * menu-bar.el (list-buffers-directory): Add docstring.
18318 Make automatically buffer-local.
18320 * dired.el (dired-mode):
18321 * files.el (cd-absolute):
18322 * pcvs.el (cvs-temp-buffer):
18323 * pcvs-util.el (cvs-get-buffer-create):
18324 * shell.el (shell-mode):
18325 * vc-dir.el (vc-dir-mode):
18326 Don't make `list-buffers-directory' buffer local.
18328 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18330 * comint.el (comint-exec, comint-run, make-comint):
18331 Doc fixes (Bug#4542).
18333 2009-09-25 Glenn Morris <rgm@gnu.org>
18335 * mail/rmailmm.el (rmail-mime): New custom group.
18336 Move all defcustoms in this file into this group.
18337 (rmail-mime-media-type-handlers-alist): Revert previous change.
18338 (rmail-mime-show-images): New option.
18339 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18340 references to it, since it wasn't actually used for anything.
18341 (rmail-mime-insert-image): New function.
18342 (rmail-mime-image): Use rmail-mime-insert-image.
18343 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18344 obey the value of `rmail-mime-show-images' option. Print the size of
18347 2009-09-25 David Engster <deng@randomsample.de>
18349 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18351 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18353 * whitespace.el: Does not highlight trailing spaces While point is
18354 at end of line. Does not highligt spaces at beginning of buffer
18355 while point is at beginning of buffer. Does not highlight spaces
18356 at end of buffer while point is at end of buffer. (Bug#4177)
18358 (whitespace-display-mappings): Adjust initialization.
18359 (whitespace-point, whitespace-font-lock-refontify): New vars.
18360 (whitespace-color-on, whitespace-color-off): Adjust code.
18361 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18362 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18363 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18365 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18367 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18369 * textmodes/sgml-mode.el: Remove xml-mode alias.
18371 * files.el (auto-mode-alist, conf-mode-maybe)
18372 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18374 2009-09-24 Alan Mackenzie <acm@muc.de>
18376 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18377 c-forward-conditionals, but it doesn't move point and doesn't set
18379 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18380 (c-down-conditional-with-else, c-backward-conditional)
18381 (c-forward-conditional): Refactor to use c-scan-conditionals.
18383 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18385 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18386 (help-default-arg-highlight): Remove.
18387 (help-highlight-arg): New function.
18388 (help-do-arg-highlight): Use it.
18389 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18391 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18393 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18394 Undo last change, which didn't fix the problem and introduced others.
18396 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18398 * progmodes/gdb-mi.el: Don't require speedbar.
18399 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18401 2009-09-24 Glenn Morris <rgm@gnu.org>
18403 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18405 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18407 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18408 there is no newline after the final mime boundary. (Bug#4539)
18409 Move markers on insertion so that any buttons inserted don't end up in
18410 the next part of a multipart message.
18411 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18412 (rmail-mime-bulk-handler): Optionally handle images.
18413 (rmail-mime-image): New button action.
18414 (rmail-mime-image-handler): New function.
18415 (rmail-mime-mode): New mode.
18416 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18418 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18420 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18421 than just dropping elements from it (bug#4504).
18423 * term.el (term-set-scroll-region): Don't move cursor any more.
18424 (term-handle-ansi-escape): Call term-goto here instead.
18425 Suggested by Ivan Kanis <apple@kanis.eu>.
18427 * term.el: Require CL.
18428 (term-ansi-reset): New function.
18429 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18430 (term-handle-colors-array): Simplify.
18432 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18434 * allout.el (allout-overlay-interior-modification-handler)
18435 (allout-obtain-passphrase):
18436 * epa-file.el (epa-file-write-region):
18437 * ps-print.el (ps-begin-job):
18438 * vc-hooks.el (vc-toggle-read-only):
18439 * vc-rcs.el (vc-rcs-rollback):
18440 * vc-sccs.el (vc-sccs-rollback):
18441 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18442 (vc-version-diff, vc-revert, vc-rollback):
18443 * wdired.el (wdired-check-kill-buffer):
18444 * emacs-lisp/authors.el (authors):
18445 * net/socks.el (socks-open-connection):
18446 * net/zeroconf.el (zeroconf-service-add-hook):
18447 * obsolete/vc-mcvs.el (vc-mcvs-register):
18448 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18449 (gdb-select-frame):
18450 * progmodes/grep.el (lgrep, rgrep):
18451 * progmodes/idlw-help.el (idlwave-help-check-locations)
18452 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18453 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18454 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18455 (reftex-toc-rename-label): Fix typos in error messages.
18457 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18458 (dired-copy-how-to-fn): Doc fix.
18459 (dired-files-attributes, dired-read-shell-command):
18460 Fix typos in docstrings.
18462 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18463 (dired-x-find-file-other-window): Reflow docstrings.
18464 (dired-omit-marker-char, dired-read-shell-command)
18465 (dired-x-submit-report): Fix typos in docstrings.
18467 * shell.el (shell-mode-hook):
18468 * view.el (View-scroll-line-forward):
18469 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18470 Fix typos in docstrings.
18472 * net/dig.el (dig-invoke): Fix typo in docstring.
18473 (query-dig): Reflow docstring.
18475 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18476 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18477 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18478 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18479 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18480 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18481 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18482 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18483 (idlwave-completion-map, idlwave-current-indent)
18484 (idlwave-custom-ampersand-surround, idlwave-customize)
18485 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18486 (idlwave-define-abbrev, idlwave-determine-class-special)
18487 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18488 (idlwave-end-block-reg, idlwave-end-of-statement)
18489 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18490 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18491 (idlwave-explicit-class-listed, idlwave-file-header)
18492 (idlwave-fill-paragraph, idlwave-find-class-definition)
18493 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18494 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18495 (idlwave-in-quote, idlwave-indent-action-table)
18496 (idlwave-indent-expand-table, idlwave-indent-line)
18497 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18498 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18499 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18500 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18501 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18502 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18503 (idlwave-outlawed-buffers, idlwave-popup-select)
18504 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18505 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18506 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18507 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18508 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18509 (idlwave-statement-type, idlwave-struct-skip)
18510 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18511 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18512 (idlwave-what-module-find-class): Fix typos in docstrings.
18513 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18514 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18515 (idlwave-find-module, idlwave-find-structure-definition)
18516 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18517 (idlwave-list-load-path-shadows, idlwave-next-statement)
18518 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18519 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18520 (idlwave-template): Reflow docstrings.
18522 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18523 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18524 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18525 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18526 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18527 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18528 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18529 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18530 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18531 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18532 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18533 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18534 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18535 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18536 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18537 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18538 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18539 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18540 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18541 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18542 Fix typos in docstrings.
18543 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18544 (idlwave-shell-hide-output, idlwave-shell-mode)
18545 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18548 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18550 2009-09-24 Ivan Kanis <apple@kanis.eu>
18552 * term.el (term-bold-attribute): New var.
18553 (term-handle-colors-array): Use it.
18555 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18557 * progmodes/gdb-mi.el (gdb-version): New variable.
18558 (gdb-non-stop-handler): Set gdb-version.
18559 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18560 Condition "--thread" option on gdb-version.
18561 (gdb-invalidate-threads): Remove unused argument.
18563 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18565 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18566 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18568 2009-09-23 Glenn Morris <rgm@gnu.org>
18570 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18571 replying to mail without References or Message-Id. (Bug#4525)
18573 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18575 * term/ns-win.el (ns-reg-to-script): New variable.
18577 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18579 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18581 2009-09-22 Sam Steingold <sds@gnu.org>
18583 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18584 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18585 to 1 because hg returns status 1 when nothing is found.
18586 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18588 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18590 * textmodes/fill.el: Convert to utf-8 encoding.
18591 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18594 * add-log.el (change-log-fill-forward-paragraph): New function.
18595 (change-log-mode): Use it so fill-region DTRT.
18596 Set fill-indent-according-to-mode here rather than in
18597 change-log-fill-paragraph.
18598 (change-log-fill-paragraph): Remove.
18600 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18602 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18603 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18605 2009-09-22 Glenn Morris <rgm@gnu.org>
18607 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18608 the scroll-bar scroll the calendar window rather than the buffer.
18610 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18611 commands that move point (as opposed to scrolling).
18613 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18615 * emacs-lisp/elint.el (elint): New custom group.
18616 (elint-log-buffer): Make it a defcustom.
18617 (elint-scan-preloaded, elint-ignored-warnings)
18618 (elint-directory-skip-re): New options.
18619 (elint-builtin-variables): Doc fix.
18620 (elint-preloaded-env): New variable.
18621 (elint-unknown-builtin-args): Add an entry for encode-time.
18622 (elint-extra-errors): Make it a variable rather than a constant.
18623 (elint-preloaded-skip-re): New constant.
18624 (elint-directory): Skip files matching elint-directory-skip-re.
18625 (elint-features): New variable, local to linted buffers.
18626 (elint-update-env): Initialize elint-features. Possibly add
18627 elint-preloaded-env to the buffer's environment.
18628 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18630 (elint-init-form): New function, extracted from elint-init-env.
18631 Make non-list forms a warning rather than an error.
18632 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18633 easy-menu-define, put that adds an error-condition, and provide.
18634 When requiring cl, also require cl-macs. Really require cl, to handle
18635 some cl macros. Store required libraries in the list elint-features,
18636 so as not to re-load them. Treat cc-require like require.
18637 (elint-init-env): Call elint-init-form to do the work.
18638 Handle eval-and-compile and such like.
18639 (elint-add-required-env): Do not clear messages.
18640 (elint-special-forms): Add handlers for function, defalias, if, when,
18642 (elint-form): Add optional argument to ignore elint-special-forms,
18643 useful to prevent recursive calls from handlers. Doc fix.
18644 Respect elint-ignored-warnings.
18645 (elint-form): Respect elint-ignored-warnings.
18646 (elint-bound-variable, elint-bound-function): New variables.
18647 (elint-unbound-variable): Respect elint-bound-variable.
18648 (elint-get-args): Respect elint-bound-function.
18649 (elint-check-cond-form): Add some simple handling for (f)boundp and
18651 (elint-check-defalias-form): New handler.
18652 (elint-check-let-form): Make an empty let a warning rather than an
18654 (elint-check-setq-form): Make an empty setq a warning rather than an
18655 error. Respect elint-ignored-warnings.
18656 (elint-check-defvar-form): Accept null doc-strings.
18657 (elint-check-conditional-form): New handler. Does some simple-minded
18658 checking of featurep and (f)boundp tests.
18659 (elint-put-function-args): New function.
18660 (elint-initialize): Use elint-scan-doc-file rather than
18661 elint-find-builtin-variables. Use elint-put-function-args.
18662 Possibly scan preloaded-file-list.
18663 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18664 extend to handle functions as well.
18666 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18668 * linum.el (linum-delete-overlays, linum-update-window):
18669 Do not modify the right margin. (Bug#3971)
18671 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18673 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18674 Use nxml-mode instead of xml-mode.
18676 2009-09-21 Kevin Ryde <user42@zip.com.au>
18678 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18680 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18682 * net/dig.el (dig-mode): Use define-derived-mode.
18684 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18686 * vc-dispatcher.el (vc-do-command): Return the process object in
18687 the asynchronous case. Use when instead of if. Do not run
18688 vc-exec-after to display a message if not enabled. (Bug#4463)
18690 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18691 properties to the stash strings.
18692 (vc-git-stash-list): Return a list of strings.
18693 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18694 (vc-git-stash-show-at-point): New functions.
18695 (vc-git-stash-map): New keymap.
18697 * register.el (ctl-x-r-map): Define the keys here instead of
18700 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18702 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18703 list, to workaround performance problem (bug#4485).
18705 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18707 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18709 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18711 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18712 Document that this option is not recommended to use.
18714 2009-09-19 Glenn Morris <rgm@gnu.org>
18716 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18719 * calc/calc-alg.el (var):
18720 * calc/calcalg2.el (var): Define for compiler.
18722 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18724 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18725 Doc fix (Bug#3932).
18727 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18729 * time-stamp.el (time-stamp-month-dd-yyyy)
18730 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18731 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18732 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18733 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18734 Remove functions that have been obsolete since 1995 (Bug#4436).
18736 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18737 indent buffer only if called interactively (Bug#4452).
18739 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18740 Eli Zaretskii <eliz@gnu.org>
18742 This fixes bug#4197 (merged to bug#865, though not identical).
18743 * server.el (server-auth-dir): Add docstring note about FAT32.
18744 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18745 but warn against using them.
18747 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18749 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18750 older GDB where there is no has_more field.
18752 2009-09-19 Glenn Morris <rgm@gnu.org>
18754 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18756 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18758 * files.el (auto-mode-alist): Change default for XML files to nXML
18761 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18763 * server.el (server-ensure-safe-dir): Pass 'integer
18764 to `file-attributes', as suggested.
18766 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18768 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18769 (dired-query): Use read-key.
18771 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18773 * cus-start.el (ns-use-qd-smoothing): Remove.
18775 2009-09-18 Glenn Morris <rgm@gnu.org>
18777 * allout.el (top-level): Remove unnecessary progn.
18779 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18781 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18782 definition of abbrev table.
18784 * speedbar.el (speedbar-track-mouse):
18785 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18786 * net/eudc.el (eudc-expand-inline):
18787 * net/newst-backend.el (newsticker--cache-read-feed):
18788 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18789 condition-case handlers.
18791 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18793 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18794 (gdb-var-list): Add an element for has_more field.
18795 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18796 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18797 (gdb-var-update-handler-1): Parse output of dynamic variable
18798 objects (STL containers).
18799 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18800 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18802 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18804 (gud-speedbar-buttons): Make node expandable if expression "has more"
18807 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18809 * startup.el (emacs-quick-startup): Remove variable and all uses.
18810 (command-line): Set `inhibit-x-resources' instead.
18811 (command-line-1): Use `inhibit-x-resources' instead.
18813 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18815 * subr.el: Fix last change to avoid using the `unless' macro,
18816 which breaks bootstrapping.
18818 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18820 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18821 extended definitions, in case we reload subr.el after having
18823 (eval-next-after-load): Mark as obsolete.
18825 2009-09-17 Juri Linkov <juri@jurta.org>
18827 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18828 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18829 (menu-bar-showhide-menu, menu-bar-tools-menu)
18830 (menu-bar-describe-menu, menu-bar-help-menu)
18831 (minibuffer-local-completion-map, minibuffer-local-map):
18834 2009-09-17 Glenn Morris <rgm@gnu.org>
18836 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18837 arguments, whether or not it has a handler.
18839 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18841 * simple.el (hard-newline): Give it a doc-string.
18843 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18844 (lisp-mode-syntax-table): Give them doc-strings.
18846 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18848 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18849 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18850 (menu-bar-options-menu, menu-bar-showhide-menu)
18851 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18852 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18853 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18854 (menu-bar-options-menu, menu-bar-tools-menu)
18855 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18856 (menu-bar-help-menu):
18857 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18860 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18861 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18862 calls for the menu names and :help.
18864 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18866 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18867 to :minor-mode-function (bug#4455).
18869 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * startup.el (command-line): Initialize the window-system after
18872 processing the command-line.
18874 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18875 page-delimiter matches the empty string.
18877 2009-09-16 Glenn Morris <rgm@gnu.org>
18879 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18880 byte-compile-not-obsolete-var. It's a list now.
18881 (byte-compile-not-obsolete-funcs): New variable.
18882 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18883 byte-compile-not-obsolete-funcs.
18884 (byte-compile-variable-ref, byte-compile-defvar): Update for
18885 byte-compile-not-obsolete-vars name-change and list nature.
18886 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18887 and variables behind (f)boundp tests.
18888 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18890 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18892 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18894 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18896 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18897 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18900 2009-09-15 Stephen Eglen <stephen@gnu.org>
18902 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18903 the virtual-buffers, use the name of the buffer specified by
18904 find-file-noselect, as the match may be a symlink. (This was a
18905 problem if the target and the symlink had different names.)
18907 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18909 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18911 * desktop.el (desktop-path): Check user-emacs-directory.
18913 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18915 * loadup.el: Use after-load-functions to GC after loading each file.
18916 Remove the explicit GC calls that used to be sprinkled around.
18918 * subr.el (after-load-functions): New hook.
18919 (do-after-load-evaluation): Run it. Use string-match-p to detect
18920 `obsolete' packages, rather than painfully extracting the relevant
18923 2009-09-15 Glenn Morris <rgm@gnu.org>
18925 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18926 free variable `doc'.
18928 * dired.el (dired-mode-map): Add menu entry for async shell command.
18930 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18931 variables, also consider the .elc files, since the .el files are
18932 normally gzipped (subsequent code locates the .el.gz from the .elc).
18934 * calc/calc-prog.el (arglist): Define for compiler.
18936 * calendar/diary-lib.el (diary-display-function): Change the default to
18938 (body): Define for compiler.
18940 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18941 (byte-compile-file-form, byte-compile-lambda)
18942 (byte-compile-top-level-body, byte-compile-form)
18943 (byte-compile-variable-ref, byte-compile-setq)
18944 (byte-compile-setq-default, byte-compile-body)
18945 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18946 (batch-byte-compile): Give some more local variables with common names
18947 a "bytecomp-" prefix to avoid masking warnings about free variables.
18949 * startup.el (command-line-1): Give local variables with common names a
18950 distinguishing prefix, so as not to hide free variable warnings during
18953 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18954 clever and add a suffix to make a unique name, just let the user decide
18955 whether or not to overwrite it. If the input is a directory, write the
18956 default filename to that directory. (Bug#4388)
18957 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18958 is a filename-as-a-directory.
18960 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18962 * textmodes/page.el (what-page): Don't move to beginning of line.
18963 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18965 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18967 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18969 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18971 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18972 * help.el (help-for-help-internal): Add purecopy calls for text.
18974 * vc.el (top): print-log method now takes an optional SHORTLOG
18975 argument. Add a new method: root.
18976 (vc-root-diff, vc-print-root-log): New functions.
18977 (vc-log-short-style): New variable.
18978 (vc-print-log-internal): Add support for showing short logs.
18980 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18981 vc-print-root-log and vc-print-root-diff.
18983 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18984 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18985 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18988 * vc-cvs.el (vc-cvs-print-log):
18989 * vc-mtn.el (vc-mtn-print-log):
18990 * vc-rcs.el (vc-rcs-print-log):
18991 * vc-sccs.el (vc-sccs-print-log):
18992 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18993 that is ignored for now.
18995 * vc-mtn.el (vc-mtn-annotate-command):
18996 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18998 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19000 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19001 to function-key-map, and give them ascii-character property.
19002 * term/x-win.el (x-alternatives-map):
19003 * term/ns-win.el (ns-alternatives-map):
19004 * term/internal.el (msdos-key-remapping-map):
19005 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19007 2009-09-14 Glenn Morris <rgm@gnu.org>
19009 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19010 temp-buffers (2009-09-12).
19012 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19014 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19015 the new read-key function.
19017 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19019 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19020 is defined (Bug#4405).
19022 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19024 * recentf.el (recentf-cleanup): Use a hash table to find
19025 duplicates (Bug#4407).
19027 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19029 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19030 kp-0 to ascii equivalents (Bug#4325).
19032 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19034 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19036 * eshell/em-hist.el:
19037 * eshell/em-dirs.el (eshell-complete-user-reference):
19038 Declare pcomplete functions and variables to avoid compiler warnings.
19040 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19042 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19043 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19044 * eshell/em-alias.el (eshell-aliases-file):
19045 * eshell/em-hist.el (eshell-history-file-name):
19046 Use expand-file-name instead of concat to make file names (Bug#4308).
19048 2009-09-13 Glenn Morris <rgm@gnu.org>
19050 * ediff-merg.el (ediff-do-merge):
19051 * filesets.el (filesets-run-cmd):
19052 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19053 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19054 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19055 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19056 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19057 Replace empty `let's with `progn'.
19059 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19061 * mail/sendmail.el (send-mail-function):
19062 * tooltip.el (tooltip-mode):
19063 * simple.el (transient-mark-mode):
19064 * rfn-eshadow.el (file-name-shadow-mode):
19065 * frame.el (blink-cursor-mode):
19066 * font-core.el (global-font-lock-mode):
19067 * files.el (temporary-file-directory)
19068 (small-temporary-file-directory, auto-save-file-name-transforms):
19069 * epa-hook.el (auto-encryption-mode):
19070 * composite.el (global-auto-composition-mode):
19071 Use custom-initialize-delay.
19072 * startup.el (command-line): Don't explicitly call
19073 custom-reevaluate-setting for all the above vars.
19074 * custom.el (custom-initialize-safe-set)
19075 (custom-initialize-safe-default): Delete.
19077 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19079 * term/x-win.el (x-initialize-window-system):
19080 * term/w32-win.el (w32-initialize-window-system):
19081 * term/ns-win.el (ns-initialize-window-system): Don't call
19082 mouse-wheel-mode since it's enabled globally by default already.
19084 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19085 actually define the variable, but only silences the byte-compiler.
19086 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19087 before looking it up.
19088 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19091 2009-09-12 Glenn Morris <rgm@gnu.org>
19093 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19095 (elint-add-required-env): Don't beep on error.
19096 (elint-forms): In case of error, return ENV unchanged.
19097 (elint-init-env): Skip non-list forms.
19098 (elint-log): Handle unknown file positions.
19100 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19102 * epg.el (epg-make-context): Add autoload cookie.
19103 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19104 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19105 (epg-verify-string, epg-start-sign, epg-sign-file)
19106 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19107 (epg-encrypt-string, epg-start-export-keys)
19108 (epg-export-keys-to-file, epg-export-keys-to-string)
19109 (epg-start-import-keys, epg-import-keys-from-file)
19110 (epg-import-keys-from-string, epg-start-receive-keys)
19111 (epg-receive-keys, epg-import-keys-from-server)
19112 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19113 (epg-sign-keys, epg-start-generate-key)
19114 (epg-generate-key-from-file, epg-generate-key-from-string):
19115 Remove autoload cookie.
19117 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19119 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19120 reevaluation of trash-directory.
19122 * mwheel.el: Fix last change.
19123 (mouse-wheel-mode): New defvar.
19124 (mouse-wheel-mode): Remove autoload cookie.
19126 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19128 * mwheel.el (mwheel-installed-bindings): New var.
19129 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19130 the bindings we set last time. Use custom-initialize-delay.
19131 * loadup.el: Load mwheel after term/*-win.el.
19132 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19133 and mouse-wheel-up-event now that their first evaluation is done
19134 sufficiently late to be correct.
19136 * startup.el (tutorial-directory): Make it a defcustom.
19137 Use custom-initialize-delay rather than eval-at-startup to set it.
19138 * image.el (image-load-path): Make it a defcustom.
19139 Use custom-initialize-delay rather than eval-at-startup to set it.
19140 * subr.el (eval-at-startup): Remove.
19141 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19143 * subr.el (do-after-load-evaluation): Warn the user after loading an
19146 2009-09-12 Glenn Morris <rgm@gnu.org>
19148 * proced.el (proced-mark-alt): Remove alias.
19149 (proced-mode-map): Remove proced-mark-alt.
19151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19152 Elint file and directory. Remove initialization entry.
19154 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19156 (elint-current-buffer): Set mode-line-process.
19157 (elint-init-env): Handle define-derived-mode.
19158 Fix declare-function with unspecified arglist. Guard against odd
19159 defalias statements (eg iso-insert's 8859-1-map).
19160 (elint-add-required-env): Use a temp buffer.
19161 (elint-form): Just print the function/macro name, not the whole form.
19162 Return env unchanged if we fail to parse a macro.
19163 (elint-forms): Guard against parse errors.
19164 (elint-output): New function, to handle batch mode.
19165 (elint-log-message): Add optional argument. Use elint-output.
19166 (elint-set-mode-line): New function.
19168 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19170 * emacs-lisp/elp.el (elp-not-profilable): Add more
19171 functions (Bug#4233).
19173 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19175 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19176 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19178 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19180 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19181 (gdb-var-list-children): Use json parsing.
19183 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19185 * progmodes/js.el (js--proper-indentation): Handle the case where
19186 char-before is null. Reported by Deniz Dogan.
19188 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19190 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19192 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19194 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19195 (epg-digest-algorithm-alist): Add SHA224.
19196 (epg-context-set-passphrase-callback)
19197 (epg-context-set-progress-callback): Add description about
19200 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19202 * custom.el (custom-delayed-init-variables): New var.
19203 (custom-initialize-delay): New function.
19204 * startup.el (command-line): "Re"evaluate all vars in
19205 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19206 explicitly any more.
19207 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19208 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19210 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19212 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19214 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19215 (gdb-var-update-handler): Use json parsing.
19217 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19219 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19220 decode annotated text, regardless of language environment. (Bug#2741)
19222 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19224 * Makefile.in (autoloads): Make rmail.el writable as well.
19226 2009-09-11 Glenn Morris <rgm@gnu.org>
19228 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19230 * dired.el: Regenerate with extracted autoloads.
19231 * Makefile.in (autoloads): Make dired.el writable.
19233 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19234 * ibuffer.el: Regenerate with extracted autoloads.
19235 * Makefile.in (autoloads): Make ibuffer.el writable.
19237 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19238 * version.el (emacs-copyright, emacs-major-version)
19239 (emacs-minor-version): Reformat doc-strings for make-docfile.
19241 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19242 functions and variables, since they must be stuff specific to some other
19244 (apropos-print): Make mouse-click message less specific about button.
19246 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19247 that records where a macro was defined.
19248 * help-fns.el (describe-function-1): Mention if a function has a
19250 * help-mode.el (help-function-cmacro): New button.
19252 * locate.el (top-level): Always require dired.
19253 (locate-mode-map): Initialize inside the defvar.
19255 * net/ange-ftp.el (dired-compress-file): Declare.
19256 (ange-ftp-dired-compress-file): Add doc string.
19258 * term/ns-win.el (x-display-name, x-setup-function-keys):
19259 Unify doc-strings with X versions.
19261 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19263 * emulation/crisp.el (crisp-mode-map): Move initialization
19265 (crisp-mode): Use define-minor-mode.
19267 * progmodes/xscheme.el (xscheme-evaluation-commands):
19268 Put a :advertised-binding property rather than using
19269 advertised-xscheme-send-previous-expression.
19270 (advertised-xscheme-send-previous-expression): Declare obsolete.
19271 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19273 (crisp-mode): Add corresponding bindings to
19274 undo's :advertised-binding instead.
19275 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19276 than using dired-advertised-find-file.
19277 (dired-advertised-find-file):
19278 * simple.el (advertised-undo):
19279 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19280 (widget-keymap): Put a :advertised-binding property rather
19281 than using advertised-widget-backward.
19282 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19283 than using advertised-undo.
19284 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19286 2009-09-10 Simon South <ssouth@slowcomputing.org>
19288 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19289 Mark mode is enabled and region is active; otherwise indent or
19290 insert TAB as usual.
19291 (delphi-mode): Update description of TAB-key binding.
19293 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19295 * subr.el (define-key-rebound-commands): Mark obsolete.
19296 * startup.el (precompute-menubar-bindings): Remove.
19297 (normal-top-level): Remove obsolete code that tried to precompute
19299 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19300 define-key-rebound-commands and precompute-menubar-bindings.
19302 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19304 * net/imap.el (imap-interactive-login): Better messages.
19305 (imap-open): Fix bug with renamed buffer on reconnect.
19306 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19307 for easier debugging and cleaner code. On successful (guessed based on
19308 server capabilities) secondary authentication, set imap-state
19310 (imap-last-authenticator): Define imap-last-authenticator as a variable
19313 2009-09-10 Glenn Morris <rgm@gnu.org>
19315 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19317 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19318 (byte-compile-file-form-autoload): Don't warn about unknown functions
19319 where the autoload statement comes after the use.
19320 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19321 that any handlers inside the body (eg require) are in turn respected.
19323 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19326 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19327 and syntax and abbrev tables basic docs, if they don't have any.
19329 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19331 * international/mule-cmds.el (top-level): Require cl when compiling.
19332 (view-hello-file): Use default-value rather than
19333 default-enable-multibyte-characters.
19335 * progmodes/fortran.el: Move all safe and risky properties into the
19338 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19339 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19340 * mail/undigest.el:
19341 Put autoloads in rmail.el rather than loaddefs.el.
19342 * mail/rmail.el: Regenerate with extracted autoloads.
19344 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19345 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19347 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19349 Reported in thread for Bug#4375.
19350 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19351 "-data-evaluate-expression" instead of print.
19352 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19353 (gdb-tooltip-print): Parse output from above MI command.
19354 (gdb): Revert 2009-08-11 change. User should detach inferior
19357 Remove the word "separate" from IO functions as inferior
19358 output is now never displayed in the GUD buffer.
19360 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19362 * startup.el (command-line-normalize-file-name): On Windows and
19363 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19365 2009-09-10 Juri Linkov <juri@jurta.org>
19367 * isearch.el (isearch-text-char-description): Propertize escape
19368 character sequences with the `escape-glyph' face. (Bug#4344)
19370 * simple.el (shell-command): Set asynchronous process filter to
19371 `comint-output-filter'. (Bug#4343)
19373 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19374 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19375 the list. Move "asm" to the bottom.
19376 (grep-find-ignored-directories): Add `choice' with nil value
19377 to empty the list easily.
19378 (grep-find-ignored-files): New option.
19379 (grep-files-history): Set to nil by default instead of '("ch" "el").
19380 (grep-compute-defaults): Add "<X>" to `grep-template'.
19381 (grep-read-files): Bind new local variables `default-alias' and
19382 `default-extension'. Use a list of default values for the file prompt.
19383 (lgrep): Add `--exclude=' command line options composed from
19384 `grep-find-ignored-files'.
19385 (rgrep): Add `-name' command line options composed from
19386 `grep-find-ignored-files'. (Bug#4301)
19388 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19390 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19393 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19395 * calendar/time-date.el (autoload):
19396 Expand define-obsolete-function-alias into defalias and make-obsolete
19397 for old Emacsen that Gnus supports.
19398 (with-no-warnings): Define it for old Emacsen.
19399 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19401 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19402 float-time is available; suppress compile warning for time-to-seconds.
19404 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19406 * net/imap.el (imap-message-map): Docstring fix.
19408 2009-09-09 Glenn Morris <rgm@gnu.org>
19410 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19411 line numbers too. (Bug#4374)
19413 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19415 * smerge-mode.el (smerge-remove-props, smerge-refine):
19416 Use with-silent-modifications (bug#4342).
19418 * subr.el (with-silent-modifications): New macro.
19420 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19422 * files.el (top-level): Require `cl' when compiling.
19424 2009-09-07 Glenn Morris <rgm@gnu.org>
19426 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19428 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19429 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19431 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19433 * vc-git.el (vc-git-annotate-command): Use separator to parse
19434 arguments correctly.
19436 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19438 * proced.el (proced-mode): Doc fix.
19440 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19442 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19444 (tramp-do-file-attributes-with-ls): Check for file existence at
19446 (tramp-do-file-attributes-with-stat): Likewise.
19447 (tramp-convert-file-attributes): Return nil when attr is nil.
19449 2009-09-05 Glenn Morris <rgm@gnu.org>
19451 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19452 properties to this button.
19453 (diary-fancy-display): Don't extend the button to the final newline.
19454 (diary-fancy-display-mode): Continue to define "q" as a local key.
19456 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19459 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19461 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19462 (byte-compile-dest-file-function): New option.
19463 (byte-compile-dest-file): Doc fix.
19464 Obey byte-compile-dest-file-function.
19465 (byte-compile-cl-file-p): New function.
19466 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19467 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19468 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19469 than for file being previously loaded.
19470 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19471 (byte-compile-file-form-require): Handle the case where requiring a file
19472 indirectly causes CL to be loaded.
19474 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19476 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19477 before killing the old buffer, since by the time `kill-buffer' is
19478 run so many buffer variables have been set to nil that it may not
19479 behave as expected. (Bug#4061)
19481 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19483 * files.el (find-alternate-file): If the old buffer is modified
19484 and visiting a file, behave similarly to `kill-buffer' when
19485 killing it, thus reverting to the pre-1.878 behavior; see
19486 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19487 for discussion. Also, consult `buffer-file-name' as a variable
19488 not as a function, for consistency with the rest of the code.
19490 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19492 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19493 also when adding a new directory.
19495 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19498 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19500 * files.el (locate-file-completion-table): Make it provide boundary
19501 information, so partial-completion works better.
19503 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19505 * mail/footnote.el (Footnote-text-under-cursor):
19506 Check footnote-text-marker-alist before using it (bug#4324).
19508 2009-09-04 Glenn Morris <rgm@gnu.org>
19510 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19511 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19512 * play/solitaire.el, play/tetris.el:
19513 Remove leading * from defcustom and defface docs.
19515 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19517 (diary-fancy-overriding-map): New variable.
19518 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19521 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19524 2009-09-03 Glenn Morris <rgm@gnu.org>
19526 * arc-mode.el (archive-mode):
19527 * dos-fns.el (set-default-process-coding-system):
19528 * man.el (Man-getpage-in-background):
19529 * menu-bar.el (menu-bar-describe-menu):
19530 * server.el (server-process-filter):
19531 * startup.el (command-line):
19532 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19533 * w32-fns.el (set-default-process-coding-system):
19534 * x-dnd.el (x-dnd-handle-file-name):
19535 * international/mule-cmds.el (mule-menu-keymap)
19536 (set-default-coding-systems, language-info-alist, set-language-info)
19537 (set-language-environment, standard-display-european-internal)
19538 (set-locale-environment):
19539 * international/mule-diag.el (mule-diag):
19540 * mail/emacsbug.el (report-emacs-bug):
19541 * mail/rmail.el (rmail-mode):
19542 * mail/sendmail.el (mail-setup):
19543 Use default-value rather than default-enable-multibyte-characters.
19545 * progmodes/f90.el: Move all safe properties into the defcustoms.
19546 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19548 * calendar/appt.el (appt-check):
19549 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19550 (diary-check-diary-file, diary-list-entries)
19551 (diary-include-other-diary-files, diary-simple-display)
19552 (diary-fancy-display, diary-print-entries)
19553 (diary-mark-included-diary-files, diary-make-entry):
19554 Don't call substitute-in-file-name on diary-file.
19556 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19557 Stefan Monnier <monnier@iro.umontreal.ca>
19559 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19560 (footnote-mode-map): Move initialization into the declaration.
19561 (footnote-minor-mode-map): Define it rather than changing global-map.
19562 (footnote-mode): Use define-minor-mode.
19564 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19566 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19567 (tramp-do-file-attributes-with-perl)
19568 (tramp-do-file-attributes-with-stat): Rename from
19569 `tramp-handle-file-attributes-with-*'.
19570 (tramp-handle-file-attributes): Use them.
19571 (tramp-do-directory-files-and-attributes-with-perl)
19572 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19573 `tramp-handle-directory-files-and-attributes-with-*'.
19574 (tramp-handle-directory-files-and-attributes): Use them.
19575 (tramp-method-out-of-band-p): Additional parameter SIZE.
19576 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19577 (tramp-handle-write-region): Use it.
19578 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19579 (tramp-handle-vc-registered): Check, whether the first run did
19580 return files to be tested.
19581 (tramp-advice-make-auto-save-file-name): Do not call directly
19582 `tramp-handle-make-auto-save-file-name', because this would bypass
19583 the locking mechanism.
19585 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19586 (file-remote-p, process-file, start-file-process, set-file-times)
19587 (tramp-compat-file-attributes): Compatibility functions shall not
19588 call directly `tramp-handle-*', because this would bypass the
19590 (tramp-compat-number-sequence): New defun.
19592 2009-09-02 Glenn Morris <rgm@gnu.org>
19594 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19595 alias for float-time.
19596 (time-to-number-of-days): In Emacs, use float-time.
19597 * net/newst-backend.el (time-add): Suppress warnings from compat
19599 * time.el (emacs-uptime, emacs-init-time):
19600 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19601 Use float-time rather than time-to-seconds.
19603 * minibuffer.el (completion-initials-expand): Fix typo.
19605 * faces.el (modeline, modeline-inactive, modeline-highlight)
19606 (modeline-buffer-id):
19607 * info.el (info-menu-5): Mark these face aliases as obsolete.
19609 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19611 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19613 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19614 no "--thread" option.
19615 (gdb-stopped): Don't print "Switched to thread" message when it is
19618 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19620 * minibuffer.el (completion-try-completion)
19621 (completion-all-completions): Remove ill-defined (and
19622 mistakenly installed and luckily never used nor documented)
19623 `completion-styles' property.
19624 (completion-initials-expand, completion-initials-all-completions)
19625 (completion-initials-try-completion): New functions.
19626 (completion-styles-alist): Add doc to each entry.
19627 Add new `initials' entry.
19629 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19631 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19632 MI command -var-evaluate-expression.
19633 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19634 and tweak for case of string child.
19635 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19637 2009-09-01 Glenn Morris <rgm@gnu.org>
19639 * add-log.el (change-log-date-face, change-log-name-face)
19640 (change-log-email-face, change-log-file-face, change-log-list-face)
19641 (change-log-conditionals-face, change-log-function-face)
19642 (change-log-acknowledgement-face):
19643 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19644 (custom-modified-face, custom-set-face, custom-changed-face)
19645 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19646 (custom-documentation-face, custom-state-face, custom-comment-face)
19647 (custom-comment-tag-face, custom-variable-tag-face)
19648 (custom-variable-button-face, custom-face-tag-face)
19649 (custom-group-tag-face-1, custom-group-tag-face):
19650 * diff-mode.el (diff-header-face, diff-file-header-face)
19651 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19652 (diff-added-face, diff-changed-face, diff-function-face)
19653 (diff-context-face, diff-nonexistent-face):
19654 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19655 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19656 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19657 (Info-title-4-face):
19658 * isearch.el (isearch-lazy-highlight-face):
19659 * log-view.el (log-view-file-face, log-view-message-face):
19660 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19661 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19662 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19664 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19665 (smerge-base-face, smerge-markers-face):
19666 * wid-edit.el (widget-documentation-face, widget-button-face)
19667 (widget-field-face, widget-single-line-field-face)
19668 (widget-inactive-face, widget-button-pressed-face):
19669 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19670 (woman-addition-face):
19671 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19672 (eshell-ls-executable-face, eshell-ls-readonly-face)
19673 (eshell-ls-unreadable-face, eshell-ls-special-face)
19674 (eshell-ls-missing-face, eshell-ls-archive-face)
19675 (eshell-ls-backup-face, eshell-ls-product-face)
19676 (eshell-ls-clutter-face):
19677 * eshell/em-prompt.el (eshell-prompt-face):
19678 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19679 * obsolete/old-whitespace.el (whitespace-highlight-face):
19680 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19681 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19682 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19683 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19684 (antlr-font-lock-literal-face):
19685 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19686 (ebrowse-root-class-face, ebrowse-file-name-face)
19687 (ebrowse-default-face, ebrowse-member-attribute-face)
19688 (ebrowse-member-class-face, ebrowse-progress-face):
19689 * progmodes/make-mode.el (makefile-space-face):
19690 * progmodes/sh-script.el (sh-heredoc-face):
19691 * textmodes/flyspell.el (flyspell-incorrect-face)
19692 (flyspell-duplicate-face):
19693 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19694 * textmodes/texinfo.el (texinfo-heading-face):
19695 Mark face aliases with "-face" suffix as obsolete.
19697 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19700 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19701 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19702 easy-menu-define wants to modify these.
19704 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19706 * net/browse-url.el (browse-url-file-url):
19707 * term/internal.el (dos-codepage-setup):
19708 Use default-value rather than default-enable-multibyte-characters.
19710 * progmodes/etags.el (etags-goto-tag-location):
19711 * progmodes/flymake.el (flymake-highlight-line)
19712 (flymake-goto-file-and-line, flymake-goto-line):
19713 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19714 (gdb-goto-breakpoint):
19715 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19716 * progmodes/python.el (python-find-function)
19717 (python-pdbtrack-track-stack-file):
19718 * progmodes/verilog-mode.el (verilog-surelint-off):
19719 * term/ns-win.el (ns-open-file-select-line):
19720 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19721 Use forward-line rather than goto-line.
19723 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19724 * textmodes/reftex-index.el (reftex-display-index):
19725 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19726 * textmodes/reftex-toc.el (reftex-toc):
19727 Remove unnecessary bindings of default-major-mode (all are followed by
19728 major-mode check and possible mode switch).
19730 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19732 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19733 Handle watchpoints (bug#4282).
19734 (def-gdb-thread-buffer-command): Enable thread to be selected by
19735 clicking without selecting threads buffer first.
19736 (gdb-current-context-command): Use selected frame so that "up",
19737 "down" etc work in the GUD buffer.
19738 (gdb-update): Find selected frame before rendering stack buffer.
19739 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19741 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19743 * progmodes/sym-comp.el (displayed-completions): Remove.
19744 (symbol-complete): Use minibuffer-complete.
19746 2009-08-31 Glenn Morris <rgm@gnu.org>
19748 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19750 * apropos.el (apropos-symbols-internal):
19751 Handle (obsolete) face aliases.
19753 * faces.el (describe-face): Adjust the output format to be more like
19754 describe-variable, and to mention (obsolete) face aliases.
19755 Adjust the whitespace so that help-setup-xref works.
19757 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19758 * calendar/diary-lib.el (diary-button-face):
19759 Mark these face aliases as obsolete.
19761 * calendar/calendar.el (calendar-today): Doc fix.
19763 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19765 * progmodes/gdb-mi.el (gdb-control-all-threads)
19766 (gdb-control-current-thread): Force tool bar update.
19767 (gdb-non-stop-handler): New function.
19768 (gdb-init-1): Use it to test if non-stop mode is supported.
19769 Remove unused gdbmi buffer type.
19771 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19773 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19774 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19776 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19778 * comint.el (comint-exec-1): Check command is non-null first.
19779 Part of gdb-mi.el change (2009-08-28).
19781 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19783 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19785 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19787 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19788 instead of `dolist' to avoid a recursive require when bootstrapping.
19790 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19792 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19794 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19796 * net/imap.el (imap-send-command): Simplify.
19797 (imap-wait-for-tag): point-max -> buffer-size.
19799 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19801 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19802 with constant argument.
19804 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19806 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19808 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19809 Change default, since most of our files don't have a history.
19810 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19816 * calc/calc.el: Improve commenting convention.
19817 (calc-digit-map, toplevel): Simplify.
19819 * comint.el (comint-insert-input): Be careful to only set point if we
19820 don't delegate to some other command.
19822 * proced.el (proced-signal-list): Make it an alist.
19823 (proced-grammar-alist): Capitalize names.
19824 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19825 Disable undo manually and make it read-only.
19826 Use completion-annotate-function.
19828 * minibuffer.el (minibuffer-message): If the current buffer is not
19829 a minibuffer, insert the message in the echo area rather than at the
19831 (completion-annotate-function): New variable.
19832 (minibuffer-completion-help): Use it.
19833 (completion--embedded-envvar-table): Environment vars are
19834 always case-sensitive.
19836 2009-08-30 Glenn Morris <rgm@gnu.org>
19838 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19839 from fortran-current-defun.
19840 (fortran-beginning-of-subprogram): Be more precise about finding the
19841 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19842 (fortran-end-of-subprogram): Simplify.
19843 (fortran-current-defun): Use fortran-start-prog-re.
19845 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19847 * subr.el (do-after-load-evaluation): Simplify.
19849 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19851 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19853 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19854 (vc-rcs-print-log): Use it.
19856 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19858 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19860 * paths.el (abbrev-file-name): Move to abbrev.el.
19861 * abbrev.el (abbrev-file-name): Move from paths.el.
19862 Obey user-emacs-directory.
19863 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19864 user-emacs-directory.
19865 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19866 abbrev-file-name and calc-settings-file any more.
19867 * startup.el (command-line): Recompute abbrev-file-name and
19868 abbreviated-home-dir.
19869 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19870 of the special code for when C-h bindings haven't been changed.
19871 (display-startup-echo-area-message): Use with-current-buffer.
19872 (command-line-1): Use a list of strings, rather than a list of lists
19873 of strings for longopts.
19875 * files.el (get-free-disk-space): Use / for default-directory.
19877 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19878 Use with-current-buffer.
19880 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19881 Recognize immutable variables like most-positive-fixnum.
19882 (byte-compile-setq-default): Check and warn if trying to assign
19883 to an immutable variable, or a non-variable.
19885 * progmodes/cc-vars.el (c-comment-continuation-stars):
19886 * progmodes/cc-engine.el (c-looking-at-bos):
19887 * progmodes/cc-cmds.el (c-toggle-auto-state)
19888 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19889 (c-comment-line-break-function): Add version of obsolescence.
19891 2009-08-28 Juri Linkov <juri@jurta.org>
19893 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19894 associated with `archive-mode'.
19896 * image.el (image-type-header-regexps): Use only JPEG magic number
19897 to determine JPEG images, and don't use `image-jpeg-p' because
19898 Emacs can display non-JFIF non-Exif JPEG images.
19900 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19902 * arc-mode.el (archive-mode):
19903 * emacs-lisp/re-builder.el (re-builder-unload-function):
19904 Protect against the default value of `major-mode' being nil.
19906 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19908 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19909 Fix typos in docstrings.
19911 * progmodes/js.el (js--macro-decl-re): Doc fix.
19912 (js--plain-method-re, js--split-name): Refloc docstring.
19913 (js--class-styles, js--make-merged-item, js--splice-into-items):
19914 Fix typos in docstrings; reflow docstrings.
19915 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19916 (js--variable-decl-matcher, js--inside-pitem-p)
19917 (js--parse-state-at-point, js--get-all-known-symbols)
19918 (js--symbol-history, js-find-symbol, js--js-references)
19919 (js--moz-interactor, js--js-encode-value, js--read-tab):
19920 Fix typos in docstrings.
19922 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19924 * textmodes/reftex.el (reftex-get-file-buffer-force):
19925 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19926 * emulation/viper.el (viper-go-away, viper-set-hooks):
19927 * emacs-lisp/re-builder.el (re-builder-unload-function):
19928 * emacs-lisp/bytecomp.el (byte-compile-file):
19929 * ses.el (ses-unload-function):
19930 * hexl.el (hexl-find-file):
19931 * files.el (normal-mode):
19932 * ehelp.el (with-electric-help):
19933 * autoinsert.el (auto-insert-alist):
19934 * arc-mode.el (archive-mode):
19935 Use (default-value 'major-mode) instead of default-major-mode.
19937 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19938 * international/mule.el (load-with-code-conversion):
19939 * emacs-lisp/debug.el (debug):
19940 * ediff-vers.el (ediff-rcs-get-output-buffer):
19941 * dired.el (dired-internal-noselect): Don't let-bind
19942 default-major-mode around code that doesn't use it.
19943 E.g. buffer creation via get-buffer-create doesn't use it.
19945 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19947 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19948 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19949 when writing the temp file. Otherwise, epa-file gets confused.
19950 (tramp-register-file-name-handlers): Make it a defun. Move also
19951 `epa-file-handler' to the front of `file-name-handler-alist'.
19953 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19955 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19956 start right after a ^M.
19957 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19958 (tramp-completion-file-name-regexp-separate)
19959 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19960 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19961 Don't modify last-coding-system-used by accident.
19962 (tramp-completion-file-name-handler): Apply the checks here,
19963 instead during registration.
19964 (tramp-register-file-name-handlers): Rename from
19965 `tramp-register-file-name-handler'. Register both
19966 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19967 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19969 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19971 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19972 Remove variable ...
19973 (gdb-init-1, gdb-display-separate-io-buffer)
19974 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19976 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19977 (gdb-inferior-filter): Use comint-output-filter to stop
19978 echoing and remove ^M characters.
19980 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19982 * emulation/viper-init.el (viper-restore-cursor-type):
19983 * emulation/cua-base.el (cua--update-indications):
19984 Replace default-cursor-type with (default-value 'cursor-type).
19986 * mail/sendmail.el (mail-recover-1):
19987 * international/mule-diag.el (describe-current-coding-system-briefly)
19988 (describe-current-coding-system):
19989 * international/mule-cmds.el (select-safe-coding-system)
19990 (select-message-coding-system)
19991 (set-language-environment-coding-systems, set-locale-environment):
19992 * hexl.el (hexl-insert-multibyte-char):
19993 * dos-w32.el (find-buffer-file-type-coding-system):
19994 * simple.el (what-cursor-position):
19995 Replace uses of default-buffer-file-coding-system
19996 with (default-value 'buffer-file-coding-system).
19998 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19999 Replace uses of default-cursor-in-non-selected-windows
20000 with (default-value 'cursor-in-non-selected-windows).
20001 Use with-current-buffer.
20003 * mail/feedmail.el: Use CL macros.
20004 (feedmail-run-the-queue, feedmail-send-it-immediately):
20005 * dos-w32.el (find-buffer-file-type): Replace uses of
20006 default-buffer-file-type with (default-value 'buffer-file-type).
20008 2009-08-28 Glenn Morris <rgm@gnu.org>
20010 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20011 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20012 Use default-value of major-mode rather than default-major-mode.
20014 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20016 * Makefile.in (update-elcfiles): Report left over elc files.
20018 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20019 expand-file-name and with-current-buffer.
20020 (mail-get-names, mail-directory): Use with-current-buffer.
20022 * vc.el (vc-read-revision): New function.
20023 (vc-version-diff, vc-merge): Use it.
20025 2009-08-27 Sam Steingold <sds@gnu.org>
20027 * simple.el (kill-do-not-save-duplicates): New user option.
20028 (kill-new): When it is non-nil, and the new string is the same as
20029 the latest kill, set replace to t to avoid duplicates in kill-ring.
20031 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20033 * net/tramp.el (tramp-handle-process-file): Do not flush all
20034 caches when `process-file-side-effects' is set.
20035 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20036 instead of `tramp-find-file-exists-command'.
20037 Unset `process-file-side-effects'.
20039 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20041 * net/tramp.el (tramp-methods): New method "rsyncc".
20042 (top): Add completion function for "rsyncc".
20043 (tramp-message-show-message): New defvar.
20044 (tramp-message, tramp-error): Use it.
20045 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20047 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20048 `tramp-methods' entry `copy-env' of "rsyncc".
20049 (tramp-vc-registered-read-file-names): New defconst.
20050 (tramp-vc-registered-file-names): New defvar.
20051 (tramp-handle-vc-registered): Implement optimization strategy.
20052 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20053 (tramp-vc-file-name-handler): New defun.
20054 (tramp-get-ls-command, tramp-get-test-command)
20055 (tramp-get-file-exists-command, tramp-get-remote-ln)
20056 (tramp-get-remote-perl, tramp-get-remote-stat)
20057 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20059 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20060 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20062 (tramp-get-file-property): Check for timestamps in
20063 `tramp-cache-inhibit-cache'.
20064 (tramp-set-file-property): Write timestamp.
20066 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20068 * language/japan-util.el (japanese-symbol-table): Add entries for
20071 * international/characters.el: Add category `j' to cp932-2-byte.
20073 2009-08-27 Kenichi Handa <handa@m17n.org>
20075 * international/fontset.el (build-default-fontset-data): New macro.
20076 (setup-default-fontset): Use build-default-fontset-data for CJK,
20077 tibetan, ethiopic, and ipa.
20079 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20081 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20082 (enable-multibyte-characters): Not customizable any more.
20084 * subr.el (default-mode-line-format, default-header-line-format)
20085 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20086 (default-direction-reversed, default-truncate-lines)
20087 (default-left-margin, default-tab-width, default-case-fold-search)
20088 (default-left-margin-width, default-right-margin-width)
20089 (default-left-fringe-width, default-right-fringe-width)
20090 (default-fringes-outside-margins, default-scroll-bar-width)
20091 (default-vertical-scroll-bar, default-indicate-empty-lines)
20092 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20093 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20094 (default-scroll-down-aggressively, default-fill-column)
20095 (default-cursor-type, default-buffer-file-type)
20096 (default-cursor-in-non-selected-windows)
20097 (default-buffer-file-coding-system, default-major-mode)
20098 (default-enable-multibyte-characters): Mark as obsolete.
20100 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20102 * vc-dir.el (vc-dir-update): Remove debug helper.
20104 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20106 2009-08-26 Sam Steingold <sds@gnu.org>
20108 * simple.el (save-interprogram-paste-before-kill): New user option.
20109 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20110 save the interprogram-paste into kill-ring before overriding it
20111 with the Emacs kill.
20113 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20115 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20116 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20117 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20118 and move to vc-rcs.el.
20119 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20121 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20122 (vc-rcs-update-changelog): Remove.
20123 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20124 and move to vc-rcs.el.
20126 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20127 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20129 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20130 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20131 vc.el, renamed to be RCS specific.
20133 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20135 (vc-cvs-update-changelog): Move here from vc.el.
20137 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20140 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20142 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20144 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20146 * vc-git.el (vc-git-register): Use "git add" for directories.
20147 (vc-git-stash, vc-git-stash-show): New functions.
20148 (vc-git-extra-menu-map): Bind them.
20150 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20151 directory correctly in case the item is a directory itself.
20153 * vc.el: Document the desired behavior for reverted files in the
20155 (vc-default-prettify-state-info): Remove function, unused.
20157 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20159 2009-08-26 Glenn Morris <rgm@gnu.org>
20161 * bindings.el (standard-mode-line-format): Reposition dashes in
20162 which-func entry. (Bug#4217)
20164 * files.el (enable-local-variables, enable-local-eval)
20165 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20167 (auto-mode-alist, ignored-local-variables)
20168 (save-some-buffers-action-alist): Move risky declarations to the
20170 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20171 (font-lock-defaults, format-alist, imenu--index-alist)
20172 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20173 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20174 (mode-line-modified, mode-line-mule-info, mode-line-position)
20175 (mode-line-process, mode-line-remote, outline-level)
20176 (parse-time-rules, rmail-output-file-alist)
20177 (special-display-buffer-names, vc-mode):
20178 Move risky declarations to the relevant files.
20179 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20180 (mode-line-modified, mode-line-process, mode-line-position)
20181 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20182 * font-core.el (font-lock-defaults):
20183 * format.el (format-alist):
20184 * vc-hooks.el (vc-mode):
20185 * window.el (special-display-buffer-names):
20186 * international/mule-cmds.el (input-method-alist):
20187 Define riskiness here (dumped file) rather than in files.el.
20188 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20189 * imenu.el (imenu-generic-expression, imenu--index-alist):
20190 * outline.el (outline-level):
20191 * time.el (display-time-string):
20192 * calendar/parse-time.el (parse-time-rules):
20193 * mail/rmailout.el (rmail-output-file-alist):
20194 Autoload riskiness here, rather than placing in files.el.
20196 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20198 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20200 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20202 * simple.el (process-file-side-effects): New defvar.
20204 * dired-aux.el (dired-show-file-type):
20205 * vc.el (vc-diff-internal):
20206 * vc-arch.el (vc-arch-diff):
20207 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20208 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20209 * vc-git.el (vc-git-registered, vc-git-working-revision)
20210 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20211 (vc-git--empty-db-p):
20212 * vc-hooks.el (vc-user-login-name):
20213 * vc-svn.el (vc-svn-registered, vc-svn-state)
20214 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20215 * progmodes/grep.el (grep-probe): Let-bind
20216 `process-file-side-effects' with nil.
20218 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20220 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20221 daemon. Replace ping by checking for running service for bluez
20222 and zeroconf. (Bug#4239)
20224 2009-08-25 Kevin Ryde <user42@zip.com.au>
20226 * net/dig.el (dig): Add autoload cookie.
20228 2009-08-25 Glenn Morris <rgm@gnu.org>
20230 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20231 load-history for absolute file-names.
20232 (byte-compile-file-form-require): Warn about use of the cl package.
20234 * format.el (format-alist): Doc fix.
20236 * play/bubbles.el (top-level): Don't require cl at run-time.
20238 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20241 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20243 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20245 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20247 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20249 * calc/calc-alg.el (math-trig-rewrite)
20250 (math-hyperbolic-trig-rewrite): New functions.
20251 (calc-simplify): Simplify trig functions when asked.
20253 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20255 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20257 2009-08-24 Kenichi Handa <handa@m17n.org>
20259 * language/ind-util.el (mapthread): Delete it.
20260 (combinatorial): New function.
20261 (indian--puthash-cv): Use combinatorial instead of mapthread.
20263 2009-08-22 Kevin Ryde <user42@zip.com.au>
20265 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20266 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20267 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20268 Clarify docstring that the value is strings not symbols.
20269 (checkdoc-list-of-strings-p): New function.
20271 2009-08-22 Glenn Morris <rgm@gnu.org>
20273 * files.el (auto-mode-alist):
20274 * hippie-exp.el (he-concat-directory-file-name):
20275 * lpr.el (lpr-windows-system, printer-name):
20276 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20277 * ps-print.el (ps-windows-system):
20278 * startup.el (command-line):
20279 * emulation/viper-ex.el (viper-glob-function):
20280 * international/mule-cmds.el (set-language-environment-coding-systems):
20281 * net/ange-ftp.el (ange-ftp-write-region):
20282 * obsolete/fast-lock.el (fast-lock-cache-name):
20283 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20284 unisoft-unix, vax-vms, win32, w32.
20286 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20287 given name if the pattern is not more specific.
20289 * calendar/lunar.el (lunar-phase-names): New option.
20290 (lunar-phase): Doc fix.
20291 (lunar-cycles-per-year): New constant.
20292 (lunar-index): New function.
20293 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20294 (lunar-phase-name): Use lunar-phase-names.
20295 (calendar-lunar-phases): Use format.
20296 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20298 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20299 Copy imenu-example--name-and-position function here for own use.
20300 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20302 * bs.el (bs--redisplay):
20303 * cus-edit.el (custom-redraw):
20304 * ibuffer.el (ibuffer-bury-buffer):
20305 * server.el (server-goto-line-column):
20306 * startup.el (command-line-1):
20307 * strokes.el (strokes-xpm-for-stroke):
20308 * term.el (term-display-buffer-line):
20309 * view.el (View-goto-line):
20310 * calc/calc.el (calc-do, calc-trail-buffer):
20311 * play/gamegrid.el (gamegrid-add-score-insecure):
20312 * progmodes/ada-mode.el (ada-compile-goto-error):
20313 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20314 (ebrowse-select-1st-to-9nth):
20315 * progmodes/cperl-mode.el (cperl-time-fontification):
20316 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20317 * progmodes/gud.el (gud-display-line):
20318 (idlwave-shell-display-line):
20319 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20320 * progmodes/make-mode.el (makefile-browser-toggle):
20321 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20322 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20323 * textmodes/picture.el (picture-draw-rectangle):
20324 * textmodes/reftex-index.el (reftex-index-goto-letter):
20325 (reftex-select-jump-to-previous):
20326 * textmodes/reftex-sel.el (reftex-find-start-point)
20327 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20328 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20329 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20330 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20331 * textmodes/two-column.el (2C-associated-buffer):
20332 Use forward-line rather than goto-line.
20334 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20337 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20338 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20339 (quick-check-list-to-regexp): Declare.
20341 * progmodes/make-mode.el (makefile-browser-insert-selection):
20342 Use goto-char rather than goto-line.
20344 * progmodes/prolog.el (compilation-error-regexp-alist)
20345 (compilation-forget-errors): Declare.
20347 2009-08-22 Juri Linkov <juri@jurta.org>
20349 * progmodes/grep.el (lgrep, rgrep): At the beginning
20350 set `dir' to `default-directory' unless `dir' is a non-nil
20351 readable directory. (Bug#4052)
20352 (lgrep, rgrep): Change a weird way to report an error
20353 from using `read-string' to using `error'.
20354 Instead of using interactive arguments in the function body,
20355 add new argument `confirm'.
20357 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20359 * textmodes/remember.el (remember-buffer):
20360 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20361 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20362 (icalendar-extract-ical-from-buffer):
20363 * net/newst-treeview.el (newsticker-groups-filename):
20364 * net/newst-backend.el (newsticker-cache-filename):
20365 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20366 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20367 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20368 (speedbar-buffers-line-path, speedbar-path-line)
20369 (speedbar-buffers-line-path):
20370 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20372 * epa.el (epa-display-verify-result):
20373 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20375 2009-08-21 Glenn Morris <rgm@gnu.org>
20377 * progmodes/js.el (inferior-moz-process): Fix declaration.
20379 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20381 * obsolete/rnewspost.el (news-mail-reply):
20382 Use goto-char rather than goto-line.
20384 * term/ns-win.el (ns-open-file-select-line):
20385 Use line-beginning-position rather than goto-line.
20387 * apropos.el (apropos-command):
20388 * ehelp.el (electric-helpify):
20389 * printing.el (pr-show-setup):
20390 * strokes.el (strokes-help):
20391 * tutorial.el (tutorial--describe-nonstandard-key)
20392 (tutorial--detailed-help):
20393 * woman.el (woman-mini-help, woman-display-extended-fonts):
20394 * calc/calc-help.el (calc-describe-key):
20395 * emulation/edt.el (edt-electric-helpify):
20396 * international/mule-diag.el (mule-diag):
20397 * play/yow.el (apropos-zippy):
20398 * progmodes/python.el (python-describe-symbol):
20399 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20400 * textmodes/table.el (*table--cell-describe-mode)
20401 (*table--cell-describe-bindings):
20402 Use help-print-return-message rather than the now obsolete alias.
20404 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20405 (calendar-cursor-to-visible-date):
20406 * play/5x5.el (5x5-position-cursor):
20407 * play/decipher.el (decipher):
20408 * play/gomoku.el (gomoku-goto-xy):
20409 * play/landmark.el (lm-goto-xy):
20410 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20411 (mpuz-paint-digit):
20412 Use forward-line, not goto-line.
20414 * mail/rmail.el (rmail-obsolete): Delete custom group.
20415 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20416 (rmail-remote-password, rmail-remote-password-required):
20417 Remove unneeded :set-after and :set properties.
20419 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20421 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20423 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20425 * loadup.el: Remove leftover macos code.
20427 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20428 Explicitly pass the date format to git blame so that user local
20429 so that the output format can be parsed.
20431 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20433 * net/dbus.el (top): Don't check for (getenv
20434 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20436 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20438 * log-edit.el (log-edit-strip-single-file-name): New var.
20439 (log-edit-insert-changelog): Use it. Bug#3571
20441 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20443 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20446 * help.el (help-print-return-message): Rename from
20447 print-help-return-message.
20449 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20450 cvs-mode-map parent hack.
20451 (log-view-mode): Derive from special-mode.
20453 * linum.el (linum-mode): window-size-change-functions is redundant.
20454 Adapt to new window-configuration-change-hook behavior.
20455 (linum-after-size, linum-after-config): Remove.
20457 * imenu.el (imenu-example--name-and-position)
20458 (imenu-example--lisp-extract-index-name)
20459 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20462 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20463 (inferior-prolog-mode): Use it.
20464 (inferior-prolog-load-file): Reset list of errors.
20466 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20468 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20470 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20472 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20474 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20475 is running already.
20477 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20479 * subr.el (listify-key-sequence-1): Use normal syntax since those
20480 integers are nowadays always represented by the same (positive) number
20482 (read-key-empty-map): New const.
20483 (read-key-delay): New var.
20484 (read-key): New function.
20485 (force-mode-line-update): Use with-current-buffer.
20486 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20487 (start-process-shell-command, start-file-process-shell-command):
20488 Discourage the use of command-args.
20490 2009-08-19 Glenn Morris <rgm@gnu.org>
20492 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20494 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20496 * simple.el (choose-completion-string): Don't rely on
20497 minibuffer-completing-file-name and ad-hoc checks to decide whether
20498 to continue completion or not.
20500 * minibuffer.el (minibuffer-hide-completions): New function.
20501 (completion--do-completion): Use it.
20502 (completions-annotations): New face.
20503 (completion--insert-strings): Use it.
20504 (completion-pcm--delim-wild-regex): Add docstring.
20505 (completion-pcm--string->pattern): Add support for 0-width delimiters
20506 in completion-pcm--delim-wild-regex.
20508 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20510 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20511 Remove unused var `buffer-modified-p'.
20513 * minibuffer.el (completion--do-completion): Move point for the #b001
20514 case as well (bug#4176).
20515 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20517 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20519 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20520 and :session buses.
20522 2009-08-18 Kenichi Handa <handa@m17n.org>
20524 * international/ucs-normalize.el (ucs-normalize-version):
20526 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20527 (utf-8-hfs): Make it perform normalization on encoding too.
20529 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20530 (sentence-end-without-space): Delete duplicated chars.
20531 (sentence-end-base): Likewise.
20533 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20534 (html-mode): Delete duplicated chars from sentence-end-base.
20536 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20537 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20539 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20541 * files.el (hack-one-local-variable): If the mode function is for
20542 a minor mode, pass it an argument (Bug#4148).
20544 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20546 * net/tramp.el (tramp-register-completion-file-name-handler):
20547 Check also for (member 'partial-completion completion-styles).
20549 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20551 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20554 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20556 * progmodes/cperl-mode.el: Merge upstream 6.2.
20557 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20558 (cperl-forward-re): Check cperl-brace-recursing.
20559 (cperl-highlight-charclass): New function.
20560 (cperl-find-pods-heres): Use it.
20561 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20562 (cperl-beautify-regexp-piece): Fix column calculation.
20563 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20564 (cperl-beautify-level): Don't process entire regexp.
20565 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20567 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20568 (cperl-init-faces): Build a list in the normal way.
20570 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20572 * calendar/parse-time.el (parse-time-string-chars): Save match
20575 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20577 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20578 (sql-product): Use it.
20579 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20580 (sql-set-product): Add completion.
20581 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20582 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20583 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20584 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20585 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20586 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20587 (sql-highlight-db2-keywords): Remove.
20588 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20589 (sql-highlight-product): Use derived-mode-p.
20590 (sql-set-sqli-buffer): Use with-current-buffer.
20591 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20594 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20596 * term.el: Fix commenting convention, turn comments into docstrings.
20598 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20600 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20602 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20604 * calendar/parse-time.el (parse-time-string-chars): Compute using
20605 character classes, to handle non-ascii characters (Bug#3190).
20607 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20609 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20610 another heredoc if the user adds another < (Bug#3226).
20612 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20613 Don't initialize based on window-system (Bug#4124).
20615 * facemenu.el (facemenu-read-color): Use a completion function
20616 that accepts any defined color, such as RGB triplets (Bug#3677).
20618 * files.el (get-free-disk-space): Change fallback default
20619 directory to /. Expand DIR argument before switching to fallback.
20620 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20622 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20624 * files.el (load-library): Doc fix.
20626 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20628 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20629 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20630 incremental search string.
20632 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20635 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20636 (ediff-merge-region-is-non-clash)
20637 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20638 Also check if the job is really a merge job.
20640 * ediff.el (ediff-current-file): New function.
20642 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20644 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20646 (js-insert-and-indent): Delete function.
20647 (js-mode-map): Don't bind keys to js-insert-and-indent.
20648 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20649 (js-end-of-defun): Rename from js--end-of-defun.
20650 (js-auto-indent-flag): Delete variable.
20652 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20654 * progmodes/js.el: Remove proclaim statement.
20655 Defvar which-func-imenu-joiner-function to silence compiler.
20657 * files.el (auto-mode-alist): Use js-mode for .js files.
20659 * progmodes/js2-mode.el: Remove file.
20661 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20663 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20665 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20667 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20668 Karl Landstrom <karl.landstrom@brgeight.se>
20670 * progmodes/js.el: New file.
20672 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20674 * timezone.el (timezone-parse-date): Add ability to understand ISO
20675 basic format (minimal separators) dates in addition to the
20676 already-supported extended format dates.
20678 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20680 * international/ucs-normalize.el: Add a `coding' file variable.
20682 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20684 2009-08-14 Sam Steingold <sds@gnu.org>
20686 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20688 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20690 * faces.el (help-argument-name): Define it here instead of
20691 help-fns.el, because in daemon mode help-fns.el may be loaded when
20692 faces are still uninitialized (Bug#1078).
20694 * help-fns.el (help-argument-name): Move defface to faces.el.
20696 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20698 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20699 create buffer with a pty but no process so that GDB can make the
20700 inferior the controlling process.
20702 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20704 * international/ucs-normalize.el: New file.
20706 2009-08-13 Richard Stallman <rms@gnu.org>
20708 * mail/rmail.el (rmail-get-attr-names):
20709 Accept an attribute header that is too short.
20711 * mail/rmail.el (rmail-forget-messages):
20712 Ignore nil elt in rmail-message-vector. Use dotimes.
20714 * progmodes/compile.el (compilation-goto-locus):
20715 Use next-error-move-function.
20717 * simple.el (next-error-move-function): New variable.
20719 2009-08-12 Juri Linkov <juri@jurta.org>
20721 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20722 always non-nil. (Bug#4052)
20724 * replace.el (read-regexp): Return empty string when
20725 `default-value' is nil.
20726 (keep-lines-read-args): Don't use empty string as the
20727 default value for `read-regexp'. (Bug#2495)
20729 2009-08-12 Juri Linkov <juri@jurta.org>
20731 * international/mule-cmds.el (ucs-insert): Change arguments
20732 from `arg' to `character', `count', `inherit' to be the same
20733 as in `insert-char'. Doc fix. (Bug#4039)
20735 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20737 2009-08-12 Juri Linkov <juri@jurta.org>
20739 * files-x.el: New file.
20741 * files.el: Move code that deals with adding/deleting
20742 file/directory-local variables to files-x.el.
20744 * Makefile.in (ELCFILES): Add files-x.elc.
20746 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20748 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20749 to use `goto-line'.
20750 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20752 (gdb-invalidate-disassembly): Do not refresh upon receiving
20753 'update signal. Instead, update all disassembly buffers only after
20755 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20756 (gdb-starting): Move -data-list-register-names...
20757 (gdb-stopped): ...here so it's sent when first thread stops.
20758 (gdb-registers-handler-custom): Do nothing if register names are
20761 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20762 from `gdb-mi.el' to avoid extra tangling.
20764 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20765 change which breaks `gud-def' definitions used in `gdb'.
20766 (gdb-update-gud-running): No extra fuss for updating frame number.
20768 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20770 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20771 (describe-language-environment-map, setup-language-environment-map)
20772 (set-coding-system-map): Move initialization into declaration.
20773 (set-language-info-alist): Last arg to define-key-after can be skipped.
20775 * international/quail.el (quail-completion-1): Simplify.
20776 (quail-define-rules): Use slightly more compact code.
20777 (quail-insert-decode-map): Propertize keys, compact columns.
20779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20782 2009-08-10 Miles Bader <miles@gnu.org>
20784 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20785 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20786 (js2-instance-member, js2-private-member, js2-private-function-call)
20787 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20788 (js2-magic-paren, js2-external-variable):
20789 Remove "-face" suffix from face names.
20790 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20791 (js2-highlight-undeclared-vars, js2-peek-token)
20792 (js2-parse-function-params, js2-mode-show-errors)
20793 (js2-mode-show-warnings, js2-make-magic-delimiter)
20794 (js2-mode-highlight-magic-parens): Update to use new face names.
20796 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20798 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20799 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20801 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20803 * subr.el: Provide hashtable-print-readable.
20805 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20806 hs-c-like-adjust-block-beginning.
20807 (hs-hide-block-at-point): Stop hiding at the beginning of
20808 hs-block-end-regexp (Bug#700).
20810 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20812 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20814 (gdb-registers-handler-custom): Do not fail when register names
20817 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20819 * progmodes/gdb-mi.el (gdb-control-all-threads)
20820 (gdb-control-current-thread): Interactive setters for
20821 `gdb-gud-control-all-threads' to use in menu.
20822 (gdb-show-run-p): Show «Go» when process is not active.
20823 (gud-tool-bar-map): Add non-stop/A,T indicator.
20824 Uses gud/thread.xpm and gud/all.xpm.
20826 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20828 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20829 (nslookup-font-lock-keywords): Make it a variable.
20830 (net-utils-mode): New mode for viewing diagnostic network output.
20831 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20832 (net-utils-run-simple): New function.
20833 (ifconfig, iwconfig, netstat, arp, route): Use it.
20835 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20837 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20838 (gdb-memory-set-address, def-gdb-set-positive-number)
20839 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20840 after changing settings.
20841 (gdb-invalidate-disassembly): Update when first shown.
20842 (gdb-edit-locals-value): Fixed.
20843 (gdb-registers-handler-custom): Print registers in right order and
20844 allow changing register values (only for current thread yet).
20845 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20846 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20847 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20848 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20849 Thread info in mode name.
20850 (gdb-registers-mode-map): TAB to switch to locals.
20852 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20854 * mail/rmail.el (rmail-add-mbox-headers)
20855 (rmail-set-message-counters-counter): Search for
20856 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20858 2009-08-08 Glenn Morris <rgm@gnu.org>
20860 * Makefile.in (ELCFILES): Update.
20862 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20864 * mail/sendmail.el (mail-yank-original):
20865 Set buffer-file-coding-system from the one used by the message whose
20868 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20869 to "windows" when "pgnuplot" is used.
20870 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20871 Don't call accept-process-output if "pgnuplot" is used.
20872 (calc-graph-init): Don't send -display and -geometry to
20873 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20874 running "pgnuplot -V" with shell-command-to-string.
20876 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20879 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20881 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20884 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20886 * vc-dispatcher.el (vc-resynch-window): Update comment.
20888 * term.el (term-handle-ansi-escape): Add comments with the
20889 terminfo capabilities implemented.
20891 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20893 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20894 (gdb-var-create-handler): Rewritten using JSON parser.
20895 (gdb-propertize-header): Move earlier.
20896 (gdb-set-header): Remove to avoid duplication.
20897 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20898 Refresh disassembly buffers only after threads list have been
20900 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20903 2009-08-04 Juri Linkov <juri@jurta.org>
20905 * files.el: Commands to add/delete file/directory-local variables.
20906 (read-file-local-variable, read-file-local-variable-value)
20907 (read-file-local-variable-mode, modify-file-local-variable)
20908 (modify-file-local-variable-prop-line)
20909 (modify-dir-local-variable): New functions.
20910 (add-file-local-variable, delete-file-local-variable)
20911 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20912 (add-dir-local-variable, delete-dir-local-variable)
20913 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20914 (copy-dir-locals-to-file-locals-prop-line): New commands.
20916 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20918 * abbrev.el (insert-abbrev-table-description): Prettify output.
20919 Suggested by Karl Chen.
20921 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20923 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20924 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20925 (gdb-overlay-arrow-position, gdb-thread-position)
20926 (gdb-disassembly-position): Declare variables.
20927 (gdb-wait-for-pending): Function now.
20928 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20929 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20930 compilation goes smoothly.
20931 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20932 (gdb-non-stop-setting): New customization setting which replaces
20933 `gdb-non-stop' so changing it doesn't break active GDB session.
20934 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20935 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20936 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20937 (gdb-show-threads-by-default): New customization options.
20938 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20940 (gdb-get-buffer-create): Send buffers update signal when they are
20942 (gdb-invalidate-locals, gdb-invalidate-registers)
20943 (gdb-invalidate-breakpoints)
20944 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20945 (gdb-invalidate-memory): Accept update signal.
20946 (gdb-current-context-command): Use --frame option.
20947 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20948 Implement `gdb-frame-number' selection logic.
20949 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20950 whether to show GUD toolbar buttons.
20951 (gdb-thread-exited): Unselect current thread when it exits.
20952 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20953 (gdb-mark-line): Routine which sets overlay arrow or inverses
20954 video on fringeless displays.
20955 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20956 to build aligned columns of data in GDB buffers and set text
20957 properties line-by-line.
20958 (gdb-invalidate-breakpoints)
20959 (gdb-breakpoints-list-handler-custom)
20960 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20961 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20962 (gdb-registers-handler-custom): Align data columns.
20963 (gdb-locals-handler-custom): Now prints data like in variable
20965 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20966 Remove confusing buttons.
20967 (gdb-invalidate-threads): Append --frame.
20968 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20969 between breakpoints/threads buffers.
20970 (gdb-set-window-buffer): Now can ignore dedicated windows.
20971 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20972 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20973 (def-gdb-thread-buffer-gud-command): Replaces
20974 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20975 for fine thread control.
20976 (gdb-preempt-existing-or-display-buffer): New function used to
20977 display bound buffers without breaking window layout.
20978 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20979 (gdb-select-frame): New version of `gdb-frames-select' which now
20980 sets `gdb-frame-number' so commands may use --frame option instead
20981 of inner debugger state.
20982 (gdb-frame-handler): Do not set `gdb-frame-number'.
20983 (gdb-threads-mode-map): Select threads with mouse.
20985 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20986 avoid compilation warning.
20987 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20990 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20991 Argument `key' renamed to `buffer-type'.
20992 (gdb-current-context-buffer-name): Do not add thread info to
20993 buffer name when no thread is selected.
20994 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20995 command (bug 3794).
20996 (gdb-thread-selected): Handle `=thread-selected' notification.
20997 (gdb-wait-for-pending): New macro to deal with congestion problems.
20998 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21000 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21001 This fixes problem similar to one described in bug 3947.
21002 (gud-menu-map): More menu items.
21003 (gdb-init-1): Reset `gdb-thread-number' to nil.
21005 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21008 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21009 (gdb-current-context-command): Do not append --thread if
21010 `gdb-thread-number' is nil.
21011 (gdb-running-threads-count, gdb-stopped-threads-count):
21013 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21014 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21015 New customization options.
21016 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21018 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21019 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21020 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21021 set `gdb-thread-number' and update `gud-running' properly.
21022 (gdb-running): Update threads list when new threads appear.
21023 (gdb-stopped): Support non-stop operation and new thread switching
21025 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21026 (gdb-json-partial-output): New set of JSON routines.
21027 (def-gdb-auto-update-trigger): New `signal-list' optional
21029 (gdb-thread-list-handler-custom): Update `gud-running',
21030 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21031 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21032 (gdb-continue-thread, gdb-step-thread): New commands for fine
21033 thread execution control.
21034 (gud-menu-map): New menu items to switch non-stop options.
21035 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21036 (gdb-send): Mimic RET properly (bug 3794).
21038 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21039 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21041 (def-gdb-auto-update-handler): New nopreserve optional argument.
21042 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21044 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21045 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21046 (gdb-parent-mode): New mode to derive other GDB modes from.
21047 (gdb-display-disassembly-for-thread)
21048 (gdb-frame-disassembly-for-thread): New commands for threads
21051 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21052 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21053 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21054 (gdb-update): We now store all GDB buffers in a list so that they
21055 can be updated by traversing a list instead of calling invalidate
21056 triggers explicitly.
21057 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21058 pair for GDB buffer.
21059 (gdb-stack-buffer-name): Add thread information.
21060 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21061 handle pending triggers.
21062 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21063 (def-gdb-thread-buffer-simple-command)
21064 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21065 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21066 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21067 New commands which show buffers bound to thread.
21068 (gdb-stack-list-locals-regexp): Remove unused regexp.
21070 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21071 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21072 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21073 to (gud-comint-buffer) in *-buffer-name functions
21074 because (gdb-get-target-string) already does that.
21075 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21076 (gdb-changed-registers-handler): Rewritten without regexps.
21078 * progmodes/gdb-mi.el: Basic thread selection support.
21079 (gdb-thread-number): New variable.
21080 (gdb-current-context-command): New macro which adds --thread
21082 (gdb-threads-mode-map): Select thread with SPC.
21083 (gdb-thread-list-handler-custom): Mark current thread with overlay
21084 arrow. Synchronize GDB thread and Emacs thread.
21085 (gdb-select-thread): New command which selects current thread.
21086 (gdb-invalidate-frames, gdb-invalidate-locals)
21087 (gdb-invalidate-registers): Use --thread option.
21089 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21091 * net/tramp.el (top): Make check for tramp-gvfs loading more
21093 (tramp-handle-insert-file-contents): `unwind-protect' must be
21094 inside `with-parsed-tramp-file-name'.
21096 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21099 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21101 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21102 directory if CLASSPATH is not set.
21104 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21106 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21108 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21110 2009-08-02 Kevin Ryde <user42@zip.com.au>
21112 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21113 Update freshmeat link. Delete newsforge.com as it seems gone.
21115 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21117 * select.el (x-set-selection): Doc fix (Bug#4021).
21119 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21121 * help-fns.el (describe-variable): Treat list return values from
21122 dir-locals-find-file properly (Bug#4005).
21124 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21126 * net/tramp.el (tramp-debug-message): Print also microseconds.
21128 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21130 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21132 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21133 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21136 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21137 (tramp-get-file-property): Use it.
21139 * autorevert.el (auto-revert-handler):
21140 Allow `auto-revert-tail-mode' for remote files.
21142 2009-08-02 Jason Rumney <jasonr@gnu.org>
21144 * minibuffer.el (read-file-name): Treat confirm options to
21145 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21147 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21149 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21150 (font-lock-variable-name-face, font-lock-constant-face):
21151 Darken the colors for light backgrounds.
21153 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21155 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21156 month names. (Bug#3987)
21158 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21160 * simple.el (line-move-finish): Pass whole number to
21161 line-move-to-column.
21162 (line-move-visual): Perform hscroll to the recorded position.
21164 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21166 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21168 2009-07-29 Alan Mackenzie <acm@muc.de>
21170 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21172 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21174 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21175 (gdb-place-breakpoints): Use full path when setting breakpoints.
21177 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21179 * calc/calc.el (calc-mode-map): Add keybinding for
21180 `calc-transpose-lines'.
21182 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21184 * calc/calc-misc.el (calc-transpose-lines): New function.
21186 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21188 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21189 Simplify check for out-of-band methods.
21190 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21191 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21193 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21195 * vc-git.el (vc-git-checkin): Fix typo.
21197 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21199 * progmodes/js2-mode.el: New file.
21201 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21203 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21204 (gud-menu-map): Adjust tooltip accordingly.
21206 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21208 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21209 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21211 * add-log.el (change-log-mode-map): Add a menu.
21213 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21215 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21216 function returns nil.
21217 (dbus-handle-event): Handle special return value :ignore.
21218 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21220 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21222 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21225 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21229 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21231 * term/pc-win.el (x-display-name, x-colors)
21232 (x-select-enable-clipboard, x-select-text): Doc fix.
21234 * term/common-win.el (x-display-name, x-colors): Doc fix.
21236 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21237 (xw-defined-colors): Doc fix.
21239 * w32-fns.el (x-select-text, x-setup-function-keys)
21240 (x-get-selection, x-set-selection): Doc fix.
21242 * term/x-win.el (x-select-text, x-setup-function-keys)
21243 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21245 * select.el (x-set-selection): Doc fix.
21247 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21249 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21250 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21251 "IsNSSSupportAvailable" method is not available.
21252 Reported by Steve Youngs <steve@sxemacs.org>.
21254 2009-07-24 Kenichi Handa <handa@m17n.org>
21256 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21257 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21258 (build-unicode-category-table): Fix range checks.
21260 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21262 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21263 the buffer we try to sync is current when calling
21266 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21267 not show up to date files.
21269 2009-07-24 Glenn Morris <rgm@gnu.org>
21271 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21272 Add autoload cookies. If necessary, initialize.
21273 (elint-log): Handle non-file buffers.
21274 (elint-initialize): Add optional argument to reinitialize.
21275 (elint-find-builtin-variables): Save excursion.
21277 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21279 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21282 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21284 * vc.el (vc-print-log-internal): New function, split out from ...
21285 (vc-print-log): ... here.
21286 (vc-dir-move-to-goal-column): Declare.
21288 * vc-git.el (vc-git-add-signoff): New variable.
21289 (vc-git-checkin): Use it.
21290 (vc-git-toggle-signoff): New function.
21291 (vc-git-extra-menu-map): Bind it to menu.
21292 (vc-git--run-command-string): Accept a nil FILE argument.
21293 (vc-git-stash-list): New function.
21294 (vc-git-dir-extra-headers): Use it.
21296 2009-07-23 Glenn Morris <rgm@gnu.org>
21298 * help-fns.el (describe-variable): Describe ignored and risky local
21299 variables in a similar way to that in which we describe safe ones.
21301 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21302 (byte-compile-output-file-form, byte-compile-output-docform)
21303 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21304 Give some more local variables with common names a "bytecomp-" prefix,
21305 so as not to shadow things during compilation.
21306 * emacs-lisp/cl-macs.el (load-time-value)
21307 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21308 `outbuffer' to `bytecomp-outbuffer'.
21310 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21311 since the next two variables cover them automatically now.
21312 (elint-builtin-variables, elint-autoloaded-variables): New.
21313 (elint-unknown-builtin-args): Remove all members, since they can be
21314 parsed automatically now.
21315 (elint-extra-errors): New.
21316 (elint-env-add-env, elint-env-add-macro): Use cadr.
21317 (elint-current-buffer): Use or. Change final message.
21318 (elint-get-top-forms): Use line-end-position.
21319 (elint-init-env): Use cadr. Handle autoload, declare-function,
21321 (elint-add-required-env): Doc fix. Use or. Standardize error.
21322 (regexp-assoc): Remove unused function.
21323 (elint-top-form): Set elint-current-pos, to record the start of the
21324 top-level form, for compilation-mode.
21325 (elint-form): Trap errors in macro expansion. Use dolist.
21326 (elint-unbound-variable): Use elint-builtin-variables and
21327 elint-autoloaded-variables.
21328 (elint-get-args): Use cadr, or.
21329 (elint-check-cond-form): Use dolist, cadr.
21330 (elint-check-condition-case-form): Doc fix. Use cadr.
21331 Use elint-extra-errors.
21332 (elint-log): New function.
21333 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21334 Distinguish errors and warnings.
21335 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21336 Use a bytecomp-style format.
21337 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21338 (elint-get-log-buffer): Use compilation mode. Disable undo.
21339 Don't truncate lines.
21340 (elint-initialize): Set builtin and autoloaded variable lists.
21341 Only process elint-unknown-builtin-args if non-nil.
21342 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21344 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21346 2009-07-22 Kevin Ryde <user42@zip.com.au>
21348 * net/newst-backend.el (newsticker--parse-atom-1.0)
21349 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21350 (newsticker--parse-rss-1.0):
21351 * progmodes/idlwave.el (idlwave-mode):
21352 * progmodes/idlw-shell.el (idlwave-shell-mode):
21353 * progmodes/vera-mode.el (vera-mode):
21354 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21355 * progmodes/vhdl-mode.el (vhdl-mode):
21356 * textmodes/table.el (table-generate-source)
21357 (table--warn-incompatibility):
21358 Hyperlink urls in docstrings with URL `...'.
21360 2009-07-22 Glenn Morris <rgm@gnu.org>
21362 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21363 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21364 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21365 Remove leading * from defcustom docs.
21367 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21369 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21371 (list-load-path-shadows): Optionally, just return shadows as a string.
21373 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21375 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21377 * mail/rmailedit.el (rmail-edit-mode):
21378 Use auto-save-include-big-deletions.
21380 * mail/rmail.el (rmail-variables):
21381 Use auto-save-include-big-deletions.
21383 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21386 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21388 * calc/calc.el (calc-undo-length): New variable.
21389 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21391 2009-07-21 Richard Stallman <rms@gnu.org>
21393 * files.el (auto-save-mode): Handle buffer-save-size = -2
21396 2009-07-21 Glenn Morris <rgm@gnu.org>
21398 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21400 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21402 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21403 silence compiler. Instead...
21404 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21405 (ps-print-ensure-fontified): Update for above function name changes.
21407 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21408 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21409 silence compiler. Instead...
21410 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21411 (mh-show-buffer): Only define for compiler.
21412 (pr-mh-current-message): Update for above function name changes.
21414 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21416 (find-file-noselect, insert-file-1): Update for above change.
21418 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21420 * mail/mailclient.el (mailclient-send-it): Fix message.
21422 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21423 (edebug-eval): Check cl-debug-env is bound.
21424 (print-level, print-circle): Don't redefine built-in variables.
21426 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21427 (custom-print-vectors): Remove old comments from doc.
21429 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21430 (emerge-version): Make the variable an obsolete alias for the
21431 emacs-version variable. Make the function obsolete.
21432 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21433 Emerge options, rather than merging in into the main Options menu.
21434 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21435 and auto advance modes. Disable edit/fast items when not relevant.
21437 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21439 * term/vt420.el (terminal-init-vt420): Fix typo.
21441 2009-07-20 Sam Steingold <sds@gnu.org>
21443 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21444 variable (removed from compile.el on 2004-03-11).
21446 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21448 * files.el (hack-local-variables-filter): Fix last change.
21450 2009-07-19 Juri Linkov <juri@jurta.org>
21452 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21453 (dir-local-variables-alist): New buffer-local variable.
21454 (hack-local-variables-filter): If variable is not dir-local,
21455 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21456 because file-local overrides dir-local.
21457 (c-postprocess-file-styles) <declare-function>:
21458 Remove obsolete declaration.
21459 (hack-dir-local-variables): Add dir-local variable/value pair to
21460 `dir-local-variables-alist' and remove duplicates. Doc fix.
21462 * help-fns.el (describe-variable): Add information about
21463 file-local and dir-local variables.
21465 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21467 * files.el (hack-local-variables-filter): Rewrite.
21469 2009-07-19 Glenn Morris <rgm@gnu.org>
21471 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21472 Silence compiler by only defining on XEmacs.
21474 * international/mule.el (auto-coding-regexp-alist): Only match
21475 BABYL... at the start of buffer, not of lines. (Bug#3790)
21477 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21478 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21479 (cal-menu-context-mouse-menu): Doc fix.
21481 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21483 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21485 2009-07-18 Juri Linkov <juri@jurta.org>
21487 * info.el: Virtual Info keyword finder.
21488 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21489 (Info-finder-file): New variable.
21490 (Info-finder-find-file): New function.
21491 (finder-known-keywords, finder-package-info)
21492 (find-library-name, lm-commentary): Use defvar and
21493 declare-function to silence compiler warnings.
21494 (Info-finder-find-node): New function.
21495 (info-finder): New command.
21497 * subr.el (process-kill-buffer-query-function): New function.
21498 (add-hook)<kill-buffer-query-functions>: Add hook
21499 `process-kill-buffer-query-function'.
21501 2009-07-18 Alan Mackenzie <acm@muc.de>
21503 * progmodes/cc-mode.el (c-before-hack-hook)
21504 (c-postprocess-file-styles): Give invocation of `c-set-style'
21505 DONT-OVERRIDE parameter of t. Already set style variables will
21506 thus not be overridden by style settings given by `c-file-syle'.
21508 * files.el (hack-local-variables-filter): Remove entries with
21509 duplicate keys from `file-local-variables-alist'.
21511 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21513 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21514 x-set-selection if display-selections-p returns nil for the
21517 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21519 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21521 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21523 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21524 Accept nil in addition to a regexp.
21525 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21526 Accept nil in addition to a regexp.
21527 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21528 buffers that have an associated file. Handle nil values of
21529 desktop-buffers-not-to-save and desktop-files-not-to-save.
21532 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21533 (x-disown-selection-internal): New functions.
21535 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21537 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21539 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21540 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21542 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21544 * simple.el (set-mark): Revert last change.
21546 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21548 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21549 rendering of pngs is not possible instead of messaging a long
21552 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21554 * w32-fns.el (x-selection-owner-p): New function.
21556 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21557 (mouse-yank-at-click, mouse-yank-primary):
21558 If select-active-regions is non-nil, deactivate the mark before
21561 * simple.el (deactivate-mark, set-mark): Only save selection if we
21564 2009-07-17 Kenichi Handa <handa@m17n.org>
21566 * case-table.el (describe-buffer-case-table): Fix for the case
21567 that KEY is a cons.
21569 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21571 * vc-rcs.el (vc-rcs-find-file-hook):
21572 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21574 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21576 * net/tramp.el (tramp-wait-for-output): Handle the case when
21577 commands do not return a newline but a null byte before the shell
21580 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21582 * term/ns-win.el (ns-set-alpha): Don't declare.
21583 (ns-set-background-alpha): Remove function.
21585 2009-07-16 Kevin Ryde <user42@zip.com.au>
21587 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21588 y-or-n-p, for safety.
21590 2009-07-16 Richard Stallman <rms@gnu.org>
21592 * files.el (auto-save-mode): If buffer-saved-size is -2,
21595 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21596 (rmail-retry-ignored-headers): Add more uninteresting fields.
21598 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21600 * net/rcirc.el (rcirc): Use history variables.
21601 (rcirc-server-name-history, rcirc-nick-name-history)
21602 (rcirc-server-port-history): New variables.
21604 2009-07-15 Kenichi Handa <handa@m17n.org>
21606 * international/mule-cmds.el (set-language-environment-charset):
21607 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21610 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21611 Delete unibyte-display.
21613 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21615 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21617 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21619 * simple.el (deactivate-mark): Optional argument FORCE.
21620 (set-mark): Use deactivate-mark.
21622 * info.el (Info-search): No need to check transient-mark-mode
21623 before calling deactivate-mark.
21625 * select.el (x-set-selection): Doc fix.
21626 (x-valid-simple-selection-p): Allow buffer values.
21627 (xselect--selection-bounds): Handle buffer values.
21628 Suggested by David De La Harpe Golden.
21630 * mouse.el (mouse-set-region, mouse-drag-track):
21631 Call copy-region-as-kill before setting the mark, to let
21632 select-active-regions work.
21634 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21636 * simple.el (deactivate-mark): If select-active-regions is
21637 non-nil, copy the selection data into a string.
21638 (activate-mark): If select-active-regions is non-nil, set the
21639 selection to the current buffer.
21640 (set-mark): Update selection if select-active-regions is non-nil.
21642 * select.el (x-valid-simple-selection-p): Allow buffer values.
21644 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21646 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21647 and more featureful message-mode.
21649 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21651 * select.el (x-set-selection): Doc fix.
21652 (x-valid-simple-selection-p): Disallow selection data consisting
21653 of a list or cons of integers, since that is not used.
21654 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21655 (xselect-convert-to-string, xselect-convert-to-length)
21656 (xselect-convert-to-filename, xselect-convert-to-charpos)
21657 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21659 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21661 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21662 output in -break-info command (Emacs bug #3794).
21664 2009-07-14 Glenn Morris <rgm@gnu.org>
21666 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21667 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21668 (edebug-print-length, edebug-print-level, edebug-print-circle)
21669 (edebug-sit-for-seconds, edebug-view-outside)
21670 (edebug-bounce-point, edebug-set-global-break-condition)
21671 (edebug-Go-nonstop-mode, edebug-trace-mode)
21672 (edebug-Trace-fast-mode, edebug-continue-mode)
21673 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21674 (edebug-visit-eval-list): Doc fixes.
21676 * subr.el (def-edebug-spec): Doc fix.
21678 2009-07-14 Kenichi Handa <handa@m17n.org>
21680 * international/characters.el: Fix setting of category ?C.
21682 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21684 * term/ns-win.el (x-select-font): defalias x-select-font to
21685 ns-popup-font-panel instead of generate-fontset-menu.
21687 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21689 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21691 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21693 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21694 the PK\003\004 header (Bug#3770).
21696 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21698 * pcomplete.el (pcomplete-comint-setup): Check for
21699 shell-dynamic-complete-filename too.
21701 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21703 * simple.el (temporary-goal-column): Change the value for
21704 line-move-visual to a cons cell.
21705 (line-move-visual): Record or set the window hscroll, if
21706 necessary (Bug#3494).
21707 (line-move-1): Handle cons value of temporary-goal-column.
21709 2009-07-11 Kenichi Handa <handa@m17n.org>
21711 * international/mule-diag.el (describe-character-set): Don't show
21714 2009-07-10 Sam Steingold <sds@gnu.org>
21716 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21717 Omake sometimes indents the errors it prints, so allow all
21718 regexps to start with spaces.
21720 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21722 * cus-edit.el (customize-changed-options-previous-release):
21723 Bump value to 22.1. (Bug#3804)
21725 2009-07-08 Sam Steingold <sds@gnu.org>
21727 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21728 to be a cons cell (test . ignored-directory) to selectively ignore
21729 some directories depending on the location of the search.
21731 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21733 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21734 remote user is root, on the local host.
21735 (tramp-local-host-p): Either the local user or the remote user
21736 must be root. (Bug#3771)
21738 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21740 * progmodes/gdb-mi.el (gdb): Remove description of
21741 gdb-use-separate-io-buffer.
21742 (menu): Don't allow toggling of or enable
21743 gdb-use-separate-io-buffer from menubar.
21745 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21747 * mail/unrmail.el (unrmail): Make sure the message ends with two
21748 newlines (Bug#3769).
21750 2009-07-08 Glenn Morris <rgm@gnu.org>
21752 * calendar/calendar.el (calendar-current-date): Rework previous change.
21754 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21756 * calendar/calendar.el (calendar-current-date):
21757 Add an optional argument giving an offset from today.
21759 2009-07-08 Glenn Morris <rgm@gnu.org>
21761 * tutorial.el (tutorial--describe-nonstandard-key):
21762 Adjust the message for when a key has been unbound.
21763 (help-with-tutorial): Hide the arch-tag.
21765 2009-07-08 Kenichi Handa <handa@m17n.org>
21767 * international/fontset.el (setup-default-fontset): For each
21768 script, append (not set) font-specs.
21770 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21773 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21775 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21776 -data-list-register-names to ...
21777 (gdb-starting): ... here because GDB 7.0 requires execution to
21778 have started when using this MI command.
21779 (gdb-set-header): New function to distinguish select and
21780 unselected tabs in gdb buffers.
21781 (gdb-propertize-header): New macro that uses gdb-set-header.
21782 (gdb-breakpoints-header, gdb-locals-header): Use it.
21783 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21785 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21787 * Makefile.in (ELCFILES): Remove fadr.elc.
21789 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21791 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21792 may contain frame information, so `string-match' should be used.
21793 (gdb-update): Disassembly is invalidated through
21794 `gdb-get-selected-frame'.
21795 (gdb-pad-string): New function to pad string with spaces.
21796 (gdb-invalidate-disassembly): Invalidate only if the buffer
21798 (gdb-disassembly-handler-custom): Column alignment.
21799 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21801 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21803 (gdb-frame-handler): Match convention to for disassembly buffer
21805 (gdb-stack-list-frames-handler): Rewritten without regexps.
21806 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21807 not highlight breakpoints without line information.
21808 (gdb-input): Add trailing newline to command.
21810 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21812 (gdb-breakpoints-list-handler-custom): Replacement for
21813 `gdb-break-list-handler'. Using real parser instead of regexps
21815 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21816 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21817 to place breakpoints.
21818 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21820 (gdb-disassembly-handler-custom): Show overlay arrow.
21821 (gdb-disassembly-place-breakpoints): Show breakpoints in
21822 disassembly buffer.
21823 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21824 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21825 instead of parsing breakpoints buffer. Fixed old menu references
21830 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21831 (gdb-memory-address): New variable which holds top address of
21832 memory page shown in memory buffer.
21833 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21834 New customization variables.
21836 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21837 display the memory buffer.
21838 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21839 buffer display parameters.
21840 (def-gdb-memory-format, gdb-memory-format-binary)
21841 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21842 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21843 Functions for setting memory buffer format.
21844 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21845 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21846 unit size used in memory buffer.
21847 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21848 Switch to next/previous page of memory buffer.
21849 Now using (bindat-get-field) instead of fadr functions.
21851 2009-07-07 Sam Steingold <sds@gnu.org>
21853 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21854 non-top-level files.
21856 2009-07-07 Kenichi Handa <handa@m17n.org>
21858 * international/mule-cmds.el (reset-language-environment):
21859 Put the highset priority to the charset iso-8859-1.
21861 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21863 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21864 to the end of the line when locating the block (Bug#700).
21866 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21868 * net/tramp.el (tramp-handle-write-region): Flush file properties
21869 in case of short track.
21871 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21873 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21874 Coded custom representation of verilog error regular expressions
21875 to work with Emacs-22's new format.
21876 (verilog-error-regexp-xemacs-alist): Coded custom representation
21877 of verilog error regular expressions to work with XEmacs format.
21878 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21879 error recognition into XEmacs.
21880 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21881 error recognition into Emacs-22.
21883 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21885 * woman.el: Remove stand-alone closing parentheses.
21886 (woman-file-name, woman2-format-paragraphs)
21887 (woman-leave-blank-lines): Code cleanup.
21888 (woman-use-own-frame): Change default to nil.
21889 (woman-italic, woman-bold, woman-unknown, woman-addition):
21890 Change defaults to inherit from default faces.
21891 (woman2-process-escapes): Consume the newline after a stand-alone
21892 filler character (Bug#3651).
21894 2009-07-06 Glenn Morris <rgm@gnu.org>
21896 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21897 (top-level): Move provide to the end.
21898 (ffap): Remove defunct URL from custom group.
21900 * subr.el (eval-after-load): Doc fix.
21902 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21904 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21905 `calc-embedded-word' is called twice.
21907 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21909 * files.el (find-alternate-file-other-window, find-alternate-file):
21910 Obey confirm-nonexistent-file-or-buffer.
21912 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21914 * dired-aux.el (dired-show-file-type): Handle remote files.
21916 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21918 * desktop.el (desktop-globals-to-save):
21919 Add file-name-history (Bug#2750).
21921 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21923 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21925 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21927 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21928 property on entire argument since this is what eshell-lisp-command
21931 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21933 * net/tramp-gvfs.el (tramp-gvfs-methods)
21934 (tramp-gvfs-zeroconf-domain)
21935 (tramp-bluez-discover-devices-timeout): Add version flag.
21936 (tramp-gvfs-handler-mounted-unmounted)
21937 (tramp-gvfs-connection-mounted-p): Polish handling of
21938 incompatibilities between GVFS 0.2 and 1.0.
21940 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21942 * cus-start.el (all): Add make-pointer-invisible.
21944 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21946 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21947 formatted correctly.
21949 2009-07-02 Juri Linkov <juri@jurta.org>
21951 * info.el: Virtual Info files and nodes.
21952 (Info-virtual-files, Info-virtual-nodes): New variables.
21953 (Info-current-node-virtual): New variable.
21954 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21956 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21957 to check for a virtual file instead of checking a fixed list
21959 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21960 instead of ad-hoc processing of "dir" and (apropos history toc).
21961 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21962 instead of ad-hoc processing of "dir" and (apropos history toc).
21963 Reread a file when moving from a virtual node.
21964 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21965 (Info-directory-toc-nodes, Info-directory-find-file)
21966 (Info-directory-find-node): New functions.
21967 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21968 (Info-history): Move part of code to
21969 `Info-history-find-node'.
21970 (Info-history-toc-nodes, Info-history-find-file)
21971 (Info-history-find-node): New functions.
21972 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21973 (Info-toc): Move part of code to `Info-toc-find-node'.
21974 (Info-toc-find-node): New function.
21975 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21976 the current Info file name to references because now the node
21977 "*TOC*" belongs to the same Info manual.
21978 (Info-toc-build): Rename from `Info-build-toc'.
21979 (Info-toc-nodes): Rename input argument `file' to `filename'.
21980 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21981 instead of ad-hoc processing of ("dir" apropos history toc).
21982 (Info-index-nodes): Use Info-virtual-file-p
21983 to check for a virtual file instead of checking a fixed list
21985 (Info-index-node): Add check for `Info-current-node-virtual'.
21986 Raise `save-match-data' higher up the tree to contain
21987 `search-forward' too (bug fix).
21988 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21989 (Info-virtual-index-nodes): New variable.
21990 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21991 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21992 (Info-apropos-file, Info-apropos-nodes): New variables.
21993 (Info-apropos-toc-nodes, Info-apropos-find-file)
21994 (Info-apropos-find-node, Info-apropos-matches): New functions.
21995 (info-apropos): Move part of code to `Info-apropos-find-node' and
21996 `Info-apropos-matches'.
21997 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21998 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21999 for a virtual file instead of checking a fixed list of node names.
22001 * simple.el (async-shell-command): New command.
22003 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22005 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22006 instead of `mount-info'.
22008 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22010 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22011 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22013 2009-07-02 Kenichi Handa <handa@m17n.org>
22015 * international/mule.el (set-keyboard-coding-system): Force *-unix
22016 coding-system to avoid eol conversion.
22018 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22021 Add handler for `process-file', `shell-command' and
22022 `start-file-process'.
22023 (tramp-gvfs-handle-shell-command)
22024 (tramp-gvfs-handle-start-file-process)
22025 (tramp-gvfs-handle-process-file): New defuns.
22026 (tramp-synce-list-devices): Simplify check for existence of property.
22028 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22030 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22032 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22034 * language/korean.el (set-language-info-alist): Add korean-cp949,
22037 2009-07-01 Kenichi Handa <handa@m17n.org>
22039 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22041 * international/encoded-kb.el: Deleted.
22043 * international/mule.el (set-keyboard-coding-system): Perform the
22044 necessary setup here instead of calling encoded-kbd-setup-display.
22046 2009-07-01 Glenn Morris <rgm@gnu.org>
22048 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22050 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22052 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22054 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22056 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22057 Handle also the 'rename case, when setting file modes. (Bug#3712)
22058 (tramp-default-file-modes): Remove execute permissions.
22060 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22061 (top): Add a default for "synce" in `tramp-default-user-alist'.
22062 Add completion function for "synce" method.
22063 (tramp-hal-service, tramp-hal-path-manager)
22064 (tramp-hal-interface-manager, tramp-hal-interface-device):
22066 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22067 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22070 * net/trampver.el: Update release number.
22072 2009-06-30 Kenichi Handa <handa@m17n.org>
22074 * international/fontset.el (setup-default-fontset): Add CJK fonts
22075 for symbols and the other miscellaneous characters.
22077 * language/korea-util.el (setup-korean-environment-internal):
22078 Make char-width-table suitable for Korean environments.
22079 (exit-korean-environment): Cancel above.
22081 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22082 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22083 setup-function to make char-width-table suitable for respective
22084 environments, and an exit-function to cancel that.
22086 * language/japan-util.el (setup-japanese-environment-internal):
22087 Call use-cjk-char-width-table with arg `ja_JP'.
22089 * international/characters.el (cjk-char-width-table): Delete it.
22090 (cjk-char-width-table-list): New variable.
22091 (use-cjk-char-width-table): New arg local-name.
22092 (use-default-char-width-table): Fix for the case that Emacs is
22093 already using the default char-width-table.
22095 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22097 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22098 modes mandatory. (Bug#3712)
22100 2009-06-29 Alan Mackenzie <acm@muc.de>
22102 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22103 correction between the visible width of TABs and their number of bytes.
22105 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22107 * server.el (server-buffer-done): Prevent kill-buffer from
22108 prompting by clearing the buffer modification flag (Bug#3696).
22110 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22112 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22113 (verilog-endcomment-reason-re): Support unique case and priority case.
22114 (verilog-basic-complete-re): Support localparam lineup.
22115 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22116 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22118 (verilog-leap-to-case-head): Now support *nested* unique &
22119 priority case statements.
22120 (verilog-auto-lineup): Make just declarations the default (as it
22122 (verilog-leap-to-case-head): Support priority/unique case statements.
22123 (verilog-auto-lineup): Rework to give users radio buttons to
22124 select the various styles of automatic lineup.
22125 (verilog-error-regexp-alist): Rework to support the XEmacs style
22126 of error regular expressions from compilers, lint tools &
22127 simulators. Note that GNU Emacs has made it impossible for a mode
22128 to load such things.
22129 (electric-verilog-terminate-line, verilog-indent-declaration)
22130 (verilog-auto-wiure): Rework for radio button selection of
22131 auto-lineup selection of specification of auto lineup.
22132 (verilog-beg-of-statement-1): Redesign to support proper operation
22133 in additional code, based on testing with auto-lineup.
22134 (verilog-calculate-indent, assignments & declarations)
22135 (verilog-backward-token): Enhance to support auto-lineup of
22136 assignments & declarations.
22137 (verilog-in-directive-p, verilog-at-struct-p): New function for
22138 easy test of whether we are.
22139 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22140 to support safe execution at almost anyline.
22141 (verilog-calc-1): Properly support indenting deep inside generate
22143 (verilog-init-font): Remove definition & use of verilog-init-font,
22144 as it is redundant with font-lock-defaults.
22145 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22146 to avoid circular calls if syntax-ppss is a function (as is the
22147 case now in 22.x GNU Emacs) as that function would sometimes call
22148 itself, leading to (nearly) infinite recursion.
22149 (verilog-ovm-begin-re, verilog-ovm-end-re)
22150 (verilog-ovm-statement-re, verilog-leap-to-head)
22151 (verilog-backward-token): Add support for OVM macros. Some are
22152 complete statements, and others open and close scopes like begin
22154 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22155 (verilog-defun-level-generate-only-re): Really fix the defun-list
22157 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22158 coverpoint, constraint and cross statements.
22159 (verilog-defun-level-list, verilog-generate-defun-level-list)
22160 (verilog-all-defun-level-list): Redo these specifications - it is
22161 too hard to support eval-when compile aggregation of lists also
22162 built at when-compile time.
22163 (verilog-defun-level-list): Place defconsts of variables used in
22164 building regular expressions which are built in eval-when-compile
22165 bodies in the same eval-when-compile body to facilitate compile
22167 (verilog-beg-block-re-ordered): Support indenting
22168 virtual/protected tasks and functions.
22169 (verilog-defun-level-list, verilog-in-generate-region-p)
22170 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22171 indentation of some module items (generate items).
22172 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22173 across virtual/protected tasks and functions.
22175 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22177 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22178 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22179 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22180 in concatenations. Reported by Yishay Belkind.
22181 (verilog-auto-ascii-enum): Support one-hot state machines in
22182 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22183 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22184 modport in AUTOINST and add vl-modport for users.
22185 Reported by David Rogoff.
22186 (verilog-auto-inout-module, verilog-auto-inst)
22187 (verilog-decls-get-interfaces, verilog-insert-definition)
22188 (verilog-insert-one-definition, verilog-read-decls)
22189 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22190 (verilog-sig-modport, verilog-signals-combine-bus)
22191 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22192 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22193 Suggested by David Rogoff.
22194 (verilog-repair-open-comma): Fix non-insertion of comma when
22195 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22196 (verilog-make-width-expression): Simplify [A-1:0] expression
22197 widths to just {A{1'b0}}.
22198 (verilog-mode): Cleanup checkdoc warnings.
22199 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22200 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22201 inputs/outputs or data type. Suggested by Vasu Kandadi.
22202 (next-error-last-buffer): Fix byte-compiler warning.
22203 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22204 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22205 or shell command text during AUTO expansion. Suggested by Tad Truex.
22206 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22207 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22208 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22209 in AUTOINOUT. Reported by Matthew Lovell.
22210 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22211 causing use of <= assignments. Reported by Alex Reed.
22212 (verilog-read-decls): Fix triand, trior, wand, wor to be
22213 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22214 (verilog-extended-complete-re): Support import "DPI-C" functions.
22215 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22216 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22217 (verilog-insert-date, verilog-insert-year)
22218 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22219 Windows systems. Reported by Michael Potts.
22220 (verilog-read-module-name): Fix AUTOINST when the child module
22221 declaration's name is a tick define. Reported by Elliot Mednick.
22222 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22223 passed to next parameter's definition. Reported by Bruce T.
22224 (verilog-read-decls): Fix detecting "parameter int" when using
22225 AUTOINSTPARAM. Reported by Bruce T.
22226 (verilog-goto-defun): Fix goto not finding modules unless first
22227 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22228 (verilog-mode): Expand -f flag arguments on entry to mode so
22229 verilog-goto-defun will work. Reported by Lawrence Butcher.
22230 (verilog-getopt): Expand environment variables in -f file
22231 arguments. Suggested by Lawrence Butcher.
22232 (verilog-set-define): Fix "Symbol's value as variable is void"
22233 when reading enumerations.
22234 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22235 Suggested by Stephen Peltan.
22236 (verilog-read-defines): Fix reading of enumerations in include
22237 files. Reported by Steve Peltan.
22239 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22241 * files.el (trash-directory): Fix defcustom type.
22243 2009-06-28 Juri Linkov <juri@jurta.org>
22245 * help-fns.el (describe-function-1): Correctly locate adviced
22246 functions in hyperlink (Bug#2438).
22248 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22250 * files.el (trash-directory): Change default to nil.
22251 (move-file-to-trash): If trash-directory is nil and
22252 system-move-file-to-trash is unbound, perform freedesktop-style
22255 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22257 * files.el (move-file-to-trash): Add freedesktop trash
22260 2009-06-28 Glenn Morris <rgm@gnu.org>
22262 * autorevert.el (global-auto-revert-non-file-buffers)
22263 (global-auto-revert-mode): Doc fixes.
22265 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22267 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22269 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22271 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22272 opened an X connection before calling x-get-resource (Bug#3194).
22274 * play/doctor.el: Remove reference to obsolete website.
22275 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22277 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22279 Remove find-file-not-found-hook VC method. (Bug#2757)
22280 * vc-hooks.el (vc-file-not-found-hook)
22281 (vc-default-find-file-not-found-hook): Remove functions.
22282 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22283 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22286 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22288 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22290 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22291 compatibility function for `looking-back'.
22293 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22294 Use `ispell-looking-back'.
22296 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22298 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22299 rather than `filename'.
22301 2009-06-23 Miles Bader <miles@gnu.org>
22303 * face-remap.el (text-scale-set): New function.
22305 2009-06-23 Glenn Morris <rgm@gnu.org>
22307 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22309 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22311 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22313 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22315 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22316 Simplify Persian conditionals.
22318 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22319 variable `filename'.
22321 * comint.el (comint-insert-input): Doc fix.
22323 * Makefile.in (ELCFILES): Fix typo in previous change.
22325 2009-06-23 Miles Bader <miles@gnu.org>
22327 * cus-start.el: Add entry for `recenter-redisplay'.
22329 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22331 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22332 Add an optional argument for the backend, use it instead of
22333 calling vc-backend.
22334 (vc-mode-line): Add an optional argument for the backend.
22335 Pass the backend to vc-state and vc-working-revision. Move code for
22336 special handling for vc-state being a buffer to ...
22338 * vc-rcs.el (vc-rcs-find-file-hook):
22339 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22341 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22342 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22343 vc-stay-local-p and vc-mode-line calls.
22345 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22346 (vc-cvs-diff, vc-cvs-annotate-command)
22347 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22348 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22349 vc-mode-line calls.
22351 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22353 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22354 backend when calling vc-mode-line.
22355 (vc-register): Do not create a closure for calling the vc register
22356 function, call it directly.
22358 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22360 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22361 to make it obvious item can be clicked.
22363 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22365 2009-06-23 Kenichi Handa <handa@m17n.org>
22367 * language/korea-util.el (korean-key-bindings): Change the binding
22368 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22371 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22373 Sync with Tramp 2.1.16.
22375 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22377 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22378 when a loading of a package fails. Completion function for rsync
22379 is `tramp-completion-function-alist-ssh'.
22380 (all): Replace all calls of `split-string' and
22381 `tramp-split-string' by `tramp-compat-split-string'.
22382 (tramp-default-method): Use `tramp-compat-process-running-p'.
22383 (tramp-default-proxies-alist): Allow also Lisp forms.
22384 (tramp-remote-path): Add choice "Private Directories".
22385 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22386 (tramp-domain-regexp): Allow also "-", "_" and ".".
22387 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22388 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22389 (tramp-debug-message): Insert header line in debug buffer.
22390 (tramp-handle-directory-files-and-attributes-with-stat):
22391 Care about filenames with spaces, or starting with "-".
22392 (tramp-handle-dired-uncache): New defun.
22393 (tramp-handle-insert-directory): Don't flush the directory from
22394 cache, this is handled by `dired-uncache' now.
22395 (tramp-handle-insert-file-contents): Improve error handling.
22396 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22397 Quote `tramp-end-of-output'.
22398 (tramp-action-password): Improve trace message.
22399 (tramp-check-for-regexp): Both echoes must be present, before removing.
22400 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22401 (tramp-compute-multi-hops): Eval cons cells of
22402 `tramp-default-proxies-alist'.
22403 (tramp-maybe-open-connection): Use the same command pattern for
22404 first hop and further hops.
22405 (tramp-wait-for-output): Remove handling of newlines.
22406 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22407 (tramp-split-string): Remove function. It is handled in
22410 * net/tramp-cmds.el (tramp-bug):
22411 Recommend `tramp-cleanup-all-connections' in the bug mail.
22413 * net/tramp-compat.el (tramp-compat-split-string)
22414 (tramp-compat-process-running-p): New defuns.
22416 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22417 for `dired-uncache'.
22419 * net/tramp-gvfs.el: New package.
22421 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22422 Add handler for `dired-uncache'.
22423 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22425 * net/trampver.el: Update release number. Make version check fit
22428 2009-06-22 Jim Meyering <meyering@redhat.com>
22430 Automatically handle .xz suffix (XZ-compressed files), too.
22431 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22432 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22434 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22435 Nick Roberts <nickrob@snap.net.nz>
22437 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22438 repository (http://sphinx.net.ru/hg/gdb-mi/).
22440 2009-06-22 Glenn Morris <rgm@gnu.org>
22442 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22443 `mode' and `eval' entries. (Bug#3430)
22445 * Makefile.in (ELCFILES): Add fadr.elc.
22447 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22448 differing behavior of \n and ^ in strings. (Bug#3385)
22450 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22452 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22454 (lisp-indent-function): Make it a defcustom.
22456 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22458 * progmodes/gdb-ui.el: Replace with ...
22459 * progmodes/gdb-mi.el: ... this file.
22460 * progmodes/gud.el: Modify for gdb-mi.el.
22462 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22464 * fadr.el: New file.
22466 See ChangeLog.14 for earlier changes.
22468 ;; Local Variables:
22472 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22474 This file is part of GNU Emacs.
22476 GNU Emacs is free software: you can redistribute it and/or modify
22477 it under the terms of the GNU General Public License as published by
22478 the Free Software Foundation, either version 3 of the License, or
22479 (at your option) any later version.
22481 GNU Emacs is distributed in the hope that it will be useful,
22482 but WITHOUT ANY WARRANTY; without even the implied warranty of
22483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22484 GNU General Public License for more details.
22486 You should have received a copy of the GNU General Public License
22487 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.