1 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7 2010-10-01 Glenn Morris <rgm@gnu.org>
9 * obsolete/sc.el: Remove file.
11 * files.el (temporary-file-directory): On darwin, also try
12 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
14 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
16 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
17 Let's not break compatibility gratuitously, shall we?
19 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21 * net/tls.el (tls-starttls-switches): New variable.
22 (tls-find-starttls-argument): Use it.
23 (open-tls-stream): Ditto.
25 * net/netrc.el (netrc-credentials): Return the value of the "default"
27 (netrc-machine): Ditto.
29 2010-09-30 Eli Zaretskii <eliz@gnu.org>
31 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
33 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
35 * server.el (server-start): Don't write pid to the authentication file.
36 (server-create-tty-frame): Don't send pid.
37 (server-process-filter): Send pid at the start of every connection.
39 2010-09-30 Glenn Morris <rgm@gnu.org>
41 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
42 (show-all-diary-entries): Remove obsolete function aliases.
44 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
45 Remove options, obsolete since 22.1.
46 (appt-display-format, appt-display-message): Remove
47 backwards-compatibility code.
48 (appt-check): No longer check appt-issue-message.
49 (appt-make-list): No longer autoload it. Doc fix. No longer
52 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
54 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
55 (starttls-negotiate): Just call boot, and let the handshake be
56 triggered from the read loop.
58 2010-09-29 Glenn Morris <rgm@gnu.org>
60 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
61 not displaying the diary.
62 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
63 * calendar/appt.el (appt-check): No longer need to kill diary.
65 * calendar/diary-lib.el (diary-list-entries): Move the
66 "Preparing..." message entirely here.
67 (diary-simple-display, diary-fancy-display): Move "Preparing..."
68 messages to diary-list-entries.
69 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
70 diary-display-function.
72 * calendar/diary-lib.el (diary-include-other-diary-files):
73 Trap some recursive includes.
75 * calendar/appt.el (appt-activate): Check diary file.
77 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
79 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
82 * calendar/time-date.el: No need to require cl for Emacs 21.
84 2010-09-28 Glenn Morris <rgm@gnu.org>
86 * calendar/appt.el (appt-check): Minor simplification.
88 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
90 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
93 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
95 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
96 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
98 2010-09-27 Kenichi Handa <handa@m17n.org>
100 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
103 2010-09-27 Kenichi Handa <handa@m17n.org>
105 * international/mule.el (define-coding-system): Docstring fixed.
107 * international/mule-diag.el (describe-character-set): Use princ
108 with proper print-length and print-level instead of insert.
110 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
112 * window.el (walk-windows): Doc fix (bug#7105).
114 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
116 * emacs-lisp/float-sup.el (e): Remove.
118 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
120 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
122 (starttls-negotiate): Use it.
124 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
126 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
129 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
131 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
133 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
135 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
137 * net/netrc.el (netrc-store-data): New function.
139 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
141 * net/gnutls.el: GnuTLS glue code to set up a connection.
143 2010-09-25 Julien Danjou <julien@danjou.info>
145 * notifications.el: Call dbus-register-signal only if it is bound.
147 2010-09-25 Glenn Morris <rgm@gnu.org>
149 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
150 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
151 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
152 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
153 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
154 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
155 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
156 * eshell/esh-util.el, eshell/esh-var.el:
157 Remove leading `*' from docs of faces and defcustoms.
159 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
161 * eshell/em-ls.el (eshell-ls-archive-regexp):
162 * eshell/esh-util.el (eshell-tar-regexp):
163 * ibuffer.el (ibuffer-compressed-file-name-regexp):
164 * info.el (Info-suffix-list):
165 * international/mule.el (auto-coding-alist):
166 * woman.el (woman-file-regexp, woman-file-compression-regexp):
167 * progmodes/etags.el (tags-compression-info-list):
168 Support xz compression.
170 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
172 * files.el (get-free-disk-space): Don't assume the "df" output
173 columns line up (Bug#6995).
175 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
177 * finder.el (finder-unknown-keywords):
178 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
179 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
181 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
183 * server.el (server-start): Revert part of 2010-08-08 change. Using
184 address 127.0.0.1 for local host is now done in Fmake_network_process.
186 2010-09-24 Glenn Morris <rgm@gnu.org>
188 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
189 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
190 * textmodes/css-mode.el, textmodes/dns-mode.el:
191 Move autoloaded auto-mode-alist entries to files.el.
192 * files.el (auto-mode-alist): Move entries here.
194 2010-09-23 Glenn Morris <rgm@gnu.org>
196 * isearch.el (isearch-lazy-highlight-cleanup)
197 (isearch-lazy-highlight-initial-delay)
198 (isearch-lazy-highlight-interval)
199 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
200 * net/net-utils.el (ipconfig-program-options):
201 Move aliases to options before the associated definitions.
203 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
205 * newcomment.el (comment-normalize-vars): Better test validity of
208 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
210 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
211 (float-e): New name for `e'.
212 (degrees-to-radians, radians-to-degrees):
213 * calendar/solar.el (solar-longitude):
214 * calculator.el (calculator-registers, calculator-funcall):
215 * textmodes/artist.el (artist-spray-random-points):
216 * play/bubbles.el (bubbles--initialize-images): Use new names.
218 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
220 Update to CEDET 1.0's version of EIEIO.
222 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
224 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
225 (eieio-default-eval-maybe): Eval val instead of unquoting only.
226 (class-precedence-list): If class is nil, return nil.
227 (eieio-generic-call): If class of first input arg is nil, don't
228 look up static methods, and do check for primary methods.
229 (initialize-instance): See if the default needs to be evaluated
230 during the constructor.
231 (eieio-perform-slot-validation-for-default): Don't do the check
232 for values that will eventually be evaluated.
233 (eieio-eval-default-p): New function.
234 (eieio-default-eval-maybe): Use it.
236 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
238 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
239 method-invocation-order.
240 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
241 (eieio-class-precedence-dfs): Compute class precedence list using
243 (eieio-class-precedence-bfs): Compute class precedence list using
245 (eieio-class-precedence-c3): Compute class precedence list using
247 (class-precedence-list): New function.
248 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
249 (inconsistent-class-hierarchy): New error symbol.
250 (call-next-method): Stow the replacement argument list for future
251 call-next-method invocations.
253 2010-09-23 Glenn Morris <rgm@gnu.org>
255 * calendar/appt.el (appt-check): If not displaying the diary,
256 use (diary 1) to only get the entries we need.
257 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
258 that it is in day order. (Bug#7019)
260 * calendar/appt.el (appt-check): Rather than showing the diary,
261 just turn off invisible display, and only if needed.
263 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
265 2010-09-23 Glenn Morris <rgm@gnu.org>
267 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
268 (byte-compile-defvar, byte-compile-cl-warn):
269 Start warnings with lower-case, like the majority.
271 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
273 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
275 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
276 * files.el (auto-mode-alist): Move ld-script entries here, further down
279 * vc/add-log.el: Don't require timezone when compiling.
280 (timezone-make-date-sortable): Autoload it.
281 (change-log-sortable-date-at): Don't require timezone.
284 * comint.el (comint-use-prompt-regexp-instead-of-fields):
285 Move alias before definition, so it does not need autoloading.
287 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
288 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
289 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
290 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
291 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
292 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
293 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
294 * textmodes/tex-mode.el, textmodes/two-column.el:
295 Remove leading `*' from docs of defcustoms etc.
297 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
299 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
301 2010-09-22 Dan Christensen <jdc@uwo.ca>
303 * calendar/time-date.el (date-to-time): Try using parse-time-string
304 first before using the slower timezone-make-date-arpa-standard.
306 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
308 * calendar/time-date.el (format-seconds): Comment fix.
310 2010-09-22 Glenn Morris <rgm@gnu.org>
312 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
313 is not automatically buffer-local.
315 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
317 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
318 (smie-indent-comment): Be more careful with comment-start-skip.
319 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
320 (smie-indent-functions): Use them.
322 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
324 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
326 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
328 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
329 tool-bar-position. Don't modify frame parameters here.
330 (menu-bar-options-save): Add tool-bar-position.
332 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
334 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
336 * textmodes/reftex-parse.el (reftex-what-macro)
337 (reftex-context-substring): Let-bind forward-sexp-function to nil
338 since we don't need/want to treat \begin...\end as a block (bug#7053).
340 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
342 * simple.el (blink-matching-open): Use syntax-class.
344 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
345 Set invisibility spec for pascal's outline mode.
346 (pascal-outline-change): Clean up calling convention.
347 (pascal-show-all, pascal-hide-other-defuns): Update callers.
349 * progmodes/prolog.el (prolog-smie-forward-token)
350 (prolog-smie-backward-token): New functions.
351 (prolog-mode-variables): Use them to parse "!," correctly.
352 Set up smie-blink-matching for ".".
354 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
356 (ispell-region, ispell-process-line): Update users.
358 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
361 * textmodes/ispell.el: Fix commenting convention.
362 (ispell-parse-output): Simplify, use push.
363 (ispell-region): Use match-string-no-properties.
364 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
365 (ispell-minor-mode): Use define-minor-mode.
366 (ispell-message): Remove unused var `skip-regexp'.
367 (ispell-add-per-file-word-list): Use dynamic let-binding.
368 Try and use the proper comment marker.
370 * mail/sendmail.el: Fix commenting convention.
371 (sendmail-send-it): Use line-beginning-position.
373 * help-fns.el (describe-variable): Add original value, if applicable.
375 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
377 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
379 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
381 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
384 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
385 (smie-prec2-levels): Use them to better diagnose precedence cycles.
386 (smie-blink-matching-check): Don't signal a mismatch if car is t.
387 (smie-blink-matching-open): Rewrite to remove assumptions, so that
388 something like "." can also be a closer.
389 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
390 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
391 Rename internal functions to use "--". Update callers.
393 * frame.el (make-frame-names-alist): Don't list frames on other displays.
395 * fringe.el (fringe-styles): New var.
396 (fringe-mode, fringe-query-style): Use it.
398 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
400 * progmodes/sql.el: Version 2.8
401 (sql-login-params): Update widget structure; changes still needed.
402 (sql-product-alist): Add :list-all and :list-table features for
403 SQLite, Postgres and MySQL products.
404 (sql-redirect): Handle default value.
405 (sql-execute, sql-execute-feature): New functions.
406 (sql-read-table-name): New function.
407 (sql-list-all, sql-list-table): New functions. User API.
408 (sql-mode-map, sql-interactive-mode-map): Add key definitions
410 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
412 (sql-postgres-login-params): Add user and database defaults.
413 (sql-buffer-live-p): Bug fix.
414 (sql-product-history): New variable.
415 (sql-read-product): New function. Use it.
416 (sql-set-product, sql-product-interactive): Use it.
417 (sql-connection-history): New variable.
418 (sql-read-connection): New function. Use it.
419 (sql-connect): New function.
420 (sql-for-each-login): Redesign function interface.
421 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
422 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
423 (sql-comint): Check for program. Existing live buffer.
424 (sql-comint-postgres): Add port parameter.
426 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
428 * emacs-lisp/warnings.el: Fix commenting convention.
429 (display-warning): Use special mode and make the buffer read-only.
431 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
433 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
434 empty string when it follows a repeated or optional pattern.
436 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
438 * indent.el (indent-according-to-mode): Apply syntax-propertize.
439 (indent-region): Use indent-according-to-mode.
441 2010-09-18 Eli Zaretskii <eliz@gnu.org>
443 * fringe.el (fringe-mode): Doc fix.
445 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
447 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
448 refreshing the preview buffer.
450 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
452 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
453 (latex-syntax-propertize-rules): New consts; replace
454 tex-font-lock-syntactic-keywords.
455 (tex-env-mark, latex-env-before-change): New functions.
456 (latex-electric-env-pair-mode): New minor mode.
457 (tex-font-lock-verb): Change arguments; do move point.
458 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
459 representation as a form of comment.
460 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
461 (doctex-syntax-propertize-rules): New const; replaces
462 doctex-font-lock-syntactic-keywords.
463 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
465 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
466 (fortran-make-syntax-propertize-function): New function; replaces
467 fortran-font-lock-syntactic-keywords.
468 (fortran-mode): Use it.
469 (fortran-line-length): Use it. Improve interactive spec.
471 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
472 (syntax-propertize-rules): Add var-ref case. Fix offset computation
473 when adding surrounding \(..\).
475 * progmodes/js.el (js-mode): Fix last change (bug#7054).
477 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
479 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
480 Use with-current-buffer.
482 * isearch.el (isearch-face): Rename from `isearch'.
483 (isearch-highlight): Use new name.
485 2010-09-17 Eli Zaretskii <eliz@gnu.org>
487 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
488 5, for `half' width fringes. (Bug#6933)
490 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
492 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
493 (byte-compile-defvar): "foo/bar" does not lack a prefix.
495 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
497 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
499 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
500 in calculating new frame position. Add more space between new and
501 parent on the left (Bug#7048).
503 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
505 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
508 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
510 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
512 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
513 obsolete alias for x-selection-value.
515 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
517 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
519 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
522 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
524 * net/tramp-compat.el (tramp-compat-with-temp-message)
525 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
526 (tramp-compat-process-put): New defuns.
528 * net/tramp.el (top):
529 * net/tramp-gvfs.el (top):
530 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
532 * net/tramp.el (tramp-progress-reporter-update):
533 Use `tramp-compat-funcall'.
535 * net/tramp.el (tramp-process-actions):
536 * net/tramp-gvfs.el (tramp-handle-vc-registered):
537 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
538 (tramp-get-remote-stat, tramp-get-remote-readlink):
539 Use `tramp-compat-with-temp-message'.
541 * net/tramp-sh.el (top): Require 'cl.
542 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
543 (tramp-open-connection-setup-interactive-shell):
544 Use `tramp-compat-process-put'.
546 2010-09-15 Alan Mackenzie <acm@muc.de>
548 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
550 (c-forward-<>-arglist-recur): Fix an infinite recursion.
552 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
554 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
555 `lexical' for warnings related to lexical scoping.
556 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
557 global vars which don't have a prefix and could hence affect lexical
558 scoping in unrelated files.
560 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
562 * net/imap.el: Revert back to version
563 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
566 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
568 * obsolete/old-whitespace.el (whitespace-unload-function):
569 Explicitly pass `obarray' to `unintern' to avoid a warning.
571 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
573 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
574 Add `when' argument. Update callers.
576 * subr.el (unintern): Declare the obarray arg mandatory.
578 2010-09-14 Glenn Morris <rgm@gnu.org>
580 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
583 * calendar/diary-lib.el (diary-included-files): New variable.
584 (diary-list-entries): Maybe initialize diary-included-files.
585 (diary-include-other-diary-files): Append to diary-included-files.
586 * calendar/appt.el (appt-update-list): Also check the members of
587 diary-included-files. (Bug#6999)
588 (appt-check): Doc fix.
590 2010-09-14 David Reitter <david.reitter@gmail.com>
592 * simple.el (line-move-visual): Do not truncate goal column to
593 integer size. (Bug#7020)
595 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
597 * repeat.el (repeat): Allow repeating when the last event is a click.
598 Suggested by Drew Adams (bug#6256).
600 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
602 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
603 Replace setting HGRCPATH to "" by some less invasive --config options.
605 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
607 * font-lock.el (font-lock-beginning-of-syntax-function):
610 2010-09-14 Glenn Morris <rgm@gnu.org>
612 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
613 and tool-bar modes. (Bug#6211)
614 (menu-bar-mode): Move setting of standard-value after the
615 minor-mode definition, otherwise it seems to have no effect.
617 2010-09-14 Masatake YAMATO <yamato@redhat.com>
619 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
622 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
624 * whitespace.el: Allow cleaning up blanks without blank
625 visualization (Bug#6651). Adjust help window for
626 whitespace-toggle-options (Bug#6479). Allow to use fill-column
627 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
628 (whitespace-style): Add new value 'face. Adjust docstring.
629 (whitespace-space, whitespace-hspace, whitespace-tab):
630 Adjust foreground property face.
631 (whitespace-line-column): Adjust docstring and type declaration.
632 (whitespace-style-value-list, whitespace-toggle-option-alist)
633 (whitespace-help-text): Adjust const initialization.
634 (whitespace-toggle-options, global-whitespace-toggle-options):
636 (whitespace-display-window, whitespace-interactive-char)
637 (whitespace-style-face-p, whitespace-color-on): Adjust code.
638 (whitespace-help-scroll): New fun.
640 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
642 * calendar/time-date.el (format-seconds): Comment fix.
644 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
646 * progmodes/sql.el: Version 2.7.
647 (sql-buffer-live-p): Improve detection.
648 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
649 (sql-set-sqli-buffer): Use it.
650 (sql-product-interactive): Run `sql-set-sqli-hook'.
651 (sql-rename-buffer): Code cleanup.
652 (sql-redirect, sql-redirect-value): New functions. More to come.
654 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
656 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.
657 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
658 (TRAMP_SRC): New macro.
659 ($(lisp)/net/tramp-loaddefs.el): New target.
661 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
663 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
665 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
667 * net/tramp.el (top): Don't show loading message. Require just
668 'tramp-compat, everything else is required there.
669 Use `ignore-errors' where appropriate.
670 (tramp-inline-compress-start-size, tramp-copy-size-limit)
671 (tramp-terminal-type, tramp-end-of-output)
672 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
673 (tramp-completion-function-alist-ssh)
674 (tramp-completion-function-alist-telnet)
675 (tramp-completion-function-alist-su)
676 (tramp-completion-function-alist-putty, tramp-remote-path)
677 (tramp-remote-process-environment, tramp-sh-extra-args)
678 (tramp-actions-before-shell, tramp-uudecode)
679 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
680 (tramp-perl-file-attributes)
681 (tramp-perl-directory-files-and-attributes)
682 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
683 (tramp-perl-encode, tramp-perl-decode)
684 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
685 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
686 (tramp-handle-make-symbolic-link, tramp-handle-load)
687 (tramp-handle-file-name-as-directory)
688 (tramp-handle-file-name-directory)
689 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
690 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
691 (tramp-do-file-attributes-with-ls)
692 (tramp-do-file-attributes-with-perl)
693 (tramp-do-file-attributes-with-stat)
694 (tramp-handle-set-visited-file-modtime)
695 (tramp-handle-verify-visited-file-modtime)
696 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
697 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
698 (tramp-handle-file-selinux-context)
699 (tramp-handle-set-file-selinux-context)
700 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
701 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
702 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
703 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
704 (tramp-handle-file-ownership-preserved-p)
705 (tramp-handle-directory-file-name, tramp-handle-directory-files)
706 (tramp-handle-directory-files-and-attributes)
707 (tramp-do-directory-files-and-attributes-with-perl)
708 (tramp-do-directory-files-and-attributes-with-stat)
709 (tramp-handle-file-name-all-completions)
710 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
711 (tramp-handle-copy-file, tramp-handle-copy-directory)
712 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
713 (tramp-do-copy-or-rename-file-via-buffer)
714 (tramp-do-copy-or-rename-file-directly)
715 (tramp-do-copy-or-rename-file-out-of-band)
716 (tramp-handle-make-directory, tramp-handle-delete-directory)
717 (tramp-handle-delete-file)
718 (tramp-handle-dired-recursive-delete-directory)
719 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
720 (tramp-handle-insert-directory)
721 (tramp-handle-unhandled-file-name-directory)
722 (tramp-handle-expand-file-name)
723 (tramp-handle-substitute-in-file-name)
724 (tramp-handle-executable-find, tramp-process-sentinel)
725 (tramp-handle-start-file-process, tramp-handle-process-file)
726 (tramp-handle-call-process-region, tramp-handle-shell-command)
727 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
728 (tramp-handle-insert-file-contents)
729 (tramp-handle-insert-file-contents-literally)
730 (tramp-handle-find-backup-file-name)
731 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
732 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
733 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
734 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
735 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
736 (tramp-find-file-exists-command, tramp-open-shell)
737 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
738 (tramp-open-connection-setup-interactive-shell)
739 (tramp-local-coding-commands, tramp-remote-coding-commands)
740 (tramp-find-inline-encoding, tramp-call-local-coding-command)
741 (tramp-inline-compress-commands, tramp-find-inline-compress)
742 (tramp-compute-multi-hops, tramp-maybe-open-connection)
743 (tramp-send-command, tramp-wait-for-output)
744 (tramp-send-command-and-check, tramp-barf-unless-okay)
745 (tramp-send-command-and-read, tramp-mode-string-to-int)
746 (tramp-convert-file-attributes, tramp-check-cached-permissions)
747 (tramp-file-mode-from-int, tramp-file-mode-permissions)
748 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
749 (tramp-method-out-of-band-p, tramp-local-host-p)
750 (tramp-get-remote-path, tramp-get-remote-tmpdir)
751 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
752 (tramp-get-test-command, tramp-get-test-nt-command)
753 (tramp-get-file-exists-command, tramp-get-remote-ln)
754 (tramp-get-remote-perl, tramp-get-remote-stat)
755 (tramp-get-remote-readlink, tramp-get-remote-trash)
756 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
757 (tramp-get-local-uid, tramp-get-local-gid)
758 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
760 (tramp-methods, tramp-default-method-alist)
761 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
762 Move initialization to tramp-sh.el.
763 (tramp-temp-name-prefix): Make it a defconst.
764 (tramp-dissect-file-name): Don't check anymore for multi-hop
766 (tramp-debug-outline-regexp): Add a docstring.
767 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
768 (tramp-get-debug-buffer): Use it.
770 * net/tramp-cache.el (top): Set tramp-autoload cookie for
771 initialization forms.
772 (tramp-set-connection-property): Don't protect `tramp-message'
773 call, it isn't necessary any longer.
774 (tramp-dump-connection-properties): Use `ignore-errors'.
776 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
777 'password-cache and 'auth-source.
779 * net/tramp-gvfs.el (top):
780 * net/tramp-smb.el (top): Require 'tramp-sh.
782 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
784 * net/tramp-sh.el: New file, derived from tramp.el.
785 (top): Initialize `tramp-methods', `tramp-default-method-alist',
786 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
787 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
788 Use `ignore-errors' where appropriate.
789 (tramp-sh-file-name-handler-alist): Rename from
790 `tramp-file-name-handler-alist'.
791 (tramp-send-command-and-check): Return t or nil. Remove all
792 `zerop' checks, where called.
793 (tramp-handle-set-file-modes)
794 (tramp-do-copy-or-rename-file-directly)
795 (tramp-handle-delete-directory, tramp-handle-delete-file)
796 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
797 (tramp-sh-file-name-handler, tramp-send-command-and-check)
798 (tramp-get-remote-ln): Set tramp-autoload cookie.
800 * net/tramp-fish.el: Remove file.
802 2010-09-13 Daiki Ueno <ueno@unixuser.org>
804 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
805 buffer-file-name to avoid file-locking. (Bug#7026)
807 2010-09-13 Julien Danjou <julien@danjou.info>
809 * notifications.el (notifications-notify): Add support for
810 image-path and sound-name.
811 (notifications-specification-version): Add this variable.
813 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
815 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
817 2010-09-12 Leo <sdl.web@gmail.com>
819 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
820 (rcirc-completion-start): New variables.
821 (rcirc-nick-completions): Rename to rcirc-completions.
822 (rcirc-nick-completion-start-offset): Delete.
823 (rcirc-completion-at-point): New function for constructing
824 completion data for both nicks and irc commands. Add to
825 completion-at-point-functions in rcirc mode.
826 (rcirc-complete): Rename from rcirc-nick-complete; use
827 rcirc-completion-at-point.
828 (defun-rcirc-command): Update rcirc-client-commands.
830 2010-09-11 Glenn Morris <rgm@gnu.org>
832 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
833 atomically, to avoid parallel build errors. (Bug#4196)
835 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
837 * progmodes/sql.el: Version 2.6
838 (sql-dialect): Synonym for "sql-product".
839 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
840 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
841 Set "sql-buffer" to buffer name not buffer object so multiple sql
842 interactive buffers work properly. Reverts misguided changes in
844 (sql-comint): Make sure different buffer name is used if "*SQL*"
845 buffer is for a different product.
846 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
848 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
849 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
850 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
851 Accept new buffer name or prompt for one.
852 (sql-port): Default to zero.
853 (sql-comint-mysql): Handle "sql-port" as a numeric.
854 (sql-port-history): Delete unused variable.
855 (sql-get-login): Default "sql-port" to a number.
856 (sql-product-alist): Correct Postgres prompt and terminator regexp.
857 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
858 "sqlite3" executables.
859 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
860 (sql-buffer-live-p): New function.
861 (sql-mode-menu, sql-send-string): Use it.
862 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
864 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
865 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
867 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
869 * net/netrc.el (netrc-credentials): New convenience function.
871 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
873 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
874 to replace texinfo-font-lock-syntactic-keywords.
875 (texinfo-mode): Use it.
877 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
878 Use syntax-propertize-function.
880 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
881 replace sgml-font-lock-syntactic-keywords.
884 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
885 since we don't use it.
887 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
889 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
891 (vhdl-fontify-buffer): Adjust.
893 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
894 replace tcl-font-lock-syntactic-keywords.
897 * progmodes/simula.el (simula-syntax-propertize-function): New var to
898 replace simula-font-lock-syntactic-keywords.
899 (simula-mode): Use it.
901 * progmodes/sh-script.el (sh-st-symbol): Remove.
902 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
903 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
904 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
905 (sh-font-lock-paren): Set syntax-multiline.
906 (sh-font-lock-syntactic-keywords): Remove.
907 (sh-syntax-propertize-function): New function to replace it.
910 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
911 Define while compiling.
912 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
913 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
914 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
915 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
916 (ruby-here-doc-end-syntax): Only define when
917 syntax-propertize is not available.
918 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
920 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
921 (electric-indent-chars): Silence bytecompiler.
922 (ruby-mode): Use prog-mode, syntax-propertize-function, and
923 electric-indent-chars.
925 * progmodes/python.el (python-syntax-propertize-function): New var to
926 replace python-font-lock-syntactic-keywords.
927 (python-mode): Use it.
928 (python-quote-syntax): Simplify and adjust to new use.
930 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
931 replace perl-font-lock-syntactic-keywords.
932 (perl-syntax-propertize-special-constructs): New fun to replace
933 perl-font-lock-special-syntactic-constructs.
934 (perl-font-lock-syntactic-face-function): New fun.
937 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
938 to replace octave-font-lock-close-quotes.
939 (octave-syntax-propertize-function): New function to replace
940 octave-font-lock-syntactic-keywords.
941 (octave-mode): Use it.
943 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
944 replaces mixal-font-lock-syntactic-keywords.
945 (mixal-mode): Use it.
947 * progmodes/make-mode.el (makefile-syntax-propertize-function):
948 New var; replaces makefile-font-lock-syntactic-keywords.
949 (makefile-mode): Use it.
950 (makefile-imake-mode): Adjust.
952 * progmodes/js.el (js--regexp-literal): Define while compiling.
953 (js-syntax-propertize-function): New var; replaces
954 js-font-lock-syntactic-keywords.
957 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
958 replaces gdb-script-font-lock-syntactic-keywords.
959 (gdb-script-mode): Use it.
961 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
962 (fortran--font-lock-syntactic-keywords): New var.
963 (fortran-line-length): Update syntax-propertize-function and
964 fortran--font-lock-syntactic-keywords.
966 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
968 * progmodes/cfengine.el (cfengine-mode):
969 Use syntax-propertize-function.
970 (cfengine-font-lock-syntactic-keywords): Remove.
972 * progmodes/autoconf.el (autoconf-mode):
973 Use syntax-propertize-function.
974 (autoconf-font-lock-syntactic-keywords): Remove.
976 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
977 (ada-after-change-function, ada-initialize-syntax-table-properties)
978 (ada-handle-syntax-table-properties): Only define when
979 syntax-propertize is not available.
980 (ada-mode): Use syntax-propertize-function.
982 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
983 (font-lock-fontify-syntactic-keywords-region): Move handling of
984 font-lock-syntactically-fontified to...
985 (font-lock-default-fontify-region): ...here.
986 Let syntax-propertize-function take precedence.
987 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
989 * emacs-lisp/syntax.el (syntax-propertize-function)
990 (syntax-propertize-chunk-size, syntax-propertize--done)
991 (syntax-propertize-extend-region-functions): New vars.
992 (syntax-propertize-wholelines, syntax-propertize-multiline)
993 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
994 (syntax-propertize): New functions.
995 (syntax-propertize-rules): New macro.
996 (syntax-ppss-flush-cache): Set syntax-propertize--done.
997 (syntax-ppss): Call syntax-propertize.
999 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1001 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
1003 * textmodes/ispell.el (ispell-init-process): Improve comments.
1004 XEmacs compatibility changes regarding (add-hook) 'local option
1005 and (set-process-query-on-exit-flag).
1007 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
1009 * net/tramp-cache.el (tramp-parse-connection-properties):
1010 Set tramp-autoload cookie.
1012 2010-09-09 Glenn Morris <rgm@gnu.org>
1014 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1015 (imagemagick-register-types): Doc fix.
1017 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1019 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1021 * progmodes/js.el (require): Require is already "eval-and-compile".
1022 (js--re-search-forward): Avoid `eval'. Preserve the error data.
1023 (js--re-search-backward): Use js--re-search-forward.
1025 * progmodes/fortran.el (fortran-line-length): Don't recompute
1026 syntactic keywords redundantly a second time.
1028 * progmodes/ada-mode.el: Replace "(set '" with setq.
1029 (ada-mode): Simplify.
1030 (ada-create-case-exception, ada-adjust-case-interactive)
1031 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1032 (ada-search-ignore-string-comment, ada-move-to-start)
1033 (ada-move-to-end): Use with-syntax-table.
1035 * font-lock.el (save-buffer-state): Remove `varlist' arg.
1036 (font-lock-unfontify-region, font-lock-default-fontify-region):
1037 Update usage correspondingly.
1038 (font-lock-fontify-syntactic-keywords-region):
1039 Set parse-sexp-lookup-properties buffer-locally here.
1040 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1042 * simple.el (blink-matching-open): Don't burp if we can't find a match.
1044 2010-09-08 Glenn Morris <rgm@gnu.org>
1046 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1047 Error if not compiled with -DBYTE_CODE_METER.
1049 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1050 Ignore dir-locals-file.
1052 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1056 (compilation-error-regexp-alist-alist): Rule out ": " in file names
1057 for the `gnu' messages.
1058 (compilation-set-skip-threshold): New command.
1059 (compilation-start): Use \' rather than $.
1060 (compilation-forget-errors): Use clrhash.
1062 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
1064 * textmodes/ispell.el (ispell-valid-dictionary-list):
1067 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
1069 Migrate to Tramp 2.2. Rearrange load dependencies.
1070 (Bug#1529, Bug#5448, Bug#5705)
1072 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1073 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1074 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1076 * net/tramp.el (top): Remove all other tramp-* loads except
1077 tramp-compat.el. Remove all changes to tramp-unload-hook for
1078 other tramp-* packages. Rearrange defun order. Change calls of
1079 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1080 `tramp-compat-octal-to-decimal' to new function names.
1081 (tramp-terminal-type, tramp-initial-end-of-output)
1082 (tramp-methods, tramp-foreign-file-name-handler-alist)
1083 (tramp-tramp-file-p, tramp-completion-mode-p)
1084 (tramp-send-command-and-check, tramp-get-remote-path)
1085 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1086 (tramp-shell-quote-argument): Set tramp-autoload cookie.
1087 (with-file-property, with-connection-property): Move to
1089 (tramp-local-call-process, tramp-decimal-to-octal)
1090 (tramp-octal-to-decimal): Move to tramp-compat.el.
1091 (tramp-handle-shell-command): Do not require 'shell.
1092 (tramp-compute-multi-hops): No special handling for tramp-gw-*
1094 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1096 * net/tramp-cache.el (top): Require 'tramp. Add to
1097 `tramp-unload-hook'.
1098 (tramp-cache-data, tramp-get-file-property)
1099 (tramp-set-file-property, tramp-flush-file-property)
1100 (tramp-flush-directory-property, tramp-get-connection-property)
1101 (tramp-set-connection-property, tramp-flush-connection-property)
1102 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1104 (with-file-property, with-connection-property): New defuns, moved
1106 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1109 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1110 (tramp-version): Set tramp-autoload cookie.
1112 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
1113 changes to tramp-unload-hook for other tramp-* packages. Add to
1114 `tramp-unload-hook'.
1115 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1116 (tramp-compat-call-process): New defuns, moved from tramp.el.
1118 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
1119 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1120 to `tramp-unload-hook'. Change call of
1121 `tramp-compat-decimal-to-octal' to new function name.
1122 (tramp-fish-method): Make it a defconst.
1123 (tramp-fish-file-name-p): Make it a defsubst.
1124 (tramp-fish-method, tramp-fish-file-name-handler)
1125 (tramp-fish-file-name-p): Set tramp-autoload cookie.
1127 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1128 `tramp-foreign-file-name-handler-alist'. Add to
1129 `tramp-unload-hook'.
1130 (tramp-ftp-method): Make it a defconst.
1131 (tramp-ftp-file-name-p): Make it a defsubst.
1132 (tramp-ftp-method, tramp-ftp-file-name-handler)
1133 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1135 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1136 `tramp-foreign-file-name-handler-alist'. Add to
1137 `tramp-unload-hook'. Change checks, whether package can be
1139 (tramp-gvfs-file-name-p): Make it a defsubst.
1140 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1141 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1142 (tramp-gvfs-handle-file-directory-p): New defun.
1143 (tramp-gvfs-file-name-handler-alist): Use it.
1145 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1146 `tramp-foreign-file-name-handler-alist'. Add to
1147 `tramp-unload-hook'.
1148 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1149 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1151 (tramp-gw-tunnel-method, tramp-gw-socks-method)
1152 (tramp-gw-open-connection): Set tramp-autoload cookie.
1154 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
1155 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1156 to `tramp-unload-hook'. Change checks, whether package can be
1158 (tramp-imap-file-name-p): Make it a defsubst.
1159 (tramp-imap-method, tramp-imaps-method)
1160 (tramp-imap-file-name-handler)
1161 (tramp-imap-file-name-p): Set tramp-autoload cookie.
1163 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
1164 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1165 to `tramp-unload-hook'. Change checks, whether package can be
1166 loaded. Change call of `tramp-compat-decimal-to-octal' to new
1168 (tramp-smb-tunnel-method): Make it a defconst.
1169 (tramp-smb-file-name-p): Make it a defsubst.
1170 (tramp-smb-method, tramp-smb-file-name-handler)
1171 (tramp-smb-file-name-p): Set tramp-autoload cookie.
1173 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1174 (tramp-uuencode-region): Set tramp-autoload cookie.
1176 * net/trampver.el (top) Add to `tramp-unload-hook'.
1177 (tramp-version, tramp-bug-report-address): Set tramp-autoload
1178 cookie. Update release number.
1180 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
1182 * textmodes/ispell.el (ispell-start-process): Make sure original
1183 arg list is properly initialized (Bug#6993, Bug#6994).
1185 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1187 * files.el (directory-abbrev-alist): Use \` as default regexp.
1189 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1190 chars like - or ] (bug#6984).
1191 (rx-any-condense-range): Explode 2-char ranges.
1193 2010-09-06 Glenn Morris <rgm@gnu.org>
1195 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1197 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * textmodes/bibtex.el:
1200 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1202 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1204 * net/imap.el (imap-message-map): Remove optional buffer parameter,
1205 since no callers use it.
1206 (imap-message-get): Ditto.
1207 (imap-message-put): Ditto.
1208 (imap-mailbox-map): Ditto.
1209 (imap-mailbox-put): Ditto.
1210 (imap-mailbox-get): Ditto.
1211 (imap-mailbox-get): Revert last change for this function.
1213 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1215 * net/imap.el (imap-fetch-safe): Remove function, and alter all
1216 callers to use `imap-fetch' instead. According to the comments, this
1217 should be safe, since all other IMAP clients use the 1:* syntax.
1218 (imap-enable-exchange-bug-workaround): Remove.
1219 (imap-debug): Remove -- doesn't seem very useful.
1221 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1223 * net/imap.el (imap-log): New convenience function used throughout
1224 instead of repeating the same code all over the place.
1226 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
1228 * mouse.el (mouse-save-then-kill): Save region to kill-ring
1229 when mouse-drag-copy-region is non-nil (Bug#6956).
1231 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
1233 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1234 Improve regexps (Bug#6987).
1235 (dired-sort-toggle): Search more robustly for -t flag.
1237 * files.el (get-free-disk-space): Search more robustly for
1238 "available" column. Suggested by Ehud Karni
1239 <ehud@unix.mvs.co.il>.
1241 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
1243 * international/uni-bidi.el:
1244 * international/uni-category.el:
1245 * international/uni-combining.el:
1246 * international/uni-decimal.el:
1247 * international/uni-mirrored.el:
1248 * international/uni-name.el: Regenerate.
1250 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * electric.el (electric-indent-post-self-insert-function):
1253 Don't reindent with a sloppy indentation function.
1255 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1256 border case in change-log-mode.
1258 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
1260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1261 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1262 Recognize leading tab in gcc-include regexp. Ignore names with
1263 leading "from" or "in" in gnu regexp (Bug#6937).
1265 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1267 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1268 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1269 (ispell-start-process): Avoid setq and simplify logic.
1270 (ispell-init-process): Setup kill-buffer-hook locally when needed.
1271 (kill-buffer-hook): Don't use it globally with code that uses
1272 expand-file-name since that may call kill-buffer via
1273 code_conversion_restore.
1275 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
1277 * emacs-lisp/package.el (package-directory-list): Only call
1278 file-name-nondirectory on a string.
1280 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1282 * emacs-lisp/package.el (package--download-one-archive):
1283 Ensure that archive-contents is valid before saving it.
1284 (package-activate-1, package-mark-obsolete, define-package)
1285 (package-compute-transaction, package-list-maybe-add): Use push.
1287 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1289 Use SMIE's blink-paren for octave-mode.
1290 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1291 Backslashes do not escape single-quotes, single-quotes do.
1292 (octave-block-else-regexp, octave-block-end-regexp)
1293 (octave-block-match-alist): Remove.
1294 (octave-smie-bnf-table): New var, with old content.
1295 (octave-smie-op-levels): Use it.
1296 (octave-smie-closer-alist): New var.
1297 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
1298 (octave-blink-matching-block-open): Remove.
1299 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1300 (octave-electric-space): Let self-insert-command run expand-abbrev and
1303 * electric.el (electricity): New group.
1304 (electric-indent-chars): New var.
1305 (electric-indent-post-self-insert-function): New fun.
1306 (electric-indent-mode): New minor mode.
1307 (electric-pair-skip-self): New custom.
1308 (electric-pair-post-self-insert-function): New function.
1309 (electric-pair-mode): New minor mode.
1311 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1312 calcAlg-blink-matching-open.
1313 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1314 (calc-do-alg-entry): Only touch the part of the keymap that varies.
1315 Use the new blink-matching-check-function.
1317 Provide blink-matching support to SMIE.
1318 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1319 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1320 (smie-blink-matching-check, smie-blink-matching-open): New functions.
1322 * simple.el (newline): Fix last change to properly remove itself from
1325 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * simple.el (newline): Eliminate optimization.
1328 Use post-self-insert-hook to set hard-newline and things before
1329 running post-self-insert-hook.
1330 (blink-matching-check-mismatch): New function.
1331 (blink-matching-check-function): New variable.
1332 (blink-matching-open): Use them.
1333 Skip back forward over prefix chars skipped by forward-sexp.
1334 Don't check if the parens are backslash escaped.
1335 (blink-paren-post-self-insert-function): Check backslash escaping here.
1337 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1339 * emacs-lisp/package.el (package-menu-mode-map):
1340 Change package-menu-revert bindings to revert-buffer.
1341 (package-menu-mode): Set revert-buffer-function.
1342 (package-menu-revert): Doc fix.
1344 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
1346 * textmodes/ispell.el (ispell-init-process): Use "~/" as
1347 `default-directory' unless using Ispell per-directory personal
1348 dictionaries and not in a mini-buffer under XEmacs.
1349 (kill-buffer-hook): Do not kill ispell process on exit when
1350 `ispell-process-directory' is "~/". (Bug#6143)
1352 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
1354 * simple.el (kill-new): Call interprogram-cut-function with only
1357 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1358 Remove cut buffer from error message.
1360 * term/x-win.el (x-select-text):
1361 * term/pc-win.el (x-selection-value):
1362 * term/ns-win.el (x-selection-value):
1363 * eshell/em-term.el:
1364 * w32-fns.el (x-get-selection-value):
1365 * mouse-sel.el (mouse-sel-set-selection-function):
1366 * frame.el (display-selections-p): Remove cut-buffer in documentation.
1368 * term/x-win.el: Update documentation for x-last-selected-text-*.
1369 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1370 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1371 (x-select-text): Remove argument PUSH, update documentation. Remove
1373 (x-selection-value-internal): Was previously x-selection-value.
1374 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1375 Update documentation, remove cut-buffer code. Call
1376 x-selection-value-internal.
1377 (x-clipboard-yank): Call x-selection-value-internal.
1378 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1380 * term/pc-win.el (x-last-selected-text):
1381 x-cut-buffer-or-selection-value renamed to x-selection-value
1382 (x-select-text): Remove argument PUSH, update documentation.
1384 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1385 x-cut-buffer-or-selection-value renamed to x-selection-value
1386 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1387 (x-select-text): Remove argument PUSH, update documentation.
1389 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1391 * w32-fns.el (x-last-selected-text):
1392 x-cut-buffer-or-selection-value renamed to x-selection-value.
1393 (x-cut-buffer-max): Remove.
1394 (x-select-text): Remove argument PUSH, update documentation.
1396 * simple.el (interprogram-cut-function): Remove mention of PUSH.
1398 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1400 * mouse-sel.el (mouse-sel-get-selection-function):
1401 x-cut-buffer-or-selection-value renamed to x-selection-value.
1402 (x-select-text): Remove optional push.
1404 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * simple.el (blink-paren-function): Move from C to here.
1407 (blink-paren-post-self-insert-function): New function.
1408 (post-self-insert-hook): Use it.
1410 * emacs-lisp/pcase.el (pcase-split-memq):
1411 Fix overenthusiastic optimisation.
1412 (pcase-u1): Handle the case of a lambda pred.
1414 2010-08-31 Kenichi Handa <handa@m17n.org>
1416 * international/mule-cmds.el (standard-display-european-internal):
1417 Setup standard-display-table for 8-bit characters by storing 8-bit
1418 characters in the element vector.
1420 * disp-table.el (standard-display-8bit):
1421 Setup standard-display-table for 8-bit characters by storing 8-bit
1422 characters in the element vector.
1423 (standard-display-european): Likewise.
1425 2010-08-31 Masatake YAMATO <yamato@redhat.com>
1427 * textmodes/nroff-mode.el (nroff-view): New command.
1428 (nroff-mode-map): Bind it to C-c C-c.
1430 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * emacs-lisp/smie.el (smie-down-list): New command.
1434 Remove old indentation and navigation code on octave-mode.
1435 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1436 smie-down-list rather than add a binding for octave-down-block.
1437 (octave-mark-block, octave-blink-matching-block-open):
1438 Rely on forward-sexp-function.
1439 (octave-fill-paragraph): Don't narrow, so you can use
1440 indent-according-to-mode.
1441 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1442 (octave-in-block-p, octave-re-search-forward-kw)
1443 (octave-re-search-backward-kw, octave-indent-calculate)
1444 (octave-end-as-array-index-p, octave-block-end-offset)
1445 (octave-scan-blocks, octave-forward-block, octave-backward-block)
1446 (octave-down-block, octave-backward-up-block, octave-up-block)
1447 (octave-before-magic-comment-p, octave-indent-line): Remove.
1449 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
1451 * emacs-lisp/package.el (package--read-archive-file): Just use
1452 `read', to avoid copying an additional string.
1453 (package-menu-mode): Set header-line-format here.
1454 (package-menu-refresh, package-menu-revert): Signal an error if
1455 not in the Package Menu.
1456 (package-menu-package-list): New var.
1457 (package--generate-package-list): Operate on the current buffer;
1458 don't assume that it is *Packages*, since the user may rename it.
1459 Allow persistent package listings and sort keys using
1460 package-menu-package-list and package-menu-package-sort-key.
1461 (package-menu--version-predicate): Fix version calculation.
1462 (package-menu-sort-by-column): Don't select the window.
1463 (package--list-packages): Create the *Packages* buffer.
1464 Set package-menu-package-list-key.
1465 (list-packages): Sorting by status is now the default.
1466 (package-buffer-info): Use match-string-no-properties.
1467 (define-package): Add a &rest argument for future proofing, but
1469 (package-install-from-buffer, package-install-buffer-internal):
1470 Merge into a single function, package-install-from-buffer.
1471 (package-install-file): Change caller.
1473 * finder.el: Load finder-inf using `require'.
1474 (finder-list-matches): Sorting by status is now the default.
1475 (finder-compile-keywords): Simpify printing.
1477 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1480 (octave-mode-map): Remove special bindings for forward/backward-block
1481 and octave-backward-up-block. Use smie-close-block.
1482 (octave-continuation-marker-regexp): New var.
1483 (octave-continuation-regexp): Use it.
1484 (octave-operator-table, octave-smie-op-levels)
1485 (octave-operator-regexp, octave-smie-indent-rules): New vars.
1486 (octave-smie-backward-token, octave-smie-forward-token): New funs.
1487 (octave-mode): Use SMIE.
1488 (octave-close-block): Delete.
1490 2010-08-30 Eli Zaretskii <eliz@gnu.org>
1492 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1493 CLIPBOARD, not in PRIMARY. (Bug#6944)
1495 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1499 (smie-indent-column): Allow indirection through variables.
1501 * composite.el (save-buffer-state): Delete, unused.
1502 * font-lock.el (save-buffer-state): Use with-silent-modifications.
1503 (font-lock-default-fontify-region): Use with-syntax-table.
1504 * jit-lock.el (with-buffer-unmodified): Remove.
1505 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1507 Use `declare' in defmacros.
1508 * window.el (save-selected-window):
1509 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1510 * progmodes/python.el (def-python-skeleton):
1511 * net/dbus.el (dbus-ignore-errors):
1512 * jka-cmpr-hook.el (with-auto-compression-mode):
1513 * international/mule.el (with-category-table):
1514 * emacs-lisp/timer.el (with-timeout):
1515 * emacs-lisp/lisp-mnt.el (lm-with-file):
1516 * emacs-lisp/eieio.el (with-slots):
1517 * emacs-lisp/easymenu.el (easy-menu-define):
1518 * emacs-lisp/debug.el (debugger-env-macro):
1519 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1520 (Multiple-value-call, Multiple-value-prog1):
1521 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1522 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1523 edebug rule to definition.
1524 * emacs-lisp/lisp-mode.el (save-selected-window)
1525 (with-current-buffer, combine-after-change-calls)
1526 (with-output-to-string, with-temp-file, with-temp-buffer)
1527 (with-temp-message, with-syntax-table, read-if, eval-after-load)
1528 (dolist, dotimes, when, unless):
1529 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1531 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1533 * finder.el: Require `package'.
1534 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
1535 (finder-package-info): Var deleted.
1536 (finder-keywords-hash, finder--builtins-alist): New vars.
1537 (finder-compile-keywords): Compute package--builtins and
1538 finder-keywords-hash instead of finder-keywords-hash, respecting
1539 the "Package" header.
1540 (finder-unknown-keywords, finder-list-matches):
1541 Use finder-keywords-hash and package--list-packages.
1542 (finder-mode): Don't set font-lock-defaults.
1543 (finder-exit): We don't use "*Finder-package*" and "*Finder
1544 Category*" buffers anymore.
1546 * emacs-lisp/package.el (package--builtins-base): Var deleted.
1547 (package--builtins): Set default value to nil.
1548 (package-initialize): Load precomputed value of package--builtins
1550 (package-alist, package-compute-transaction)
1551 (package-download-transaction): Improve docstring.
1552 (package-read-all-archive-contents): Do not change
1553 package--builtins here.
1554 (list-packages): Make package-list-packages an alias for this.
1555 Sort by status by default.
1556 (package--list-packages): Add optional PACKAGES arg.
1557 (describe-package-1): Use font-lock-face property. For built-in
1558 packages, insert file commentary.
1559 (package--generate-package-list): Rename from
1560 package-list-packages-internal; all callers changed. Add optional
1561 PACKAGES arg. Add alphabetical sort fallbacks.
1562 (package-menu--version-predicate, package-menu--status-predicate)
1563 (package-menu--description-predicate)
1564 (package-menu--name-predicate): New functions.
1566 * info.el (Info-finder-find-node): Search package-alist instead of
1567 finder-package-info.
1569 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1571 * subr.el (version-regexp-alist): Don't use "a" and "b" for
1573 (version-to-list): Handle versions like "10.3d".
1575 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1578 (macroexp-accumulate): Use `declare'.
1580 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1582 * whitespace.el (whitespace-style): Adjust type declaration.
1584 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
1586 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1587 empty argument to gvfs-copy.
1589 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1591 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1592 handle new TRASH arg of `delete-file'.
1594 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
1596 * net/tramp.el (tramp-handle-insert-directory): Don't use
1597 `forward-word', its default syntax could be changed.
1599 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1600 Michael Albinus <michael.albinus@gmx.de>
1602 Implement compression for inline methods.
1604 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1605 (tramp-copy-size-limit): Allow also nil.
1606 (tramp-inline-compress-commands): New defconst.
1607 (tramp-find-inline-compress, tramp-get-inline-compress)
1608 (tramp-get-inline-coding): New defuns.
1609 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1610 replaced by `tramp-get-inline-coding'.
1611 (tramp-handle-file-local-copy, tramp-handle-write-region)
1612 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1614 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
1616 Detect ssh 'ControlMaster' argument automatically in some cases.
1618 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1619 (tramp-default-method): Use it.
1621 2010-08-26 Karel Klíč <kklic@redhat.com>
1623 * net/tramp.el (tramp-file-name-for-operation):
1624 Add file-selinux-context.
1626 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
1628 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1630 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1632 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1635 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
1637 * progmodes/js.el: Make indentation more customizable (Bug#6914).
1638 (js-paren-indent-offset, js-square-indent-offset)
1639 (js-curly-indent-offset): New options.
1640 (js--proper-indentation): Use them.
1642 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
1644 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1645 instead of inspecting font-lock properties (Bug#6916).
1647 2010-08-26 David Reitter <david.reitter@gmail.com>
1649 * server.el (server-visit-files): Run pre-command-hook and
1650 post-command-hook for each buffer while it is current (Bug#6910).
1651 (server-execute): Do not run hooks here.
1653 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
1655 Sync with Tramp 2.1.19.
1657 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1658 (tramp-reporter-dump-variable, tramp-load-report-modules)
1659 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1660 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1662 * net/tramp-compat.el (top): Do not autoload
1663 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
1664 only when `start-file-process' is not bound.
1665 (byte-compile-not-obsolete-vars): Define if not bound.
1666 (tramp-compat-funcall): New defmacro.
1667 (tramp-compat-line-beginning-position)
1668 (tramp-compat-line-end-position)
1669 (tramp-compat-temporary-file-directory)
1670 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1671 (tramp-compat-copy-file, tramp-compat-copy-directory)
1672 (tramp-compat-delete-file, tramp-compat-delete-directory)
1673 (tramp-compat-number-sequence, tramp-compat-process-running-p):
1675 (tramp-advice-file-expand-wildcards): Do not use
1676 `tramp-handle-file-remote-p'.
1677 (tramp-compat-make-temp-file): Simplify fallback implementation.
1678 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1679 (tramp-compat-copy-tree): Remove function.
1680 (tramp-compat-delete-file): New defun.
1681 (tramp-compat-delete-directory): Provide implementation for older
1683 (tramp-compat-file-attributes): Handle only
1684 `wrong-number-of-arguments' error.
1686 * net/tramp-fish.el (tramp-fish-handle-copy-file):
1687 Add PRESERVE_SELINUX_CONTEXT.
1688 (tramp-fish-handle-delete-file): Add TRASH arg.
1689 (tramp-fish-handle-directory-files-and-attributes):
1690 Do not use `tramp-fish-handle-file-attributes.
1691 (tramp-fish-handle-file-local-copy)
1692 (tramp-fish-handle-insert-file-contents)
1693 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1695 * net/tramp-gvfs.el (top): Require url-util.
1696 (tramp-gvfs-mount-point): Remove.
1697 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1698 and `set-file-selinux-context'.
1699 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1700 (tramp-gvfs-handle-file-selinux-context)
1701 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1702 (with-tramp-dbus-call-method): Format trace message.
1703 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1704 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1705 Implement backup call, when operation on local files fails.
1706 Use progress reporter. Flush properties of changed files.
1707 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
1708 `tramp-compat-delete-file'.
1709 (tramp-gvfs-handle-expand-file-name): Expand "~/".
1710 (tramp-gvfs-handle-make-directory): Make more traces.
1711 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1712 (tramp-gvfs-url-file-name): Hexify file name in url.
1713 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1714 into account for the resulting file name.
1715 (tramp-gvfs-handler-askquestion): Preserve current message, in
1716 order to let progress reporter continue afterwards. (Bug#6257)
1717 Return dummy mountpoint, when the answer is "no".
1718 See `tramp-gvfs-maybe-open-connection'.
1719 (tramp-gvfs-handler-mounted-unmounted)
1720 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1721 attribute "default_location". Set "prefix" property.
1722 Handle default-location.
1723 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1724 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1725 exists. Raise an error, if not (due to a corresponding answer
1726 "no" in interactive questions, for example).
1727 Use `tramp-compat-funcall'.
1729 * net/tramp-imap.el (top): Autoload `epg-make-context'.
1730 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1731 (tramp-imap-do-copy-or-rename-file)
1732 (tramp-imap-handle-insert-file-contents)
1733 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1734 (tramp-imap-handle-delete-file): Add TRASH arg.
1736 * net/tramp-smb.el (tramp-smb-handle-copy-file):
1737 Add PRESERVE-SELINUX-CONTEXT.
1738 (tramp-smb-handle-copy-file)
1739 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1740 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1741 Use `with-progress-reporter'.
1742 (tramp-smb-handle-delete-file): Add TRASH arg.
1744 * net/tramp.el (tramp-methods): Move hostname to the end in all
1745 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
1747 (tramp-verbose): Describe verbose level 9.
1748 (tramp-completion-function-alist)
1749 (tramp-file-name-regexp, tramp-chunksize)
1750 (tramp-local-coding-commands, tramp-remote-coding-commands)
1751 (with-connection-property, tramp-completion-mode-p)
1752 (tramp-action-process-alive, tramp-action-out-of-band)
1753 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1754 (tramp-exists-file-name-handler): Fix docstring.
1755 (tramp-remote-process-environment): Use `format' instead of
1756 `concat'. Protect version string by apostroph.
1757 (tramp-shell-prompt-pattern): Do not use a shy group in case of
1759 (tramp-file-name-regexp-unified)
1760 (tramp-completion-file-name-regexp-unified): On W32 systems, do
1761 not regard the volume letter as remote filename. (Bug#5447)
1762 (tramp-perl-file-attributes)
1763 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1764 (tramp-vc-registered-read-file-names): Read input as
1765 here-document, otherwise the command could exceed maximum length
1767 (tramp-file-name-handler-alist): Add `file-selinux-context' and
1768 `set-file-selinux-context'.
1769 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1770 backtrace functions.
1771 (tramp-error-with-buffer): Don't show the connection buffer when
1772 we are in completion mode.
1773 (tramp-progress-reporter-update, tramp-remote-selinux-p)
1774 (tramp-handle-file-selinux-context)
1775 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1776 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1778 (with-progress-reporter): New defmacro.
1779 (tramp-debug-outline-regexp): New defconst.
1780 (top, tramp-rfn-eshadow-setup-minibuffer)
1781 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1782 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1783 (tramp-completion-mode-p, tramp-check-for-regexp)
1784 (tramp-open-connection-setup-interactive-shell)
1785 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1786 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1787 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1788 Use `tramp-compat-funcall'.
1789 (tramp-handle-make-symbolic-link): Flush file properties.
1790 (tramp-handle-load, tramp-handle-file-local-copy)
1791 (tramp-handle-insert-file-contents, tramp-handle-write-region)
1792 (tramp-handle-vc-registered, tramp-maybe-send-script)
1793 (tramp-find-shell): Use `with-progress-reporter'.
1794 (tramp-do-file-attributes-with-stat): Add space in format string,
1795 in order to work around a bug in pdksh. Reported by Gilles Pion
1797 (tramp-handle-verify-visited-file-modtime): Do not send a command
1798 when the connection is not established.
1799 (tramp-handle-set-file-times): Simplify the check for utc.
1800 (tramp-handle-directory-files-and-attributes)
1801 (tramp-get-remote-path): Use `copy-tree'.
1802 (tramp-completion-handle-file-name-all-completions): Ensure, that
1803 non remote files are still checked. Oops.
1804 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1805 Handle PRESERVE-SELINUX-CONTEXT.
1806 (tramp-do-copy-or-rename-file): Add progress reporter.
1807 (tramp-do-copy-or-rename-file-directly): Do not use
1808 `tramp-handle-file-remote-p'.
1809 (tramp-do-copy-or-rename-file-out-of-band):
1810 Use `tramp-compat-delete-directory'.
1811 (tramp-do-copy-or-rename-file-out-of-band)
1812 (tramp-compute-multi-hops, tramp-maybe-open-connection):
1813 Use `format-spec-make'.
1814 (tramp-handle-delete-file): Add TRASH arg.
1815 (tramp-handle-dired-uncache): Flush directory cache, not only file
1817 (tramp-handle-expand-file-name)
1818 (tramp-completion-handle-file-name-all-completions)
1819 (tramp-completion-handle-file-name-completion):
1820 Use `tramp-connectable-p'.
1821 (tramp-handle-start-file-process): Set connection property "vec".
1822 Use it, in order to invalidate file caches. Check only for
1823 `remote-tty' process property.
1824 Implement tty setting. (Bug#4604, Bug#6360)
1825 (tramp-file-name-for-operation): Add `call-process-region' and
1826 `set-file-selinux-context'.
1827 (tramp-find-foreign-file-name-handler)
1828 (tramp-advice-make-auto-save-file-name)
1829 (tramp-set-auto-save-file-modes): Remove superfluous check for
1830 `stringp'. This is done inside `tramp-tramp-file-p'.
1831 (tramp-file-name-handler): Trace 'quit. Catch the error for some
1832 operations when we are in completion mode. This gives the user
1833 the chance to correct the file name in the minibuffer.
1834 (tramp-completion-mode-p): Use `non-essential'.
1835 (tramp-handle-file-name-all-completions): Backward/ XEmacs
1836 compatibility: Use `completion-ignore-case' if
1837 `read-file-name-completion-ignore-case' does not exist.
1838 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1839 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1841 (tramp-action-password): Hide password prompt before next run.
1842 (tramp-process-actions): Widen connection buffer for the trace.
1843 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1844 process property. Trace stty settings if `tramp-verbose' >= 9.
1845 Apply workaround for IRIX64 bug. Move argument of last
1846 `tramp-send-command' where it belongs to.
1847 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1848 front of `login-args'.
1849 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1850 on "/dev/null" instead of "/".
1851 (tramp-get-ls-command-with-dired): Make test for "--dired"
1853 (tramp-set-auto-save-file-modes): Adapt version check.
1854 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1855 (tramp-handle-process-file): Call the program in a subshell, in
1856 order to preserve working directory.
1857 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1858 `tramp-remote-sh' from `tramp-methods'.
1859 (tramp-get-ls-command): Make test for "--color=never" stronger.
1860 (tramp-check-for-regexp): Use (forward-line 1).
1862 * net/trampver.el: Update release number.
1864 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1866 * help.el (help-map): Bind `C-h P' to describe-package.
1868 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1870 * emacs-lisp/package.el (package-refresh-contents): Catch errors
1871 when downloading archives.
1872 (describe-package-1): Add package commentary.
1873 (package-install-button-action): New function.
1874 (package-menu-mode-map): Bind ? to package-menu-describe-package.
1875 (package-menu-view-commentary): Function removed.
1876 (package-list-packages-internal): Hide the `package' package too.
1878 2010-08-25 Kenichi Handa <handa@m17n.org>
1880 * language/misc-lang.el ("Arabic"): New language environment.
1881 Setup composition-function-table for Arabic characters.
1883 * international/fontset.el (setup-default-fontset): Fix typo for
1884 arabic OTF spec (fini->fina).
1886 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
1888 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1891 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1893 * whitespace.el: Allow cleaning up blanks without blank
1894 visualization (Bug#6651). Adjust help window for
1895 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1896 instead of whitespace-line-column (from EmacsWiki). New version
1898 (whitespace-style): Added new value 'face. Adjust docstring.
1899 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1900 foreground property face.
1901 (whitespace-line-column): Adjust docstring and type declaration.
1902 (whitespace-style-value-list, whitespace-toggle-option-alist)
1903 (whitespace-help-text): Adjust const initialization.
1904 (whitespace-toggle-options, global-whitespace-toggle-options):
1906 (whitespace-display-window, whitespace-interactive-char)
1907 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1908 (whitespace-help-scroll): New fun.
1910 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1912 * emacs-lisp/package.el (list-packages): Alias for
1913 package-list-packages.
1915 2010-08-24 Kevin Ryde <user42@zip.com.au>
1917 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
1920 * progmodes/ruby-mode.el (ruby): Add defgroup.
1922 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1924 * progmodes/python.el: Add Ipython support (Bug#5390).
1925 (python-shell-prompt-alist)
1926 (python-shell-continuation-prompt-alist): New options.
1927 (python--set-prompt-regexp): New function.
1928 (inferior-python-mode, run-python, python-shell): Require
1929 ansi-color. Use python--set-prompt-regexp to set the comint
1930 prompt based on the Python interpreter.
1931 (python--prompt-regexp): New var.
1932 (python-check-comint-prompt)
1933 (python-comint-output-filter-function): Use it.
1934 (run-python): Use a pipe (Bug#5694).
1936 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
1938 * progmodes/python.el (python-send-region): Send a different
1939 Python command if Ipython is in use.
1940 (python-check-version): Use a Python command to find the version.
1942 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1944 * mouse.el (mouse-yank-primary): Avoid setting primary when
1945 deactivating the mark (Bug#6872).
1947 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
1949 * progmodes/python.el (python-block-pairs): Allow use of "finally"
1950 with "else" (Bug#3991).
1952 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
1954 * net/dbus.el: Accept UNIX domain sockets as bus address.
1955 (top): Don't initialize `dbus-registered-objects-table' anymore,
1956 this is done in dbusbind,c.
1957 (dbus-check-event): Adapt test for bus.
1958 (dbus-return-values-table, dbus-unregister-service)
1959 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
1962 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
1964 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
1966 2010-08-22 Juri Linkov <juri@jurta.org>
1968 * simple.el (read-extended-command): New function with the logic
1969 for `completing-read' moved to Elisp from `execute-extended-command'.
1970 Use `function-called-at-point' in `minibuffer-default-add-function'
1971 to get a command name for M-n (bug#5364, bug#5214).
1973 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1975 * startup.el (command-line-1): Issue warning for ignored arguments
1976 --unibyte, etc (Bug#6886).
1978 2010-08-22 Leo <sdl.web@gmail.com>
1980 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
1981 (ignore, bright, dim, keyword): Split list of nicknames before
1982 passing to rcirc-add-or-remove (Bug#6894).
1984 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1986 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
1988 2010-08-22 Leo <sdl.web@gmail.com>
1990 Fix buffer-list rename&refresh after killing a buffer in ido.
1991 * ido.el: Revert Óscar's.
1992 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
1993 Remember the buffers at head, rather than their name.
1994 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
1996 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
1997 Stefan Monnier <monnier@iro.umontreal.ca>
1999 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2000 extra backslash added to each line (bug#6890).
2002 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * subr.el (read-key): Don't echo keystrokes (bug#6883).
2006 2010-08-22 Glenn Morris <rgm@gnu.org>
2008 * menu-bar.el (menu-bar-games-menu): Add landmark.
2010 2010-08-22 Glenn Morris <rgm@gnu.org>
2012 * align.el (align-regexp): Make group and spacing arguments
2013 use the interactive defaults when non-interactive. (Bug#6698)
2015 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2016 expansion, so as not to need sendmail.
2017 (mail-text-start): Remove declaration.
2018 (rmail-retry-failure): Require sendmail.
2020 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2022 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2024 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
2026 * progmodes/flymake.el (flymake-start-syntax-check-process):
2027 Use `start-file-process' in order to let it run also on remote hosts.
2029 2010-08-22 Kenichi Handa <handa@m17n.org>
2031 * files.el: Add `word-wrap' as safe local variable.
2033 2010-08-22 Glenn Morris <rgm@gnu.org>
2035 * woman.el (woman-translate): Case matters. (Bug#6849)
2037 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2039 * simple.el (kill-region): Doc fix (Bug#6787).
2041 2010-08-22 Glenn Morris <rgm@gnu.org>
2043 * calendar/diary-lib.el (diary-header-line-format):
2044 Fit it to the window, not the frame.
2046 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
2048 * subr.el (ignore-errors): Add debug declaration.
2050 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
2052 * whitespace.el (whitespace-color-off): Remove post-command-hook
2055 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2059 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2061 * cus-edit.el (custom-group-value-create): Add extra newline
2062 before end line (Bug#6876).
2064 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2066 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2067 when extending it. Before killing on the second click, check if
2068 the buffer is the correct one. Doc fix.
2069 (mouse-secondary-save-then-kill): Allow usage without first
2070 calling mouse-start-secondary, by defaulting to point. Don't save
2071 an empty secondary selection. Doc fix.
2073 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2075 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
2076 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2078 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2079 Adjust initialization.
2080 (whitespace-bob-marker, whitespace-eob-marker)
2081 (whitespace-buffer-changed): New vars.
2082 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2083 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2084 (whitespace-post-command-hook, whitespace-display-char-on):
2086 (whitespace-looking-back, whitespace-buffer-changed): New funs.
2087 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2089 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2091 * files.el (locate-file-completion-table): Only list the .el and .elc
2092 extensions if there's no other choice (bug#5955).
2094 * facemenu.el (facemenu-self-insert-data): New var.
2095 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2097 (facemenu-add-face): Use them.
2099 * simple.el (blink-matching-open): Obey forward-sexp-function.
2101 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * simple.el (prog-mode-map): New var.
2104 (prog-indent-sexp): New command.
2106 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2108 * progmodes/prolog.el (smie): Require.
2110 * emacs-lisp/smie.el (smie-default-backward-token)
2111 (smie-default-forward-token): Strip properties.
2112 (smie-next-sexp): Be more careful with associative operators.
2113 (smie-forward-sexp-command): Generalize.
2114 (smie-backward-sexp-command): Simplify.
2115 (smie-closer-alist): New var.
2116 (smie-close-block): New command.
2117 (smie-indent-debug-log): New var.
2118 (smie-indent-offset-rule): Add a few more cases.
2119 (smie-indent-column): New function.
2120 (smie-indent-after-keyword): Use it.
2121 (smie-indent-keyword): Use it.
2122 Fix up the opener code's point position.
2123 (smie-indent-comment): Only applies at BOL.
2124 (smie-indent-debug): New command.
2126 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2127 declarations that are useful before running the macro.
2129 2010-08-18 Joakim Verona <joakim@verona.se>
2131 * image.el (imagemagick-types-inhibit): New variable.
2132 (imagemagick-register-types): New function.
2133 * image-mode.el (image-transform-properties): New function.
2134 (image-transform-set-scale, image-transform-fit-to-height)
2135 (image-transform-set-rotation, image-transform-set-resize)
2136 (image-transform-fit-to-width, image-transform-fit-to-height):
2138 (image-toggle-display-image): Support image transforms.
2140 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
2142 * image.el (create-animated-image): Don't add heuristic mask to image
2145 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
2147 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2148 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2150 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2154 Font-lock '...' strings, plus various simplifications and fixes.
2155 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2156 (octave-font-lock-close-quotes): New function.
2157 (octave-font-lock-syntactic-keywords): New var.
2158 (octave-mode): Use it. Set beginning-of-defun-function.
2159 (octave-mode-map): Don't override the <foo>-defun commands.
2160 (octave-mode-menu): Pass it directly to easy-menu-define;
2161 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2162 (octave-block-match-alist): Fix up last change so that
2163 octave-close-block uses the more specific keyword.
2164 (info-lookup-mode): Silence byte-compiler.
2165 (octave-beginning-of-defun): Not interactive any more.
2167 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2168 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2169 (octave-completion-at-point-function): Make sure point is within
2171 (octave-reindent-then-newline-and-indent):
2172 Use reindent-then-newline-and-indent.
2173 (octave-add-octave-menu): Remove.
2175 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
2177 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2178 (report-emacs-bug-can-use-xdg-email): New functions.
2179 (report-emacs-bug): Set can-xdg-email to result of
2180 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
2181 \C-cm to report-emacs-bug-insert-to-mailer and add help text
2184 * net/browse-url.el (browse-url-default-browser): Add cond
2185 for browse-url-xdg-open.
2186 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2188 2010-08-17 Glenn Morris <rgm@gnu.org>
2190 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2191 (c-fontify-recorded-types-and-refs): Define for compiler.
2192 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2195 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2198 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
2200 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2202 (tramp-handle-process-file): Call the program in a subshell, in
2203 order to preserve working directory.
2204 (tramp-action-password): Hide password prompt before next run.
2205 (tramp-process-actions): Widen connection buffer for the trace.
2207 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2209 * net/rcirc.el (rcirc-log-process-buffers): New option.
2210 (rcirc-print): Use it.
2211 (rcirc-generate-log-filename): New function.
2212 (rcirc-log-filename-function): Change default to
2213 rcirc-generate-log-filename (Bug#6828).
2215 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2217 * simple.el (deactivate-mark): If select-active-regions is `only',
2218 only set selection for temporarily active regions.
2220 * cus-start.el: Change defcustom for select-active-regions.
2222 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2224 * mouse.el (mouse--drag-set-mark-and-point): New function.
2225 (mouse-drag-track): Use LOCATION arg to push-mark.
2226 Use mouse--drag-set-mark-and-point to take click-count into
2227 consideration when updating point and mark (Bug#6840).
2229 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2231 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2232 Give the Ruby rule a lower priority than Gnu (Bug#6778).
2234 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
2236 * font-lock.el (lisp-font-lock-keywords-2):
2237 Add combine-after-change-calls, condition-case-no-debug,
2238 with-demoted-errors, and with-silent-modifications (Bug#6025).
2240 2010-08-14 Kevin Ryde <user42@zip.com.au>
2242 * emacs-lisp/copyright.el (copyright-update-year)
2243 (copyright-update): Temporary switch-to-buffer to ensure the
2244 buffer change being queried is visible (Bug#5394).
2246 2010-08-14 Tom Tromey <tromey@redhat.com>
2248 * progmodes/etags.el (tags-file-name): Mark safe if stringp
2251 2010-08-14 Eli Zaretskii <eliz@gnu.org>
2253 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2256 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
2258 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2259 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2260 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2261 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2262 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2263 Call menu-bar-set-tool-bar-position.
2265 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2268 comment style (bug#6834).
2269 * progmodes/scheme.el (scheme-mode-syntax-table):
2270 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2271 "b" flag in "' 14b" syntax.
2273 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2274 for (un)commenting the region and performing completion.
2275 (octave-mode-menu): Use standard commands for help and completion.
2276 (octave-mode-syntax-table): Support %{..%} comments (sort of).
2277 (octave-mode): Use define-derived-mode.
2278 Set completion-at-point-functions and don't set columns.
2279 Don't disable adaptive-fill-regexp.
2280 (octave-describe-major-mode, octave-comment-region)
2281 (octave-uncomment-region, octave-comment-indent)
2282 (octave-indent-for-comment): Remove.
2283 (octave-indent-calculate): Rename from calculate-octave-indent.
2284 (octave-indent-line, octave-fill-paragraph): Update caller.
2285 (octave-initialize-completions): No need to make an alist.
2286 (octave-completion-at-point-function): New function.
2287 (octave-complete-symbol): Use it.
2288 (octave-insert-defun): Use define-skeleton.
2290 * progmodes/octave-mod.el (octave-mode): Set comment-add.
2291 (octave-mode-map): Use comment-dwim (bug#6829).
2293 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
2295 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2296 indentation of inserted comment.
2298 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
2300 * faces.el (region): Add type gtk that uses gtk colors.
2302 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2303 Handle theme-name change.
2305 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
2307 * progmodes/sql.el: Version 2.5
2308 (sql-product-alist): Add :prompt-cont-regexp property for several
2310 (sql-prompt-cont-regexp): New variable.
2311 (sql-output-newline-count, sql-output-by-send):
2312 New variables. Record number of newlines in input text.
2313 (sql-send-string): Handle multiple filters and count newlines.
2314 (sql-send-magic-terminator): Count terminator newline.
2315 (sql-interactive-remove-continuation-prompt): Filters output to
2316 remove continuation prompts; one for each newline.
2317 (sql-interactive-mode): Set up new variables, prompt regexp and
2319 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2320 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2322 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * emacs-lisp/pcase.el: New file.
2326 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
2328 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2329 as here-document, otherwise the command could exceed maximum
2330 length of command line.
2331 (tramp-handle-vc-registered): Call script accordingly.
2332 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2334 2010-08-10 Kenichi Handa <handa@m17n.org>
2336 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2339 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
2341 * emacs-lisp/package.el (package-version-split)
2342 (package--version-first-nonzero, package-version-compare):
2344 (package-directory-list, package-load-all-descriptors)
2345 (package--built-in, package-activate, define-package)
2346 (package-installed-p, package-compute-transaction)
2347 (package-read-all-archive-contents)
2348 (package--add-to-archive-contents, package-buffer-info)
2349 (package-tar-file-info, package-list-packages-internal):
2350 Use version-to-list and version-list-*.
2352 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2353 Use version-to-list.
2354 (package-upload-buffer-internal): Use version-list-<=.
2356 2010-08-09 Kenichi Handa <handa@m17n.org>
2358 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2361 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
2363 * tutorial.el (tutorial--default-keys): C-d is now bound to
2364 delete-forward-char (Bug#6826).
2366 * mouse.el (mouse-drag-track): Remove accidentally-removed check
2367 for `double' value of mouse-1-click-follows-link (Bug#6807).
2369 2010-08-08 Johan Bockgård <bojohan@gnu.org>
2371 * replace.el (replace-highlight): Bind isearch-forward and
2372 isearch-error, ensuring that highlighting is updated if the user
2373 switches the search direction (Bug#6808).
2375 * isearch.el (isearch-lazy-highlight-forward): New var.
2376 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2377 (isearch-lazy-highlight-update): Use it.
2379 2010-08-08 Kenichi Handa <handa@m17n.org>
2381 * international/mule.el (define-charset): Store NAME as :base property.
2382 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2383 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2384 current priority. Force using the designation of the specific
2385 charset by adding `charset' text property. Improve the whole algorithm.
2387 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2389 * emulation/pc-select.el (pc-selection-mode-hook)
2390 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2391 (pc-selection-mode): Fix typos in docstrings.
2393 2010-08-08 Kenichi Handa <handa@m17n.org>
2395 * language/cyrillic.el: Don't add "microsoft-cp1251" to
2396 ctext-non-standard-encodings-alist here.
2398 * international/mule.el (ctext-non-standard-encodings-alist):
2399 Add "koi8-r" and "microsoft-cp1251".
2400 (ctext-standard-encodings): New variable.
2401 (ctext-non-standard-encodings-table): List only elements for
2402 non-standard encodings.
2403 (ctext-pre-write-conversion): Adjust for the above change.
2404 Check ctext-standard-encodings.
2406 * international/mule-conf.el (compound-text): Doc fix.
2407 (ctext-no-compositions): Doc fix.
2408 (compound-text-with-extensions): Doc fix.
2410 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2414 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2416 * progmodes/which-func.el (which-func-format): Split help-echo text
2417 into lines, like other mode-line tooltips.
2419 * server.el (server-start): When using TCP sockets, force IPv4
2420 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
2422 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2426 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2428 * term.el (term-delimiter-argument-list): Reflow docstring.
2429 (term-read-input-ring, term-write-input-ring, term-send-input)
2430 (term-bol, term-erase-in-display, serial-supported-or-barf):
2431 Fix typos in docstrings.
2433 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2435 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2437 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2439 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2441 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
2443 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2444 Fix typo in docstring (bug#6747).
2446 2010-08-08 Leo <sdl.web@gmail.com>
2448 * eshell/esh-io.el (eshell-get-target): Better detection of
2449 read-only file (Bug#6762).
2451 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2453 * align.el (align-default-spacing): Doc fix.
2454 (align-region-heuristic, align-regexp): Fix typos in docstrings.
2456 2010-08-08 Stephen Peters <speters@itasoftware.com>
2458 * calendar/icalendar.el
2459 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
2460 (icalendar--get-weekday-numbers): New.
2461 (icalendar--convert-recurring-to-diary): Handle multiple byday
2462 values in weekly rules. (Bug#6766)
2464 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
2466 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2467 (icalendar--create-uid, icalendar-export-region)
2468 (icalendar--parse-summary-and-rest): Code formatting.
2470 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2472 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2473 to italicize headers.
2474 (calc-highlight-selections-with-faces): New variable.
2475 (calc-selected-face, calc-nonselected-face): New faces.
2477 * calc/calccomp.el (math-comp-highlight-string): Use
2478 `calc-highlight-selections-with-faces' to determine how to highlight
2481 * calc/calc-sel.el (calc-show-selections): Change message to when
2482 using faces to highlight selections.
2484 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
2486 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2487 Add SQLite 3 keywords, functions and datatypes.
2488 (sql-interactive-mode): Remove `comint-process-echoes' set to t
2491 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
2493 * simple.el (select-active-regions): Move to keyboard.c.
2494 (deactivate-mark): Used saved-region-selection.
2495 (select-active-region): Function removed.
2496 (activate-mark, set-mark, push-mark-command)
2497 (handle-shift-selection): Don't call it.
2498 (keyboard-quit): Avoid adding the region to the window selection.
2500 * mouse.el (mouse-drag-track): Remove hacks to deal with old
2501 select-active-regions implementation.
2502 (mouse-yank-at-click): Doc fix.
2504 * cus-start.el: Add custom declaration for select-active-regions.
2506 2010-08-07 Eli Zaretskii <eliz@gnu.org>
2508 * simple.el (delete-forward-char): Doc fix.
2510 * tutorial.el (help-with-tutorial): Hack safe file-local variables
2511 after reading the tutorial.
2513 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
2515 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2516 for the case that a C style comment has its delimiters alone on
2517 their respective lines.
2519 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
2521 * net/tramp.el (tramp-handle-start-file-process): Set connection
2523 (tramp-process-sentinel): Use it for flushing the cache. We
2524 cannot do it via the process buffer, the buffer could be deleted
2525 already when running the sentinel.
2527 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2529 * comint.el (comint-mode): Make directory tracking functions
2530 functional on remote files. (Bug#6764)
2532 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2534 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2536 2010-08-05 Eli Zaretskii <eliz@gnu.org>
2538 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2539 unexec.c => unexcoff.c.
2541 * emacs-lisp/authors.el (authors-fixed-entries): Rename
2542 unexec.c => unexcoff.c.
2544 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
2546 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2547 cache, not only file cache.
2548 (tramp-process-sentinel): New defun.
2549 (tramp-handle-start-file-process): Use it, in order to invalidate
2552 2010-08-03 Leo <sdl.web@gmail.com>
2554 * server.el (server-start): Simplify loop.
2556 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * frame.el (screen-height, screen-width, set-screen-width)
2559 (set-screen-height): Remove ancient compatibility aliases.
2561 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2562 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
2564 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2565 that change current buffer.
2567 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2569 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2570 beginning of the string. Use `string-match-p'. (Bug#6765)
2572 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
2574 * cus-start.el (x-gtk-use-system-tooltips): New variable.
2576 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
2578 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2579 (package--builtins): Tweak descriptions.
2580 (package-print-package): Upcase descriptions if necessary.
2581 Show all built-in packages in font-lock-builtin-face.
2582 (package-list-packages-internal): Omit "emacs" package.
2583 Show status of built-in packages as "built-in".
2585 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
2587 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
2588 before killing to preserve the primary selection (Bug#6701).
2590 * term/x-win.el (x-select-text): Doc fix.
2592 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
2594 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2595 The following functions were modified or created:
2597 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2598 (objc-font-lock-extra-types):
2599 * progmodes/cc-mode.el (c-basic-common-init):
2600 * progmodes/cc-langs.el (c-make-mode-syntax-table)
2601 (c++-make-template-syntax-table)
2602 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2603 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2604 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2605 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2606 * progmodes/cc-fonts.el (c-make-inverse-face)
2607 (c-basic-matchers-after):
2608 * progmodes/cc-engine.el (c-forward-keyword-clause)
2609 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2610 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2611 (c-guess-continued-construct, c-guess-basic-syntax):
2613 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
2615 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2617 2010-07-31 Eli Zaretskii <eliz@gnu.org>
2619 * files.el (bidi-paragraph-direction): Define safe local values.
2621 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2622 language-info-alist. Remove outdated FIXME in a comment.
2624 2010-07-31 Alan Mackenzie <acm@muc.de>
2626 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2627 Auto-fill broken in C/C++ modes.
2629 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
2631 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2632 (menu-bar-showhide-tool-bar-menu-customize-disable)
2633 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2634 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2635 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2636 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2637 make a menu for Options => toolbar that can move it.
2639 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
2641 * emacs-lisp/package-x.el (package--make-rss-entry):
2642 (package-maint-add-news-item, package--update-news)
2643 (package-upload-buffer-internal): New arg ARCHIVE-URL.
2645 * emacs-lisp/package.el (package-archive-url): Rename from
2647 (package-install): Doc fix.
2648 (package-download-single, package-download-tar, package-install)
2649 (package-menu-view-commentary): Callers changed.
2651 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
2653 * net/tramp.el (tramp-handle-start-file-process): Check only for
2654 `remote-tty' process property.
2655 (tramp-open-shell): Don't check for tty.
2656 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2659 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2662 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
2664 * emacs-lisp/package.el (package-load-list, package-archives)
2665 (package-archive-contents, package-user-dir)
2666 (package-directory-list, package--builtins, package-alist)
2667 (package-activated-list, package-obsolete-alist): Mark as risky.
2669 2010-07-28 Phil Hagelberg <phil@evri.com>
2671 Add support for non-default package repositories.
2672 * emacs-lisp/package.el (package-archive-base): Var deleted.
2673 (package-archives): New variable.
2674 (package-archive-contents): Doc fix.
2675 (package-load-descriptor): Do nothing if descriptor file is missing.
2676 (package--write-file-no-coding): New function.
2677 (package-unpack-single): Use it.
2678 (package-archive-id): New function.
2679 (package-download-single, package-download-tar)
2680 (package-menu-view-commentary): Use it.
2681 (package-installed-p): Make second argument optional.
2682 (package-read-all-archive-contents): New function.
2683 (package-initialize): Use it.
2684 (package-read-archive-contents): Add ARCHIVE argument.
2685 (package--add-to-archive-contents): New function.
2686 (package-install): Don't call package-read-archive-contents.
2687 (package--download-one-archive): Store archive file in a
2688 subdirectory of package-user-dir.
2689 (package-menu-execute): Remove spurious line movement.
2691 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
2693 * cus-start.el (tool-bar-style): Add text-image-horiz.
2695 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2697 * progmodes/gud.el (gud-common-init): Check for remoteness of
2698 `file', and not of `default-directory'.
2700 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2702 * net/tramp.el (tramp-methods): Move hostname to the end in all
2703 ssh `tramp-login-args'.
2704 (tramp-verbose): Describe verbose level 9.
2705 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2706 (tramp-open-connection-setup-interactive-shell): Trace stty
2707 settings if `tramp-verbose' >= 9.
2708 (tramp-handle-start-file-process): Implement tty setting.
2709 (Bug#4604, Bug#6360)
2711 * net/tramp-cmds.el (tramp-bug): Recommend setting of
2712 `tramp-verbose' to 9.
2714 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
2716 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2717 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2718 Remove references to package `lisp-re' (bug#4369).
2720 2010-07-27 Tom Tromey <tromey@redhat.com>
2722 * progmodes/js.el (js-mode):
2723 * progmodes/make-mode.el (makefile-mode):
2724 * progmodes/simula.el (simula-mode):
2725 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2727 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
2729 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2731 * time.el (display-time-day-and-date): Remove spurious * in docstring.
2732 (display-time-world-buffer-name, display-time-world-mode-map):
2733 Fix typos in docstrings.
2735 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
2737 * image-mode.el (image-display-size): New function.
2738 (image-forward-hscroll, image-next-line, image-eol, image-eob)
2739 (image-mode-fit-frame): Use it (Bug#6639).
2741 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
2743 * dired.el (dired-buffers-for-dir): Handle list values of
2744 dired-directory (Bug#6636).
2746 2010-07-26 Sam Steingold <sds@gnu.org>
2748 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2749 Do not call `x-get-selection' the second time, reuse the value.
2751 2010-07-26 Daiki Ueno <ueno@unixuser.org>
2753 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2754 which consist of control chars only. Suggested by Richard Stallman.
2756 2010-07-25 Daiki Ueno <ueno@unixuser.org>
2758 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2759 exists before passing an error to find-file-not-found-functions
2762 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
2764 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2765 Remove leading nil element, adjust values.
2766 (tetris-shapes, tetris-shape-scores):
2767 Change representation of shapes and remove some redundancy.
2768 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2769 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2770 Adjust for working with new representation of shapes.
2771 (tetris-shape-rotations): New function.
2772 (tetris-move-bottom, tetris-move-left, tetris-move-right)
2773 (tetris-rotate-prev, tetris-rotate-next):
2774 Adjust for working with the new version of tetris-test-shape.
2776 2010-07-23 Markus Triska <markus.triska@gmx.at>
2778 * progmodes/ps-mode.el: Use comint (bug#5954).
2779 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2780 (ps-mode-other-newline): Simplify.
2781 (ps-run-mode): Derive from comint-mode instead of
2782 fundamental-mode, yielding input history etc.
2783 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2784 (ps-run-send-string): Adapt for comint-mode.
2785 (ps-run-newline): Remove now unneeded function.
2787 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2789 * net/tramp.el (tramp-methods): Move hostname to the end in all
2790 plink `tramp-login-args'.
2792 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2794 * net/tramp.el (tramp-open-shell): New defun.
2795 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2798 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2800 * net/tramp.el (tramp-file-name-regexp-unified)
2801 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2802 not regard the volume letter as remote filename. (Bug#5447)
2804 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
2806 * custom.el (custom-declare-variable): Give a clearer error message
2807 when the docstring is missing (bug#6476).
2809 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
2811 * progmodes/sql.el: Version 2.4. Improved Login prompting.
2812 (sql-login-params): New widget definition.
2813 (sql-oracle-login-params, sql-mysql-login-params)
2814 (sql-solid-login-params, sql-sybase-login-params)
2815 (sql-informix-login-params, sql-ingres-login-params)
2816 (sql-ms-login-params, sql-postgres-login-params)
2817 (sql-interbase-login-params, sql-db2-login-params)
2818 (sql-linter-login-params): Use it.
2819 (sql-sqlite-login-params): Use it; Define "database" parameter as
2821 (sql-sqlite-program): Change to "sqlite3".
2822 (sql-comint-sqlite): Make sure database name is complete.
2823 (sql-for-each-login): New function.
2824 (sql-connect, sql-save-connection): Use it.
2825 (sql-get-login-ext): New function.
2826 (sql-get-login): Use it.
2827 (sql-make-alternate-buffer-name): Handle :file parameters.
2829 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
2831 * dired.el (dired-no-confirm): Document value t and fix defcustom to
2832 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
2834 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
2836 * dired.el (dired-mode-map): Use command remapping (bug#6632).
2838 2010-07-22 Lawrence Mitchell <wence@gmx.li>
2840 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2842 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
2844 * net/tramp.el (tramp-get-ls-command)
2845 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2848 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
2850 * progmodes/sql.el: Version 2.3.
2851 (sql-connection-alist): Changed keys from symbols to strings;
2852 enhanced the widget definition.
2853 (sql-mode-menu): Added submenu to select connections.
2854 (sql-interactive-mode-menu): Added "Save Connection" item.
2855 (sql-add-product): Fixed menu item.
2856 (sql-get-product-feature): Improved error handling.
2857 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2858 (sql-make-alternate-buffer-name): Simplified.
2859 (sql-product-interactive): Handle missing product.
2860 (sql-connect): Support string keys, minor improvements.
2861 (sql-save-connection): New function.
2862 (sql-connection-menu-filter): New function.
2864 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2866 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2867 (tramp-open-connection-setup-interactive-shell): Apply
2868 workaround for IRIX64 bug. Move argument of last
2869 `tramp-send-command' where it belongs to.
2871 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp.el (tramp-perl-file-attributes)
2874 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2875 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2876 front of `login-args'.
2878 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
2880 * time.el (display-time-world-mode): Define with `define-derived-mode'.
2881 Set `show-trailing-whitespace' to nil.
2882 (display-time-world-display): Simplify.
2884 2010-07-18 Alan Mackenzie <acm@muc.de>
2886 Enhance `c-file-style' in file/directory local variables.
2887 * progmodes/cc-mode.el (c-count-cfss): New function.
2888 (c-before-hack-hook): Call `c-set-style' differently according to
2889 whether c-file-style was set in file or directory local
2892 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
2894 * progmodes/sql.el: Version 2.2.
2895 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2896 defcustom :safe keyword rather than putting safe-local-variable
2898 (sql-password): Use defcustom :risky keyword rather than putting
2899 risky-local-variable property.
2900 (sql-oracle-login-params, sql-sqlite-login-params)
2901 (sql-solid-login-params, sql-sybase-login-params)
2902 (sql-informix-login-params, sql-ingres-login-params)
2903 (sql-ms-login-params, sql-postgres-login-params)
2904 (sql-interbase-login-params, sql-db2-login-params)
2905 (sql-linter-login-params): Add `port' option.
2906 (sql-get-product-feature): Added NO-INDIRECT parameter.
2907 (sql-comint-oracle, sql-comint-sybase)
2908 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2909 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2910 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
2911 (sql-comint-linter): Renamed sql-connect-* functions to
2913 (sql-product-alist, sql-mode-menu): Renamed as above and
2914 :sqli-connect-func to :sqli-comint-func.
2915 (sql-connection): New variable.
2916 (sql-interactive-mode): Set it.
2917 (sql-connection-alist): New variable.
2918 (sql-connect): New function.
2919 (sql--alt-buffer-part, sql--alt-if-not-empty)
2920 (sql-make-alternate-buffer-name): Improved alternative buffer name.
2922 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2924 * image-mode.el (image-bookmark-make-record): Do not set context
2925 in an image (Bug#6650).
2927 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2929 * simple.el (select-active-region): New function.
2930 (push-mark-command, set-mark, activate-mark)
2931 (handle-shift-selection): Use it.
2932 (deactivate-mark): Don't check for size of region.
2934 * mouse.el (mouse-drag-track): Use select-active-region.
2936 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
2938 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
2941 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2943 * term/x-win.el (x-select-enable-primary): Change default to nil.
2944 (x-select-enable-clipboard): Add :version keyword.
2946 * mouse.el (mouse-drag-copy-region):
2947 * simple.el (select-active-regions): Likewise.
2949 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
2951 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
2952 (vc-coding-system-for-diff): Use it to decide whether to inherit
2953 from the file the EOL format for reading the diffs of that file.
2956 2010-07-16 Eli Zaretskii <eliz@gnu.org>
2958 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
2959 unibyte, so compressed attachments are not compressed again.
2961 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
2963 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
2964 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
2965 (tramp-find-shell): Simplify setting connection property.
2966 (tramp-get-ls-command): Make test for "--color=never" stronger.
2968 2010-07-15 Simon South <ssouth@member.fsf.org>
2970 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
2971 blocks within record declarations (i.e. variant parts) correctly.
2973 2010-07-15 Simon South <ssouth@member.fsf.org>
2975 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
2976 over literal tokens when parsing so newlines aren't "absorbed" by
2977 single-line comments. Corrects the indentation of case blocks
2978 that have a comment on the first line.
2980 2010-07-14 Karl Fogel <kfogel@red-bean.com>
2982 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
2983 by Drew Adams (Bug#5504).
2985 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
2987 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
2988 now that Unicode is used (Bug#6594).
2990 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
2992 * term/x-win.el (x-select-enable-clipboard): Default to t.
2993 (x-initialize-window-system): Don't overwrite Paste menu item.
2995 * simple.el (select-active-regions): Default to t.
2996 (push-mark-command): Don't overwrite primary with empty string.
2998 * mouse.el: Bind mouse-2 to mouse-yank-primary.
2999 (mouse-drag-copy-region): Default to nil.
3001 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3002 Cut/Copy/Paste menu bar items.
3004 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3006 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3007 Patch applied by Karl Fogel.
3009 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3010 and `bookmark-current-buffer' if they have been already set in
3011 another buffer (e.g gnus-art).
3013 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3014 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3016 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3018 * bookmark.el (bookmark-make-record-default): Allow unneeded
3019 information to be omitted from the record.
3021 Adjust declarations and calls:
3023 * info.el (bookmark-make-record-default): Adjust declaration.
3024 (Info-bookmark-make-record): Adjust call.
3026 * woman.el (bookmark-make-record-default): Adjust declaration.
3027 (woman-bookmark-make-record): Adjust call.
3029 * man.el (bookmark-make-record-default): Adjust declaration.
3030 (Man-bookmark-make-record): Adjust call.
3032 * image-mode.el (bookmark-make-record-default): Adjust declaration.
3034 * doc-view.el (bookmark-make-record-default): Adjust declaration.
3036 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3038 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3039 This is also from Thierry Volpiatto's patch in bug #6444. However,
3040 because it was extraneous to the functional change in that patch,
3041 and causes a re-indendation, I am committing it separately.
3043 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3045 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3046 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3047 Patch applied by Karl Fogel (Bug#6444).
3049 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
3051 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3053 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
3055 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3056 Dempsky; bug#5084). Remove incorrect binding for S-tab.
3057 (ns-alternatives-map): Change S-tab binding to backtab
3060 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3063 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
3065 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3068 * language/tv-util.el (tai-viet-re): Remove format.
3070 2010-07-12 Kenichi Handa <handa@m17n.org>
3072 * language/hebrew.el: Remove no-byte-compile declaration.
3073 Change coding: tag to utf-8. Register hebrew-shape-gstring in
3074 composition-function-table for 3-character looking back.
3075 (hebrew-font-get-precomposed): New function.
3076 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3078 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
3080 * mouse.el (mouse-drag-track): Handle select-active-regions
3083 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
3085 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3086 empty argument to gvfs-copy.
3088 2010-07-10 Glenn Morris <rgm@gnu.org>
3090 * calendar/calendar.el (calendar-week-end-day): New function.
3091 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3092 Respect calendar-week-start-day. (Bug#6606)
3093 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3094 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3095 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3096 respect calendar-week-start-day.
3098 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
3100 * simple.el (use-region-p): Doc fix (Bug#6607).
3102 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
3104 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3105 regexps for cucumber and ruby.
3107 2010-07-08 Daiki Ueno <ueno@unixuser.org>
3109 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3110 (epa-file-insert-file-contents): Hack to prevent
3111 find-file from opening empty buffer when decryption failed
3114 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
3116 * textmodes/ispell.el (ispell-alternate-dictionary):
3117 Use file-readable-p.
3118 Return nil if no word-list is found at default locations.
3119 (ispell-complete-word-dict): Default to nil.
3120 (ispell-command-loop): Use 'word-list' when using lookup-words.
3121 (lookup-words): Use ispell-complete-word-dict or
3122 ispell-alternate-dictionary. Check for word-list availability
3123 and handle errors if needed with better messages (Bug#6539).
3124 (ispell-complete-word): Use ispell-complete-word-dict or
3125 ispell-alternate-dictionary.
3127 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
3129 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3130 builtins (BufferError, BytesWarning, WindowsError; callables
3131 bin, bytearray, bytes, format, memoryview, next, print; __package__).
3133 2010-07-07 Glenn Morris <rgm@gnu.org>
3135 * play/zone.el (top-level): Do not require timer, tabify, or cl.
3136 (zone-shift-left): Ignore intangibility, and any errors from
3138 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
3139 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3140 deleting, and copying text properties.
3141 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3142 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3143 to point-max is hard.
3144 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3145 (zone-fill-out-screen): Ignore intangibility.
3147 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
3149 * menu-bar.el (menu-bar-mode):
3150 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3153 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3154 word/line selection (Bug#6565).
3156 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
3158 * net/dbus.el (dbus-send-signal): Declare function.
3160 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
3162 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3163 (dbus-register-property): New optional argument EMITS-SIGNAL.
3164 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3166 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
3168 * mouse.el (mouse-drag-overlay): Variable deleted.
3169 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3170 (mouse--remap-link-click-p): New function.
3171 (mouse-drag-track): Handle dragging by using temporary Transient
3172 Mark mode, instead of a special overlay.
3173 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3176 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3179 2010-07-02 Juri Linkov <juri@jurta.org>
3181 * autoinsert.el (auto-insert-alist): Fix readability
3182 by using dotted pair notation for lambda.
3184 2010-07-02 Juri Linkov <juri@jurta.org>
3186 * faces.el (read-face-name): Rename arg `string-describing-default'
3187 to `default'. Doc fix. Display the default value in quotes
3188 in the prompt. With empty input, return the `default' arg,
3189 unless the default value is a string (in which case return nil).
3190 (describe-face): Replace the string `default' arg of `read-face-name'
3191 with the symbol `default'.
3193 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
3195 * emulation/viper-cmd.el (viper-delete-backward-char)
3196 (viper-del-backward-char-in-insert)
3197 (viper-del-backward-char-in-replace, viper-change)
3198 (viper-backward-indent): Replace delete-backward-char with
3199 delete-char (Bug#6552).
3201 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
3203 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3205 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3207 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3208 argument passed to frame-creation-function (Bug#5378).
3210 * faces.el (x-handle-named-frame-geometry)
3211 (x-handle-reverse-video, x-create-frame-with-faces)
3212 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3213 separately consult default-frame-alist. It is now passed as the
3216 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
3218 * startup.el (command-line): Don't call tool-bar-setup in a
3221 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3223 * ruler-mode.el (ruler--save-header-line-format): New fun.
3224 (ruler-mode): Use it as a setter function, so as not to overwrite
3225 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3227 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
3229 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
3230 (vc-root-diff, vc-print-root-log, vc-log-incoming)
3231 (vc-log-outgoing): Use it.
3232 (vc-diff-internal): Set diff-vc-backend.
3234 * vc/diff-mode.el (diff-vc-backend): New var.
3236 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
3238 * dynamic-setting.el (font-setting-change-default-font): Remove
3241 2010-06-28 Kenichi Handa <handa@m17n.org>
3243 * international/quail.el (quail-insert-kbd-layout): Fix the
3244 showing of untranslated characters.
3246 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
3248 * simple.el (delete-active-region): New option.
3249 (delete-backward-char): Implement in Lisp.
3250 (delete-forward-char): New command.
3252 * mouse.el (mouse-region-delete-keys): Deleted.
3253 (mouse-show-mark): Simplify.
3255 * bindings.el (global-map): Bind delete and DEL, the former to
3256 delete-forward-char.
3258 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
3260 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3261 (ruby-mode): Bind indent-line-function (Bug#5119).
3263 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3265 * startup.el (command-line): Recognize "0" X resource value.
3267 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3269 * startup.el (command-line): Use X resources to set the value of
3270 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3272 * menu-bar.el (menu-bar-mode):
3273 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3274 Set init-value to t.
3276 * frame.el (frame-notice-user-settings): Don't change
3277 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3278 vice versa (Bug#2249).
3280 2010-06-26 Eli Zaretskii <eliz@gnu.org>
3282 * w32-fns.el (w32-convert-standard-filename): Doc fix.
3284 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3286 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3287 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3289 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3290 default directories are expanded (Bug#6143).
3292 2010-06-24 Juri Linkov <juri@jurta.org>
3294 * minibuffer.el (completions-format): Change default from nil to
3295 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
3297 2010-06-24 Juri Linkov <juri@jurta.org>
3299 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3300 buffer-locally to lambda that re-runs the vc diff command.
3303 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
3305 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3306 echo area is in use (Bug#3412).
3308 2010-06-22 Glenn Morris <rgm@gnu.org>
3310 * textmodes/texinfmt.el (texinfo-format-region)
3311 (texinfo-raise-lower-sections, texinfo-format-separate-node)
3312 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3313 (texinfo-format-option, texinfo-noindent):
3314 Use line-beginning-position and line-end-position.
3316 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3317 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3318 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3321 2010-06-21 Karl Fogel <kfogel@red-bean.com>
3323 * play/zone.el (zone-fall-through-ws): Fix next-line ->
3324 forward-line fallout.
3326 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
3328 * mouse.el (mouse-appearance-menu): Add docstring.
3330 * help.el (describe-key): Print up-event using key-description.
3332 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
3334 * net/zeroconf.el (zeroconf-resolve-service)
3335 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3336 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3338 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
3340 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3342 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
3344 Avoid displaying files with a nil state in vc-dir.
3345 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3346 cases that cause insertion.
3347 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3350 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3352 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3354 2010-06-29 Leo <sdl.web@gmail.com>
3356 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
3358 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3360 * generic-x.el (bat-generic-mode): Fix regexp for command line
3361 switches (Bug#5719).
3363 2010-06-27 Masatake YAMATO <yamato@redhat.com>
3365 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3366 of nconc to avoid pure storage error (Bug#6239).
3368 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
3370 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3371 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3372 bindings of bookmark-automatically-show-annotations (Bug#6515).
3374 2010-06-25 Eli Zaretskii <eliz@gnu.org>
3376 * arc-mode.el (archive-zip-extract): Don't quote the file name on
3377 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
3379 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
3381 * comint.el (make-comint, make-comint-in-buffer): Mention return
3382 value in the docstrings. (Bug#6498)
3384 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
3386 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3387 since it is not present when using some non-default switches.
3389 2010-06-23 Karl Fogel <kfogel@red-bean.com>
3391 * simple.el (compose-mail): Fix doc string to refer to
3392 `compose-mail-user-agent-warnings', instead of to the
3393 nonexistent `compose-mail-check-user-agent'.
3395 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
3397 Fix an indentation bug:
3399 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3400 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3403 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3404 (c-clear->-pair-props-if-match-before): now return t when they've
3405 cleared properties, nil otherwise.
3406 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3407 by taking account of the existing value.
3409 * progmodes/cc-defs.el
3410 (c-clear-char-property-with-value-function): Fix this to clear the
3411 property rather than overwriting it with nil.
3413 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
3415 * emacs-lisp/package.el (package-print-package): Add link to
3416 package description via describe-package.
3417 (describe-package-1): List package requirements. Add button to
3418 perform installation.
3419 (package-menu-describe-package): New command.
3421 * help-mode.el (help-package): New button type.
3423 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
3425 * emacs-lisp/package.el: Move package-list-packages binding to
3427 (describe-package, describe-package-1, package--dir): New funs.
3428 (package-activate-1): Use package--dir.
3430 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3432 * help-mode.el (help-package-def): New button type.
3434 * menu-bar.el: Move package-list-packages binding here from
3437 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
3439 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
3441 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * emacs-lisp/edebug.el (edebug-read-list):
3444 Phase out old-style backquotes.
3446 2010-06-17 Juri Linkov <juri@jurta.org>
3448 * help-mode.el (help-mode): Set buffer-local variable
3449 revert-buffer-function to help-mode-revert-buffer.
3450 (help-mode-revert-buffer): New function.
3452 * info.el (Info-revert-find-node): Check for major-mode Info-mode
3453 before popping to "*info*" (like in other Info functions).
3454 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
3455 old-history-forward. Pop to old-buffer-name or "*info*" to
3456 recreate the killed buffer. Set Info-history-forward from
3457 old-history-forward.
3458 (Info-breadcrumbs-depth): Add :group and :version.
3460 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
3462 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3464 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
3466 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3467 for languages like Portuguese with pt_{BR,PT} and no plain pt.
3469 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
3471 * emacs-lisp/package.el (package-menu-mode-map):
3472 Move initialization into declaration.
3474 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3476 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
3478 * emacs-lisp/package.el (package-archive-base): Point to
3480 (package-enable, package-load-list): New defcustoms.
3481 (package-user-dir, package-directory-list): Turn into defcustoms.
3482 Don't include package-user-dir in package-directory-list.
3483 (package--builtins-base): Don't include Emacs as a "package".
3484 (package-subdirectory-regexp): New var.
3485 (package-load-all-descriptors, package-compute-transaction)
3486 (package-download-transaction): Obey package-load-list.
3487 (package-activate-1): Rename from package-do-activate.
3488 (package-list-packages-internal): Check package-load-list.
3489 (package-load-descriptor, package-generate-autoloads)
3490 (package-unpack, package-unpack-single)
3491 (package--read-archive-file, package-delete): Use
3494 * emacs-lisp/package-x.el: New file. Package uploading
3495 functionality split out from package.el.
3497 * startup.el (command-line): Load packages after reading init file.
3499 2010-06-17 Tom Tromey <tromey@redhat.com>
3501 * emacs-lisp/package.el: New file.
3503 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3505 Fix vc-annotate for renamed files when using Git.
3506 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3507 ls-files. Doe not pass the object as a file name to cat-file, it
3509 (vc-git-annotate-command): Pass the file name using -- to avoid
3510 ambiguity with the revision.
3511 (vc-git-previous-revision): Pass a relative file name.
3513 2010-06-22 Glenn Morris <rgm@gnu.org>
3515 * progmodes/js.el (js-mode-map): Use standard capitalization and
3516 ellipses for menu entries.
3518 * wid-edit.el (widget-complete): Doc fix.
3520 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
3522 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3524 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3526 Fix annotating other revisions for renamed files in vc-annotate.
3527 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3528 VC backend. Use it when non-nil.
3529 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3532 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3533 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3534 Do not pass the file name to the 'previous-revision call when we
3535 don't want a file diff. (Bug#6489)
3537 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3539 Fix finding revisions for renamed files in vc-annotate.
3540 * vc/vc.el (vc-find-revision): Add an optional argument for
3541 the VC backend. Use it when non-nil.
3542 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3543 backend to vc-find-revision. (Bug#6487)
3545 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3547 Fix reading file names in Git annotate buffers.
3548 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3549 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
3551 2010-06-20 Alan Mackenzie <acm@muc.de>
3553 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3554 in file local variables, set it first.
3556 2010-06-19 Glenn Morris <rgm@gnu.org>
3558 * descr-text.el (describe-char-unicode-data): Insert separating
3559 space when needed. (Bug#6422)
3561 * progmodes/idlwave.el (idlwave-action-and-binding):
3562 Fix typo in 2009-12-03 change. (Bug#6450)
3564 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3567 handling for `lambda' (misunderstanding).
3569 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
3571 * calc/calc-poly.el (math-accum-factors): Make sure that
3572 constants aren't distributed after they are factored out.
3574 2010-06-16 Juri Linkov <juri@jurta.org>
3576 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3577 `list-colors-print'. (Bug#6332)
3579 * subr.el (read-quoted-char): Fix up last change (bug#6290).
3581 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3583 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3584 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
3586 * font-lock.el (font-lock-major-mode): Rename from
3587 font-lock-mode-major-mode to distinguish it from
3588 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3589 (font-lock-set-defaults):
3590 * font-core.el (font-lock-default-function): Adjust users.
3591 (font-lock-mode): Don't set it at all.
3593 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3597 2010-06-16 Glenn Morris <rgm@gnu.org>
3599 * calendar/appt.el (appt-time-msg-list): Doc fix.
3600 (appt-check): Let-bind appt-warn-time.
3601 (appt-add): Make the 3rd argument optional.
3602 Simplify argument names. Doc fix. Check for integer WARNTIME.
3603 Only add WARNTIME to the output list if non-nil.
3605 2010-06-16 Ivan Kanis <apple@kanis.eu>
3607 * calendar/appt.el (appt-check): Let the 3rd element of
3608 appt-time-msg-list specify the warning time.
3609 (appt-add): Add new argument with the warning time. (Bug#5176)
3611 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3613 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3614 older than version 1.6. (Bug#6361)
3616 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
3618 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3619 used by cl-do-arglist. (Bug#6408)
3621 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
3623 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3624 portuguese casechars/not-casechars for missing 'çÇ'.
3625 Suggested by Rolando Pereira (bug#6434).
3627 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
3629 * facemenu.el (list-colors-sort): Doc fix.
3631 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3633 * progmodes/sql.el (sql-connect-mysql): Fix typo.
3635 2010-06-14 Juri Linkov <juri@jurta.org>
3637 Add sort option `list-colors-sort'. (Bug#6332)
3638 * facemenu.el (color-rgb-to-hsv): New function.
3639 (list-colors-sort): New defcustom.
3640 (list-colors-sort-key): New function.
3641 (list-colors-display): Doc fix. Sort list according to the option
3643 (list-colors-print): Add HSV values to `help-echo' property of
3646 2010-06-14 Juri Linkov <juri@jurta.org>
3648 * compare-w.el: Move to the "vc" subdirectory.
3650 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * image-mode.el (image-mode-map): Remap left-char and right-char.
3654 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3656 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
3658 * term/common-win.el (x-colors): Add all the color names defined
3659 in rgb.txt (Bug#6332).
3661 * facemenu.el (list-colors-print): Don't print extra names if it
3662 will overflow the window width.
3664 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3667 2010-06-12 Eli Zaretskii <eliz@gnu.org>
3669 * files.el (make-directory): Doc fix (bug#6396).
3671 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
3673 * net/tramp.el (tramp-remote-process-environment): Protect version
3674 string by apostroph.
3675 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3677 (tramp-file-name-for-operation): Add `call-process-region'.
3678 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3680 * net/tramp-compat.el (top): Do not autoload
3681 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3682 only when `start-file-process' is not bound.
3683 (tramp-advice-file-expand-wildcards): Do not use
3684 `tramp-handle-file-remote-p'.
3685 (tramp-compat-make-temp-file): Handle the case, that
3686 `make-temp-file' has no third argument EXTENSION.
3688 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
3690 * makefile.w32-in (WINS_BASIC): Include new directory vc.
3692 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3694 2010-06-11 Juri Linkov <juri@jurta.org>
3696 * finder.el (finder-known-keywords): Add keyword "vc"
3697 for version control.
3699 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3700 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3701 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3702 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3704 2010-06-11 Juri Linkov <juri@jurta.org>
3706 Move version control related files to the "vc" subdirectory.
3707 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3708 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3709 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3710 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3711 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3712 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3713 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3714 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3715 Move files to the "vc" subdirectory.
3717 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
3719 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3722 2010-06-11 Stephen Eglen <stephen@gnu.org>
3724 * shell.el: Bind `shell-resync-dirs' to M-RET.
3726 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
3728 * notifications.el: Move file from lisp/net, because it is
3729 supposed to talk locally to the user.
3731 2010-06-10 Julien Danjou <julien@danjou.info>
3733 * net/notifications.el (notifications-on-action-signal)
3734 (notifications-on-closed-signal): Pass notification id as first
3735 argument to the callback functions. Add docstrings.
3736 (notifications-notify): Fix docstring.
3738 2010-06-10 Glenn Morris <rgm@gnu.org>
3740 * emacs-lisp/authors.el (authors-ignored-files)
3741 (authors-valid-file-names): Add some files.
3743 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3746 merge conflict, giving preference to the emacs-23 version of the code.
3748 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * emacs-lisp/advice.el (ad-compile-function):
3751 Define warning-suppress-types before we let-bind it (bug#6275).
3753 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3754 declare it, make it buffer-local and permanent-local (bug#6324).
3755 (vc-resynch-window): Adjust name.
3756 * vc-hooks.el (vc-find-file-hook): Adjust name.
3758 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
3760 * net/notifications.el (notifications-notify): Fix docstring.
3762 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3764 Update to Unicode 6.0.0 beta.
3765 * international/charprop.el: Update copyright.
3766 * international/mule-cmds.el (ucs-names): Update character ranges.
3767 * international/uni-bidi.el:
3768 * international/uni-category.el:
3769 * international/uni-combining.el:
3770 * international/uni-comment.el:
3771 * international/uni-decimal.el:
3772 * international/uni-decomposition.el:
3773 * international/uni-digit.el:
3774 * international/uni-lowercase.el:
3775 * international/uni-mirrored.el:
3776 * international/uni-name.el:
3777 * international/uni-numeric.el:
3778 * international/uni-old-name.el:
3779 * international/uni-titlecase.el:
3780 * international/uni-uppercase.el: Regenerate.
3782 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3784 * emacs-lisp/smie.el (comment-string-strip): Declare function.
3785 (smie-precs-precedence-table): Fix typo in docstring.
3787 * vc-mtn.el (log-edit-extract-headers): Declare function.
3789 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3791 * net/notifications.el (dbus-register-signal): Declare function.
3792 (notifications-notify): Fix typos and reflow docstring.
3794 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3796 Improve VC create/retrieve tag/branch.
3797 * vc.el (vc-create-tag): Do not read the directory name for VCs
3798 with repository revision granularity. Adjust the tag/branch
3799 prompt. Reset VC properties.
3800 (vc-retrieve-tag): Do not read the directory name for VCs
3801 with repository revision granularity. Reset VC properties.
3803 2010-06-09 Julien Danjou <julien@danjou.info>
3805 * net/notifications.el: New file.
3807 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3809 Add optional support for resetting VC properties.
3810 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3811 call vc-file-clearprops when true.
3812 (vc-resynch-buffer): Add new optional argument, pass it down.
3813 (vc-resynch-buffers-in-directory): Likewise.
3815 Improve support for special markup in the VC commit message.
3816 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3817 * vc-hg.el (vc-hg-checkin): Add support for Date:.
3818 * vc-git.el (vc-git-checkin):
3819 * vc-bzr.el (vc-bzr-checkin): Likewise.
3821 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3824 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3826 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
3828 * iimage.el: Remove images as soon as the underlying text is modified.
3829 (iimage-modification-hook): New function.
3830 (iimage-mode-buffer): Use it.
3832 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3835 smie-indent-offset-after. Add :prev case. Make a bit more generic.
3836 (smie-indent-virtual): Remove `virtual' arg. Update callers.
3837 (smie-indent-keyword): Add handling of open-paren keywords.
3838 (smie-indent-comment-continue): Don't assume comment-continue.
3840 2010-06-07 Martin Rudalics <rudalics@gmx.at>
3842 * window.el (pop-to-buffer): Remove the conditional that
3843 compares new-window and old-window, so it will reselect
3844 the selected window unconditionally.
3845 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3847 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * emacs-lisp/smie.el (smie-indent-offset-after)
3850 (smie-indent-forward-token, smie-indent-backward-token): New functions.
3851 (smie-indent-after-keyword): Use them.
3852 (smie-indent-fixindent): Only applies to the indentation of the BOL.
3853 (smie-indent-keyword): Tweak the black magic.
3854 (smie-indent-comment-continue): Strip comment-continue before use.
3855 (smie-indent-functions): Indent comments before keywords.
3857 2010-06-06 Juri Linkov <juri@jurta.org>
3859 * isearch.el (isearch-lazy-highlight-search): Fix looping
3860 by checking for empty match. This syncs this loop with the
3861 similar loop in `isearch-search'. (Bug#6362)
3863 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
3865 * net/dbus.el (dbus-register-method): Declare function.
3866 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3867 (dbus-introspect): Doc fix.
3868 (dbus-event-bus-name, dbus-introspect-get-interface)
3869 (dbus-introspect-get-argument): Reflow docstrings.
3871 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
3873 vc-log-incoming/vc-log-outgoing fixes for Git.
3874 * vc-git.el (vc-git-log-view-mode): Fix font lock for
3875 incoming/outgoing logs.
3876 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3877 instead of vc-git-compute-remote.
3878 (vc-git-compute-remote): Remove.
3880 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
3882 * term/common-win.el (x-colors): Add "dark green" and "dark
3883 turquoise" (Bug#6332).
3885 2010-06-04 Juri Linkov <juri@jurta.org>
3887 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3888 Instead of setting `replace' to t and replacing the same string
3889 with itself, don't do certain actions when
3890 kill-do-not-save-duplicates is non-nil and string is equal to car
3891 of kill-ring: don't call menu-bar-update-yank-menu, don't push
3892 interprogram-paste strings to kill-ring, and don't push the input
3893 argument `string' to kill-ring.
3894 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3896 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3898 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3900 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
3902 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3903 (tramp-gvfs-handler-mounted-unmounted)
3904 (tramp-gvfs-connection-mounted-p): Handle default-location.
3906 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3907 move files to trash.
3909 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3911 * international/mule-cmds.el (nonascii-insert-offset)
3912 (nonascii-translation-table): Add obsolescence information.
3914 * international/mule.el (make-translation-table-from-vector): Doc fix.
3916 2010-06-03 Glenn Morris <rgm@gnu.org>
3918 * desktop.el (desktop-clear-preserve-buffers):
3919 Add "*Warnings*" buffer. (Bug#6336)
3921 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
3923 vc-log-incoming/vc-log-outgoing improvements for Git.
3924 * vc-git.el (vc-git-log-outgoing): Use the same format as the
3926 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
3928 Add bindings for vc-log-incoming and vc-log-outgoing.
3929 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
3930 and vc-log-outgoing.
3931 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
3932 and vc-log-outgoing.
3934 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3936 * net/rcirc.el (rcirc-sort-nicknames): Remove.
3937 (rcirc-handler-366): Always sort nicknames.
3939 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
3941 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
3943 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3945 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
3947 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * net/rcirc.el (rcirc-sort-nicknames): Change default.
3950 (rcirc-sort-nicknames-join): Avoid setq.
3952 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3954 * net/rcirc.el (rcirc-sort-nicknames): New custom.
3955 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
3956 (rcirc-handler-366): Use them.
3958 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3960 Split smie-indent-calculate into more manageable chunks.
3961 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
3962 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
3963 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
3964 (smie-indent-exps): Extract from smie-indent-calculate.
3965 (smie-indent-functions): New var.
3966 (smie-indent-functions): Use them.
3968 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
3971 (smie-indent-calculate): Simplify and cleanup.
3973 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp-gvfs.el (top): Require url-util.
3976 (tramp-gvfs-mount-point): Remove.
3977 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
3979 (with-tramp-dbus-call-method): Format trace message.
3980 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3981 Implement backup call, when operation on local files fails.
3982 Use progress reporter. Flush properties of changed files.
3983 (tramp-gvfs-handle-make-directory): Make more traces.
3984 (tramp-gvfs-url-file-name): Hexify file name in url.
3985 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3986 into account for the resulting file name.
3987 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
3988 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
3989 (tramp-gvfs-handler-mounted-unmounted)
3990 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3991 attribute "default_location". Set "prefix" property.
3992 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3993 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3994 exists. Raise an error, if not (due to a corresponding answer
3995 "no" in interactive questions, for example).
3997 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
3999 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4001 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
4003 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4006 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
4008 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4009 * vc-git.el (vc-git-compute-remote): New function.
4010 (vc-git-log-outgoing): Use it instead of hard coding a value.
4011 (vc-git-log-incoming): New function.
4013 Improve state updating for VC tag commands.
4014 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4015 to update the state of all buffers in the directory.
4017 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4019 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4022 `file-directory-p' to the filename part rather than to the whole text.
4024 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4028 2010-05-31 Drew Adams <drew.adams@oracle.com>
4030 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4032 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
4034 * subr.el (momentary-string-display): Just use read-event to read
4035 the exit event (Bug#6238).
4037 2010-05-30 Eli Zaretskii <eliz@gnu.org>
4039 * international/mule.el (define-coding-system): Doc fix (bug#6313).
4041 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4043 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4044 Suggested by Eli Zaretskii <eliz@gnu.org>.
4046 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * minibuffer.el (completion-file-name-table): Don't return a boundary
4049 past the end of `string' (bug#6299).
4050 (completion--file-name-table): Delegate to completion-file-name-table
4051 for the `boundaries' case.
4053 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4055 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4058 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4059 `path-separator', but maintain compatibility with Emacs 20.2.
4061 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4063 * server.el (server-process-filter): Receive parent-id argument
4065 (server-create-window-system-frame): New arg. Pass parent-id as
4068 2010-05-29 Eli Zaretskii <eliz@gnu.org>
4070 Bidi-sensitive word movement with arrow keys.
4071 * subr.el (right-arrow-command, left-arrow-command): Move to
4074 * bindings.el (right-char, left-char): Move from subr.el and
4075 rename from right-arrow-command and left-arrow-command.
4076 (right-word, left-word): New functions.
4077 (global-map) <right>: Bind to right-char.
4078 (global-map) <left>: Bind to left-char.
4079 (global-map) <C-right>: Bind to right-word.
4080 (global-map) <C-left>: Bind to left-word.
4082 * ls-lisp.el (ls-lisp-classify-file): New function.
4083 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4084 (ls-lisp-classify): Call ls-lisp-classify-file.
4085 (insert-directory): Remove blanks from switches.
4087 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4089 * ansi-color.el: Delete unused escape sequences (Bug#6085).
4090 (ansi-color-drop-regexp): New constant.
4091 (ansi-color-apply, ansi-color-filter-region)
4092 (ansi-color-apply-on-region): Delete unrecognized control sequences.
4093 (ansi-color-apply): Build string list before calling concat.
4095 2010-05-28 Juri Linkov <juri@jurta.org>
4097 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4098 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4101 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4103 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4104 to ignored backtrace functions.
4105 (with-progress-reporter): Expand docstring.
4106 (tramp-handle-delete-file): Implement TRASH argument.
4107 (tramp-get-remote-trash): New defun.
4109 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4111 * net/tramp-compat.el (tramp-compat-delete-file): Use
4112 `symbol-value' for backward compatibility.
4114 * net/tramp.el (tramp-handle-make-symbolic-link)
4116 (tramp-do-copy-or-rename-file-via-buffer)
4117 (tramp-do-copy-or-rename-file-directly)
4118 (tramp-do-copy-or-rename-file-out-of-band)
4119 (tramp-handle-process-file, tramp-handle-call-process-region)
4120 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4121 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4122 (tramp-delete-temp-file-function): Use `delete-file' instead
4123 of `tramp-compat-delete-file'.
4125 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4126 (tramp-fish-handle-make-symbolic-link)
4127 (tramp-fish-handle-process-file): Use `delete-file' instead
4128 of `tramp-compat-delete-file'.
4130 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4131 `delete-file' instead of `tramp-compat-delete-file'.
4133 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4134 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4135 `tramp-compat-delete-file'.
4137 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4138 `delete-file' instead of `tramp-compat-delete-file'.
4140 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4141 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4142 (tramp-smb-handle-write-region): Use `delete-file' instead of
4143 `tramp-compat-delete-file'.
4144 (tramp-smb-handle-delete-directory): Use 'trash as arg.
4146 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4148 * dired.el (dired-delete-file): New arg TRASH.
4149 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
4150 (dired-do-flagged-delete, dired-do-delete): Use trash.
4152 * speedbar.el (speedbar-item-delete): Allow trashing.
4154 * files.el (delete-directory): New arg TRASH.
4156 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4157 (ange-ftp-rename-remote-to-remote)
4158 (ange-ftp-rename-local-to-remote)
4159 (ange-ftp-rename-remote-to-local, ange-ftp-load)
4160 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4162 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4165 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4166 handle new TRASH arg of `delete-file'.
4168 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4169 (tramp-handle-make-symbolic-link, tramp-handle-load)
4170 (tramp-do-copy-or-rename-file-via-buffer)
4171 (tramp-do-copy-or-rename-file-directly)
4172 (tramp-do-copy-or-rename-file-out-of-band)
4173 (tramp-handle-process-file, tramp-handle-call-process-region)
4174 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4175 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4176 (tramp-delete-temp-file-function): Use null TRASH arg in
4177 tramp-compat-delete-file call.
4179 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4180 (tramp-fish-handle-delete-file)
4181 (tramp-fish-handle-make-symbolic-link)
4182 (tramp-fish-handle-process-file): Use null TRASH arg in
4183 `tramp-compat-delete-file' call.
4185 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4186 arg in `tramp-compat-delete-file' call.
4188 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4189 (tramp-gvfs-handle-write-region): Use null TRASH arg in
4190 `tramp-compat-delete-file' call.
4192 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4193 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4194 `tramp-compat-delete-file' call.
4196 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4197 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4198 (tramp-smb-handle-write-region): Use null TRASH arg in
4199 tramp-compat-delete-file call.
4200 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4201 (tramp-smb-handle-delete-file): Rename arg.
4203 * diff.el (diff-sentinel):
4204 * epg.el (epg--make-temp-file, epg-decrypt-string)
4205 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4206 * jka-compr.el (jka-compr-partial-uncompress)
4207 (jka-compr-call-process, jka-compr-write-region):
4208 * server.el (server-sentinel): Remove optional arg from
4209 delete-file, reverting 2010-05-03 change.
4211 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4213 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4214 font-lock-constant-face, not obsolete font-lock-reference-face.
4216 2010-05-27 Kenichi Handa <handa@m17n.org>
4218 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4219 element of GSTRING is nil.
4221 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4223 * emacs-lisp/smie.el (smie-forward-token-function)
4224 (smie-backward-token-function): New vars.
4225 (smie-backward-sexp, smie-forward-sexp)
4226 (smie-indent-hanging-p, smie-indent-calculate): Use them.
4227 (smie-default-backward-token): Rename from smie-backward-token and
4229 (smie-default-forward-token): Rename from smie-forward-token and
4231 (smie-next-sexp): Handle nil results from next-token.
4232 (smie-indent-calculate): Add a new case for special `fixindent' comments.
4234 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4236 * progmodes/verilog-mode.el (verilog-type-font-keywords):
4237 Use font-lock-constant-face, not obsolete font-lock-reference-face.
4239 2010-05-27 Masatake YAMATO <yamato@redhat.com>
4241 * htmlfontify.el (hfy-face-resolve-face): New function.
4242 (hfy-face-to-style): Use it (Bug#6279).
4244 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4247 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4249 2010-05-26 Glenn Morris <rgm@gnu.org>
4251 * emulation/edt.el (edt-load-keys): Use locate-library.
4253 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
4255 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4256 (log-edit-changelog-entries): Doc fix.
4257 (log-edit-changelog-insert-entries): Args changed.
4258 Rename relative filenames in ChangeLog entries. Delete tabs.
4259 (log-edit-insert-changelog-entries): Reorganize return value of
4260 `log-edit-changelog-entries' to pass filenames to
4261 log-edit-changelog-insert-entries.
4263 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4265 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4266 `image-dired-dired-insert-marked-thumbs' to
4267 `image-dired-dired-toggle-marked-thumbs'.
4269 * image-dired.el: Require cl when compiling.
4270 (image-dired-dired-toggle-marked-thumbs): Rename from
4271 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
4272 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
4273 to 'no-dir. Skip files whose names don't match
4274 `image-file-name-regexp'. When file has a thumbnail overlay,
4275 delete it. (Bug#5270)
4277 2010-05-25 Juri Linkov <juri@jurta.org>
4279 * image-mode.el (image-mode): Add image-after-revert-hook to
4281 (image-after-revert-hook): New function. (Bug#5669)
4283 2010-05-25 Juri Linkov <juri@jurta.org>
4285 * image.el (image-animated-p): When delay between animated images
4286 is 0, set it to 10 (0.1 sec). (Bug#6258)
4288 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4290 * net/tramp.el (tramp-handle-insert-directory): Don't use
4291 `forward-word', its default syntax could be changed.
4293 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
4295 * net/tramp.el (tramp-progress-reporter-update): New defun.
4296 (with-progress-reporter): Use it.
4297 (tramp-process-actions):
4298 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4299 current message, in order to let progress reporter continue
4300 afterwards. (Bug#6257)
4302 2010-05-25 Glenn Morris <rgm@gnu.org>
4304 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4307 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4309 * net/rcirc.el (rcirc-default-user-name): Change to "user".
4310 (rcirc-default-full-name): Change to "unknown".
4311 (rcirc-user-name-history): Add variable.
4313 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4314 Jonathan Rockway <jon@jrock.us>
4316 * net/rcirc.el (rcirc-server-alist): Add :pass.
4317 (rcirc): When prompting for connection parameters, also prompt for
4318 username and password.
4319 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
4320 value to server when connecting.
4322 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4325 (smie-merge-prec2s): Pass the tables as separate args.
4326 (smie-bnf-precedence-table): Adjust call accordingly.
4327 (smie-prec2-levels): Set levels at the end.
4329 Replace Lisp calls to delete-backward-char by delete-char.
4330 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4331 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4332 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4333 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4334 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4335 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4336 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4337 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4338 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4339 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4340 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4341 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4342 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4343 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4344 delete-backward-char by calls to delete-char.
4346 2010-05-25 Kenichi Handa <handa@m17n.org>
4348 * language/hebrew.el (hebrew-shape-gstring): New function.
4349 Register it in composition-function-table for all Hebrew combining
4352 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * epa.el (epa--select-keys): Don't explicitly delete the window since
4355 that can fail (e.g. sole window in frame). Use dedication instead.
4357 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4359 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4361 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
4363 * image.el (image-refresh): Define as an alias for image-flush.
4365 * image-mode.el (image-toggle-display-image): Caller changed.
4367 2010-05-21 Juri Linkov <juri@jurta.org>
4369 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4370 Remove "all" from grep-files-aliases. Split grep-files-aliases by
4371 whitespace, call wildcard-to-regexp on substrings and concat them
4372 with "\\|". (Bug#6114)
4374 2010-05-21 Alan Mackenzie <acm@muc.de>
4376 * progmodes/cc-engine.el (c-parse-state-get-strategy):
4377 Replace parameter `here' with `here-' and `here-plus', which sandwich
4378 any pertinent CPP construct.
4379 (c-remove-stale-state-cache-backwards): Fix a bug which happens
4380 when doing (c-parse-state) in a CPP construct: Exclude any "new"
4381 CPP construct from taking part in the scanning.
4383 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
4385 * net/tramp.el (tramp-do-copy-or-rename-file)
4386 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4387 Tune `with-progress-reporter' messages.
4388 (tramp-handle-vc-registered):
4389 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4390 (tramp-fish-handle-insert-file-contents)
4391 (tramp-fish-maybe-open-connection):
4392 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4393 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4394 (tramp-imap-handle-insert-file-contents)
4395 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4397 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
4399 * add-log.el (change-log-font-lock-keywords):
4400 Highlight all authors in multi-author entries.
4402 * smerge-mode.el (smerge-refine-ignore-whitespace)
4403 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4404 Fix typos in docstrings.
4405 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4407 2010-05-21 Glenn Morris <rgm@gnu.org>
4409 * progmodes/fortran.el (fortran-mode):
4410 * progmodes/f90.el (f90-mode): Derive from prog-mode.
4412 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4413 having a relative path in src/Makefile.in.
4415 2010-05-20 Kevin Ryde <user42@zip.com.au>
4417 * help-mode.el (help-make-xrefs): For Info node links turn
4418 newlines into spaces. Link node names with newlines are matched
4419 by help-xref-info-regexp and buttonized, this change ensures they
4420 can be followed successfully with RET. (Bug#6206)
4422 2010-05-20 Juri Linkov <juri@jurta.org>
4424 * locate.el (locate): Use pop-to-buffer instead of
4425 switch-to-buffer-other-window. (Bug#6204)
4427 2010-05-20 Juri Linkov <juri@jurta.org>
4429 * replace.el (replace-highlight): Fix lazy-highlighting
4430 for `M-s w str M-% str RET'.
4432 2009-12-15 Masatake YAMATO <yamato@redhat.com>
4434 * isearch.el (isearch-yank-word-or-char): Pull next subword
4435 when `subword-mode' is activated. (Bug#6220)
4437 2010-05-20 Mark A. Hershberger <mah@everybody.org>
4439 * isearch.el (isearch-update-post-hook): New hook.
4440 (isearch-update): Use the new hook. (Bug#6225)
4442 2010-05-20 Juri Linkov <juri@jurta.org>
4444 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4445 [f1], [help], and (char-to-string help-char) instead of "\C-h".
4448 2010-05-20 Juri Linkov <juri@jurta.org>
4450 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4453 2010-05-20 Juri Linkov <juri@jurta.org>
4455 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4456 FILE-NAME to read from the minibuffer when called interactively
4457 with prefix argument instead of using buffer-file-name.
4458 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4460 * dired.el: Update autoloads.
4462 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
4464 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4465 nxml-finish-element, for consistency with SGML mode.
4467 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4470 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
4472 * composite.el: Require cl when compiling.
4473 (reference-point-alist, compose-gstring-for-graphic)
4474 (compose-gstring-for-terminal): Fix typos in docstrings.
4476 2010-05-19 Juri Linkov <juri@jurta.org>
4478 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4479 set-window-parameter.
4481 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4483 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4485 (tramp-maybe-open-connection): Use it.
4487 2010-05-19 Eli Zaretskii <eliz@gnu.org>
4489 * simple.el (move-end-of-line): Make sure we are at line beginning
4490 before backing up to end of previous line.
4492 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4494 * password-cache.el (password-cache-remove): Fix docstring.
4496 * net/secrets.el: Autoload the widget functions.
4497 (secrets-search-items, secrets-create-item)
4498 (secrets-get-attributes, secrets-expand-item): Attributes will be
4499 stored on the password database without leading ":", as all other
4501 (secrets-mode): Fix docstring.
4502 (secrets-show-secrets): Provide it as autoloaded command only when
4503 D-Bus support is available. Check existence of Secret Service API.
4505 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * indent.el (indent-region): Deactivate region (bug#6200).
4509 2010-05-19 Glenn Morris <rgm@gnu.org>
4511 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
4513 2010-05-19 Kenichi Handa <handa@m17n.org>
4515 * composite.el: Register compose-gstring-for-graphic in
4516 composition-function-table only for combining characters (Mn, Mc, Me).
4518 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
4520 * calc/calc-trail.el (calc-trail-isearch-forward)
4521 (calc-trail-isearch-backward): Ensure that the new window
4522 point is set correctly.
4524 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * subr.el (read-quoted-char): Resolve modifiers after key
4527 remapping (bug#6212).
4529 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
4531 Add visualization code for secrets.
4532 * net/secrets.el (secrets-mode): New major mode.
4533 (secrets-show-secrets, secrets-show-collections)
4534 (secrets-expand-collection, secrets-expand-item)
4535 (secrets-tree-widget-after-toggle-function)
4536 (secrets-tree-widget-show-password): New defuns.
4538 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4541 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4542 handled in smie-next-sexp.
4543 (smie-indent-calculate): Provide a starting indentation (so the
4544 recursion is well-founded ;-).
4546 Fix handling of non-associative equal levels.
4547 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4548 when it's not needed.
4549 (smie-op-left, smie-op-right): New functions.
4550 (smie-next-sexp): New function, extracted from smie-backward-sexp.
4551 Better handle equal levels to distinguish the associative case from
4552 the "multi-keyword construct" case.
4553 (smie-backward-sexp, smie-forward-sexp): Use it.
4555 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
4557 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4559 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4560 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4562 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4564 Provide a simple generic indentation engine and use it for Prolog.
4565 * emacs-lisp/smie.el: New file.
4566 * progmodes/prolog.el (prolog-smie-op-levels)
4567 (prolog-smie-indent-rules): New var.
4568 (prolog-mode-variables): Use them to configure SMIE.
4569 (prolog-indent-line, prolog-indent-level): Remove.
4571 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4573 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4574 order before computing the averages.
4576 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
4578 * calc/calc-vec.el (calc-histogram):
4579 (calcFunc-histogram): Allow vectors as inputs.
4580 (math-vector-avg): New function.
4582 * calc/calc-ext.el (math-group-float): Have the number of digits
4583 being grouped depend on the radix (Bug#6189).
4585 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
4587 * version.el (emacs-copyright, emacs-version): Don't define here,
4588 now that emacs.c defines it.
4590 2010-05-15 Eli Zaretskii <eliz@gnu.org>
4592 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4593 "Describe Language Environment" menu item.
4595 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4597 Bidi-sensitive movement with arrow keys.
4598 * subr.el (right-arrow-command, left-arrow-command): New functions.
4600 * bindings.el (global-map): Bind them to right and left arrow keys.
4602 Don't override standard definition of convert-standard-filename.
4603 * files.el (convert-standard-filename): Call
4604 w32-convert-standard-filename and dos-convert-standard-filename on
4605 the corresponding systems.
4607 * w32-fns.el (w32-convert-standard-filename): Rename from
4608 convert-standard-filename. Doc fix.
4610 * dos-fns.el (dos-convert-standard-filename): Doc fix.
4611 (convert-standard-filename): Don't defalias.
4612 (register-name-alist, make-register, register-value)
4613 (set-register-value, intdos): Obsolete aliases for the
4614 corresponding dos-* functions and variables.
4615 (dos-intdos): Add a doc string.
4617 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
4619 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4620 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4621 (math-compose-tex-func):
4622 * calc/calccomp.el (math-compose-expr):
4623 * calc/calc-ext.el (math-format-flat-expr-fancy):
4624 * calc/calc-store.el (calc-read-var-name):
4625 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4627 * calc/calc.el (var-π, var-φ, var-γ): New variables.
4628 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4629 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4630 (math-standard-units): Add units.
4632 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * progmodes/asm-mode.el (asm-mode):
4635 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4637 * pcomplete.el (pcomplete-completions-at-point): New function,
4638 extracted from pcomplete-std-complete.
4639 (pcomplete-std-complete): Use it.
4641 2010-05-15 Glenn Morris <rgm@gnu.org>
4643 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4644 Remove references to CVS, RCS and Old directories.
4646 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
4648 * calc/calc-bin.el (math-format-twos-complement): Group digits when
4651 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4653 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4654 (sh-mode-syntax-table): Give it a default value instead.
4655 (sh-header-marker): Make buffer-local.
4656 (sh-mode): Move make-local-variable to the corresponding setq.
4657 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4658 Use complete-with-action.
4660 * simple.el (prog-mode): New (abstract) major mode.
4661 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4662 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4664 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
4666 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4667 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4668 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4669 (sql-make-alternate-buffer-name, sql-placeholders-filter)
4670 (sql-escape-newlines-filter, sql-input-sender)
4671 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4673 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
4675 Add TeX open-block and close-block keybindings to SGML, and vice versa.
4677 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4678 latex-open-block and C-c / to latex-close-block.
4680 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4681 and C-c C-e to sgml-close-tag.
4683 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
4685 * net/tramp.el (with-progress-reporter): Create reporter object
4686 only when the message would be displayed. Handle nested calls.
4687 (tramp-handle-load, tramp-handle-file-local-copy)
4688 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4689 (tramp-maybe-send-script, tramp-find-shell):
4690 Use `with-progress-reporter'.
4691 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4694 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4695 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4696 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4697 Use `with-progress-reporter'.
4699 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
4701 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4702 process everytime when spellchecking from the minibuffer (bug#6143).
4704 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4708 * dos-fns.el: Add "dos-" prefix for namespace control.
4709 (convert-standard-filename): Define as alias for
4710 dos-convert-standard-filename but only if applicable.
4712 2010-05-12 Alan Mackenzie <acm@muc.de>
4714 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4715 Push the mark at the start of these functions when appropriate.
4717 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * minibuffer.el (completion-cycle-threshold): New custom var.
4720 (completion--do-completion): Use it.
4721 (minibuffer-complete): Use cycling if appropriate.
4723 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
4725 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4726 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4728 2010-05-11 Juri Linkov <juri@jurta.org>
4730 * scroll-all.el (scroll-all-check-to-scroll):
4731 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4733 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4735 * iimage.el (iimage-mode-map): Move initialization into declaration.
4736 (iimage-mode-buffer): Use with-silent-modifications.
4737 Simplify calling convention. Adjust callers.
4738 (iimage-mode): Don't run hook redundantly.
4740 * minibuffer.el (completion-pcm--pattern->regex):
4741 Fix last change (bug#6160).
4743 2010-05-10 Juri Linkov <juri@jurta.org>
4745 Remove nodes visited during Isearch from the Info history.
4746 * info.el (Info-isearch-initial-history)
4747 (Info-isearch-initial-history-list): New variables.
4748 (Info-isearch-start): Record initial values of
4749 Info-isearch-initial-history and Info-isearch-initial-history-list.
4750 Add Info-isearch-end to isearch-mode-end-hook.
4751 (Info-isearch-end): New function.
4753 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
4755 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4756 format string, in order to work around a bug in pdksh.
4757 Reported by Gilles Pion <gpion@lfdj.com>.
4758 (tramp-handle-verify-visited-file-modtime): Do not send a command
4759 when the connection is not established.
4760 (tramp-handle-set-file-times): Simplify the check for utc.
4762 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
4764 Fix use of `filter-buffer-substring' (rework previous change).
4765 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4766 (cua-repeat-replace-region):
4767 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4768 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4769 (cua-cut-region-to-global-mark): Use it.
4771 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
4773 * progmodes/sql.el: Version 2.1.
4774 (sql-product-alist): Redesign structure of product info.
4775 (sql-product, sql-user, sql-server, sql-database): Safe variables.
4776 (sql-port, sql-port-history): New variables.
4777 (sql-interactive-product): New variable.
4778 (sql-send-terminator): New variable.
4779 (sql-imenu-generic-expression): Add "Types" imenu entry.
4780 (sql-oracle-login-params, sql-sqlite-login-params)
4781 (sql-mysql-login-params, sql-solid-login-params)
4782 (sql-sybase-login-params, sql-informix-login-params)
4783 (sql-ingres-login-params, sql-ms-login-params)
4784 (sql-postgres-login-params, sql-interbase-login-params)
4785 (sql-db2-login-params, sql-linter-login-params)
4786 (sql-oracle-scan-on): New variables.
4787 (sql-mode-map): Add C-c C-i to start interactive mode.
4788 (sql-mode-menu): Update existing menu entries.
4789 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4790 (sql-mode-oracle-font-lock-keywords)
4791 (sql-mode-postgres-font-lock-keywords)
4792 (sql-mode-ms-font-lock-keywords)
4793 (sql-mode-sybase-font-lock-keywords)
4794 (sql-mode-informix-font-lock-keywords)
4795 (sql-mode-interbase-font-lock-keywords)
4796 (sql-mode-ingres-font-lock-keywords)
4797 (sql-mode-solid-font-lock-keywords)
4798 (sql-mode-mysql-font-lock-keywords)
4799 (sql-mode-sqlite-font-lock-keywords)
4800 (sql-mode-db2-font-lock-keywords)
4801 (sql-mode-linter-font-lock-keywords): Update initialization to
4802 reduce run-time complexity.
4803 (sql-add-product, sql-del-product): New functions.
4804 (sql-set-product-feature, sql-get-product-feature): New functions.
4805 (sql-product-font-lock): Update product API.
4806 (sql-add-product-keywords): New function.
4807 (sql-highlight-product): Update product API.
4808 (sql-help-list-products): New function.
4809 (sql-help): Dynamically lists free and non-free products.
4810 (sql-get-login): Correct bug in handling history and added
4812 (sql-copy-column): Copy without properties.
4813 (sqli-input-sender): Apply filters to SQLi input.
4814 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4815 Implement as a filter.
4816 (sql-escape-newlines-filter): Implement as a filter.
4817 (sql-remove-tabs-filter): New function.
4818 (sql-send-magic-terminator): New function.
4819 (sql-send-string): Implement magic terminator.
4820 (sql-send-region): Use `sql-send-string'.
4821 (sql-interactive-mode): Use product API.
4822 (sql-product-interactive): Use product API.
4823 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4824 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4825 (sql-db2, sql-linter): Use `sql-product-interactive'.
4826 (sql-connect): New function.
4827 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4828 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4829 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4830 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4833 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4836 New custom variable.
4837 (completion-pcm--string->pattern): Use it.
4838 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4839 Make it handle any symbol as `any'.
4840 (completion-pcm--merge-completions): Extract common suffix for the new
4841 `prefix' symbol as well.
4842 (completion-substring--all-completions): Use the new `prefix' symbol.
4844 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
4846 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4848 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4849 (tramp-compat-funcall): New defmacro.
4850 (tramp-compat-line-beginning-position)
4851 (tramp-compat-line-end-position)
4852 (tramp-compat-temporary-file-directory)
4853 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4854 (tramp-compat-copy-file, tramp-compat-copy-directory)
4855 (tramp-compat-delete-file, tramp-compat-delete-directory)
4856 (tramp-compat-number-sequence, tramp-compat-process-running-p)
4857 * net/tramp.el (top, with-progress-reporter)
4858 (tramp-rfn-eshadow-setup-minibuffer)
4859 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4860 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4861 (tramp-completion-mode-p, tramp-check-for-regexp)
4862 (tramp-open-connection-setup-interactive-shell)
4863 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4864 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4865 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4866 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4867 (tramp-reporter-dump-variable, tramp-load-report-modules)
4868 (tramp-append-tramp-buffers)
4869 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4871 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4873 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4875 * progmodes/compile.el (compilation-buffer-modtime): Rename from
4876 buffer-modtime. Adjust users.
4878 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4880 * international/mule.el (auto-coding-alist): Only purecopy
4881 car of each item, not the whole list (Bug#6083).
4883 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4885 * progmodes/js.el (js-mode): Make paragraph variables local before
4886 calling c-setup-paragraph-variables (Bug#6071).
4888 2010-05-08 Eli Zaretskii <eliz@gnu.org>
4890 * composite.el (compose-region, reference-point-alist): Fix typos
4893 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4895 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4896 gnuplot's "set" command.
4898 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4900 * abbrev.el (last-abbrev-text): Doc fix.
4901 (abbrev-prefix-mark): Don't escape parenthesis.
4903 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
4905 * composite.el (find-composition): Doc fix.
4907 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4909 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4910 (sql-oracle-program, sql-sqlite-options)
4911 (sql-query-placeholders-and-send): Doc fixes.
4912 (sql-set-product, sql-interactive-mode): Reflow docstrings.
4913 (sql-imenu-generic-expression, sql-buffer)
4914 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
4915 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
4916 (sql-mode-sybase-font-lock-keywords)
4917 (sql-mode-informix-font-lock-keywords)
4918 (sql-mode-interbase-font-lock-keywords)
4919 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
4920 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
4921 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
4922 (sql-product-feature, sql-highlight-product)
4923 (comint-line-beginning-position, sql-rename-buffer)
4924 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
4925 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
4926 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
4927 Fix typos in docstrings.
4929 2010-05-08 Juri Linkov <juri@jurta.org>
4931 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
4932 property instead of `invisible' and `after-string' (bug#5998).
4934 2010-05-08 Juri Linkov <juri@jurta.org>
4936 * image-mode.el (image-mode-as-text): Fix typo in docstring.
4938 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4940 * filecache.el (file-cache-add-directory-list)
4941 (file-cache-add-directory-recursively): Fix typos in docstrings.
4943 2010-05-08 Kenichi Handa <handa@m17n.org>
4945 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
4946 (gujarati-composable-pattern): Fix typo.
4948 2010-05-08 Kenichi Handa <handa@m17n.org>
4950 * language/indian.el (oriya-composable-pattern)
4951 (tamil-composable-pattern, malayalam-composable-pattern):
4952 Add two-part vowels to "v" (vowel sign).
4954 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4956 * files.el (copy-directory): Handle symlinks (Bug#5982).
4958 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
4960 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
4961 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
4964 2010-05-08 Glenn Morris <rgm@gnu.org>
4966 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
4968 * minibuffer.el (completion-at-point): Doc fix.
4970 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * electric.el (Electric-command-loop): Minor tweak.
4974 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
4975 better with dedicated windows.
4977 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
4979 * Version 23.2 released.
4981 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
4982 Stefan Monnier <monnier@iro.umontreal.ca>
4984 Highlight vendor specific properties.
4985 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
4986 (css-proprietary-property): New face.
4987 (css-font-lock-keywords): Use them.
4989 2010-05-07 Eli Zaretskii <eliz@gnu.org>
4991 * cus-start.el (all): Add native condition for tool-bar-* symbols.
4993 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4995 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4996 * files.el (auto-mode-alist): Remove redundant entries.
4998 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4999 * simple.el (auto-save-mode): Move from files.el.
5000 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5002 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5004 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5006 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5008 * mail/binhex.el (binhex-decode-region-internal)
5009 * mail/uudecode.el (uudecode-decode-region-internal)
5010 * net/dns.el (dns-read-string-name, dns-write, dns-read)
5011 (dns-read-type, dns-query)
5012 * pgg-parse.el (pgg-parse-armor)
5013 * pgg.el (pgg-verify-region)
5014 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5017 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5019 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
5021 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5023 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5024 * emulation/cua-base.el (cua-repeat-replace-region):
5025 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5026 (cua-cut-region-to-global-mark):
5027 Remove text properties with `set-text-properties'.
5029 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
5031 * net/tramp.el (top, with-progress-reporter):
5032 Use `symbol-function' inside `funcall'.
5034 * net/tramp-compat.el (tramp-compat-file-attributes)
5035 (tramp-compat-delete-file, tramp-compat-delete-directory):
5036 Handle only `wrong-number-of-arguments' error.
5038 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5039 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5042 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5044 * minibuffer.el (completion--sreverse, completion--common-suffix):
5046 (completion-pcm--merge-completions): Extract common suffix when safe.
5048 * emacs-lisp/easy-mmode.el (define-minor-mode):
5049 Make :variable more flexible.
5050 * files.el (auto-save-mode): Use it to define using define-minor-mode.
5052 2010-05-05 Juri Linkov <juri@jurta.org>
5054 Add `slow' and `history' tags to the desktop data.
5056 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5057 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5058 (Info-finder-find-node): Require `finder.el' to be able
5059 to restore node from the desktop.
5060 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
5061 data `Info-history' and `slow' tag in the assoc list.
5062 (Info-restore-desktop-buffer): Don't restore nodes with the
5063 `slow' tag. Restore `Info-history'.
5065 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
5067 Add FORCE argument to `delete-file'.
5069 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5070 forcing to delete the temporary file.
5071 (ange-ftp-delete-file): Add FORCE arg.
5072 (ange-ftp-rename-remote-to-remote)
5073 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5074 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5075 Force file deletion.
5077 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5079 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5080 (tramp-handle-make-symbolic-link, tramp-handle-load)
5081 (tramp-do-copy-or-rename-file-via-buffer)
5082 (tramp-do-copy-or-rename-file-directly)
5083 (tramp-do-copy-or-rename-file-out-of-band)
5084 (tramp-handle-process-file, tramp-handle-call-process-region)
5085 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5086 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5087 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5089 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5090 (tramp-fish-handle-make-symbolic-link)
5091 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5093 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5094 Use `tramp-compat-delete-file'.
5096 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5097 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5099 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5100 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5102 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5103 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5104 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5105 `tramp-compat-delete-file'.
5107 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * subr.el (add-minor-mode): Use push.
5111 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5112 * emulation/edt.el (edt-select-mode): Simplify.
5114 Use define-minor-mode in more cases.
5115 * term/tvi970.el (tvi970-set-keypad-mode):
5116 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5117 (normal-erase-is-backspace-mode):
5118 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5119 (set-scroll-bar-mode-1): (Re)move to its sole caller.
5120 (get-scroll-bar-mode): New function.
5121 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5123 Use define-minor-mode for less obvious cases.
5124 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5125 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5126 * international/iso-ascii.el (iso-ascii-mode):
5127 * frame.el (auto-raise-mode, auto-lower-mode):
5128 * composite.el (global-auto-composition-mode): Use define-minor-mode.
5130 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
5132 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5133 in order to see error messages for failed logins.
5135 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
5137 * diff.el (diff-sentinel):
5139 * epg.el (epg--make-temp-file, epg-decrypt-string)
5140 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5142 * jka-compr.el (jka-compr-partial-uncompress)
5143 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5145 * server.el (server-sentinel): Use delete-file's new FORCE arg
5148 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5150 Use define-minor-mode where applicable.
5151 * view.el (view-mode):
5152 * type-break.el (type-break-query-mode)
5153 (type-break-mode-line-message-mode):
5154 * textmodes/reftex.el (reftex-mode):
5155 * term/vt100.el (vt100-wide-mode):
5156 * tar-mode.el (tar-subfile-mode):
5157 * savehist.el (savehist-mode):
5158 * ibuf-ext.el (ibuffer-auto-mode):
5159 * composite.el (auto-composition-mode):
5160 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5161 Use define-minor-mode.
5162 (vhdl-mode): Use static mode-line format.
5163 (vhdl-mode-line-update): Delete.
5164 (vhdl-create-mode-menu, vhdl-activate-customizations)
5165 (vhdl-hs-minor-mode): Don't bother calling it.
5167 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * simple.el (with-wrapper-hook): Move.
5170 (buffer-substring-filters): Mark obsolete.
5171 (filter-buffer-substring-functions): New variable.
5172 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
5174 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5175 Michael Albinus <michael.albinus@gmx.de>
5177 Implement compression for inline methods.
5179 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5180 (tramp-copy-size-limit): Allow also nil.
5181 (tramp-inline-compress-commands): New defconst.
5182 (tramp-find-inline-compress, tramp-get-inline-compress)
5183 (tramp-get-inline-coding): New defuns.
5184 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5185 replaced by `tramp-get-inline-coding'.
5186 (tramp-handle-file-local-copy, tramp-handle-write-region)
5187 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5189 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5192 Remove unused functions.
5194 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5195 Set find-tag-default-function as a variable rather than a property.
5197 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5198 * progmodes/etags.el (tags-completion-at-point-function):
5199 Remove left over interactive spec. Add autoloading stub.
5200 (complete-tag): Use tags-completion-at-point-function.
5202 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
5204 * minibuffer.el (tags-completion-at-point-function): Fix return value.
5206 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5208 * ido.el (ido-init-completion-maps): Remove C-v binding.
5209 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5211 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5213 * minibuffer.el (tags-completion-at-point-function): New function.
5214 (completion-at-point-functions): Use it.
5216 * progmodes/etags.el (complete-tag): Revert last change.
5218 2010-04-29 Alan Mackenzie <acm@muc.de>
5220 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5221 off-by-one error (in end of macro position).
5223 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5225 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5226 firefox is absent. Don't autoload.
5227 (browse-url-galeon-program): Don't autoload.
5229 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5231 * bindings.el (complete-symbol): Move into minibuffer.el.
5233 * minibuffer.el (complete-tag): Move from etags.el. If tags
5234 completion cannot be performed, return nil instead of signalling
5236 (completion-at-point): Make it an alias for complete-symbol.
5237 (complete-symbol): Move from bindings.el, and replace with the
5238 body of completion-at-point.
5240 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5242 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
5244 * net/tramp.el (tramp-remote-selinux-p): New defun.
5245 (tramp-handle-file-selinux-context)
5246 (tramp-handle-set-file-selinux-context): Use it.
5248 2010-04-28 Sam Steingold <sds@gnu.org>
5250 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5251 `safe-local-variable' if the value is a string or a symbol with
5252 the property `bug-reference-url-format'.
5254 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5256 * progmodes/bug-reference.el (bug-reference-url-format):
5257 Revert 2010-04-27 change due to security risk.
5259 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5261 Make it possible to locally disable a globally enabled mode.
5262 * simple.el (fundamental-mode): Run fundamental-mode-hook.
5263 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5264 rather than kill-all-local-variables so it runs fundamental-mode-hook.
5265 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5266 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5267 that subsequent hooks get a chance to disable it.
5269 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5272 Avoid re-enabling a minor mode after the user turned the minor mode
5273 off if MODE-enable-in-buffers is run twice (typically once from
5274 fundamental-mode's after-change-major-mode-hook and a second time from
5275 run-mode-hook's own after-change-major-mode-hook).
5277 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5279 2010-04-27 Sam Steingold <sds@gnu.org>
5281 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5282 `safe-local-variable' if the value is a string or a function, as
5283 documented and implemented on 2010-04-02.
5285 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
5287 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5288 when method is 'kill.
5290 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
5292 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5293 condition in default directory check.
5294 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5295 Kill ispell process when killing its associated buffer.
5297 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
5299 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5300 but we aren't using it.
5302 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
5304 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5305 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5307 2010-04-24 Glenn Morris <rgm@gnu.org>
5309 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5310 Ignore VCS-ignore files, and deleted nextstep preferences files.
5311 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5312 (authors-ambiguous-files): New list.
5313 (authors-valid-file-names): Add some deleted files.
5314 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5315 (authors-disambiguate-file-name): New function. (Bug#5501)
5316 (authors-canonical-file-name): Doc fix.
5317 Don't warn about obsolete files.
5318 (authors-canonical-file-name, authors-scan-el):
5319 Use authors-disambiguate-file-name.
5321 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5322 Add autoload cookies.
5323 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5324 (generated-autoload-file): Set file-local value to "htmlfontify.el".
5325 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5326 They have definitions / compiler macros in cl.el.
5327 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5328 Replace manual autoloads with generated ones.
5329 (htmlfontify-unload-rgb-file): Remove autoload.
5330 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5332 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5334 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5335 (byte-compile-setq-default): Optimize for the
5336 single-var case and don't call byte-compile-form in this case to avoid
5337 inf-loop with byte-compile-set-default.
5339 * progmodes/compile.el (compilation-start): Abbreviate default directory.
5341 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
5343 Implement SELINUX backends.
5345 * net/tramp.el (tramp-file-name-handler-alist):
5346 Add `file-selinux-context' and `set-file-selinux-context'.
5347 (tramp-handle-file-selinux-context)
5348 (tramp-handle-set-file-selinux-context): New defuns.
5349 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5350 Handle PRESERVE-SELINUX-CONTEXT.
5352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5353 Add `file-selinux-context' and `set-file-selinux-context'.
5354 (tramp-gvfs-handle-file-selinux-context)
5355 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5356 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5358 * net/ange-ftp.el (ange-ftp-copy-file):
5359 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5360 * net/tramp-imap.el (tramp-imap-handle-copy-file):
5361 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5362 Add PRESERVE-SELINUX-CONTEXT.
5364 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5366 Synchronize with Tramp repository.
5368 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5369 (tramp-action-process-alive, tramp-action-out-of-band)
5370 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5371 (tramp-exists-file-name-handler): Fix docstring.
5372 (with-progress-reporter): New defmacro.
5373 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5374 (tramp-maybe-open-connection): Use it.
5376 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
5378 Detect ssh 'ControlMaster' argument automatically in some cases.
5380 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5381 (tramp-default-method): Use it.
5383 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5385 * net/tramp.el (tramp-handle-copy-file): Add new optional
5386 parameter `preserve-selinux-context'.
5387 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5389 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5391 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5392 Ensure, that non remote files are still checked. Oops.
5394 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
5398 * icomplete.el (icomplete-completions): Use `non-essential'.
5400 * net/tramp.el (tramp-connectable-p): New defun.
5401 (tramp-handle-expand-file-name)
5402 (tramp-completion-handle-file-name-all-completions)
5403 (tramp-completion-handle-file-name-completion): Use it.
5405 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5409 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
5411 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5413 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5415 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5418 * info.el (info-tool-bar-map): Add labels.
5420 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5422 * cus-edit.el (custom-commands): Add labels for tool bar.
5423 (custom-buffer-create-internal, Custom-mode): Adjust for
5424 labels in custom-commands.
5426 * dynamic-setting.el: Renamed from font-setting.el.
5428 2010-04-21 John Wiegley <jwiegley@gmail.com>
5430 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5431 toggles the use of virtual buffers.
5432 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5433 (ido-toggle-virtual-buffers): New function.
5435 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
5437 Use `define-derived-mode'; fix window selection; doc fixes.
5438 * play/tetris.el (tetris, tetris-update-speed-function)
5439 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5440 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5441 (tetris-rotate-next, tetris-end-game, tetris-start-game)
5442 (tetris-pause-game): Fix typos in docstrings.
5443 (tetris-mode-map, tetris-null-map):
5444 Move initialization into declaration.
5445 (tetris-mode): Define with `define-derived-mode';
5446 set show-trailing-whitespace to nil.
5447 (tetris): Prefer window already displaying the "*Tetris*" buffer.
5449 2010-04-21 Karel Klíč <kklic@redhat.com>
5451 * files.el (backup-buffer): Handle SELinux context, and return it
5452 if a backup was made by renaming.
5453 (backup-buffer-copy): Set SELinux context to the target file.
5454 (basic-save-buffer): Set SELinux context of the newly written file.
5455 (basic-save-buffer-1): Now it also returns any SELinux context.
5456 (basic-save-buffer-2): Set SELinux context of the newly created file,
5458 * net/tramp.el (tramp-file-name-for-operation):
5459 Add file-selinux-context.
5461 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5463 Make the log-edit comments use RFC822 format throughout.
5465 * vc.el (vc-checkin, vc-modify-change-comment):
5466 Adjust to new vc-start/finish-logentry.
5467 (vc-find-conflicted-file): New command.
5468 (vc-transfer-file): Adjust to new vc-checkin.
5469 (vc-next-action): Improve scoping.
5471 * vc-hg.el (vc-hg-log-edit-mode): Remove.
5472 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
5474 * vc-git.el (vc-git-log-edit-mode): Remove.
5475 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
5476 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5478 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5479 (vc-start-logentry): Remove argument `extra'.
5480 (vc-finish-logentry): Remove extra args.
5482 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5483 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
5484 (vc-bzr-conflicted-files): New function.
5486 * log-edit.el (log-edit-extra-flags)
5487 (log-edit-before-checkin-process): Remove.
5488 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5489 (log-edit-headers-alist): New var.
5490 (log-edit-header-contents-regexp): New const.
5491 (log-edit-match-to-eoh): New function.
5492 (log-edit-font-lock-keywords): Use them.
5493 (log-edit): Insert a "Summary:" header as default.
5494 (log-edit-mode): Mark font-lock rules as case-insensitive.
5495 (log-edit-done): Cleanup headers.
5496 (log-view-process-buffer): Remove.
5497 (log-edit-extract-headers): New function to replace it.
5499 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
5501 * subr.el (default-direction-reversed): Remove obsolescence info.
5503 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5508 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5509 I.e. include text after point in the completion region.
5510 Also, return nil when we're not after/in a symbol.
5512 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5513 default enable-multibyte-characters.
5515 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5517 * international/mule.el: Help the user choose a valid coding-system.
5518 (read-buffer-file-coding-system): New function.
5519 (set-buffer-file-coding-system): Use it. Prompt the user if the
5520 coding-system cannot encode all the chars.
5522 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5523 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5524 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5525 Don't use *vc-bzr-shelve*.
5527 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
5529 Fix the version number for added files.
5530 * vc-hg.el (vc-hg-working-revision): Check if the file is
5531 registered after hg parent fails (Bug#5961).
5533 2010-04-19 Glenn Morris <rgm@gnu.org>
5535 * htmlfontify.el (htmlfontify-buffer)
5536 (htmlfontify-copy-and-link-dir): Autoload entry points.
5538 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
5540 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5541 name relative to the project root (Bug#5960).
5543 2010-04-19 Glenn Morris <rgm@gnu.org>
5545 * vc-git.el (vc-git-print-log): Doc fix.
5547 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
5549 * ido.el (ido-file-internal): Fix 2009-12-02 change.
5551 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
5553 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5554 default settings (Bug#5928).
5556 2010-04-19 Glenn Morris <rgm@gnu.org>
5558 * progmodes/fortran.el (fortran-match-and-skip-declaration):
5560 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
5562 2010-04-19 Kenichi Handa <handa@m17n.org>
5564 * language/indian.el (malayalam-composable-pattern): Fix previous
5565 change (add U+0D4D "SIGN VIRAMA").
5566 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5567 (tamil-composable-pattern): Fix typo in the regexp.
5568 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5569 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5570 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5572 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5574 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5575 paragraph-separate (Bug#5821).
5577 2010-04-19 Juri Linkov <juri@jurta.org>
5579 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5581 * info.el (Info-find-node-2): Comment out code that skips
5583 (Info-mouse-follow-link): New command.
5584 (Info-link-keymap): New keymap.
5585 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5586 Return a string with links instead of inserting breadcrumbs
5588 (Info-fontify-node): Comment out code that inserts breadcrumbs.
5589 Instead of putting the `invisible' text property over the Info
5590 header, make an overlay over the Info header with the `invisible'
5591 property and `after-string' set to the string returned by
5594 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5596 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5597 Reported by monkey@sandpframing.com.
5599 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5602 (tmm-get-keymap): Add key-binding shortcuts now that they're not
5603 available in the "keyseq cache" any more.
5605 * custom.el (defcustom): Add edebug spec.
5607 2010-04-18 Juri Linkov <juri@jurta.org>
5609 Test for special mode-class in view-buffer instead of view-file (bug#5513).
5611 * view.el (view-file, view-buffer): Move test for special mode-class
5612 from view-file to view-buffer.
5614 * tar-mode.el (tar-extract): Turn if's into one cond
5615 like in arc-mode.el.
5617 2010-04-18 Juri Linkov <juri@jurta.org>
5619 Add 7z archive format support (bug#5475).
5621 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5622 (archive-7z-extract): New defcustom.
5623 (archive-find-type): Add magic string for 7z.
5624 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5625 If `stderr-file' is non-nil, use `(t stderr-file)' for the
5626 `buffer' arg of `call-process'.
5627 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5628 call the function `archive-7z-extract' with the variable
5629 `archive-7z-extract' let-bound to `archive-zip-extract'.
5630 (archive-7z-summarize, archive-7z-extract): New functions.
5632 * international/mule.el (auto-coding-alist):
5633 * files.el (auto-mode-alist): Add 7z file extension.
5635 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * loadup.el: Setup hash-cons for pure data.
5639 Fix duplicate entries in cedet's loaddefs.el files.
5640 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5641 Should make most file-local generated-autoload-file unnecessary.
5642 (print-readably): Silence warnings.
5643 (autoload-find-destination): Take load-name as an arg to make sure
5644 it's the same as the one that will be in the file.
5645 (autoload-generate-file-autoloads): Adjust to above changes.
5646 Try to make the dataflow a bit simpler.
5648 * cvs-status.el (cvs-refontify): Remove unused.
5650 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
5652 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5654 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5655 twos-complement mode.
5657 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
5659 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5660 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
5661 (calc-inverse): Add "Option" to message, as appropriate.
5662 (calc-hyperbolic): Add "Option" to message, as appropriate.
5663 (calc-option, calc-is-option): New functions.
5665 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5666 (calc-option-prefix-help): New function.
5668 * calc/calc-misc.el (calc-help): Add "Option" entry.
5670 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5671 (calc-option-flag): New variable.
5672 (calc-do): Set `calc-option-flag to nil.
5673 (calc-set-mode-line): Add "Opt " as appropriate.
5675 2010-04-16 Juri Linkov <juri@jurta.org>
5677 Move scrolling commands from simple.el to window.el
5678 because their primitives are implemented in window.c.
5680 * simple.el (scroll-error-top-bottom)
5681 (scroll-up-command, scroll-down-command, scroll-up-line)
5682 (scroll-down-line, scroll-other-window-down)
5683 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5684 * window.el (scroll-error-top-bottom)
5685 (scroll-up-command, scroll-down-command, scroll-up-line)
5686 (scroll-down-line, scroll-other-window-down)
5687 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5688 Move from simple.el to window.el because their primitives are
5689 implemented in window.c.
5691 2010-04-16 Juri Linkov <juri@jurta.org>
5693 * isearch.el (isearch-lookup-scroll-key): Check both
5694 `isearch-scroll' and `scroll-command' properties.
5695 (scroll-up, scroll-down): Remove `isearch-scroll' property.
5697 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5699 * simple.el (scroll-up-command, scroll-down-command)
5700 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5702 2010-04-15 Juri Linkov <juri@jurta.org>
5704 * simple.el (scroll-up-command, scroll-down-command)
5705 (scroll-up-line, scroll-down-line): Put `scroll-command'
5706 property on the these symbols. Remove them from
5707 `scroll-preserve-screen-position-commands'.
5709 * mwheel.el (mwheel-scroll): Put `scroll-command' and
5710 `isearch-scroll' properties on the `mwheel-scroll' symbol.
5711 Remove it from `scroll-preserve-screen-position-commands'.
5713 * isearch.el (isearch-allow-scroll): Doc fix.
5715 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
5717 * net/tramp.el (tramp-error-with-buffer): Don't show the
5718 connection buffer when we are in completion mode.
5719 (tramp-file-name-handler): Catch the error for some operations
5720 when we are in completion mode. This gives the user the chance to
5721 correct the file name in the minibuffer.
5723 2010-04-15 Glenn Morris <rgm@gnu.org>
5725 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5727 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
5729 Simplify by using `define-derived-mode'.
5730 * info.el (Info-mode):
5731 * calendar/todo-mode.el (todo-mode):
5732 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5733 (gomoku-mode-map): Move initialization into declaration.
5735 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
5738 * ido.el (ido-file-name-all-completions-1):
5739 * minibuffer.el (minibuffer-completion-help):
5740 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5742 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5744 * simple.el (non-essential): New var.
5746 Add a new field `location' to bookmarks for non-file bookmarks.
5747 * bookmark.el (bookmark-location): Use the new field, if present.
5748 (bookmark-insert-location): Undo last change, not needed any more.
5749 * man.el (Man-bookmark-make-record):
5750 * woman.el (woman-bookmark-make-record): Add `location' field.
5752 2010-04-14 Juri Linkov <juri@jurta.org>
5754 * simple.el (scroll-error-top-bottom): New defcustom.
5755 (scroll-up-command, scroll-down-command): Use it. Doc fix.
5757 * emulation/pc-select.el (pc-select-override-scroll-error):
5758 Obsolete in favor of `scroll-error-top-bottom'.
5760 2010-04-14 Juri Linkov <juri@jurta.org>
5762 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5763 `scroll-up-command' and `M-v' to `scroll-down-command'.
5765 * emulation/cua-rect.el (cua--init-rectangles):
5766 * forms.el (forms--change-commands):
5767 * image-mode.el (image-mode-map):
5768 Remap scroll-down-command and scroll-up-command
5769 in addition to scroll-down and scroll-up.
5771 2010-04-14 Juri Linkov <juri@jurta.org>
5773 * mwheel.el (scroll-preserve-screen-position-commands):
5774 Add mwheel-scroll to this list of commands.
5776 * simple.el (scroll-preserve-screen-position-commands):
5777 Add scroll-up-command, scroll-down-command, scroll-up-line,
5778 scroll-down-line to this list of commands.
5780 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * obsolete/complete.el: Move from lisp/complete.el.
5784 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5786 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5787 to the minor mode function now turns the mode ON unconditionally.
5789 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * vc-dir.el (vc-dir-kill-line): New command.
5792 (vc-dir-mode-map): Bind it to C-k.
5794 * bookmark.el (bookmark-insert-location): Handle a nil filename.
5796 * woman.el: Add bookmark declarations to silence the compiler.
5797 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5798 step to compatibility between man and woman bookmarks.
5799 Adjust for Man-default-bookmark-title renaming.
5800 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
5802 * man.el: Add bookmark declarations to silence the compiler.
5803 (Man-name-local-regexp): Make it match NAME as well.
5804 (Man-getpage-in-background): Return the buffer.
5805 (Man-notify-when-ready): Use `case'.
5806 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5807 Don't hardcode "NAME". Simplify.
5808 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5809 Rename from Man-bookmark-make-record.
5810 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
5811 we have the actual man-args. Use Man-getpage-in-background rather
5812 than `man' since the arg is already processed. Let bookmark.el do the
5813 window handling. Only wait for the relevant process.
5814 Don't forget to autoload.
5816 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5818 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5820 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5822 (woman-mode): Setup bookmark support.
5824 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5825 (man-bookmark-jump): New functions.
5826 (Man-mode): Setup bookmark support.
5828 2010-04-10 Jari Aalto <jari.aalto@cante.net>
5830 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5831 recognize ssh-keygen prompt (Bug#2817).
5833 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5835 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5837 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5839 Synchronize with Tramp repository.
5841 * net/tramp.el (tramp-completion-function-alist)
5842 (tramp-file-name-regexp, tramp-chunksize)
5843 (tramp-local-coding-commands, tramp-remote-coding-commands):
5845 (tramp-remote-process-environment): Use `format' instead of `concat'.
5846 (tramp-handle-directory-files-and-attributes)
5847 (tramp-get-remote-path): Use `copy-tree'.
5848 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5849 compatibility: Use `completion-ignore-case' if
5850 `read-file-name-completion-ignore-case' does not exist.
5851 (tramp-do-copy-or-rename-file-directly): Do not use
5852 `tramp-handle-file-remote-p'.
5853 (tramp-do-copy-or-rename-file-out-of-band):
5854 Use `tramp-compat-delete-directory'.
5855 (tramp-do-copy-or-rename-file-out-of-band)
5856 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5857 Use `format-spec-make'.
5858 (tramp-find-foreign-file-name-handler)
5859 (tramp-advice-make-auto-save-file-name)
5860 (tramp-set-auto-save-file-modes): Remove superfluous check for
5861 `stringp'. This is done inside `tramp-tramp-file-p'.
5862 (tramp-debug-outline-regexp): New defconst.
5863 (tramp-get-debug-buffer): Use it.
5864 (tramp-check-for-regexp): Use (forward-line 1).
5865 (tramp-set-auto-save-file-modes): Adapt version check.
5867 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5868 Wrap call of `featurep' for 2nd argument.
5869 (tramp-compat-make-temp-file): Simplify fallback implementation.
5870 (tramp-compat-copy-tree): Remove function.
5871 (tramp-compat-delete-directory): Provide implementation for older
5874 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5875 Do not use `tramp-fish-handle-file-attributes.
5877 * net/trampver.el: Update release number.
5879 2010-04-10 Glenn Morris <rgm@gnu.org>
5881 * progmodes/compile.el (compilation-save-buffers-predicate):
5882 Add missing :version tag.
5884 2010-04-09 Sam Steingold <sds@gnu.org>
5886 * progmodes/compile.el (compilation-save-buffers-predicate):
5887 Remove the "autoload" cookie.
5889 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5890 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5891 and `bug-reference-prog-mode' can be used in hooks directly.
5893 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5895 Add --author support to git commit.
5896 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5897 (vc-git-log-edit-mode): New minor mode.
5898 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5901 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
5903 * vc-hooks.el, vc-git.el: Improve documentation comments.
5905 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5907 Fix some of the problems in defsubst* (bug#5728).
5908 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5909 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
5911 2010-04-07 Sam Steingold <sds@gnu.org>
5913 * progmodes/compile.el (compilation-save-buffers-predicate):
5914 New custom variable.
5915 (compile, recompile): Pass it to `save-some-buffers'.
5917 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
5919 * wid-edit.el (widget-choose): Move cursor to the second line of
5920 the buffer (Bug#5695).
5922 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5924 Add new VC methods: vc-log-incoming and vc-log-outgoing.
5925 * vc.el (vc-print-log-setup-buttons): New function split out from
5926 vc-print-log-internal.
5927 (vc-log-internal-common): New function, a parametrized version of
5928 vc-print-log-internal.
5929 (vc-print-log-internal): Just call vc-log-internal-common with the
5931 (vc-incoming-outgoing-internal):
5932 (vc-log-incoming, vc-log-outgoing): New functions.
5933 (vc-log-view-type): New permanent local variable.
5935 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5937 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5938 of the dynamic bound vc-short-log.
5939 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5941 * vc-git.el (vc-git-log-outgoing): New function.
5942 (vc-git-log-view-mode): Use vc-log-view-type instead
5943 of the dynamic bound vc-short-log.
5945 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5946 of the dynamic bound vc-short-log. Highlight the tag.
5947 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5948 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5949 (vc-hg-incoming-mode): Remove.
5950 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5952 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5954 Fix default-directory for vc-root-diff.
5955 * vc.el (vc-root-diff): Bind default-directory to the root
5956 directory for the diff command.
5958 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
5960 * progmodes/verilog-mode.el (verilog-forward-sexp):
5961 (verilog-calc-1): Support "disable fork" and "fork wait" multi
5962 word keywords, suggested by Steve Pearlmutter.
5963 (verilog-pretty-declarations): Support lineup of declarations in
5965 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5966 fix bug for /* / comments.
5967 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5968 Speed up and simplfy as this is never called with a bound.
5969 (verilog-pretty-declarations): Enhance to line up declarations
5970 inside a parameter list, suggested by Alan Morgan.
5971 (verilog-pretty-expr): Tune assignment regular expression match
5972 string for corner cases; also use markers instead of character
5973 number as indent changes the later.
5975 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
5977 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5979 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5980 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
5981 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5982 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
5985 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5986 1800-2009 keywords, including "global.".
5988 2010-04-06 John Wiegley <jwiegley@gmail.com>
5990 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5991 appearing in buffer list (if a live buffer name matched a recentf
5992 file basename). Should use uniquify to offer a real solution.
5994 2010-04-06 John Wiegley <jwiegley@gmail.com>
5996 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5997 comment to code, and add a :version tag.
5998 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6000 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
6002 Enable recentf-mode if using virtual buffers.
6003 * ido.el (recentf-list): Declare for byte-compiler.
6004 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
6005 (ido-make-buffer-list): Simplify.
6006 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
6008 2010-04-05 Juri Linkov <juri@jurta.org>
6010 Scrolling commands which scroll a line instead of full screen.
6011 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6013 * simple.el (scroll-up-line, scroll-down-line): New commands.
6014 Put property isearch-scroll=t on them.
6016 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6019 2010-04-05 Juri Linkov <juri@jurta.org>
6021 Scrolling commands which do not signal errors at top/bottom.
6022 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6024 * simple.el (scroll-up-command, scroll-down-command): New commands.
6025 Put property isearch-scroll=t on them.
6027 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6028 `scroll-down-command' and [next] from `scroll-up' to
6029 `scroll-up-command'.
6031 * emulation/cua-base.el: Put property CUA=move on
6032 `scroll-up-command' and `scroll-down-command'.
6033 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6034 and `scroll-down-command' to `cua-scroll-down'.
6036 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
6038 * help.el (describe-mode): Return nil.
6040 2010-04-04 John Wiegley <jwiegley@gmail.com>
6042 * ido.el (ido-use-virtual-buffers): New variable to indicate
6043 whether "virtual buffer" support is enabled for IDO.
6044 (ido-virtual): Face used to indicate virtual buffers in the list.
6045 (ido-buffer-internal): If a buffer is chosen, and no such buffer
6046 exists, but a virtual buffer of that name does (which would be why
6047 it was in the list), recreate the buffer by reopening the file.
6048 (ido-make-buffer-list): If virtual buffers are being used, call
6049 `ido-add-virtual-buffers-to-list' before the make list hook.
6050 (ido-virtual-buffers): New variable which contains a copy of the
6051 current contents of the `recentf-list', albeit pared down for the
6052 sake of speed, and with proper faces applied.
6053 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6054 create a list of "virtual buffers" to present to the user in
6055 addition to the currently open set. Note that this logic could
6056 get rather slow if that list is too large. With the default
6057 `recentf-max-saved-items' of 200, there is little speed penalty.
6059 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * font-lock.el: Require CL when compiling.
6062 (font-lock-turn-on-thing-lock): Use `case'.
6064 2010-04-03 Eli Zaretskii <eliz@gnu.org>
6066 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6069 2010-04-02 Juri Linkov <juri@jurta.org>
6071 * ehelp.el (electric-help-orig-major-mode):
6072 New buffer-local variable.
6073 (electric-help-mode): Set it to original major-mode. Doc fix.
6074 (with-electric-help): Use `electric-help-orig-major-mode' instead
6075 of (default-value 'major-mode). Doc fix.
6076 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6078 2010-04-02 Sam Steingold <sds@gnu.org>
6080 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6081 `vc-hg-command' with a list of flags.
6083 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6084 Also accept "patch" and "RFE".
6085 (bug-reference-fontify): `bug-reference-url-format' can also be a
6086 function to be able to handle the bug kind.
6087 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6089 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
6091 * tmm.el (tmm-get-keymap): Check with symbolp before passing
6092 value to fboundp, it may not be a symbol.
6094 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6096 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6098 2010-03-31 Juri Linkov <juri@jurta.org>
6100 * simple.el (next-line, previous-line): Re-throw a signal
6101 with `signal' instead of using `ding'.
6102 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6104 2010-03-31 Juri Linkov <juri@jurta.org>
6106 * simple.el (keyboard-escape-quit): Raise deselecting the active
6107 region higher than exiting the minibuffer.
6108 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6110 2010-03-31 Juri Linkov <juri@jurta.org>
6112 * image.el (image-animated-p): Use `image-metadata' instead of
6113 `image-extension-data'. Get GIF extenstion data from metadata
6114 property `extension-data'.
6116 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6118 * simple.el (append-to-buffer): Simplify.
6120 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
6122 * textmodes/artist.el (artist-mode): Fix typo in docstring.
6123 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
6125 2010-03-31 Kenichi Handa <handa@m17n.org>
6127 * language/sinhala.el (composition-function-table): Fix regexp for
6128 the new Unicode specification.
6130 * language/indian.el (devanagari-composable-pattern)
6131 (tamil-composable-pattern, kannada-composable-pattern)
6132 (malayalam-composable-pattern): Adjust for the new Unicode
6134 (bengali-composable-pattern, gurmukhi-composable-pattern)
6135 (gujarati-composable-pattern, oriya-composable-pattern)
6136 (telugu-composable-pattern): New variables to cope with the new
6137 Unicode specification. Use them in composition-function-table.
6139 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6141 Make tmm-menubar work for the Buffers menu again (bug#5726).
6142 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6143 vectors rather than cons cells, as used in menu-bar-update-buffers.
6145 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6147 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6148 (js-insert-and-indent): Revert 2009-08-15 change, restoring
6149 electric punctuation for "{}();,:" (Bug#5586).
6151 * mail/sendmail.el (mail-default-directory): Doc fix.
6153 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6155 * mail/sendmail.el (mail-default-directory): Doc fix.
6157 2010-03-31 Eli Zaretskii <eliz@gnu.org>
6159 * subr.el (version-regexp-alist, version-to-list)
6160 (version-list-<, version-list-=, version-list-<=)
6161 (version-list-not-zero, version<, version<=, version=): Doc fix.
6164 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
6166 * vc.el (vc-root-diff): Doc fix.
6168 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6170 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6172 * simple.el (append-to-buffer): Fix last change.
6174 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6176 * simple.el (append-to-buffer): Ensure that point is preserved if
6177 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
6180 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6182 * files.el (auto-mode-case-fold): Change default to t.
6184 2010-03-30 Juri Linkov <juri@jurta.org>
6186 * dired-x.el (dired-omit-mode): Doc fix.
6188 2010-03-30 Juri Linkov <juri@jurta.org>
6190 * replace.el (occur-accumulate-lines): Move occur-engine related
6191 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6192 to be located after `occur-engine'.
6194 2010-03-30 Juri Linkov <juri@jurta.org>
6196 Make occur handle multi-line matches cleanly with context.
6197 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6199 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6200 (occur-engine): Add local variables `ret', `prev-after-lines',
6201 `prev-lines'. Use more arguments for `occur-context-lines'.
6202 Set first elem of its returned list to `data', and the second elem
6203 to `prev-after-lines'. Don't print the separator line.
6204 In the end, print remaining context after-lines.
6205 (occur-context-lines): Add new arguments `begpt', `endpt',
6206 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
6207 after-lines of the previous match with before-lines of the
6208 current match and not overlap them. Return a list with two
6209 values: the output line and the list of context after-lines.
6211 2010-03-30 Juri Linkov <juri@jurta.org>
6213 * replace.el (occur-accumulate-lines): Fix a bug where the first
6214 context line at the beginning of the buffer was missing.
6216 2010-03-30 Eli Zaretskii <eliz@gnu.org>
6218 * files.el: Make bidi-display-reordering safe variable for boolean
6221 2010-03-29 Phil Hagelberg <phil@evri.com>
6222 Chong Yidong <cyd@stupidchicken.com>
6224 * subr.el: Extend progress reporters to perform "spinning".
6225 (progress-reporter-update, progress-reporter-do-update):
6226 Handle non-numeric value arguments.
6227 (progress-reporter--pulse-characters): New var.
6229 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
6231 * progmodes/compile.el (compilation-start): Fix regexp detection
6232 of initial cd command (Bug#5771).
6234 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
6236 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6238 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
6240 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6241 * progmodes/gdb-mi.el: Restore.
6242 * progmodes/gdb-ui.el: Remove.
6243 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6245 2010-03-25 Glenn Morris <rgm@gnu.org>
6247 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6248 all dired buffers, even tramp ones. (Bug#5755)
6250 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6252 Add "union tags" in mpc.el.
6253 * mpc.el: Remove backward compatibility code.
6254 (mpc-browser-tags): Change default.
6255 (mpc--find-memoize-union-tags): New var.
6256 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6257 (mpc-cmd-find): Handle the case where the playlist does not exist.
6259 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
6260 (mpc-cmd-add): Use mpc-cmd-flush.
6261 (mpc-tagbrowser-tag-name): New fun.
6262 (mpc-tagbrowser-buf): Use it.
6263 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
6265 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6269 Use replace-regexp-in-string.
6270 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6271 (makefile-imake-mode-syntax-table): Move init into defvar.
6272 (makefile-mode): Use define-derived-mode.
6274 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6275 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6276 not be present any more.
6278 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6280 * faces.el (set-face-attribute): Fix typo in docstring.
6281 (face-valid-attribute-values): Reflow docstring.
6283 2010-03-24 Glenn Morris <rgm@gnu.org>
6285 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6287 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6289 * indent.el (indent-for-tab-command): Doc fix.
6291 2010-03-24 Alan Mackenzie <acm@muc.de>
6293 * progmodes/cc-engine.el (c-remove-stale-state-cache):
6294 Fix off-by-one error. Fixes bug #5747.
6296 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6298 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6299 (image-dired-read-comment): Doc fix.
6301 * json.el (json-object-type, json-array-type, json-key-type)
6302 (json-false, json-null, json-read-number):
6303 * minibuffer.el (completion-in-region-functions):
6304 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6305 (cal-tex-cursor-week):
6306 * emacs-lisp/trace.el (trace-function):
6307 * eshell/em-basic.el (eshell/printnl):
6308 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6309 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6310 * obsolete/levents.el (allocate-event, event-key, event-object)
6311 (event-point, event-process, event-timestamp, event-to-character)
6312 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6313 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6314 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6315 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6316 (reftex-highlight-selection): Fix typos in docstrings.
6318 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6320 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6322 2010-03-24 Glenn Morris <rgm@gnu.org>
6324 * mail/rmail.el (rmail-highlight-face): Restore option deleted
6325 2008-02-13 without comment; mark it obsolete.
6326 (rmail-highlight-headers): Use rmail-highlight-face once more.
6328 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6330 * woman.el (woman2-process-escapes): Only consume the newline if
6331 the filler character is on a line by itself (Bug#5729).
6333 2010-03-24 Kenichi Handa <handa@m17n.org>
6335 * language/indian.el (devanagari-composable-pattern): Add more
6338 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6340 * net/trampver.el: Update release number.
6342 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6344 * net/tramp.el (tramp-find-executable):
6345 Use `tramp-get-connection-buffer'. Make the regexp for checking
6346 output of "wc -l" more robust.
6347 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6348 (tramp-open-connection-setup-interactive-shell): Remove workaround
6349 for OpenSolaris bug, it is not needed anymore.
6351 2010-03-24 Glenn Morris <rgm@gnu.org>
6353 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
6355 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
6357 * files.el (auto-mode-alist): Accept more verilog file patterns.
6359 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6361 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6363 2010-03-24 Glenn Morris <rgm@gnu.org>
6365 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6366 log-edit-before-checkin-process.
6368 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6370 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6372 * vc-dispatcher.el (vc-start-logentry): Doc fix.
6373 (log-view-process-buffer, log-edit-extra-flags): Declare.
6375 * log-edit.el (log-edit-before-checkin-process): Doc fix.
6377 2010-03-23 Sam Steingold <sds@gnu.org>
6379 Fix bug#5620: recalculate all markers on compilation buffer
6380 modifications, not on file modifications.
6381 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6382 the buffer modification time, for buffers not associated with files.
6383 (compilation-mode): Create it.
6384 (compilation-filter): Update it.
6385 (compilation-next-error-function): Use it instead of
6386 `visited-file-modtime' for timestamp.
6388 2010-03-23 Juri Linkov <juri@jurta.org>
6390 Implement Occur multi-line matches.
6391 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6393 * replace.el (occur): Doc fix.
6394 (occur-engine): Set `begpt' to the beginning of the first line.
6395 Set `endpt' to the end of the last match line. At first, count
6396 line numbers between `origpt' and `begpt'. Split out code from
6397 `out-line' variable to new let-bindings `match-prefix' and
6398 `match-str'. In `out-line' add non-numeric prefix to all
6399 non-first lines of multi-line matches. Finally, count lines
6400 between `begpt' and `endpt' and add to `lines'.
6402 2010-03-23 Juri Linkov <juri@jurta.org>
6404 * replace.el (occur-accumulate-lines, occur-engine):
6405 Use `occur-engine-line' instead of duplicate code.
6406 (occur-engine-line): New function created from duplicate code
6407 in `occur-accumulate-lines' and `occur-engine'.
6409 * replace.el (occur-engine-line): Add optional arg `keep-props'.
6410 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6412 2010-03-23 Juri Linkov <juri@jurta.org>
6414 * finder.el: Remove TODO tasks.
6416 * info.el (Info-finder-find-node): Add node "all"
6417 with all package info. Handle a list of multiple keywords
6419 (info-finder): In interactive use with a prefix argument,
6420 use `completing-read-multiple' to read a list of keywords
6423 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6425 Add a new completion style `substring'.
6426 * minibuffer.el (completion-basic--pattern): New function.
6427 (completion-basic-try-completion, completion-basic-all-completions):
6429 (completion-substring--all-completions)
6430 (completion-substring-try-completion)
6431 (completion-substring-all-completions): New functions.
6432 (completion-styles-alist): New style `substring'.
6434 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6436 Get rid of .elc files after removal of the corresponding .el.
6437 * Makefile.in (compile-clean): New target.
6438 (compile-main): Use it.
6440 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
6442 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6443 don't do make there. When compiling with separate object dir, there
6444 is no Makefile there.
6446 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6448 Get rid of the ELCFILES abomination, again.
6449 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6450 (all, compile): Don't call compile-last.
6451 (compile-main): Build the "elcfiles" list dynamically.
6452 (compile-targets): New (internal) target.
6454 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
6456 * Makefile.in (top_srcdir): Define.
6457 (abs_top_builddir): Define.
6458 (srcdir): Don't append `/..'.
6459 (EMACS): Use ${abs_top_builddir}.
6460 (all, compile, compile-always, compile-last): Don't set emacswd.
6461 (update-subdirs, update-authors): Use $(top_srcdir) instead of
6463 (lisp): Use $(srcdir) instead of @srcdir@.
6465 2010-03-21 Juri Linkov <juri@jurta.org>
6467 Fix message of multi-line occur regexps and multi-buffer header lines.
6468 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6470 * replace.el (occur-1): Don't display regexp if it is longer
6471 than window-width. Use `query-replace-descr' to display regexp.
6472 (occur-engine): Don't display regexp in the buffer header for
6473 multi-buffer occur. Display a separate header line with total
6474 match count and regexp for multi-buffer occur.
6475 Use `query-replace-descr' to display regexp.
6477 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
6479 * net/secrets.el: Fix parenthesis.
6480 (secrets-enabled): Fix parenthesis.
6482 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6484 Use more relative file and directory names.
6485 * Makefile.in (EMACS): Arrange for it to work when we chdir.
6486 (setwins, setwins_almost, setwins_for_subdirs):
6487 Don't `cd'; output relative names.
6488 (all, compile, compile-always, compile-last): Set emacswd.
6489 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6490 Just cd to the lisp source dir so we can use relative file names.
6492 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6494 2010-03-20 Glenn Morris <rgm@gnu.org>
6496 * textmodes/rst.el: Use faces for font-lock customization, and make the
6497 old -face variables obsolete.
6498 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6499 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6500 (rst-block-face, rst-external-face, rst-definition-face)
6501 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6502 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6504 (rst-font-lock-keywords-function): Update for above changes.
6506 2010-03-20 Juri Linkov <juri@jurta.org>
6509 * obsolete/s-region.el: Move to obsolete.
6511 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
6513 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6515 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6517 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6519 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6521 Add special markup processing for commit logs.
6522 * log-edit.el (log-edit-extra-flags): New variable.
6523 (log-edit): Add new argument MODE. Use that mode when non-nil
6524 instead of the log-view-mode.
6525 (log-view-process-buffer): New function.
6527 * vc.el: Document that the checkin method takes optional
6528 arguments. Document new backend specific method: log-view-mode.
6529 (vc-default-log-edit-mode): New function.
6530 (vc-checkin): Use a backend specific log-view-mode.
6531 Pass extra arguments to the checkin method.
6532 (vc-modify-change-comment): Pass a dummy extra argument.
6534 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6536 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6537 (vc-finish-logentry): Process the log buffer before passing it
6538 down. Pass log-edit-extra-flags.
6540 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6542 (log-edit-extra-flags, log-edit-before-checkin-process):
6545 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6547 (log-edit-extra-flags, log-edit-before-checkin-process):
6549 (vc-hg-log-edit-mode): New derived mode.
6551 * vc-arch.el (vc-arch-checkin):
6552 * vc-cvs.el (vc-cvs-checkin):
6553 * vc-git.el (vc-git-checkin):
6554 * vc-mtn.el (vc-mtn-checkin):
6555 * vc-rcs.el (vc-rcs-checkin):
6556 * vc-sccs.el (vc-sccs-checkin):
6557 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6559 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6561 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6564 2010-03-19 Glenn Morris <rgm@gnu.org>
6566 * password-cache.el (password-cache, password-cache-expiry): Autoload.
6568 2010-03-18 Glenn Morris <rgm@gnu.org>
6570 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6572 * replace.el (query-replace-history): Give it a doc string.
6573 (map-query-replace-regexp): Use query-replace-from-history-variable
6574 and query-replace-to-history-variable.
6576 * mail/hashcash.el (declare-function): Remove duplicate definition.
6578 * mail/emacsbug.el (report-emacs-bug-pretest-address):
6579 Make it an obsolete alias for report-emacs-bug-address.
6580 (message-strip-special-text-properties): Declare.
6581 (report-emacs-bug): Remove test for a pretest bug address.
6582 Combine message-mode-specific code.
6584 * mail/supercite.el: Don't require sendmail.
6585 (mh-in-header-p): Declare rather than using with-no-warnings.
6586 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6587 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
6589 * calendar/cal-french.el: Convert to utf-8.
6591 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6594 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
6596 * net/secrets.el (secrets-enabled): New variable. Use it instead
6599 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
6601 * net/secrets.el (top): Register the D-Bus signals only when the
6602 service "org.freedesktop.secrets" can be pinged.
6603 Provide subfeature `enabled'.
6605 2010-03-14 Juri Linkov <juri@jurta.org>
6607 Add finder unknown keywords.
6609 * finder.el (finder-unknown-keywords): New function.
6611 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6612 to create a Finder node with unknown keywords.
6614 2010-03-14 Juri Linkov <juri@jurta.org>
6616 * finder.el (finder-compile-keywords): Replace `princ' with
6617 `prin1' on a list of symbols interned from keyword strings.
6619 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6620 a comma, then split keywords using a comma and optional whitespace.
6621 Otherwise, split by whitespace.
6629 * progmodes/mixal-mode.el: Fix keywords.
6631 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
6633 * Makefile.in (ELCFILES): Add net/secrets.elc.
6635 * net/secrets.el: New file.
6637 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6639 * facemenu.el (list-colors-display, list-colors-print): New arg
6640 callback. Use it to allow selecting colors.
6642 * wid-edit.el (widget-image-insert): Insert image prop even if the
6643 current display is non-graphic.
6644 (widget-field-value-set): New fun.
6645 (editable-field): Use it.
6646 (widget-field-value-get): Clean up unused var.
6647 (widget-color-value-create, widget-color--choose-action):
6648 New funs. Allow using list-colors-display to choose color.
6650 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6652 * cus-edit.el: Resort topmost custom groups.
6653 (custom-buffer-sort-alphabetically): Default to t.
6654 (customize-apropos): Use apropos-parse-pattern.
6655 (custom-search-field): New var.
6656 (custom-buffer-create-internal): Add custom-apropos search field.
6657 (custom-add-parent-links): Don't display parent doc.
6658 (custom-group-value-create): Don't sort top-level custom group.
6659 (custom-magic-value-create): Show visibility button before option name.
6661 (custom-variable-state): New fun, from custom-variable-state-set.
6662 (custom-variable-state-set): Use it.
6663 (custom-group-value-create): Hide options with standard values
6664 using the :hidden-states property. Use progress reporter.
6666 (custom-show): Simplify.
6667 (custom-visibility): Disable images by default.
6668 (custom-variable): New property :hidden-states.
6669 (custom-variable-value-create): Enable images for
6670 custom-visibility widgets. Use :hidden-states property to
6671 determine initial visibility.
6673 * wid-edit.el (widget-image-find): Give images center ascent.
6674 (visibility): Add :on-image and :off-image properties.
6675 (widget-visibility-value-create): Use them.
6677 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6679 * cus-edit.el (processes): Remove from development group.
6680 (oop, hypermedia): Delete group.
6681 (comm): Promote to top-level group.
6683 * net/browse-url.el (browse-url):
6684 * net/xesam.el (xesam):
6685 * net/tramp.el (tramp):
6686 * net/goto-addr.el (goto-address):
6687 * net/ange-ftp.el (ange-ftp): Put in comm group.
6689 * view.el (view): Remove from editing group.
6691 * uniquify.el (uniquify): Put in files group.
6693 * net/browse-url.el (browse-url):
6694 * ps-print.el (postscript): Put in external group.
6696 * cus-edit.el (outlines):
6697 * textmodes/text-mode.el (text-mode-hook):
6698 * textmodes/table.el (table):
6699 * textmodes/picture.el (picture):
6700 * outline.el (outlines): Put in wp group.
6702 * nxml/nxml-mode.el (nxml): Remove from wp group.
6704 * net/tramp-imap.el (tramp-imap): Put in tramp group.
6706 * mail/metamail.el (metamail): Remove from hypermedia group.
6708 * cus-edit.el (abbrev):
6709 * whitespace.el (whitespace):
6710 * vcursor.el (vcursor):
6711 * reveal.el (reveal):
6712 * hl-line.el (hl-line): Put in convenience group.
6714 * epg-config.el (epg): Put in data group.
6716 * emulation/pc-select.el (pc-select): Put in emulations group.
6718 * calculator.el (calculator): Put in applications group.
6720 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6722 Add .dir-locals.el support for file-less buffers.
6723 * files.el (hack-local-variables): Split out code to apply local
6724 variable settings ...
6725 (hack-local-variables-apply): ... here. New function.
6726 (hack-dir-local-variables): Use the default directory for when the
6727 buffer does not have an associated file.
6728 (hack-dir-local-variables-non-file-buffer): New function.
6729 * diff-mode.el (diff-mode):
6730 * vc-annotate.el (vc-annotate-mode):
6731 * vc-dir.el (vc-dir-mode):
6732 * log-edit.el (log-edit-mode):
6733 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6735 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6737 Add support for shelving snapshots and for showing shelves.
6738 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6739 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6741 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6742 (vc-bzr-extra-menu-map): Map them.
6744 2010-03-11 Glenn Morris <rgm@gnu.org>
6746 * cus-edit.el (customize-changed-options-previous-release):
6749 * image.el (image-animate-max-time): Fix :version tag.
6751 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
6755 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * vc-git.el (vc-git-revision-table): Include remote branches.
6759 2010-03-10 Kim F. Storm <storm@cua.dk>
6762 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6764 * image.el (image-animate-max-time): New defcustom.
6765 (image-animated-types): New defconst.
6766 (create-animated-image, image-animate-timer)
6767 (image-animate-start, image-animate-stop, image-animate-timeout)
6768 (image-animated-p): New functions.
6770 * image-mode.el (image-toggle-display-image):
6771 Replace `create-image' with `create-animated-image'.
6773 2010-03-09 Miles Bader <miles@gnu.org>
6775 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6776 instead of "format:"; this ensures that the output is
6779 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
6781 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6782 that all errors are caught, and that the return value is always a
6785 2010-03-08 Kenichi Handa <handa@m17n.org>
6787 * language/misc-lang.el (windows-1256): New coding system.
6788 (cp1256): New alias of windows-1256 (bug#5690).
6790 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
6792 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6793 call to rfc822-bad-address. (Bug#5692)
6795 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
6797 * vc-git.el (vc-git-annotate-extract-revision-at-line):
6798 Use vc-git-root as default directory for revision path (Bug#5657).
6800 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
6802 * calculator.el (calculator): Don't bind split-window-keep-point
6805 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
6807 * vc-git.el: Re-flow to fit into 80 columns.
6808 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6809 Remove spurious `quote' element in each case alternative.
6810 (vc-git-show-log-entry): Use prog1.
6811 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6813 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6817 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
6819 * macros.el (insert-kbd-macro): Look up keyboard macro using the
6820 definition, not the name (Bug#5481).
6822 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
6824 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6825 argument with a local variable. (Bug#5670)
6827 2010-03-02 Juri Linkov <juri@jurta.org>
6829 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
6831 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
6833 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6834 error when FILENAME and NEWNAME are existing remote directories.
6836 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6839 2010-03-02 Glenn Morris <rgm@gnu.org>
6841 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6842 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6844 2010-03-01 Kenichi Handa <handa@m17n.org>
6846 * language/burmese.el (burmese-composable-pattern): Rename from
6847 myanmar-composable-pattern.
6849 * international/characters.el (script-list):
6850 * international/fontset.el (script-representative-chars):
6851 Change myanmar to burmese.
6852 (otf-script-alist): Likewise.
6853 (setup-default-fontset): Likewise. Re-fix :otf spec.
6855 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
6857 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6859 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
6861 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6863 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6865 * net/tramp.el (tramp-handle-write-region): START can be a string.
6866 Take care in the checks. Reported by Dan Davison
6867 <davison@stats.ox.ac.uk>.
6869 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6871 * net/dbus.el (dbus-introspect, dbus-get-property)
6872 (dbus-set-property, dbus-get-all-properties):
6873 Use `dbus-call-method' when noninteractive. (Bug#5645)
6875 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
6877 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6878 * emacs-lisp/elint.el (elint-add-required-env):
6879 * calendar/icalendar.el (icalendar--add-diary-entry):
6880 * calc/calcalg2.el (math-tracing-integral):
6881 * files.el (recover-session-finish): Use with-current-buffer
6882 instead of save-excursion.
6884 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
6886 Fix in-buffer completion when after-change-functions modify the buffer.
6887 * minibuffer.el (completion--replace): New function.
6888 (completion--do-completion): Use it and use relative movement.
6890 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
6892 * international/fontset.el (setup-default-fontset): Fix :otf spec.
6894 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
6896 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6897 Allow the characters _<> in the stack entry (Bug#5653).
6899 2010-02-26 Kenichi Handa <handa@m17n.org>
6901 * language/burmese.el: Fix entries in composition-function-table.
6902 (myanmar-composable-pattern): New variable.
6904 * international/fontset.el (setup-default-fontset): Add an entry
6907 * international/characters.el (script-list): Add Myanmar
6910 2010-02-26 Glenn Morris <rgm@gnu.org>
6912 * custom.el (custom-initialize-delay): Doc fix.
6914 * mail/sendmail.el (send-mail-function): Autoload the call
6915 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6917 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
6919 * files.el (hack-local-variables-filter): For eval forms, also
6920 check safe-local-variable-p (Bug#5636).
6922 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
6924 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6925 setting the modes by `ignore-errors'. It might fail, for example
6926 if the file is not owned by the user but the group.
6927 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6929 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
6931 * files.el (directory-listing-before-filename-regexp): Use
6932 stricter matching for iso-style dates, to avoid false matches with
6933 date-like filenames (Bug#5597).
6935 * htmlfontify.el (htmlfontify): Doc fix.
6937 * eshell/eshell.el (eshell): Doc fix.
6939 * startup.el (fancy-about-screen): In mode-line, apply
6940 mode-line-buffer-id face only to the buffer name (Bug#5613).
6942 2010-02-20 Kevin Ryde <user42@zip.com.au>
6944 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6945 In `watcom' anchor regexp to start of line, to avoid slowness
6948 2010-02-20 Eli Zaretskii <eliz@gnu.org>
6950 * subr.el (remove-yank-excluded-properties): Explain in a comment
6951 why `category' property is removed.
6953 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
6955 * isearch.el (isearch-update-post-hook, isearch-update): Revert
6958 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
6960 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6961 (icalendar--convert-weekly-to-ical)
6962 (icalendar--convert-yearly-to-ical)
6963 (icalendar--convert-block-to-ical)
6964 (icalendar--convert-cyclic-to-ical)
6965 (icalendar--convert-anniversary-to-ical): Take care of time
6966 specifications where hour has 1-digit only (Bug#5549).
6968 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
6970 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6971 of disassemble output in GDB 7.1.
6973 2010-02-19 Glenn Morris <rgm@gnu.org>
6975 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6976 property. (Bug#5593)
6978 2010-02-18 Sam Steingold <sds@gnu.org>
6980 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6982 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6984 Use abbreviated file names in bookmarks (bug#5591).
6985 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6986 calls to expand-file-name.
6987 (bookmark-relocate): Use abbreviated file names in bookmarks.
6988 (bookmark-load): Use abbreviated file names in messages.
6990 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6992 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6993 expand "." and "..". Reported by Thierry Volpiatto
6994 <thierry.volpiatto@gmail.com>.
6996 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6998 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6999 permissions of the temporary file to "0600". In case the remote
7000 file has no read permissions for the owner, there might be
7001 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
7003 22010-02-18 Glenn Morris <rgm@gnu.org>
7005 * emacs-lisp/authors.el (authors-renamed-files-alist):
7006 Add entries for INSTALL.CVS.
7008 2010-02-17 Mark A. Hershberger <mah@everybody.org>
7010 * vc-bzr.el: Fix typo in Known Bugs section.
7012 * isearch.el (isearch-update-post-hook): New hook.
7013 (isearch-update): Use the new hook.
7015 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
7017 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7018 Fix errors in copying directories.
7019 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7020 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7021 (tramp-handle-delete-file)
7022 (tramp-handle-dired-recursive-delete-directory)
7023 (tramp-handle-write-region): Flush also the cache for the upper
7026 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
7028 * simple.el (save-interprogram-paste-before-kill): Doc fix.
7030 * cus-edit.el (hardware): Doc fix.
7032 * man.el (man): Add to external custom group.
7034 * delim-col.el (columns): Move to wp custom group.
7036 * doc-view.el (doc-view): Add to data custom group.
7038 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7040 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7041 by ispell-parse-output (Bug#5575).
7043 2010-02-16 Kenichi Handa <handa@m17n.org>
7045 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7046 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7047 (skkdic-convert): Use `euc-japan' coding system for writing.
7049 2010-02-16 Glenn Morris <rgm@gnu.org>
7051 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7052 tex-main-file before using it. (Bug#5562)
7054 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
7056 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7057 warnings, since it is annoying for the user to see them each time he
7060 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
7062 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7063 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7064 instead of PROC for caching "first-password-request". Otherwise,
7065 new processes would not profit from passwords already entered.
7067 * net/tramp-cache.el (tramp-dump-connection-properties):
7068 Don't save "first-password-request" property.
7070 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
7072 * outline.el (outline-head-from-level):
7073 * simple.el (with-wrapper-hook):
7074 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7075 (elint-defun, elint-buffer-env, elint-top-form-logged)
7076 (elint-unbound-variable):
7077 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7078 Fix typos in docstrings.
7080 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
7082 * files.el (insert-directory): When WILDCARD-REGEXP and
7083 FULL-DIRECTORY-P are nil, insert the file entry instead of the
7084 whole directory. (Bug#5551)
7086 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
7087 dired's alignment sanity. (Bug#5516)
7089 2010-02-14 Juri Linkov <juri@jurta.org>
7091 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7092 Remove remaining ^H with their preceding chars. (Bug#5566)
7094 2010-02-13 Glenn Morris <rgm@gnu.org>
7096 * simple.el (transpose-subr): Give it a doc-string.
7098 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7101 2010-02-12 Juri Linkov <juri@jurta.org>
7103 * arc-mode.el (archive-unique-fname): Make directories for nested
7104 archives. (Bug#5540)
7106 2010-02-12 Juri Linkov <juri@jurta.org>
7108 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
7110 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
7112 * subr.el (copy-overlay): Handle deleted overlays.
7114 * man.el (Man-completion-table): Don't signal an error if we can't run
7115 manual-program (bug#4056).
7117 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
7119 * textmodes/artist.el (artist-mt): Fix typos in docstring.
7121 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7123 * info.el (Info-bookmark-jump): Simplify.
7125 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7126 (bookmark-default-handler): Accept new bookmark field `buffer'.
7128 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
7130 * iswitchb.el (iswitchb-completions): Revert last change.
7132 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
7134 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7135 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7136 This prevents file names like "~/" being listed literally.
7138 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
7140 * term/xterm.el (xterm-maybe-set-dark-background-mode):
7141 Remove dead code. (Bug#5546)
7143 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
7145 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7146 correctly (Bug#5548).
7148 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
7150 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7151 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7153 2010-02-08 Kenichi Handa <handa@m17n.org>
7155 * international/mule-util.el (with-coding-priority): Add autoload
7156 cookie for putting `lisp-indent-function'.
7158 2010-02-07 Glenn Morris <rgm@gnu.org>
7160 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7161 Move F2003 named interfaces from keywords-2 to keywords-1, and
7162 use function-name-face rather than constant-face.
7163 Simplify "abstract interface" regexp.
7165 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
7167 * eshell/esh-util.el (eshell-file-attributes): New optional arg
7168 ID-FORMAT. Pass it to `file-attributes'.
7170 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7172 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
7174 * faces.el (set-face-attribute): Allow calling
7175 internal-set-lisp-face-attribute with 'unspecified family and
7176 foundry argument (Bug#5536).
7178 2010-02-07 Glenn Morris <rgm@gnu.org>
7180 * progmodes/f90.el (f90-font-lock-keywords-2)
7181 (f90-looking-at-type-like, f90-looking-at-program-block-end):
7182 Handle F2003 named interfaces.
7184 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
7186 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7187 beg and end before calling c-get-state-before-change-functions.
7189 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
7191 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7193 2010-02-05 Juri Linkov <juri@jurta.org>
7195 * doc-view.el (doc-view-mode):
7196 * image-mode.el (image-mode): Put property mode-class=special.
7199 2010-02-05 Mark A. Hershberger <mah@everybody.org>
7201 * vc-svn.el (vc-svn-revision-table): New function.
7203 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
7205 * net/ange-ftp.el (ange-ftp-insert-directory):
7206 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7207 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7208 Handle also directories. (Bug#5478)
7210 2010-02-05 Glenn Morris <rgm@gnu.org>
7212 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7214 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
7216 * startup.el (command-line-1): Convert options beginning with a
7217 single dash as well (Bug#5519).
7219 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
7221 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7222 * minibuffer.el (completion-initials-expand): Only check the presence
7223 of delims *within* the boundaries, since otherwise the / delim is
7224 always found for files.
7226 Fix up various corner case problems.
7227 * doc-view.el (doc-view-last-page-number): New function.
7228 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7229 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7230 (doc-view-kill-proc): Avoid inf-loop in freak cases.
7231 (doc-view-reconvert-doc): Use the new recursive delete-directory.
7232 (doc-view-convert-current-doc): Don't create the resolution.el file
7234 (doc-view-pdf/ps->png): Do it here instead.
7235 (doc-view-already-converted-p): Check that resolution.el is present.
7236 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7237 windows that are not yet showing images.
7239 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
7241 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7242 `dired-uncache' for every elemnt which is an absolute file name.
7244 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7245 directory, handle its directory component.
7246 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7247 function is called permanently and creates noise, otherwise.
7249 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7250 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7251 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
7253 2010-02-04 David Burger <dburger@google.com> (tiny change)
7255 * macros.el (apply-macro-to-region-lines):
7256 Minor simplification. (Bug#5485)
7258 2010-02-04 Glenn Morris <rgm@gnu.org>
7260 * mail/rmail.el (rmail-show-message-1): Handle malformed
7261 quoted-printable text. (Bug#5441)
7263 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7265 * simple.el (visual-line-mode): Capitalize lighter.
7267 2010-02-03 John Wiegley <jwiegley@gmail.com>
7269 * iswitchb.el (iswitchb-completions): Add bookmark files to the
7270 list of files considered for "virtual buffer" completions.
7272 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
7274 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7275 also in case of (and (not full) (not wildcard)). This is needed
7276 when dired is called with a list of files, which are not in
7277 `default-directory'. (Bug#5478)
7279 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
7281 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7283 2010-02-02 Juri Linkov <juri@jurta.org>
7285 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7286 from unidiff to allow function-line after @@.
7288 2010-02-02 Juri Linkov <juri@jurta.org>
7290 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7291 '(RCS SCCS) with inverted condition.
7293 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
7295 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7298 2010-02-01 Juri Linkov <juri@jurta.org>
7300 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7301 compare with "pkunzip" and "pkzip" instead of only "pkzip".
7302 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7303 only when (car archive-zip-extract) is "unzip". (Bug#5475)
7305 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
7307 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7308 (doc-view-revert-buffer): New command.
7309 (doc-view-mode-map): Use it.
7311 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
7313 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7314 pending merge is detected.
7316 2010-01-31 Juri Linkov <juri@jurta.org>
7318 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7319 beginning of interactive spec like all other grep commands do.
7320 Put "all" in front of "gz". (Bug#5260)
7322 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
7324 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7326 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
7328 * dirtrack.el (dirtrack): Warn instead of signalling error if the
7329 regexp is incorrect (Bug#5476).
7331 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
7333 * net/tramp.el (tramp-handle-insert-directory): Handle also
7334 symlinks, when FILENAME is not in `default-directory'.
7336 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7338 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7339 FILE is not in `default-directory'. (Bug#5478)
7341 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7342 of SWITCHES. Handle the case, FILENAME is not in
7343 `default-directory'. (Bug#5478)
7344 (tramp-register-file-name-handlers): Add safe-magic property.
7346 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
7348 * arc-mode.el (archive-zip-extract): Quote the argument passed to
7351 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
7353 * progmodes/flymake.el (flymake-allowed-file-name-masks)
7354 (flymake-master-make-header-init): Add other C++ filename masks.
7355 (flymake-find-possible-master-files)
7356 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7358 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7360 Fix some busybox annoyances.
7362 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7363 not responding." string.
7364 (tramp-open-connection-setup-interactive-shell): Dump stty
7365 settings. Enable "neveropen" arg for all `tramp-send-command'
7366 calls. Handle "=" in variable values properly.
7367 (tramp-find-inline-encoding): Raise an error, when no encoding is
7369 (tramp-wait-for-output): Check, whether PROC buffer is available.
7370 Remove spurious " ^H" sequences, sent by busybox.
7371 (tramp-get-ls-command): Suppress coloring, if possible.
7373 2010-01-28 Glenn Morris <rgm@gnu.org>
7375 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
7377 * log-edit.el (log-edit-strip-single-file-name): Add missing
7378 :safe, :group, and :version tags.
7380 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
7382 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7385 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
7387 * files.el (delete-directory): Handle moving to trash without
7388 first doing recursion (Bug#5436).
7390 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
7392 * vc-hooks.el (vc-path): Mark as obsolete.
7394 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
7396 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7399 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7401 (vc-bzr-log-view-mode): Adjust regexp for the above change.
7403 2010-01-25 Mark A. Hershberger <mah@everybody.org>
7405 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7407 * vc-bzr.el (vc-bzr-revision-table): New function.
7409 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
7411 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7412 diff-index command. This requires at least git-1.5.5. (Bug#1589).
7414 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
7416 Remove support for adding --signoff on commit.
7417 Future support will use an incompatible generic mechanism.
7418 * vc-git.el (vc-git-add-signoff): Remove variable.
7419 (vc-git-toggle-signoff): Remove function.
7420 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7422 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7423 from xterm-set-background-mode. Return t if the background mode
7425 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7426 earlier, call it again in case the background mode has changed.
7428 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
7430 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7433 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
7435 * emacs-lisp/assoc.el (aelement): Doc fix.
7436 (aput, adelete, amake): Use lexical-let (Bug#5450).
7438 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
7440 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7441 is the same as subprogram call, not declaration. (Bug#5435).
7443 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
7445 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7446 (tramp-smb-maybe-open-connection): Use it.
7448 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
7450 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
7452 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
7454 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7455 just because we see "encoding: 8bit".
7456 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7458 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
7460 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7462 2010-01-22 Eli Zaretskii <eliz@gnu.org>
7464 * jka-compr.el (jka-compr-load): If load-file is not in
7465 load-history, try its file-truename version. (bug#5447)
7467 2010-01-21 Alan Mackenzie <acm@muc.de>
7469 Fix a situation where deletion of a cpp construct throws an error.
7470 * progmodes/cc-engine.el (c-invalidate-state-cache):
7471 Before invoking c-with-all-but-one-cpps-commented-out, check that the
7472 special cpp construct is still in the buffer.
7473 (c-parse-state): Record the special cpp with markers, not numbers.
7475 2010-01-21 Kenichi Handa <handa@m17n.org>
7477 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7478 process last-command-event, as it is now decoded first (Bug#5380).
7480 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
7482 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7484 2010-01-20 Glenn Morris <rgm@gnu.org>
7486 * indent.el (tab-always-indent): Fix custom-type.
7488 2010-01-19 Alan Mackenzie <acm@muc.de>
7490 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7491 buffer throws "args out of range".
7492 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7493 playing the role of delimiter.
7495 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
7497 * progmodes/ada-mode.el: Fix bug#5400.
7498 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7499 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7500 changed. Delete RECURSIVE parameter; never used. Improve doc string.
7501 Improve comments in "is" portion. Handle null procedure declaration.
7502 (ada-move-to-end): Improve doc string.
7504 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
7506 * ido.el (ido-cur-list): Initialize to nil.
7507 Remove obsolete information from commentary.
7508 (ido-choice-list): Initialize to nil.
7509 (ido-get-bufname): Reject minibuffers.
7510 (ido-make-buffer-list): If "default" is a nonexistent
7511 buffer, ignore it, as per the function's comment.
7512 (ido-kill-buffer-internal): New function.
7513 (ido-kill-buffer-at-head): Use it.
7514 (ido-visit-buffer): Likewise.
7516 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
7518 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7520 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
7522 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7523 Fix typos in chart titles.
7525 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7526 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7527 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7528 (describe-class, eieio-describe-generic, describe-generic):
7529 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7530 (eieio-speedbar-expand):
7531 * emulation/viper-cmd.el (viper-exec-form-in-vi)
7532 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7533 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7534 (viper-del-backward-char-in-replace, viper-backward-indent)
7535 (viper-brac-function, viper-register-to-point, viper-submit-report):
7536 * net/tramp.el (tramp-remote-coding-commands):
7537 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7538 Fix typos in docstrings.
7540 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
7542 * mail/sendmail.el (mail-yank-original): Set the mark if the
7543 specified function for yanking does not do it.
7545 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
7547 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
7549 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7550 resyncing a directory.
7552 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
7554 * progmodes/ada-mode.el: Fix bug#1920.
7555 (ada-ident-re): Delete ., allow multibyte characters.
7556 (ada-goto-label-re): New; matches goto labels.
7557 (ada-block-label-re): New; matches block labels.
7558 (ada-label-re): New; matches both.
7559 (ada-named-block-re): Deleted; callers changed to use
7560 `ada-block-label-re' instead.
7561 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7562 Use `ada-block-label-re'.
7563 (ada-indent-on-previous-lines): Improve handling of goto labels.
7564 (ada-get-indent-block-start): Special-case block label.
7565 (ada-get-indent-label): Split into `ada-indent-block-label' and
7566 `ada-indent-goto-label'.
7567 (ada-goto-stmt-start, ada-goto-next-non-ws):
7568 Optionally ignore goto labels.
7569 (ada-goto-next-word): Simplify.
7570 (ada-indent-newline-indent-conditional): Insert newline before
7571 trying to fix indentation; doc fix.
7573 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
7575 * calc/calc.el (calc-command-flags): Give it an initial value.
7577 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
7579 * files.el (minibuffer-with-setup-hook):
7580 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7581 (artist-key-draw-continously, artist-key-do-continously-continously)
7582 (artist-key-set-point-continously, artist-mouse-draw-continously):
7583 Fix typos in docstrings.
7585 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
7587 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7588 return t (Bug#3898).
7590 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
7592 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7593 can parse the output of the external commands (Bug#5279).
7595 2010-01-16 Jari Aalto <jari.aalto@cante.net>
7597 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7599 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
7601 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7603 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7605 * startup.el (command-line): Remove unused --icon-type arg.
7606 Handle --display arg, passing it to command-line-1 (Bug#5392).
7608 2010-01-16 Mario Lang <mlang@delysid.org>
7610 * emacs-lisp/chart.el (chart-translate-namezone):
7611 * textmodes/artist.el (artist-compute-popup-menu-table):
7612 Remove duplicated words in doc-strings.
7614 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
7616 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7617 to mairix-search to suppress threading (Bug#5342).
7619 2010-01-15 Kenichi Handa <handa@m17n.org>
7621 * international/mule-cmds.el (canonicalize-coding-system-name):
7622 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7624 2010-01-15 Glenn Morris <rgm@gnu.org>
7626 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
7628 * wid-edit.el (widget-keymap): Doc fix.
7630 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7631 former seems to be more widely accepted by various svn versions.
7633 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7635 * find-cmd.el (find-constituents):
7636 * vc-arch.el (vc-arch-root):
7637 * window.el (window-body-height, pop-up-frames):
7638 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7639 * progmodes/ada-stmt.el (ada-if):
7640 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7641 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7642 (ispell-encoding8-command, ispell-aspell-supports-utf8)
7643 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7645 * progmodes/flymake.el (flymake-post-syntax-check):
7646 Fix typo in error message.
7648 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7650 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7651 which is always a string. (Bug#5313)
7653 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7655 * progmodes/ada-xref.el (ada-default-prj-properties):
7656 Simplify previous change.
7658 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7660 * progmodes/ada-xref.el (ada-default-prj-properties):
7661 Default ada_project_path to $ADA_PROJECT_PATH.
7663 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7665 * progmodes/ada-mode.el (ada-create-keymap):
7666 Override `narrow-to-defun' with `ada-narrow-to-defun'.
7668 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7670 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7671 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7672 (ada-get-current-indent, ada-imenu-generic-expression)
7673 (ada-which-function): Check for it.
7675 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7677 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7678 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7680 2010-01-14 Glenn Morris <rgm@gnu.org>
7682 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
7684 2010-01-14 Kenichi Handa <handa@m17n.org>
7686 * composite.el (auto-composition-mode): Make it a buffer local
7687 variable (permanent-local).
7688 (auto-composition-function): Set the default value to
7690 (auto-composition-mode): Make it a simple function, not a minor mode.
7691 (global-auto-composition-mode): Likewise.
7692 (turn-on-auto-composition-if-enabled): Delete it.
7694 2010-01-13 Karl Fogel <kfogel@red-bean.com>
7696 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7698 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
7700 * files.el (copy-directory): Compute target for recursive
7701 directories with identical names. (Bug#5343)
7703 2010-01-12 Glenn Morris <rgm@gnu.org>
7705 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7706 it to bug-gnu-emacs rather than emacs-pretest-bug.
7708 2010-01-11 Sam Steingold <sds@gnu.org>
7710 * imenu.el (imenu-default-create-index-function): Detect infinite
7711 loops caused by imenu-prev-index-position-function.
7713 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7715 * htmlfontify.el (htmlfontify-load-rgb-file)
7716 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7717 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7718 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7719 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7720 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7721 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7722 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7723 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7724 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7725 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7726 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7727 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7728 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7729 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7730 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7731 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7732 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7733 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7734 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7735 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7736 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7737 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7738 backslash-quoting from parentheses, etc.
7740 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
7742 * progmodes/js.el: Autoload javascript-mode alias.
7744 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7746 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7747 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7748 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7749 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7750 Fix typos in docstrings.
7751 (ffap-url-regexp): Doc fix.
7752 (ffap-at-mouse): Fix typo in message.
7754 2010-01-11 Glenn Morris <rgm@gnu.org>
7756 * version.el (emacs-copyright): Set copyright year to 2010.
7758 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
7760 * format.el (format-annotate-function): Only set
7761 write-region-post-annotation-function after running to-fn so as not to
7762 affect nested write-region calls (bug#5273).
7764 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
7766 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7769 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7771 * man.el (Man-goto-section): Signal error if the section is not
7774 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
7776 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7777 URLs with a leading triple slash in the file: scheme. (Bug#5345)
7779 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7781 * progmodes/compile.el: Don't treat compile-command as safe if
7782 compilation-read-command might be nil (Bug#4218).
7784 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
7786 * startup.el (command-line-1): Use orig-argi to check for ignored X and
7789 2010-01-08 Kenichi Handa <handa@m17n.org>
7791 * international/fontset.el (build-default-fontset-data):
7792 Exclude characters in scripts kana, hangul, han, or cjk-misc.
7794 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
7796 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7797 to `create-file-buffer' as it expects, not just a buffer name.
7798 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7799 to help uniquify. (Bug#3224)
7801 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
7803 * font-setting.el (font-setting-change-default-font): Use user-spec
7806 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
7808 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7810 2010-01-05 Tom Tromey <tromey@redhat.com>
7812 * progmodes/python.el (python-font-lock-keywords):
7813 Handle qualified decorators (Bug#881).
7815 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7817 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7818 in a lightweight checkout.
7820 2010-01-05 Kenichi Handa <handa@m17n.org>
7822 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7824 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7826 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7828 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
7830 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7831 checkouts. (Bug#618)
7832 (vc-bzr-log-view-mode): Also highlight the author.
7833 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7834 (vc-bzr-shelve-menu-map):
7835 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7836 (vc-bzr-shelve-apply): Make prompt more explicit.
7838 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
7840 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7841 They are valid characters in URL paths (rfc3986), and at least
7842 Firefox does not understand the encoded version (Bug#3166).
7844 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
7846 * progmodes/octave-mod.el (octave-end-keywords)
7847 (octave-block-begin-or-end-regexp, octave-block-match-alist):
7848 Add "end" keyword (Bug#3061).
7849 (octave-end-as-array-index-p): New function.
7850 (calculate-octave-indent): Use it.
7852 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7854 * bookmark.el: Consistently put the text property on the bookmark name.
7855 (bookmark-bmenu-marks-width): Bump back to 2, to include
7857 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7858 property on the bookmark name, instead of not putting it at all.
7859 (bookmark-bmenu-list): Fix where we put the text property.
7861 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7863 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7864 for showing buffer modified state (as added in the previous change).
7866 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7868 * bookmark.el: Show modified state of bookmark buffer more accurately.
7869 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7870 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7871 (with-buffer-modified-unmodified): New macro.
7872 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7873 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7874 Use new macro to preserve the buffer modified state.
7876 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7878 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7879 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7880 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7881 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7882 (bookmark-bmenu-rename, bookmark-bmenu-locate)
7883 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7884 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7886 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7888 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7889 Make the lines in the generated doc string shorter. (Bug#4668)
7891 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
7893 * net/rcirc.el: Add follow-link binding (Bug#4738).
7895 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7897 * Makefile.in (bzr-update): Rename from cvs-update.
7898 (cvs-update): New target for backward compatibility.
7900 * makefile.w32-in (bzr-update): Rename from cvs-update.
7901 (cvs-update): New target for backward compatibility.
7903 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7905 * bookmark.el: Remove gratuitous gratitude.
7907 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7909 * bookmark.el (bookmark-bmenu-any-marks): New function.
7910 (bookmark-bmenu-save): Clear buffer modification if no marks.
7912 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7914 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7915 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7916 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7917 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7919 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7920 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7921 To: emacs-devel {_AT_} gnu.org
7922 Subject: bookmark.el bug report
7923 Date: Mon, 28 Dec 2009 14:19:16 +0800
7924 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7926 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7928 * bookmark.el: Improvements suggested by Drew Adams:
7929 (bookmark-bmenu-ensure-position): New name for
7930 `bookmark-bmenu-check-position'. Just ensure the position,
7931 don't return any meaningful value.
7932 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7935 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
7937 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7938 (bookmark-yank-point, bookmark-bmenu-check-position):
7939 Fix typos in docstrings.
7940 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7941 (bookmark-name-from-full-record, bookmark-get-position)
7942 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7943 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7944 Remove useless quoting of parenthesis, etc. in docstrings.
7946 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7947 (ediff-append-custom-diff): Fix typo in error message.
7948 (ediff-meta-mark-equal-files): Fix typos in messages.
7950 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7952 * net/imap-hash.el (imap-hash-make): Doc fix.
7953 (imap-hash-test): Fix typo in error message; reflow docstring.
7954 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7955 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7956 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7957 Fix typos in docstrings.
7958 (imap-hash-open-connection): Fix typo in error message.
7960 * play/gomoku.el (gomoku): Fix typos in docstring.
7962 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7963 (gdb-jsonify-buffer): Fix typos in docstring.
7964 (gdb-goto-breakpoint): Fix typo in error message.
7965 ("Display Other Windows"): Fix typo in help message.
7966 (gdb-speedbar-expand-node): Fix typo in question.
7968 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7969 (idlwave-html-system-help-location, idlwave-html-help-location)
7970 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7971 (idlwave-help-browser-generic-args, idlwave-help-directory)
7972 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7973 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7974 (idlwave-online-help, idlwave-help-html-link)
7975 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7976 Fix typos in docstrings.
7977 (idlwave-help-with-source, idlwave-help-find-routine-definition):
7979 (idlwave-help-assistant-start): Fix typo in error message.
7981 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7982 (octave-electric-space): Fix typos in docstrings.
7984 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
7986 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7988 2010-01-01 Juri Linkov <juri@jurta.org>
7990 * comint.el (comint-input-ring-size): Make it a defcustom and
7991 increase the default to 500 (Bug#5148).
7993 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
7995 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7996 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7997 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7999 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
8001 Show working revision correctly for mercurial.
8002 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8003 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8005 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
8007 Declare some functions for the byte-compiler.
8008 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8009 (speedbar-timer-fn, speedbar-change-expand-button-char)
8010 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8012 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
8014 This changeset reverts GDB Graphical Interface to use annotations.
8015 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8017 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
8019 Make vc-dir work on subdirectories of the bzr root.
8020 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
8021 file names relative to it.
8022 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8023 relative directory to vc-bzr-after-dir-status.
8025 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
8027 * font-lock.el (font-lock-refresh-defaults): New function, which
8028 can be used to let font-lock react to external changes in
8029 variables like font-lock-defaults and keywords.
8030 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8032 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
8034 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8036 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8038 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
8040 Supersede color.diff settings in git log (bug#5211).
8042 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8043 escape chars in its output when the user has color.diff set to `always'.
8044 This fix works on git 1.4.2 and newer (released on 2006-08-13).
8046 2009-12-26 Kevin Ryde <user42@zip.com.au>
8048 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8049 node. Keep previous "Index" name to work with past coreutils too.
8051 * man.el (man): Revise docstring a bit to show -a and -l as
8052 examples. Add -k description since support for it has otherwise
8053 been a secret. (Further to bug#3717.)
8054 (Man-bgproc-sentinel): When "-k foo" produces no output show error
8055 "no matches" rather than "Can't find manpage", as the latter reads
8056 like -k was interpreted as a page name, which is not so. (Bug#5431)
8058 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
8060 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8061 switches. Check also for //SUBDIRED// line.
8063 2009-12-25 Kenichi Handa <handa@m17n.org>
8065 * language/indian.el (devanagari-composable-pattern): Fixed to
8066 handle ZWNJ and ZWJ. Use it in composition-function-table for
8068 (malayalam-composable-pattern): Fix previous change.
8070 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8072 * ps-print.el (ps-face-attributes): It was not returning the
8073 attribute face for faces specified as string. Reported by harven
8074 <harven@free.fr>. (Bug#5254)
8075 (ps-print-version): New version 7.3.5.
8077 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
8079 * calendar/icalendar.el (icalendar--convert-tz-offset):
8081 (icalendar--convert-tz-offset): Fix the "last-day-problem".
8082 (icalendar--add-diary-entry): Remove the trailing blank that
8083 diary-make-entry inserts.
8085 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
8087 Make `file-expand-wildcards' work for remote files.
8089 * files.el (file-expand-wildcards): In case of remote files, check
8090 only local file name part for wildcards. Provide feature 'files
8091 and subfeature 'remote-wildcards. (Bug#5198)
8093 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8094 if there is already an established connection.
8095 (tramp-advice-file-expand-wildcards): Remove it.
8097 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8098 (tramp-advice-file-expand-wildcards): Move from tramp.el.
8099 Activate advice for older GNU Emacs versions. (Bug#5237)
8101 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
8103 Some doc fixes (more needed).
8105 * find-cmd.el (find-constituents): Reflow docstring.
8106 (find-cmd, find-prune, find-command): Fix typos in docstrings.
8107 (find-generic): Doc fix.
8109 2009-12-17 Juri Linkov <juri@jurta.org>
8111 Fix regression from 23.1 to allow multiple modes in Local Variables.
8113 * files.el (hack-local-variables-filter): While ignoring duplicates,
8114 don't take `mode' into account.
8115 (hack-local-variables-filter, hack-dir-local-variables):
8116 Don't remove duplicate `mode' from local-variables-alist (like `eval').
8118 2009-12-17 Juri Linkov <juri@jurta.org>
8120 Make `dired-diff' safer. (Bug#5225)
8122 * dired-aux.el (dired-diff): Signal an error when `file' equals to
8123 `current' or when `file' is a directory of the `current' file.
8125 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
8127 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8128 unconditionally preloaded files.
8130 2009-12-16 Juri Linkov <juri@jurta.org>
8132 Revert to old 23.1 logic of using the file at the mark as default.
8133 * dired-aux.el (dired-diff): Use the file at the mark as default
8134 if it's not the same as the current file, and the target dir is
8135 the current dir or the mark is active. Add the current file
8136 as the arg of `dired-dwim-target-defaults'. Use the default file
8137 in the prompt. (Bug#5225)
8139 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
8141 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8142 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8143 (tramp-check-for-regexp): Check also, when an echoing shell stops
8144 to echo sent commands.
8146 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8148 * Makefile.in: Revert last change (Bug#5191).
8150 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
8152 * vc-hg.el (vc-hg-print-log): Fix argument order.
8153 (vc-hg-working-revision): Make sure the command is executed in a
8154 known environment so that we can parse the output. (Bug#4417)
8156 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8158 * progmodes/python.el (python-symbol-completions): Remove text
8159 properties from symbol string before calling python-send-receive.
8161 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
8163 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8164 when there are values for both file and line. (Bug#5060)
8166 2009-12-14 Juri Linkov <juri@jurta.org>
8168 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8169 whitespace after the file name of the first line of unified format,
8170 because git-diff doesn't output whitespace and file modification time
8171 after the file name.
8173 2009-12-14 David Kastrup <dak@gnu.org>
8175 * info.el (Info-hide-cookies-node): Before hiding a cookie,
8176 check if it already has the `display' property added by
8177 `Info-display-images-node', and not put the `invisible' property
8180 2009-12-13 Glenn Morris <rgm@gnu.org>
8182 * mail/emacsbug.el (message-sort-headers): Define for compiler.
8183 (report-emacs-bug): In message-mode, sort manually before storing
8184 original report text. (Bug#5178)
8185 Remove superfluous save-excursion.
8187 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
8189 * net/dbus.el (dbus-property-handler): Filter lambda forms out
8190 when responding to "GetAll" properties.
8192 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
8194 * simple.el (compose-mail): Remove mail-setup-with-from from
8195 customization checks.
8197 2009-12-12 Eli Zaretskii <eliz@gnu.org>
8199 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8200 RAR archives created on Unix systems.
8202 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8205 the varalias that was accidentally removed by the 2009-11-19 change
8208 2009-12-12 Kenichi Handa <handa@m17n.org>
8210 * language/indian.el (indian-compose-regexp): New function.
8211 (malayalam-composable-pattern): Fix the pattern.
8212 (composition-function-table): Set malayalam-composable-pattern for
8213 Malayalam characters.
8215 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
8217 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8218 rather than down-mouse-1, based on follow-link conventions.
8220 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8223 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
8225 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8226 (verilog-vmm-statement-re, verilog-ovm-statement-re)
8227 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8228 (verilog-leap-to-head, verilog-backward-token):
8229 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
8231 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
8233 * progmodes/verilog-mode.el (verilog-auto-lineup)
8234 (verilog-nameable-item-re): Cleanup user-visible spelling and
8235 documentation errors. One reported by Gary Delp.
8236 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8237 (verilog-read-decls): Fix AUTOWIRE with types declared in a
8238 package, bug195. Reported by Pierre-David Pfister.
8240 2009-12-11 Glenn Morris <rgm@gnu.org>
8242 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8244 * mail/emacsbug.el: No longer require sendmail.
8245 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
8246 (report-emacs-bug-orig-text): Doc fix.
8247 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8248 New local variables, to adapt to different mail-user-agents.
8249 (report-emacs-bug): Fix test for a gnu.org address.
8250 Use overlays for emphasis, since font-lock defeats 'face property.
8251 Pretest bugs also end up at the newsgroup these days.
8252 Stop message-mode stripping text properties.
8253 Set and use the new buffer-local variables.
8254 (report-emacs-bug-hook): Add doc-string.
8255 Remove some unnecessary save-excursions and simplify.
8256 Use the appropriate hook and send-command.
8258 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8259 capitalization of some menu entries.
8261 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8263 * whitespace.el (whitespace-display-char-on):
8264 Ensure `buffer-display-table' is unique when two or more windows are
8265 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8268 2009-12-10 Eli Zaretskii <eliz@gnu.org>
8270 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8271 characters in the Attribute field.
8273 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
8275 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
8277 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
8279 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8280 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8281 Disregard autoload-excludes.
8282 (update-directory-autoloads): Obey autoload-excludes here instead.
8283 But don't store its contents in no-autoloads and remove entries that
8284 refer to excludes files.
8286 2009-12-10 Glenn Morris <rgm@gnu.org>
8288 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8289 (expand-mail-aliases): Define for compiler.
8291 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8292 Define for compiler.
8294 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8295 appropriate for the mail-user-agent in use.
8297 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8299 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8301 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
8303 Fix short log parsing and fontification.
8304 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8305 Fix fontification for the [merge] label.
8307 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
8309 Drop some properties to avoid surprises (bug#5002).
8310 * htmlfontify.el (hfy-ignored-properties): New defcustom.
8311 (hfy-fontify-buffer): Use it.
8313 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
8316 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8318 (ffap-locate-file): Remove unused arg `dir-ok' and make other
8319 args compulsory. Adjust callers.
8320 (ffap-gopher-at-point): Remove unused var `name'.
8322 Get rid of the ELCFILES abomination.
8323 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8324 (compile-elcfiles): New phony target.
8325 (compile-main): Compute ELCFILES dynamically.
8326 (compile-clean): New target to remove left-over elc files.
8327 (compile, all): Use it.
8329 2009-12-09 Kenichi Handa <handa@etlken>
8331 * international/mule-diag.el: Require help-mode instead of help-fns.
8333 2009-12-09 Kenichi Handa <handa@m17n.org>
8335 * international/mule-cmds.el (ucs-names): Supply sufficiently
8336 fine ranges instead of pre-calculating accurate ranges.
8337 Iterate with bigger gc-cons-threshold.
8339 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
8341 Add support for stashing a snapshot of the current tree.
8342 * vc-git.el (vc-git-stash-snapshot): New function.
8343 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8345 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
8347 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8348 instead of `(beginning|end)-of-line'.
8350 2009-12-08 Glenn Morris <rgm@gnu.org>
8352 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8354 * Makefile.in (ELCFILES): Regenerate.
8356 2009-12-07 Juri Linkov <juri@jurta.org>
8358 Don't lazy-highlight the comint output in history Isearch mode.
8360 * comint.el (comint-history-isearch-search): Instead of
8361 `comint-line-beginning-position', use `comint-after-pmark-p'
8362 to check if point if before the process mark, and go to
8363 `process-mark' in this case.
8365 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8367 * textmodes/tex-mode.el (latex-complete)
8368 (latex-indent-or-complete): Remove.
8369 (latex-mode): Set completion-at-point-functions instead.
8371 Provide a standard completion command and hook it into TAB.
8372 * minibuffer.el (completion-at-point-functions): New var.
8373 (completion-at-point): New command.
8374 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8375 * progmodes/python.el (python-mode-map): Use completion-at-point.
8376 (python-completion-at-point): Rename from python-partial-symbol and
8377 adjust for use in completion-at-point-functions.
8378 (python-mode): Setup completion-at-point for Python completion.
8379 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8380 extracted from lisp-complete-symbol.
8381 (lisp-complete-symbol): Use it.
8382 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8383 setup completion-at-point for Elisp completion.
8384 (emacs-lisp-mode-map, lisp-interaction-mode-map):
8385 Use completion-at-point.
8386 * ielm.el (ielm-map): Use completion-at-point.
8387 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8388 * progmodes/sym-comp.el: Move to...
8389 * obsolete/sym-comp.el: Move from progmodes.
8391 2009-12-07 Eli Zaretskii <eliz@gnu.org>
8393 Prevent save-buffer in Rmail buffers from using the coding-system
8394 of the current message, and from clobbering the encoding mnemonics
8395 in the mode line (Bug#4623).
8397 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8399 (rmail-message-encoding): New variable.
8400 (rmail-write-region-annotate): Record the encoding of the current
8401 message in rmail-message-encoding.
8402 (rmail-after-save-hook): New function, restores the encoding of
8403 the current message after the message collection is saved.
8405 2009-12-07 Juri Linkov <juri@jurta.org>
8407 * progmodes/grep.el (grep-read-files): Use `completing-read'
8408 instead of `read-string'. Set its `collection' arg to
8409 `read-file-name-internal'. (Bug#4301)
8411 2009-12-07 Juri Linkov <juri@jurta.org>
8413 Correctly restore original Isearch point. (Bug#4994)
8415 * isearch.el (isearch-mode): Move `isearch-push-state' after
8416 `(run-hooks 'isearch-mode-hook)'.
8417 (isearch-cancel): When `isearch-push-state-function' is defined,
8418 let-bind `isearch-cmds' to the first state (the last element of
8419 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8420 function and restores the original point). Otherwise, move point
8421 to `isearch-opoint'.
8423 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8425 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8426 chars that don't have names, so the table can be built much faster at
8429 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
8431 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8432 change. Suggested by David Kastrup.
8434 * simple.el (compose-mail): Check for incompatibilities and warn.
8435 (compose-mail-user-agent-warnings): New option.
8437 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8439 Support showing a single log entry from vc-annotate.
8440 * vc.el (print-log): Add a new argument: START-REVISION.
8441 (vc-print-log-internal): Add a new optional argument and
8442 pass it to the backend.
8443 (vc-print-log, vc-print-root-log): Adjust callers.
8444 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8445 buffer already displays the requested log entry, use it.
8446 Otherwise display only the log entry in question.
8447 * vc-svn.el (vc-svn-print-log):
8448 * vc-mtn.el (vc-mtn-print-log):
8449 * vc-hg.el (vc-hg-state):
8450 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8451 (vc-git-show-log-entry): Return t on success.
8452 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8453 (vc-bzr-show-log-entry): Return t on success.
8454 * vc-rcs.el (vc-rcs-print-log):
8455 * vc-sccs.el (vc-sccs-print-log):
8456 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8458 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8460 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8461 Add menus to the meta mode. (Bug#5043)
8463 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
8465 * ediff-init.el (ediff-event-key): Use event-to-character instead of
8468 * ediff.el (ediff-buffers-internal): Add unwind-protect.
8470 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
8472 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
8473 Berbain <raphael.berbain@gmail.com>.
8475 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
8477 (tramp-initial-end-of-output): New defconst.
8478 (tramp-methods, tramp-find-shell)
8479 (tramp-open-connection-setup-interactive-shell)
8480 (tramp-maybe-open-connection): Use it.
8481 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8482 existence of `#' and `$'.
8484 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8485 `tramp-initial-end-of-output'.
8487 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8489 Get the background mode from the terminal for xterm, and set
8491 * term/xterm.el (xterm-set-background-mode): New function.
8492 (terminal-init-xterm): Use it in case xterm supports background
8493 color queries. Recompute faces after getting the background
8496 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
8498 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8499 number comment back on its own line, for easier parsing.
8501 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8503 Make it work for non-file buffers (bug#5102).
8504 * doc-view.el (doc-view-current-cache-dir):
8505 Use doc-view-buffer-file-name rather than buffer-file-name.
8506 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8508 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
8510 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8511 author field is too short.
8513 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
8515 * vc-git.el (vc-git-print-log): Handle a limit argument.
8516 Display the short log in graph form and with labels.
8517 (vc-git-log-view-mode): Handle labels.
8519 Make vc-revert change VC state from 'added to 'unregistered.
8520 * vc-git.el (vc-git-revert): Call git reset first.
8522 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8524 * net/newst-backend.el, net/newst-plainview.el:
8525 * net/newst-reader.el, net/newst-ticker.el:
8526 * net/newst-treeview.el, net/newsticker.el:
8527 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
8529 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8531 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8533 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8534 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
8535 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8536 Update annotation regexp.
8538 * simple.el (beginning-of-visual-line): Constrain to field
8539 boundaries (Bug#5106).
8541 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8543 * xml.el (xml-substitute-numeric-entities): Move
8544 newsticker--decode-numeric-entities in newst-backend.el to
8545 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8546 * net/newst-backend.el (newsticker--parse-generic-feed)
8547 (newsticker--parse-generic-items)
8548 (newsticker--decode-numeric-entities): Move
8549 newsticker--decode-numeric-entities in newst-backend.el to
8550 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8552 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
8554 * progmodes/js.el (js--js-not): Add null to the list of values.
8556 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8558 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8560 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8562 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8563 delimiter if it is at the end of the current line.
8564 (bibtex-generate-url-list): Fix docstring.
8566 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8569 minibuffer's content with itself.
8570 Fold the confirm-after-completion case into the `confirm' case.
8571 (completion-pcm-word-delimiters): Add : and / to the delimiters.
8573 2009-12-06 Kevin Ryde <user42@zip.com.au>
8575 * ffap.el (ffap-rfc-path): Make this a defcustom since
8576 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
8578 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8579 manuals, similar to existing setup for help-mode. (Bug#3913.)
8581 2009-12-05 Juri Linkov <juri@jurta.org>
8583 Save and restore dired buffer's point positions too. (Bug#4880)
8585 * dired.el (dired-save-positions): Return in the first element
8586 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8588 (dired-restore-positions): First restore buffer's position.
8589 While restoring window's positions, check if window still displays
8590 the original buffer.
8592 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
8594 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8597 * shell.el (shell): Require ansi-color (Bug#5113).
8599 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8601 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8603 2009-12-05 Alan Mackenzie <acm@muc.de>
8605 * progmodes/cc-mode.el (c-before-hack-hook)
8606 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8607 `c-file-style' to work again. This reversion restores the current
8608 software to its state in Emacs 23.1. (Bug#4146)
8610 2009-12-05 Kevin Ryde <user42@zip.com.au>
8612 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8613 comment-start-skip to comment-end-skip as comment (Bug#4781).
8615 2009-12-05 Juri Linkov <juri@jurta.org>
8617 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8618 for virtual nodes. (Bug#4147)
8619 (Info-find-node-2): Set `Info-current-node-virtual' to nil
8620 when moving from a virtual node.
8621 (Info-mode-menu): Add `Info-virtual-index' to the menu.
8622 (Info-mode): Add `Info-virtual-index' to the docstring.
8624 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8626 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8627 track of the buffer position of the end of a BibTeX entry as this
8628 position may change during reformatting.
8629 (bibtex-format-entry): Remove whitespace before processing
8630 numerical fields so that we recognize the latter properly.
8631 (bibtex-reformat): Do not use push which changes the global value
8632 of bibtex-entry-format.
8633 (bibtex-field-braces-alist, bibtex-field-strings-alist)
8634 (bibtex-field-re-init): Replace only space characters by regexp
8636 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8637 (bibtex-initialize): Also update bibtex-strings.
8638 (bibtex-kill-field): Preserve white space at end of entry.
8639 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8640 Update bibtex-reference-keys.
8642 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
8644 * minibuffer.el (completion-pcm--merge-try): Also consider placing
8645 point after a star, if that's the only place where modifications can
8648 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
8650 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8653 2009-12-04 Juri Linkov <juri@jurta.org>
8655 * proced.el (proced): Call `(proced-update t)' to update process
8656 information instead of only running proced-post-display-hook.
8657 (proced-send-signal): Add a leading space to the buffer name
8658 " *Marked Processes*" to make this buffer ephemeral.
8660 2009-12-04 Juri Linkov <juri@jurta.org>
8662 * dired.el (dired-auto-revert-buffer): New defcustom.
8663 (dired-internal-noselect): Use it.
8665 2009-12-04 Juri Linkov <juri@jurta.org>
8667 Change roles of modes and functions in image-mode.el (Bug#5062).
8669 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8670 in `auto-mode-alist'.
8671 (image-mode-previous-major-mode): New variable.
8672 (image-minor-mode-map): Rename from `image-mode-text-map'.
8673 (image-mode): Move graceful error-handling code from
8674 `image-minor-mode' to here. On errors call `image-mode-as-text'.
8675 (image-minor-mode): Remove all image-handling code.
8676 Replace `image-mode-text-map' with `image-minor-mode-map'.
8677 Check for `image-type' in mode-line format string.
8678 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8679 (image-mode-as-text): New function with most code from
8681 (image-toggle-display-text): Move code that removes image
8682 properties from `image-toggle-display' to here.
8683 (image-toggle-display-image): New function with code that adds
8684 image properties copied from `image-toggle-display'.
8685 (image-toggle-display): Remove most code with leaving only code
8686 that toggles between `image-mode-as-text' and `image-mode'.
8688 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
8690 * net/newst-treeview.el
8691 (newsticker--treeview-list-highlight-start): Restored call to
8692 save-excursion: Selected item was stuck.
8693 (newsticker--treeview-list-select): New.
8694 (newsticker--treeview-item-show-text)
8695 (newsticker--treeview-item-show)
8696 (newsticker--treeview-item-update): Use new
8697 newsticker-treeview-item-mode.
8698 (newsticker-treeview-update): Keep current item.
8699 (newsticker-treeview-next-new-or-immortal-item): Doc change.
8700 (newsticker--treeview-first-feed): Doc change.
8701 (newsticker-treeview-list-menu)
8702 (newsticker-treeview-item-menu): Added menu entries.
8703 (newsticker-treeview-item-mode): New.
8705 * net/newst-backend.el (newsticker-customize): Delete other
8708 2009-12-04 Sam Steingold <sds@gnu.org>
8710 * log-view.el (log-view-mode-map): "q" calls quit-window,
8711 like in all the other non-self-insert buffers.
8713 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8716 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8717 key decoding rather than do it manually via last-input-event +
8719 (term-exec): Use delete-and-extract-region.
8720 (term-handle-ansi-terminal-messages): Remove unused var `end'.
8721 (term-process-pager): Remove unused var `i'.
8722 (term-dynamic-simple-complete): Make obsolete.
8723 (serial-update-config-menu): Remove unused vars `y' and `str'.
8724 (term-update-mode-line): Remove unused var `temp'.
8726 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8728 Limit the number of log entries displayed by default.
8729 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8730 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8731 using a prefix argument.
8733 2009-12-03 Glenn Morris <rgm@gnu.org>
8735 * progmodes/idlwave.el (class): Restore still useful declaration.
8737 2009-12-03 Alan Mackenzie <acm@muc.de>
8739 Enhance `c-parse-state' to run efficiently in "brace deserts".
8741 * progmodes/cc-mode.el (c-basic-common-init):
8742 Call c-state-cache-init.
8743 (c-neutralize-syntax-in-and-mark-CPP): Rename from
8744 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
8745 placing `category' properties value 'c-cpp-delimiter at its boundaries.
8747 * progmodes/cc-langs.el (c-before-font-lock-function):
8748 c-extend-and-neutralize-syntax-in-CPP has been renamed
8749 c-neutralize-syntax-in-and-mark-CPP.
8751 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8752 with `category' properties now, not `syntax-table' ones.
8754 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8755 enhanced (but slower) version of c-end-of-macro that won't land
8756 inside a literal or on another awkward character.
8757 (c-state-cache-too-far, c-state-cache-start)
8758 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8759 (c-state-nonlit-pos-cache-limit, c-state-point-min)
8760 (c-state-point-min-lit-type, c-state-point-min-lit-start)
8761 (c-state-min-scan-pos, c-state-brace-pair-desert)
8762 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8763 buffer local variables.
8764 (c-state-literal-at, c-state-lit-beg)
8765 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8766 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8767 (c-state-cache-top-paren, c-state-cache-after-top-paren)
8768 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8769 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8770 (c-renarrow-state-cache)
8771 (c-append-lower-brace-pair-to-state-cache)
8772 (c-state-push-any-brace-pair, c-append-to-state-cache)
8773 (c-remove-stale-state-cache)
8774 (c-remove-stale-state-cache-backwards, c-state-cache-init)
8775 (c-invalidate-state-cache-1, c-parse-state-1)
8776 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8777 (c-parse-state): Enhance and refactor.
8778 (c-debug-parse-state): Amend to deal with all the new variables.
8780 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8781 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8782 modify to use category text properties rather than syntax-table ones.
8783 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8784 to switch off/on the syntactic paren property of C++ template
8785 delimiters using the category property.
8786 (c-with-<->-as-parens-suppressed): Macro to invoke code with
8787 template delims suppressed.
8788 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8789 New constant/macros which apply category properties to the start
8790 and end of preprocessor constructs.
8791 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8792 "comment out" the syntactic value of characters in preprocessor
8794 (c-with-cpps-commented-out)
8795 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8796 with characters in all or all but one preprocessor constructs
8799 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8801 * proced.el (proced-filter-alist): Use regexp-quote.
8803 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
8806 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8807 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
8808 arguments. Expand `default-directory'.
8810 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8811 the benefit of returning an expanded localname.
8812 (tramp-tramp-file-p): Handle the case NAME is not a string.
8814 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8816 Add support for bzr shelve/unshelve.
8817 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8818 (vc-bzr-extra-menu-map): New variables.
8819 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8820 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8821 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8822 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8823 (vc-bzr-dir-extra-headers): Display shelves.
8825 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8827 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8829 * textmodes/bibtex.el (bibtex-complete-internal):
8830 Use completion-in-region.
8831 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8833 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8835 Support applying stashes. Improve UI.
8836 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8837 (vc-git-stash-apply, vc-git-stash-pop)
8838 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8839 (vc-git-stash-menu): New functions.
8840 (vc-git-stash-menu-map): New variable.
8841 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8843 2009-12-03 Glenn Morris <rgm@gnu.org>
8845 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8846 (vc-print-log-internal): Fix previous change.
8847 (vc-revert): Correct pluralization.
8849 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8851 * progmodes/make-mode.el (makefile-special-targets-list): No need for
8852 it to be an alist any more.
8853 (makefile-complete): Use completion-in-region.
8855 * progmodes/octave-mod.el (octave-complete-symbol):
8856 Use completion-in-region.
8859 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8860 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8861 (idlwave-complete-class): Don't quote lambda.
8862 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8863 (idlwave-mode-map): Move initialization into declaration.
8864 (idlwave-action-and-binding): Use backquotes.
8865 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8867 (idlwave-is-pointer-dereference): Remove unused var `pos'.
8868 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8869 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8870 `parts', and `all-parts'.
8871 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8872 (idlwave-convert-xml-system-routine-info): Remove unused string
8874 (idlwave-display-user-catalog-widget): Use dolist.
8875 (idlwave-scanning-lib): Declare dynamically-scoped var.
8876 (idlwave-scan-library-catalogs): Remove unused var `flags'.
8877 (completion-highlight-first-word-only): Declare to silence bytecomp.
8878 (idlwave-popup-select): Tighten scope of `resp'.
8879 (idlwave-find-struct-tag): Remove unused var `beg'.
8880 (idlwave-after-load-rinfo-hook): Declare.
8881 (idlwave-sintern-class-info): Remove unused var `taglist'.
8882 (idlwave-find-class-definition): Remove unused var `list'.
8883 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8884 (idlwave-what-module-find-class): Remove unused var `classes'.
8886 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
8888 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8890 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8893 buffers visited. Remove redundant current-buffer-saving.
8895 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8897 Use completion-in-buffer and remove uses of dynamic scoping.
8898 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8899 (pascal-buffer-to-use, pascal-flag): Don't declare.
8900 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8901 (pascal-get-completion-decl, pascal-keyword-completion):
8902 Add `pascal-str' argument, save-excursion,
8903 return the found completions, and don't filter with pascal-pred.
8904 (pascal-completion-cache): New var.
8905 (pascal-completion): Don't switch buffer any more (it was never
8906 necessary). Don't save-excursion any more (it's done by the called
8907 subroutines). Use a cache to avoid redundant computations.
8908 Use complete-with-action rather than pascal-completion-response and
8909 let it apply the predicate as well.
8910 (pascal-complete-word): Use completion-in-buffer when
8911 pascal-toggle-completions is nil.
8912 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8914 (pascal-comp-defun): Don't change buffer any more.
8915 Use complete-with-action rather than pascal-completion-response and
8916 let it apply the predicate as well.
8917 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8920 2009-12-02 Kenichi Handa <handa@m17n.org>
8922 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8923 shape for all Indic scripts.
8925 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8927 Use completion-in-buffer.
8928 * wid-edit.el (widget-field-text-end): New function.
8929 (widget-field-value-get): Use it.
8930 (widget-string-complete, widget-file-complete)
8931 (widget-color-complete): Use it and completion-in-region.
8932 (widget-complete): Don't narrow the buffer.
8934 2009-12-02 Glenn Morris <rgm@gnu.org>
8936 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
8937 (rmail-select-summary): Use rmail-pop-to-buffer.
8938 * mail/rmailsum.el: Replace all pop-to-buffer calls with
8939 rmail-pop-to-buffer, to prevent horizontal splits.
8941 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8942 save-excursion with save-current-buffer.
8943 Widen before searching. (Bug#5093)
8944 (diary-list-sexp-entries): Remove superfluous save-excursion.
8946 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
8948 * woman.el (woman-make-bufname): Handle man-pages with "." in the
8951 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
8953 * ido.el (ido-file-internal): Handle filenames at point that do
8954 not have a directory part. (Bug#5049)
8956 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
8958 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8959 (mpc-songs-jump-to, mpc-resume): Doc fixes.
8961 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
8963 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8964 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8967 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8969 * comint.el (comint-insert-input): Ignore clicks to the right of
8970 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8972 * vc.el (vc-print-log-internal): Don't wait for the process to
8973 terminate before setting up the major mode.
8975 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8978 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8981 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8983 2009-12-01 Glenn Morris <rgm@gnu.org>
8985 * window.el (window--display-buffer-2): Fix previous changes.
8987 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
8989 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8991 2009-12-01 Glenn Morris <rgm@gnu.org>
8993 * Makefile.in (ELCFILES): Add mpc.elc.
8995 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8999 2009-12-01 Glenn Morris <rgm@gnu.org>
9001 * window.el (window-to-use): Define for compiler.
9003 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9004 consistent with others (no final period).
9006 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9007 (rmail-mime-show): Downcase the encoding. (Bug#5070)
9009 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
9011 Make vc-print-log buttons work.
9012 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9014 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
9016 * savehist.el (savehist-autosave-interval): Allow setting to nil
9017 through customize. (Bug#5056)
9019 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
9021 Fix references to jit-lock properties.
9022 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9023 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9024 (perl-font-lock-special-syntactic-constructs):
9025 Quote jit-lock-defer-multiline property.
9027 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
9029 * vc-git.el (vc-git-registered): Call vc-git-root only once.
9031 2009-11-30 Juri Linkov <juri@jurta.org>
9033 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9034 value `buffer' of `multi-isearch-next-buffer-current-function'.
9035 Use `(current-buffer)' when `buffer' is nil.
9036 (multi-isearch-next-buffer-from-list): Don't fallback to
9037 `(current-buffer)' when `buffer' is nil. (Bug#4947)
9039 2009-11-30 Juri Linkov <juri@jurta.org>
9041 * misearch.el (multi-isearch-read-buffers): Move canonicalization
9042 of buffers with `get-buffer' to `multi-isearch-buffers'.
9043 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9044 Canonicalize BUFFERS with `get-buffer'. Doc fix.
9045 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9046 FILES with `expand-file-name' converting relative file names
9047 to absolute. Doc fix. (Bug#4727)
9049 2009-11-30 Juri Linkov <juri@jurta.org>
9051 * misearch.el (multi-isearch-read-buffers)
9052 (multi-isearch-read-matching-buffers): New functions.
9053 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9054 Use them in the `interactive' spec. Doc fix.
9055 (multi-isearch-read-files, multi-isearch-read-matching-files):
9057 (multi-isearch-files, multi-isearch-files-regexp):
9058 Use them in the `interactive' spec. Doc fix. (Bug#4725)
9060 2009-11-30 Juri Linkov <juri@jurta.org>
9062 * doc-view.el (doc-view-continuous):
9063 Rename from `doc-view-continuous-mode'.
9064 (doc-view-menu): Move "Toggle display" to the top.
9065 Add submenu "Continuous" with radio buttons "Off"/"On"
9066 and "Save as Default".
9067 (doc-view-scroll-up-or-next-page)
9068 (doc-view-scroll-down-or-previous-page)
9069 (doc-view-next-line-or-next-page)
9070 (doc-view-previous-line-or-previous-page): Rename
9071 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
9073 2009-11-30 Juri Linkov <juri@jurta.org>
9075 * comint.el (comint-mode-map): Rebind `M-r' from
9076 `comint-previous-matching-input' to
9077 `comint-history-isearch-backward-regexp'.
9078 Unbind `M-s' to allow global key binding `M-s'.
9079 Add menu items for `comint-history-isearch-backward' and
9080 `comint-history-isearch-backward-regexp'. (Bug#3746)
9082 2009-11-30 Juri Linkov <juri@jurta.org>
9084 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9085 For def=recenter, replace `recenter' with `recenter-top-bottom'
9086 that is called with `this-command' and `last-command' let-bound
9087 to `recenter-top-bottom'. When the last `def' was not `recenter',
9088 set `recenter-last-op' to nil. (Bug#4981)
9090 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
9092 Minor cleanup and simplification.
9093 * filecache.el (file-cache-add-directory)
9094 (file-cache-add-directory-recursively)
9095 (file-cache-add-from-file-cache-buffer)
9096 (file-cache-delete-file-regexp, file-cache-delete-directory)
9097 (file-cache-files-matching-internal, file-cache-display): Use dolist.
9098 (file-cache-temp-minibuffer-message): Delete function.
9099 (file-cache-minibuffer-complete): Use minibuffer-message instead.
9101 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9102 Don't signal an error when bumping into EOB in tr, s, or y.
9104 2009-11-29 Juri Linkov <juri@jurta.org>
9106 * startup.el (fancy-about-text): Fix wording of Guided Tour.
9109 * descr-text.el (describe-char-unidata-list): Use lowercase name
9110 for "Unicode name" like in other tags.
9112 2009-11-29 Juri Linkov <juri@jurta.org>
9114 * ediff-util.el (ediff-minibuffer-with-setup-hook):
9115 New compatibility macro.
9116 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9118 2009-11-29 Juri Linkov <juri@jurta.org>
9120 Add defcustom to define the cycling order of `recenter-top-bottom'.
9123 * window.el (recenter-last-op): Doc fix.
9124 (recenter-positions): New defcustom.
9125 (recenter-top-bottom): Rewrite to use `recenter-positions'.
9126 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9128 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
9130 Improve integration of Tramp and ange-ftp in eshell.
9132 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9133 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
9134 (eshell/sudo): Flatten args. Let-bind `default-directory'.
9136 * eshell/esh-util.el (top): Require also Tramp when compiling.
9137 (eshell-directory-files-and-attributes): Check for FTP remote
9139 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9140 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9141 (eshell-file-attributes): Handle ".". Return `entry'.
9143 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9144 (ange-ftp-directory-files-and-attributes)
9145 (ange-ftp-real-directory-files-and-attributes): New defuns.
9147 * net/tramp.el (tramp-maybe-open-connection): Open the remote
9148 shell with "exec" when possible. This prevents trailing prompts
9149 in `start-file-process'.
9151 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9153 Try and remove assumptions about point-min==1.
9154 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9155 (rng-compute-mode-line-string): Show the validation percentage in
9156 terms of the narrowed text, not the widened text.
9157 (rng-do-some-validation): Don't catch internal errors when debugging.
9158 (rng-first-error): Simplify.
9159 (rng-after-change-function): Remove work around. AFAIK the bug has
9160 been fixed a while ago.
9162 * image-mode.el (image-minor-mode): Exit more gracefully when the image
9163 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9165 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9167 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9168 `cd' doesn't always do it for us (bug#5067).
9170 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9171 on 2009-10-25 as part of some other change (bug#5067).
9173 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9175 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9177 (byte-compile-warnings): Use byte-compile-warning-types.
9178 (byte-compile-save-excursion): Warn about use of set-buffer right
9179 after save-excursion.
9181 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9182 the excursion as well.
9184 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
9186 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9187 providing a Tramp related implementation of "su" and "sudo".
9188 (eshell-unix-initialize): Add "su" and "sudo".
9190 2009-11-27 Daiki Ueno <ueno@unixuser.org>
9192 * net/socks.el (socks-send-command): Convert binary request to
9193 unibyte before sending. This fixes mishandling of some port
9194 numbers such as 129.
9196 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * help.el (describe-bindings-internal): Remove `interactive'.
9200 * man.el (Man-completion-table): Trim a terminating "(".
9201 Remove the space between name page a section.
9202 Add the command's description on the `help-echo' property.
9203 Remove `process-connection-type' binding since it's unused by
9205 Provide completion for the "<section> <name>" format as well.
9206 (Man-default-man-entry): Remove spurious var shadowing the argument.
9208 2009-11-26 Kevin Ryde <user42@zip.com.au>
9210 * log-view.el: Add "Keywords: tools", since its other keywords
9211 aren't in finder-known-keywords, and following vc.el.
9213 * sha1.el (sha1-string-external): default-directory "/" in case
9214 otherwise non-existent. process-connection-type pipe for touch of
9215 efficiency recommended by elisp manual. (An aside in Bug#3911.)
9217 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9219 Misc coding convention cleanups.
9220 * htmlfontify.el (hfy-init-kludge-hook): Rename from
9221 hfy-init-kludge-hooks.
9222 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9223 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9224 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9226 (hfy-slant, hfy-weight): Use tables rather than code.
9227 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9228 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9229 (hfy-face-attr-for-class): Initialize `face-spec' directly.
9230 (hfy-face-to-css): Remove `nconc' with single arg.
9231 (hfy-p-to-face-lennart): Use `or'.
9232 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
9233 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9234 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9235 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9236 (hfy-force-fontification): Use run-hooks.
9238 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
9240 Various minor fixes.
9241 * htmlfontify.el (hfy-default-header): Add toggle_invis since
9242 Javascript belongs in the header, not the body.
9243 (hfy-javascript): Remove.
9244 (hfy-fontify-buffer): Don't insert it any more.
9245 (hfy-face-at): Handle (face0 face1 face2) style face properties.
9246 Fix bug in invis handling when there were no invis props in a chunk.
9248 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9252 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
9254 * finder.el (finder-mode-map): Add a menu.
9256 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
9258 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9261 (verilog-leap-to-head, verilog-backward-token): Handle "disable
9262 fork" statement better.
9264 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
9266 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9267 (verilog-delete-auto, verilog-delete-empty-auto-pair)
9268 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9269 Reported by Clay Douglass.
9271 (verilog-auto-inst, verilog-auto-star-safe)
9272 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9273 Fix removing "// Interfaces" when saving .* expansions. Reported by
9274 Pierre-David Pfister.
9276 2009-11-26 Glenn Morris <rgm@gnu.org>
9278 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9281 2009-11-25 Johan Bockgård <bojohan@gnu.org>
9283 * vc-annotate.el (vc-annotate-revision-previous-to-line):
9284 Really use previous revision.
9286 2009-11-25 Kevin Ryde <user42@zip.com.au>
9288 * man.el (Man-completion-table): default-directory "/" in case
9289 doesn't otherwise exist. process-environment COLUMNS=999 so as
9290 not to truncate long names. process-connection-type pipe to avoid
9291 any chance of hitting the pseudo-tty TIOCGWINSZ.
9292 (man): completion-ignore-case t for friendliness and since man
9293 itself is case-insensitive on the command line.
9294 Further to Bug#3717.
9296 * arc-mode.el: Add "Keywords: files", so the details in its
9297 commentary can be reached from finder-by-keyword.
9298 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
9299 editing mode, but it's comms related and sgml-mode.el has "comm"
9301 * textmodes/bibtex-style.el: Add "Keywords: tex".
9302 * international/isearch-x.el, international/ja-dic-cnv.el:
9303 * international/ja-dic-utl.el, international/kkc.el:
9304 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9306 2009-11-25 Juri Linkov <juri@jurta.org>
9308 * man.el (Man-completion-table): Modify regexp to include
9309 section names to completion strings. (Bug#3717)
9311 2009-11-25 Juri Linkov <juri@jurta.org>
9313 Search recursively in gzipped files. (Bug#4982)
9315 * progmodes/grep.el (grep-highlight-matches): Add new options
9316 `always' and `auto'. Doc fix.
9317 (grep-process-setup): Check `grep-highlight-matches' for
9318 `auto-detect' to determine the need to compute grep defaults.
9319 Move Windows/DOS specific --colors settings handling
9320 to `grep-compute-defaults'. Check `grep-highlight-matches'
9321 to get the value of "--color=".
9322 (grep-compute-defaults): Compute `grep-highlight-matches' when it
9323 has the value `auto-detect'. Move Windows/DOS specific settings
9324 from `grep-process-setup'.
9325 (zrgrep): New command with alias `rzgrep'.
9327 2009-11-25 Juri Linkov <juri@jurta.org>
9329 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9330 to nil instead of switching off view-mode. (Bug#4896)
9332 2009-11-25 Juri Linkov <juri@jurta.org>
9334 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
9336 * mwheel.el (mwheel-scroll-up-function)
9337 (mwheel-scroll-down-function): New defvars.
9338 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9339 `scroll-up', and `mwheel-scroll-down-function' instead of
9342 * doc-view.el (doc-view-scroll-up-or-next-page)
9343 (doc-view-scroll-down-or-previous-page): Add optional ARG.
9344 Use this ARG in the call to image-scroll-up/image-scroll-down.
9345 Change `interactive' spec to "P". Goto next/previous page only
9346 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9347 SPC/DEL case). Doc fix.
9348 (doc-view-next-line-or-next-page)
9349 (doc-view-previous-line-or-previous-page): Rename arg to ARG
9351 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9352 `doc-view-scroll-up-or-next-page', and buffer-local
9353 `mwheel-scroll-down-function' to
9354 `doc-view-scroll-down-or-previous-page'.
9356 2009-11-25 Juri Linkov <juri@jurta.org>
9358 Provide additional default values (directories at other Dired
9359 windows) via M-n in the minibuffer of some Dired commands.
9361 * dired-aux.el (dired-diff, dired-compare-directories)
9362 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9363 `minibuffer-default' in `minibuffer-with-setup-hook'.
9364 (dired-dwim-target-directory): Find a window that displays Dired
9365 buffer instead of failing when the next window is not Dired.
9366 Use `get-window-with-predicate' to find for the next Dired window.
9367 (dired-dwim-target-defaults): New function.
9369 * ediff-util.el (ediff-read-file-name):
9370 Use `dired-dwim-target-defaults' to set `minibuffer-default'
9371 in `minibuffer-with-setup-hook'.
9373 2009-11-25 Juri Linkov <juri@jurta.org>
9375 Provide additional default values (file name at point or at the
9376 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
9378 * minibuffer.el (read-file-name-defaults): New function.
9379 (read-file-name): Reset `minibuffer-default' to nil when
9380 it duplicates initial input `insdef'.
9381 Bind `minibuffer-default-add-function' to lambda that
9382 calls `read-file-name-defaults' in `minibuffer-selected-window'.
9383 (minibuffer-insert-file-name-at-point): New command.
9385 * files.el (file-name-at-point-functions): New defcustom.
9386 (find-file-default): Remove defvar.
9387 (find-file-read-args): Don't use `find-file-default'.
9388 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9389 to `read-file-name'.
9390 (find-file-literally): Use `read-file-name' with
9391 `confirm-nonexistent-file-or-buffer'.
9393 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9395 * dired.el (dired-read-dir-and-switches):
9396 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9397 to `read-file-name'.
9398 (dired-file-name-at-point): New function.
9399 (dired-mode): Add hook `dired-file-name-at-point' to
9400 `file-name-at-point-functions'.
9402 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9404 Really make the *Completions* window soft-dedicated (bug#5030).
9405 * window.el (window--display-buffer-2): Add `dedicated' argument.
9406 (display-buffer): Pass it when needed so the dedicated flag is set
9407 after calling set-window-buffer, which would otherwise reset it.
9409 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9411 * progmodes/meta-mode.el (meta-complete-symbol):
9412 * progmodes/etags.el (complete-tag):
9413 * mail/mailabbrev.el (mail-abbrev-complete-alias):
9414 Use completion-in-region.
9416 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9417 (dabbrev-completion): Use completion-in-region.
9418 (dabbrev--abbrev-at-point): Simplify regexp.
9420 * abbrev.el (abbrev--before-point): Use word-motion functions
9421 if :regexp is not specified (bug#5031).
9423 * subr.el (string-prefix-p): New function.
9425 * man.el (Man-completion-cache): New var.
9426 (Man-completion-table): Use it.
9428 * vc.el (vc-print-log-internal): Make `limit' optional for better
9429 compatibility (e.g. with vc-annotate.el).
9431 2009-11-24 Kevin Ryde <user42@zip.com.au>
9433 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9434 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
9436 * emacs-lisp/elint.el (elint-add-required-env): Better error message
9437 when .el source file not found or other error.
9439 2009-11-24 Markus Triska <markus.triska@gmx.at>
9441 * linum.el (linum-update-window): Ignore intangible (bug#4996).
9443 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9445 Handle the [back] button properly (bug#4979).
9446 * descr-text.el (describe-text-properties): Add a `buffer' argument.
9447 Use help-setup-xref, help-buffer, and with-help-window.
9448 (describe-char): Add `buffer' argument.
9449 Pass proper command to help-setup-xref. Don't meddle with
9450 help-xref-stack-item directly.
9451 (describe-text-category): Use with-help-window and help-buffer.
9453 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9454 for the displayed buffer (bug#4887).
9456 * man.el (Man-completion-table): New function.
9459 2009-11-24 David Reitter <david.reitter@gmail.com>
9461 * vc-git.el (vc-git-registered): Use checkout directory (where
9462 .git is) rather than the file's directory and a relative path spec
9463 to work around a bug in git.
9465 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
9467 Improve handling of processes on remote hosts.
9469 * eshell/esh-util.el (eshell-path-env): New defvar.
9470 (eshell-parse-colon-path): New defun.
9471 (eshell-file-attributes): Use `eshell-parse-colon-path'.
9473 * eshell/esh-ext.el (eshell-search-path):
9474 Use `eshell-parse-colon-path'.
9475 (eshell-remote-command): Remove argument HANDLER.
9476 (eshell-external-command): Check for FTP remote connection.
9478 * eshell/esh-proc.el (eshell-gather-process-output):
9479 Use `file-truename', in order to start also symlinked files.
9480 Apply `start-file-process' instead of `start-process'.
9481 Shorten `command' to the local file name part.
9483 * eshell/em-cmpl.el (eshell-complete-commands-list):
9484 Use `eshell-parse-colon-path'.
9486 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9488 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
9489 to `eshell-directory-change-hook'.
9491 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
9493 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9494 because it could be enabled automatically if view-read-only is non-nil.
9496 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
9498 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9501 2009-11-24 Glenn Morris <rgm@gnu.org>
9503 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9504 deleted variable bookmark-bmenu-bookmark-column.
9506 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9510 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
9512 * net/browse-url.el (browse-url-filename-alist): On Windows, add
9513 two slashes to the "file:" prefix.
9514 (browse-url-file-url): De-munge Cygwin filenames before passing
9515 them to Windows browser.
9516 (browse-url-default-windows-browser): Use call-process.
9518 2009-11-23 Juri Linkov <juri@jurta.org>
9520 Implement DocView Continuous mode. (Bug#4896)
9521 * doc-view.el (doc-view-continuous-mode): New defcustom.
9522 (doc-view-mode-map): Bind C-n/<down> to
9523 `doc-view-next-line-or-next-page', C-p/<up> to
9524 `doc-view-previous-line-or-previous-page'.
9525 (doc-view-next-line-or-next-page)
9526 (doc-view-previous-line-or-previous-page): New commands.
9528 2009-11-23 Juri Linkov <juri@jurta.org>
9530 Implement Isearch in comint input history. (Bug#3746)
9531 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9532 `isearch-mode-hook'.
9533 (comint-history-isearch): New defcustom.
9534 (comint-history-isearch-backward)
9535 (comint-history-isearch-backward-regexp): New commands.
9536 (comint-history-isearch-message-overlay): New buffer-local variable.
9537 (comint-history-isearch-setup, comint-history-isearch-end)
9538 (comint-goto-input, comint-history-isearch-search)
9539 (comint-history-isearch-message, comint-history-isearch-wrap)
9540 (comint-history-isearch-push-state)
9541 (comint-history-isearch-pop-state): New functions.
9543 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
9545 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9547 (tramp-handle-make-symbolic-link)
9548 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9550 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9551 (tramp-handle-process-file): Use it.
9553 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
9555 * window.el (move-to-window-line-last-op): Remove.
9556 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9558 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9560 Make M-r mirror the new cycling behavior of C-l.
9561 * window.el (move-to-window-line-last-op): New var.
9562 (move-to-window-line-top-bottom): New command.
9563 (global-map): Bind M-r move-to-window-line-top-bottom.
9565 2009-11-23 Sven Joachim <svenjoac@gmx.de>
9567 * dired-x.el (dired-guess-shell-alist-default):
9568 Support xz format. (Bug#4953)
9570 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
9572 * emulation/viper-cmd.el: Use viper-last-command-char instead of
9573 last-command-char/last-command-event.
9574 (viper-prefix-arg-value): Do correct conversion of event-char for
9577 * emulation/viper-util.el, emulation/viper.el:
9578 Use viper-last-command-char instead of
9579 last-command-char/last-command-event.
9581 * ediff-init.el, ediff-mult.el, ediff-util.el:
9582 Replace last-command-char and last-command-event
9583 with (ediff-last-command-char) everywhere.
9585 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9586 created in fundamental mode.
9588 * ediff.el (ediff-version): Revert the change of interactive-p to
9589 called-interactively-p.
9591 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
9593 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9594 generation from word-movement command names.
9596 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
9598 * cus-start.el (all): Add native condition for font-use-system-font.
9600 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
9602 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9603 Correct the patch from 2009-11-18. (Bug#3910)
9605 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
9607 * progmodes/subword.el: Rename from lisp/subword.el.
9609 * subword.el: Rename to progmodes/subword.el.
9611 * Makefile.in (ELCFILES): Adapt to subword.el move.
9613 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9614 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9617 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9618 (bookmark-bmenu-show-filenames): Use push.
9619 (bookmark-bmenu-hide-filenames): Use local var instead of
9620 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
9621 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9622 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9623 filenames now that the bookmark names are always available.
9625 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9628 (bookmark-search-pattern): Move and leave unbound.
9629 (bookmark-bmenu-mode-map): Change binding.
9630 (bookmark-read-search-input): Simplify.
9631 Don't use text-char-description. Don't error on non-char events.
9632 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9633 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9634 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9635 Use a local var for the timer.
9636 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9637 (i.e. bookmark-bmenu-search).
9639 2009-11-21 Glenn Morris <rgm@gnu.org>
9641 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
9643 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
9645 * net/browse-url.el (browse-url-default-windows-browser):
9646 Use cygstart for cygwin.
9648 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
9650 * bookmark.el: Formatting and doc fixes only:
9651 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9652 (bookmark-bmenu-search): Wrap to fit within 80 columns.
9653 Minor grammar and punctuation fixes in doc string.
9654 (bookmark-read-search-input): Adjust to fit within 80 columns.
9656 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9658 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9659 (c-backward-into-nomenclature): Adapt to subword renaming.
9661 * subword.el (subword-forward, subword-backward, subword-mark)
9662 (subword-kill, subword-backward-kill, subword-transpose)
9663 (subword-downcase, subword-upcase, subword-capitalize)
9664 (subword-forward-internal, subword-backward-internal):
9665 Rename from forward-subword, backward-subword, mark-subword,
9666 kill-subword, backward-kill-subword, transpose-subwords,
9667 downcase-subword, upcase-subword, capitalize-subword,
9668 forward-subword-internal, backward-subword-internal.
9670 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9672 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9674 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9676 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9677 (bookmark-bmenu-filter-alist-by-regexp)
9678 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9679 (bookmark-bmenu-search): New command.
9680 (bookmark-bmenu-mode-map): Bind it.
9682 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9684 * progmodes/cc-cmds.el: declare-functioned forward-subword and
9685 backward-subword to quit the byte-compiler.
9687 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9689 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9691 * progmodes/cc-cmds.el (c-update-modeline)
9692 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9693 Refer to subword.el functions instead of cc-subword.el.
9695 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9696 subword.el functions instead of cc-subword.el.
9698 * progmodes/cc-subword.el: Rename to subword.el.
9699 * subword.el: Rename from progmodes/cc-subword.el.
9700 (subword-mode-map): Rename from c-subword-mode-map.
9701 (subword-mode): Rename from c-subword-mode.
9702 (global-subword-mode): New global minor mode.
9703 (forward-subword): Rename from c-forward-subword.
9704 (backward-subword): Rename from c-backward-subword.
9705 (mark-subword): Rename from c-mark-subword.
9706 (kill-subword): Rename from c-kill-subword.
9707 (backward-kill-subword): Rename from c-backward-kill-subword.
9708 (transpose-subwords): Rename from c-tranpose-subword.
9709 (downcase-subword): Rename from c-downcase-subword.
9710 (capitalize-subword): Rename from c-capitalize-subword.
9711 (forward-subword-internal): Rename from c-forward-subword-internal.
9712 (backward-subword-internal): Rename from c-backward-subword-internal.
9714 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
9716 * vc.el (vc-deduce-fileset): Allow non-state changing operations
9717 from a dired buffer.
9718 (vc-dired-deduce-fileset): New function.
9719 (vc-root-diff, vc-print-root-log): Use it.
9721 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9722 nil LIMIT argument to vc-print-log-internal.
9724 2009-11-20 Glenn Morris <rgm@gnu.org>
9726 * Makefile.in (ELCFILES): Regenerate.
9728 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
9730 * calc/calc.el (calc-set-mode-line):
9731 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9732 (math-format-number): Rename `math-format-complement-signed' to
9733 `math-format-twos-complement'.
9735 * calc/calc-bin.el (math-format-twos-complement): Rename from
9736 math-format-complement-signed.
9737 (calc-radix): Rename `calc-complement-signed-mode' to
9738 `calc-twos-complement-mode'.
9739 (calc-octal-radix, calc-hex-radix): Add an argument for
9742 * calc/calc-embed.el (calc-embedded-mode-vars):
9743 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9745 * calc/calc-ext.el (calc-init-extensions):
9746 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9747 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9749 * calc/calc-units.el (math-build-units-table-buffer):
9750 Let `calc-twos-complement-mode' be nil.
9752 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9755 * calc/calc-vec.el (calcFunc-vunpack):
9756 * calc/calc-aent.el (calc-do-calc-eval):
9757 * calc/calc-forms.el (math-format-date):
9758 * calc/calc-graph.el (calc-graph-plot):
9759 * calc/calc-math.el (math-use-emacs-fn):
9760 * calc/calccomp.el (math-compose-expr):
9761 Let `calc-twos-complement-mode' be nil.
9763 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9766 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
9767 * minibuffer.el (completion-in-region-functions): New hook.
9768 (completion-in-region): New function.
9769 * emacs-lisp/lisp.el (lisp-complete-symbol):
9770 * pcomplete.el (pcomplete-std-complete): Use it.
9772 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9775 (latex-complete-alist): New vars.
9776 (latex-string-prefix-p, latex-complete-bibtex-keys)
9777 (latex-complete-envnames, latex-complete-refkeys)
9778 (latex-complete-data): New functions.
9779 (latex-complete, latex-indent-or-complete): New commands.
9781 * window.el (display-buffer-mark-dedicated): New var.
9782 (display-buffer): Obey it.
9783 * minibuffer.el (minibuffer-completion-help): Use it.
9785 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9787 * filecache.el (file-cache-add-file): Use push and cons.
9788 (file-cache-delete-file-regexp): Use push.
9789 (file-cache-complete): Use completion-in-region.
9791 * simple.el (with-wrapper-hook): Fix thinko.
9793 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9794 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9795 Use with-current-buffer and string-to-number.
9796 (hfy-fallback-colour-values): Use assoc-string.
9797 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9798 (hfy-face-at): Remove unused var `found-face'.
9799 (hfy-compile-stylesheet): Remove unused var `css'.
9800 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9802 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9803 Use with-current-buffer.
9804 (hfy-text-p): Use expand-file-name and fewer setq.
9806 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
9808 * htmlfontify.el, hfy-cmap.el: New files.
9810 2009-11-19 Juri Linkov <juri@jurta.org>
9812 * minibuffer.el (completions-format): New defcustom.
9813 (completion--insert-strings): Implement vertical format.
9815 * simple.el (switch-to-completions): Move point to the first
9816 completion when point was at the beginning of the buffer.
9818 2009-11-19 Juri Linkov <juri@jurta.org>
9820 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
9822 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9824 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
9826 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9827 (mail-signature): Change default to t.
9828 (mail-from-style): Deprecate `system-default' value.
9829 (mail-insert-from-field): For default value of mail-from-style,
9830 default to `angles' unless `angles' needs quoting and `parens'
9832 (mail-citation-prefix-regexp): Use citation regexp from
9835 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
9837 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9838 Set variables for computing the prompt for reading password.
9840 2009-11-19 Glenn Morris <rgm@gnu.org>
9842 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
9844 * textmodes/flyspell.el (sgml-lexical-context): Declare.
9846 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9847 (newsticker-treeview-listwindow-height): Fix custom type.
9849 2009-11-19 Kenichi Handa <handa@m17n.org>
9851 * descr-text.el (describe-char-padded-string): Compose with TAB
9852 only if there's a font for CH.
9853 (describe-char): Fix the condition for detecting a trivial composition.
9855 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
9857 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9858 more accurate version of the regexp. (Bug#3910)
9860 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
9862 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9864 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
9866 * font-setting.el (font-use-system-font): Declare for byte-compiler.
9867 (font-setting-change-default-font): Fix typo in docstring.
9869 2009-11-18 Alan Mackenzie <acm@muc.de>
9871 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9873 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9875 * font-setting.el (font-use-system-font): Move ...
9877 * cus-start.el (all): ... to here.
9879 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
9881 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9882 Don't set `ad-return-value' if `ad-do-it' doesn't.
9884 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9887 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9889 * menu-bar.el: Put "Use system font" in Option-menu.
9890 (menu-bar-options-save): Add font-use-system-font.
9892 * loadup.el: If feature system-font-setting or font-render-setting is
9893 there, load font-setting.
9895 * Makefile.in (ELCFILES): Add font-settings.el.
9896 * font-setting.el: New file.
9898 2009-11-17 Glenn Morris <rgm@gnu.org>
9900 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9902 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9903 Preserve point in the list buffer. (Bug#4939)
9905 (newsticker--treeview-list-update-highlight)
9906 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9908 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9910 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9913 * calc/calc-ext.el (calc-init-extensions): Remove references to
9916 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9918 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9919 * calc/calc-help.el (calc-b-prefix-help): Remove references to
9922 2009-11-16 Kevin Ryde <user42@zip.com.au>
9924 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9925 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9927 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9928 (lm-keywords-list): Allow comma-only separator like "foo,bar".
9929 Ignore trailing spaces by omit-nulls to split-string (fixing
9930 regression from Emacs 21 due to the incompatible split-string
9931 change). (Bug #4928.)
9933 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
9935 * vc.el (vc-log-show-limit): Default to 2000.
9936 (vc-print-log-internal): Insert buttons to request more entries
9937 when limiting the output.
9939 * vc-sccs.el (vc-sccs-print-log):
9940 * vc-rcs.el (vc-rcs-print-log):
9941 * vc-cvs.el (vc-cvs-print-log):
9942 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9945 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9947 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9948 error when `tramp-gvfs-dbus-event-vector' is set.
9949 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9951 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9953 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9955 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9957 * net/dbus.el (dbus-unregister-service): New defun.
9958 (dbus-register-property): Register the handlers of
9959 "org.freedesktop.DBus.Properties" for SERVICE.
9960 (dbus-property-handler): Fix docstring.
9962 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9964 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9965 Quote doc string reference in defvaralias as it is not in special form.
9966 (byte-compile-output-docform): Doc fix.
9968 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9970 * calc/calc.el (math-2-word-size, math-half-2-word-size)
9971 (calc-complement-signed-mode): New variables.
9972 (calc-set-mode-line): Add indicator for twos-complements.
9973 (math-format-number): Format twos-complement notation.
9975 * calc/calc-bin.el (calc-word-size): Reset the variables
9976 `math-2-word-size' and `math-half-2-word-size'.
9977 (math-format-complement-signed, math-symclip, calcFunc-symclip)
9978 (calc-symclip): New functions.
9980 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9982 * calc/calc-embed.el (calc-embedded-mode-vars):
9983 Add `calc-complement-signed-mode' to the list of modes.
9985 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9986 (calc-b-oper-keys): Add `calc-symclip' to list.
9988 * calc/calc-ext.el (math-read-number-fancy): Read complement
9990 (calc-init-extensions): Add binding for `calc-symclip'.
9991 Add autoload for `calcFunc-symclip' and `calc-symclip'.
9993 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9995 (calc-modes-menu): Add item for twos complement mode.
9997 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9999 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10001 * register.el (jump-to-register, insert-register): Handle Semantic
10002 tags. From commented-out advice in semantic/senator.el.
10004 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
10006 * vc.el (vc-log-show-limit): New variable.
10007 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
10008 when using a prefix argument.
10009 (vc-print-log-internal): Add new argument LIMIT.
10011 * vc-svn.el (vc-svn-print-log):
10012 * vc-mtn.el (vc-mtn-print-log):
10013 * vc-hg.el (vc-hg-print-log):
10014 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10015 pass it to the log command when set. Make the BUFFER argument
10018 * vc-sccs.el (vc-sccs-print-log):
10019 * vc-rcs.el (vc-rcs-print-log):
10020 * vc-git.el (vc-git-print-log):
10021 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10022 ignore it. Make the BUFFER argument non-optional
10024 * bindings.el (mode-line-buffer-identification): Do not purecopy.
10026 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10028 * dired.el (dired-mode-map): Move encryption items to "Operate"
10031 * strokes.el (strokes-update-window-configuration): Make strokes
10032 buffer current before erasing (Bug#4906).
10034 2009-11-15 Juri Linkov <juri@jurta.org>
10036 * simple.el (set-mark-default-inactive): Add :type, :group
10037 and :version. (Bug#4876)
10039 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
10041 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10042 (archive-unique-fname): ... here. (Bug#4929)
10044 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10049 * novice.el (disabled-command-function): Add useful args.
10050 Setup the help buffer so that [back] works.
10051 Remove redundant call to help-mode.
10052 (disabled-command-function): Use `case'.
10053 (en/disable-command): New function extracted from enable-command.
10054 (enable-command, disable-command): Use it.
10056 2009-11-14 Glenn Morris <rgm@gnu.org>
10058 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10059 constants. (Bug#4913)
10061 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10063 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10065 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10066 defined in C that have no doc-strings. (Bug#1063)
10068 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
10070 * cus-edit.el (data, files):
10071 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
10073 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
10075 * simple.el (shell-command): Doc fix (Bug#4891).
10077 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10079 2009-11-14 Glenn Morris <rgm@gnu.org>
10081 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10082 statements for vc-diff, emerge-quit, and rmail-cease-edit.
10083 If they are already loaded, eval-after-load will do the right thing.
10085 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10088 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10090 * simple.el (x-selection-owner-p): Declare.
10091 (read-mail-command): Use custom radio type rather than choice.
10092 (completion-no-auto-exit): Doc fix.
10094 * custom.el (defgroup):
10095 * epg-config.el (epg): Doc fixes.
10097 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
10099 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10100 * international/ccl.el (define-ccl-program): Do not purecopy the
10101 docstring, defconst does it anyway.
10103 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10105 * add-log.el (add-change-log-entry): Avoid displaying the changelog
10108 * x-dnd.el (x-dnd-maybe-call-test-function):
10109 * window.el (split-window-vertically):
10110 * whitespace.el (whitespace-help-on):
10111 * vc-rcs.el (vc-rcs-consult-headers):
10112 * userlock.el (ask-user-about-lock-help)
10113 (ask-user-about-supersession-help):
10114 * type-break.el (type-break-force-mode-line-update):
10115 * time-stamp.el (time-stamp-conv-warn):
10116 * terminal.el (te-set-output-log, te-more-break, te-filter)
10117 (te-sentinel, terminal-emulator):
10118 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10119 (term-write-input-ring, term-check-source, term-start-output-log):
10120 (term-display-buffer-line, term-dynamic-list-completions):
10121 (term-ansi-make-term, serial-term):
10122 * subr.el (selective-display):
10123 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10124 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10125 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10126 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10127 (speedbar-remove-localized-speedbar-support)
10128 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10129 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10130 (speedbar-buffers-line-directory):
10131 * simple.el (shell-command-on-region, append-to-buffer)
10132 (prepend-to-buffer):
10133 * shadowfile.el (shadow-save-todo-file):
10134 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10135 (scroll-bar-maybe-set-window-start):
10136 * sb-image.el (speedbar-image-dump):
10137 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10138 (load-save-place-alist-from-file):
10139 * ps-samp.el (ps-print-message-from-summary):
10140 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10141 (ps-background-image, ps-begin-job, ps-do-despool):
10142 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10143 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10144 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10145 (pr-call-process, pr-file-list, pr-interface-save):
10146 * novice.el (disabled-command-function)
10147 (enable-command, disable-command):
10148 * mouse.el (mouse-buffer-menu-alist):
10149 * mouse-copy.el (mouse-kill-preserving-secondary):
10150 * macros.el (kbd-macro-query):
10151 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10152 * informat.el (batch-info-validate):
10153 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10154 * hippie-exp.el (try-expand-dabbrev-visible):
10155 * help-mode.el (help-make-xrefs):
10156 * help-fns.el (describe-variable):
10157 * generic-x.el (bat-generic-mode-run-as-comint):
10158 * finder.el (finder-mouse-select):
10159 * find-dired.el (find-dired-sentinel):
10160 * filesets.el (filesets-file-close):
10161 * files.el (list-directory):
10162 * faces.el (list-faces-display, describe-face):
10163 * facemenu.el (list-colors-display):
10164 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10165 * epg.el (epg--process-filter, epg-cancel):
10166 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10167 (epa--read-signature-type):
10168 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10169 (emerge-file-names):
10170 * ehelp.el (electric-helpify):
10171 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10172 * ediff-vers.el (rcs-ediff-view-revision):
10173 * ediff-util.el (ediff-setup):
10174 * ediff-mult.el (ediff-append-custom-diff):
10175 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10177 * echistory.el (Electric-command-history-redo-expression):
10178 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10179 * disp-table.el (describe-display-table):
10180 * dired.el (dired-find-buffer-nocreate):
10181 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10182 * dabbrev.el (dabbrev--same-major-mode-p):
10183 * chistory.el (list-command-history):
10184 * apropos.el (apropos-documentation):
10185 * allout.el (allout-obtain-passphrase):
10186 (allout-copy-exposed-to-buffer):
10187 (allout-verify-passphrase): Use with-current-buffer.
10189 2009-11-13 Glenn Morris <rgm@gnu.org>
10191 * Makefile.in (ELCFILES): Regenerate.
10193 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10195 * net/dbus.el (dbus-registered-objects-table): Rename from
10196 `dbus-registered-functions-table', because it contains also properties.
10197 (dbus-unregister-object): Unregister also properties.
10198 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10199 Use a timeout of 500 msec, in order to not block.
10200 (dbus-register-property, dbus-property-handler): New defuns.
10202 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * simple.el (minibuffer-default-add-completions): Drop deprecated
10207 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10209 * textmodes/artist.el (artist-mouse-choose-operation):
10210 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10211 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10212 (artist-compute-up-event-key): New function.
10213 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10215 2009-11-13 Kenichi Handa <handa@m17n.org>
10217 * language/japan-util.el: Make sure that the value of jisx0208
10218 property is jisx0208 character.
10220 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10222 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10223 car or each item, not the whole list.
10225 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * minibuffer.el (minibuffer-completion-help):
10228 Use minibuffer-hide-completions.
10230 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
10232 * dired.el (dired-save-positions, dired-restore-positions): New funs.
10233 (dired-revert): Use them (bug#4880).
10235 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10237 * tooltip.el (tooltip-frame-parameters): Undo previous change.
10239 2009-11-12 Juri Linkov <juri@jurta.org>
10241 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10243 (find-file-literally-at-point): Alias of `ffap-literally'.
10245 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10247 * textmodes/ispell.el (ispell-skip-region-alist):
10248 * textmodes/css-mode.el (auto-mode-alist):
10249 * progmodes/compile.el (auto-mode-alist):
10250 * international/mule.el (ctext-non-standard-encodings-alist)
10251 (ctext-non-standard-encodings-regexp):
10252 * simple.el (shell-command-switch, text-read-only):
10253 * replace.el (occur-mode-map):
10254 * paths.el (rmail-file-name):
10255 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10256 * find-file.el (ff-special-constructs):
10257 * files.el (file-name-handler-alist):
10258 * composite.el: Purecopy strings.
10260 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10262 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10264 * widget.el (define-widget): Purecopy the docstring.
10265 * international/mule-cmds.el (charset): Do not purecopy the
10266 docstring here, define-widget does it.
10268 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10269 * textmodes/bibtex-style.el (auto-mode-alist):
10270 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10271 * progmodes/compile.el (compile-command):
10272 * language/korea-util.el (default-korean-keyboard):
10273 * international/mule-conf.el (file-coding-system-alist):
10274 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10275 * tooltip.el (tooltip-frame-parameters):
10276 * newcomment.el (comment-end, comment-padding):
10277 * dired.el (dired-trivial-filenames):
10278 * comint.el (comint-file-name-prefix): Purecopy initial values.
10280 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
10282 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10283 (tramp-advice-minibuffer-electric-tilde): Unload advices via
10285 (tramp-advice-make-auto-save-file-name)
10286 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10287 after removing the advice.
10289 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10291 * progmodes/grep.el (grep-regexp-alist):
10292 * international/mule-cmds.el (iso-2022-control-alist):
10293 * emacs-lisp/timer.el (timer-duration-words):
10294 * subr.el (version-separator, version-regexp-alist):
10295 * minibuffer.el (completion-styles-alist):
10296 * faces.el (face-attribute-name-alist, list-faces-sample-text):
10297 Change defvars to defconsts.
10299 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10300 * loadup.el ("international/mule-conf"): Load the byte compiled version.
10301 * international/mule-conf.el: Allow to be byte compiled.
10303 * international/mule.el (define-charset): Purecopy props.
10304 (load-with-code-conversion): Purecopy doc string and file name.
10305 (put-charset-property): Purecopy strings.
10306 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10308 * international/mule-cmds.el (register-input-method): Purecopy arguments.
10309 (define-char-code-property): Correctly purecopy the table.
10311 * international/ccl.el (define-ccl-program): Purecopy the docstring.
10313 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10315 * subr.el (add-hook): Purecopy strings.
10316 (eval-after-load): Purecopy load-history-regexp and the form.
10318 * custom.el (custom-declare-group): Purecopy load-file-name.
10320 * subr.el (menu-bar-separator): New defconst.
10321 * net/eudc.el (eudc-tools-menu):
10322 * international/mule-cmds.el (set-coding-system-map)
10323 (mule-menu-keymap):
10324 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10325 * vc-hooks.el (vc-menu-map):
10326 * replace.el (occur-mode-map):
10327 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10328 (menu-bar-edit-menu, menu-bar-goto-menu)
10329 (menu-bar-custom-menu, menu-bar-showhide-menu)
10330 (menu-bar-options-menu, menu-bar-tools-menu)
10331 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10332 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10333 (menu-bar-help-menu):
10334 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10335 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10337 * term/x-win.el (x-gtk-stock-map):
10338 * progmodes/vera-mode.el (auto-mode-alist):
10339 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10340 (inferior-lisp-program, inferior-lisp-load-command):
10341 * progmodes/hideshow.el (hs-special-modes-alist):
10342 * progmodes/gud.el (same-window-regexps):
10343 * progmodes/grep.el (grep-program, find-program, xargs-program):
10344 * net/telnet.el (same-window-regexps):
10345 * net/rlogin.el (same-window-regexps):
10346 * language/ethiopic.el (font-ccl-encoder-alist):
10347 * vc-sccs.el (vc-sccs-master-templates):
10348 * vc-rcs.el (vc-rcs-master-templates):
10349 * subr.el (cl-assertion-failed):
10350 * simple.el (next-error-overlay-arrow-position):
10351 * lpr.el (lpr-command):
10352 * locate.el (locate-ls-subdir-switches):
10353 * info.el (same-window-regexps, info)
10354 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10355 * image-mode.el (image-mode, auto-mode-alist):
10356 * hippie-exp.el (hippie-expand-ignore-buffers):
10357 * format.el (format-alist):
10358 * find-dired.el (find-ls-subdir-switches, find-grep-options)
10360 * facemenu.el (facemenu-keybindings):
10361 * dired.el (dired-listing-switches, dired-chown-program):
10362 * diff.el (diff-switches, diff-command):
10363 * cus-edit.el (same-window-regexps):
10364 * bindings.el (mode-line-mule-info)
10365 (mode-line-buffer-identification): Purecopy strings.
10367 2009-11-11 Juri Linkov <juri@jurta.org>
10369 * simple.el (dired-get-filename) <declare-function>:
10370 Tell the byte-compiler about dired-get-filename.
10371 (shell-command): In Dired mode, get filename from the current line
10372 as the default value.
10374 2009-11-10 Glenn Morris <rgm@gnu.org>
10376 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10377 * calendar/holidays.el, progmodes/cperl-mode.el:
10378 Update x-popup-menu declarations.
10380 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10381 (list-load-path-shadows): Use dolist.
10382 (list-load-path-shadows): Use with-current-buffer.
10384 2009-11-10 Juri Linkov <juri@jurta.org>
10386 * minibuffer.el (read-file-name): Support a list of default values
10387 in `default-filename'. Use the first file name where only one
10388 element is required. Doc fix.
10390 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
10392 * net/dbus.el (dbus-unregister-object): Release service, if no
10393 other method is registered for it.
10395 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
10397 * bookmark.el (bookmark-completing-read): Sort bookmark names if
10398 bookmark-sort-flag is non-nil (Bug#4653).
10400 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10402 * emulation/cua-base.el: Add CUA property to some CC mode commands
10405 2009-11-08 Kevin Ryde <user42@zip.com.au>
10407 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10408 at end of sentence (Bug#4818).
10410 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
10412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10413 Handle "see declaration of" MSFT statements (Bug#4100).
10415 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
10417 * net/tramp.el (tramp-advice-make-auto-save-file-name)
10418 (tramp-advice-file-expand-wildcards): Unload via
10419 `ad-remove-advice'.
10421 * net/trampver.el: Update release number.
10423 2009-11-08 Kevin Ryde <user42@zip.com.au>
10425 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10428 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
10430 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10431 in order to keep context in SELinux.
10433 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10435 * dired-aux.el (dired-query): Place cursor in echo area and allow
10438 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10439 menu item if not on a directory (Bug#4701).
10441 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
10443 Sync with Tramp 2.1.17.
10445 * net/tramp.el (tramp-handle-copy-directory): Don't use
10446 `file-remote-p' (due to compatibility).
10448 * net/tramp-compat.el (tramp-compat-copy-directory)
10449 (tramp-compat-delete-directory): New defuns.
10451 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10452 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10453 `tramp-compat-delete-directory'.
10455 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10456 (tramp-smb-handle-delete-directory): Use
10457 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10459 * net/trampver.el: Update release number.
10461 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
10463 * tar-mode.el (tar-copy): Call write-region on the right buffer
10466 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10467 by hand, if necessary (Bug#4878).
10469 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
10471 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10472 align size column (Bug#4839).
10474 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10477 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10479 * progmodes/ld-script.el (auto-mode-alist):
10480 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10482 * cus-face.el (custom-declare-face): Purecopy face spec.
10484 2009-11-06 Kenichi Handa <handa@m17n.org>
10486 * international/uni-bidi.el: Re-generated.
10487 * international/uni-category.el: Re-generated.
10488 * international/uni-combining.el: Re-generated.
10489 * international/uni-mirrored.el: Re-generated.
10491 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10493 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10494 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10495 (tex-start-options, slitex-run-command, latex-run-command)
10496 (tex-run-command, tex-directory):
10497 * textmodes/ispell.el (ispell-html-skip-alists)
10498 (ispell-tex-skip-alists, ispell-tex-skip-alists):
10499 * textmodes/fill.el (adaptive-fill-first-line-regexp):
10500 (adaptive-fill-regexp):
10501 * textmodes/dns-mode.el (auto-mode-alist):
10502 * progmodes/python.el (interpreter-mode-alist):
10503 * progmodes/etags.el (tags-compression-info-list):
10504 * progmodes/etags.el (tags-file-name):
10505 * net/browse-url.el (browse-url-galeon-program)
10506 (browse-url-firefox-program):
10507 * mail/sendmail.el (mail-signature-file)
10508 (mail-citation-prefix-regexp):
10509 * international/mule-conf.el (eight-bit):
10510 * international/latexenc.el (latex-inputenc-coding-alist):
10511 * international/fontset.el (x-pixel-size-width-font-regexp):
10512 * emacs-lisp/warnings.el (warning-type-format):
10513 * emacs-lisp/trace.el (trace-buffer):
10514 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10515 (emacs-lisp-mode-map):
10516 * calendar/holidays.el (holiday-solar-holidays)
10517 (holiday-bahai-holidays, holiday-islamic-holidays)
10518 (holiday-christian-holidays, holiday-hebrew-holidays)
10519 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10520 (hebrew-holidays-1, holiday-oriental-holidays)
10521 (holiday-general-holidays):
10522 * x-dnd.el (x-dnd-known-types):
10523 * tool-bar.el (tool-bar):
10524 * startup.el (site-run-file):
10525 * shell.el (shell-dumb-shell-regexp):
10526 * rfn-eshadow.el (file-name-shadow-tty-properties)
10527 (file-name-shadow-properties):
10528 * paths.el (remote-shell-program, news-directory):
10529 * mouse.el ([C-down-mouse-3]):
10530 * menu-bar.el (menu-bar-tools-menu):
10531 * jka-cmpr-hook.el (jka-compr-load-suffixes)
10532 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10533 (jka-compr-compression-info-list):
10534 * isearch.el (search-whitespace-regexp):
10535 * image-file.el (image-file-name-extensions):
10536 * find-dired.el (find-ls-option):
10537 * files.el (directory-listing-before-filename-regexp)
10538 (directory-free-space-args, insert-directory-program)
10539 (list-directory-brief-switches, magic-fallback-mode-alist)
10540 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10541 (automount-dir-prefix):
10542 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10543 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10544 (face-font-registry-alternatives, face-font-registry-alternatives)
10545 (face-font-family-alternatives):
10546 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10547 (facemenu-foreground-menu, facemenu-face-menu):
10548 * epa-hook.el (epa-file-name-regexp):
10549 * dnd.el (dnd-protocol-alist):
10550 * textmodes/rst.el (auto-mode-alist):
10551 * button.el (default-button): Purecopy strings.
10553 2009-11-06 Glenn Morris <rgm@gnu.org>
10555 * Makefile.in (ELCFILES): Update.
10557 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10560 * emacs-lisp/levents.el: Move to obsolete/levents.el.
10562 * nxml/xsd-regexp.el (xsdre-gen-categories):
10563 * nxml/xmltok.el (xmltok-parse-entity):
10564 * nxml/rng-parse.el (rng-parse-validate-file):
10565 * nxml/rng-maint.el (rng-format-manual)
10566 (rng-manual-output-force-new-line):
10567 * nxml/rng-loc.el (rng-save-schema-location-1):
10568 * nxml/rng-cmpct.el (rng-c-parse-file):
10569 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10570 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10572 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
10574 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10575 Remove extra save-excursions and make-variable-buffer-local's.
10576 Suggested by Stefan Monnier.
10578 (verilog-getopt-file, verilog-module-inside-filename-p)
10579 (verilog-set-define): Merge GNU 1.35 and repair changes from
10580 switching to using with-current-buffer.
10582 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10583 being treated as a number and confusing AUTORESET.
10584 Reported by Dan Dever.
10586 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10587 Add verilog-auto-ignore-concat to fix backward compatibility with
10588 older verilog-modes. Reported by Dan Katz.
10590 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10591 containing closing anchors "...$".
10593 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10594 Reported by Wade Smith.
10596 (verilog-batch-execute-func): Comment on function usage.
10598 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
10600 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10603 (verilog-label-re, verilog-calc-1): Support proper indent of named
10606 (verilog-backward-token, verilog-basic-complete-re)
10607 (verilog-beg-of-statement, verilog-indent-re): Support proper
10608 indent of the assert statement at the beginning of a block of text.
10610 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10611 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10614 2009-11-05 Glenn Morris <rgm@gnu.org>
10616 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10617 Emacs 19. (Bug#1531)
10618 (byte-compile-fix-header): Update for the above change.
10619 Drop test for epoch::version.
10621 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10622 * cus-dep.el (custom-make-dependencies):
10623 * finder.el (finder-compile-keywords):
10624 Use autoload-rubric's feature argument.
10626 * calendar/diary-lib.el (top-level): Make load behave more like require.
10628 * vc-git.el (vc-git-stash-map): Move definition before use.
10630 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
10632 * custom.el (custom-declare-group): Purecopy standard-value.
10633 (custom-declare-group): Purecopy custom-prefix.
10635 * international/mule.el (load-with-code-conversion):
10636 Call do-after-load-evaluation unconditionally.
10638 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10640 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10644 2009-11-04 Glenn Morris <rgm@gnu.org>
10646 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10647 (byte-compile-compatibility): Remove option.
10648 (byte-compile-close-variables, byte-compile-fix-header)
10649 (byte-compile-insert-header, byte-compile-output-docform)
10650 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10651 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10652 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10653 (byte-compile-insert, byte-compile-defun):
10654 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
10655 (byte-defop-compiler19): Remove.
10656 Without byte-compile-compatibility, the 'emacs19-opcode property is not
10657 used by anything. Replace all calls with byte-defop-compiler.
10659 2009-11-04 Juri Linkov <juri@jurta.org>
10661 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10662 (menu-bar-options-menu): Don't quote the `prop' arg of
10663 `menu-bar-make-mm-toggle'.
10665 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
10667 * calendar/calendar.el (cal-loaddefs):
10668 * calendar/diary-lib.el (diary-loaddefs):
10669 * calendar/holidays.el (hol-loaddefs):
10670 * eshell/esh-module.el (esh-groups): Load rather than require.
10672 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10676 (todo-top-priorities): Only display-buffer when called interactively.
10677 (todo-item-start): Don't save excursion point.
10678 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10679 (todo-insert-item-here, todo-file-item, todo-remove-item):
10680 Adjust uses of todo-item-start and todo-item-end.
10682 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10683 (autoload-rubric): Don't use any more.
10685 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10686 and only put a prop if it is non-nil.
10688 2009-11-03 Juri Linkov <juri@jurta.org>
10690 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10691 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10693 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10694 and "Menu" to make top-level menu item visually one unit (like
10695 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10696 multi-word menu items). Fix :help string for quit-window.
10698 2009-11-03 Glenn Morris <rgm@gnu.org>
10700 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10701 (byte-compile-file-form-define-abbrev-table)
10702 (byte-compile-file-form-custom-declare-variable)
10703 (byte-compile-variable-ref, byte-compile-defvar):
10704 Whether or not a warning is enabled should only affect whether we issue
10705 the warning, not whether or not we collect the relevant data.
10706 Eg warnings can be turned on and off throughout the course of a file.
10708 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10709 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10711 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10714 * play/mpuz.el (mpuz-create-buffer):
10715 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10716 (lm-print-y,s,noise, lm-print-w0, lm-init):
10717 * play/gomoku.el (gomoku-prompt-for-move):
10718 * play/fortune.el (fortune-in-buffer):
10719 * play/dissociate.el (dissociated-press):
10720 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10721 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10722 * mail/supercite.el (sc-eref-show):
10723 * mail/smtpmail.el (smtpmail-send-it):
10724 * mail/rmailsum.el (rmail-summary-next-labeled-message)
10725 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10726 (rmail-summary-undelete-many, rmail-summary-rmail-update)
10727 (rmail-summary-goto-msg, rmail-summary-expunge)
10728 (rmail-summary-get-new-mail, rmail-summary-search-backward)
10729 (rmail-summary-add-label, rmail-summary-output-menu)
10730 (rmail-summary-output-body):
10731 * mail/rfc822.el (rfc822-addresses):
10732 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10733 * mail/mailpost.el (post-mail-send-it):
10734 * mail/hashcash.el (hashcash-generate-payment):
10735 * mail/feedmail.el (feedmail-run-the-queue)
10736 (feedmail-queue-send-edit-prompt-help-first)
10737 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10738 (feedmail-deduce-address-list):
10739 * eshell/esh-ext.el (eshell-remote-command):
10740 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10741 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10742 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10743 (viper-save-string-in-file, viper-valid-marker):
10744 * emulation/viper-keym.el (viper-toggle-key):
10745 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10746 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10747 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10748 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10749 (viper-exec-form-in-emacs, viper-brac-function):
10750 * emulation/viper.el (viper-delocalize-var):
10751 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10752 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10753 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10754 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10755 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10756 * emulation/edt.el (edt-electric-helpify):
10757 * emulation/cua-rect.el (cua--rectangle-aux-replace):
10758 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10759 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10760 (cua-indent-to-global-mark-column):
10761 * calendar/diary-lib.el (calendar-mark-1):
10762 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10763 Use with-current-buffer.
10764 * emulation/viper.el (viper-delocalize-var): Use dolist.
10766 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
10768 * comint.el (comint-replace-by-expanded-history-before-point):
10769 Replace !! with the previous input string literally (Bug#1795).
10771 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
10773 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10774 to be made up of whitespace.
10776 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
10778 * minibuffer.el (read-file-name): Don't use file dialogs for
10779 remote directories (Bug#99).
10781 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
10783 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10785 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
10787 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10788 instead of deleting the window or frame.
10790 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10792 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10793 Support face colors.
10795 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10796 New function. Support face colors (Bug#1168).
10797 (tex-common-initialization): Use it.
10799 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10800 mode allows it (Bug#1168).
10802 2009-10-31 Juri Linkov <juri@jurta.org>
10804 * facemenu.el (list-colors-display): Don't mark buffer as
10805 modified (Bug#3948).
10807 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10809 * international/mule-diag.el (list-character-sets-1): Minor
10810 message fix (Bug#3526).
10812 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10813 face property (Bug#4834).
10814 (etags-list-tags, etags-tags-apropos-additional)
10815 (etags-tags-apropos, tags-select-tags-table): Add follow-link
10818 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10821 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
10823 * textmodes/two-column.el (2C-split):
10824 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10825 * textmodes/tex-mode.el (tex-set-buffer-directory):
10826 * textmodes/spell.el (spell-region, spell-string):
10827 * textmodes/reftex.el (reftex-erase-buffer):
10828 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10829 * textmodes/reftex-toc.el (reftex-toc-promote-action):
10830 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10831 (reftex-select-item):
10832 * textmodes/reftex-ref.el (reftex-label-info-update)
10833 (reftex-offer-label-menu):
10834 * textmodes/reftex-index.el (reftex-index-change-entry)
10835 (reftex-index-phrases-info):
10836 * textmodes/reftex-global.el (reftex-create-tags-file)
10837 (reftex-save-all-document-buffers, reftex-ensure-write-access):
10838 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10839 (reftex-view-crossref-from-bibtex):
10840 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10841 (reftex-extract-bib-entries-from-thebibliography)
10842 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10843 * textmodes/refbib.el (r2b-capitalize-title):
10844 (r2b-convert-buffer, r2b-help):
10845 * textmodes/page-ext.el (pages-directory)
10846 (pages-directory-goto-with-mouse):
10847 * textmodes/bibtex.el (bibtex-validate-globally):
10848 * textmodes/bib-mode.el (bib-capitalize-title):
10849 * textmodes/artist.el (artist-clear-buffer, artist-system):
10850 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10851 (local-set-scheme-interaction-buffer, xscheme-process-filter)
10852 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10853 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10854 (xscheme-send-control-g-interrupt, xscheme-start-process)
10855 (xscheme-process-sentinel, xscheme-cd):
10856 * progmodes/verilog-mode.el (verilog-read-always-signals)
10857 (verilog-set-define, verilog-getopt-file)
10858 (verilog-module-inside-filename-p):
10859 * progmodes/sh-script.el:
10860 * progmodes/python.el (python-pdbtrack-get-source-buffer)
10861 (python-pdbtrack-grub-for-buffer, python-execute-file):
10862 * progmodes/octave-inf.el (inferior-octave):
10863 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10864 (idlwave-shell-compile-helper-routines, idlwave-set-local)
10865 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10866 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10867 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10868 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10869 (idlwave-shell-filter, idlwave-shell-examine-highlight)
10870 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10871 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10872 (idlwave-shell-examine-display, idlwave-shell-run-region)
10873 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10874 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10875 * progmodes/idlw-help.el (idlwave-help-get-special-help)
10876 (idlwave-help-get-help-buffer):
10877 * progmodes/gud.el (gud-basic-call, gud-find-class)
10878 (gud-tooltip-activate-mouse-motions-if-enabled):
10879 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10880 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10881 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10882 (ebrowse-tags-next-file):
10883 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10884 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10885 (ebnf-eps-finish-and-write):
10886 * progmodes/cpp.el (cpp-edit-save):
10887 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10888 * progmodes/cc-defs.el (c-emacs-features):
10889 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10890 (antlr-directory-dependencies):
10891 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10892 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10893 (ada-find-any-references, ada-make-filename-from-adaname)
10894 (ada-make-body-gnatstub):
10895 * obsolete/rnews.el (news-list-news-groups):
10896 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10897 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10898 * net/rcirc.el (rcirc-debug):
10899 * net/newst-treeview.el (newsticker--treeview-list-add-item)
10900 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10901 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10902 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10903 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10904 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10905 (newsticker--treeview-list-clear-highlight)
10906 (newsticker--treeview-list-update-highlight)
10907 (newsticker--treeview-list-highlight-start)
10908 (newsticker--treeview-tree-update-highlight)
10909 (newsticker--treeview-get-selected-item)
10910 (newsticker-treeview-mark-list-items-old)
10911 (newsticker--treeview-set-current-node):
10912 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10913 * net/newst-backend.el (newsticker--get-news-by-funcall)
10914 (newsticker--get-news-by-wget, newsticker--image-get)
10915 (newsticker--image-sentinel):
10916 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10917 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10918 (eudc-ph-close-session):
10919 * net/eudc.el (eudc-save-options):
10920 * language/thai-word.el (thai-update-word-table):
10921 * language/japan-util.el (japanese-string-conversion):
10922 * international/titdic-cnv.el (tsang-quick-converter)
10923 (ziranma-converter, ctlau-converter):
10924 * international/mule-cmds.el (describe-language-environment):
10925 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10926 (skkdic-convert-postfix, skkdic-convert-prefix):
10927 (skkdic-convert-okuri-nasi, skkdic-convert):
10928 * emacs-lisp/re-builder.el (reb-update-overlays):
10929 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10930 * emacs-lisp/gulp.el (gulp-send-requests):
10931 * emacs-lisp/find-gc.el (trace-call-tree):
10932 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10933 (eieio-describe-generic):
10934 * emacs-lisp/eieio-base.el (eieio-persistent-read):
10935 * emacs-lisp/edebug.el (edebug-outside-excursion):
10936 * emacs-lisp/debug.el (debugger-make-xrefs):
10937 * emacs-lisp/cust-print.el (custom-prin1-to-string):
10938 * emacs-lisp/chart.el (chart-new-buffer):
10939 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10940 Use with-current-buffer.
10941 * textmodes/artist.el (artist-system): Don't call
10942 copy-sequence on a fresh string.
10943 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10945 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
10947 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10948 is no item to edit. (Bug#4820)
10949 (todo-top-priorities): Restore point and restore narrowing in Todo
10952 2009-10-31 Glenn Morris <rgm@gnu.org>
10954 * net/ange-ftp.el (top-level): Don't require dired when compiling.
10955 (comint-last-output-start, comint-last-input-start)
10956 (comint-last-input-end): Don't defvar when compiling.
10957 (ange-ftp-process-file): Use bound-and-true-p.
10959 * pcmpl-rpm.el (top-level): Move provide statement to end.
10960 (pcmpl-rpm): Remove unused custom group.
10962 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10964 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10966 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10967 (byte-compile-warnings): Add `constants' as an option.
10968 (byte-compile-callargs-warn, byte-compile-arglist-warn)
10969 (display-call-tree): Update for byte-compile-fdefinition possibly
10970 returning `(macro lambda ...)'. (Bug#4778)
10971 (byte-compile-variable-ref, byte-compile-setq-default):
10972 Respect `constants' member of byte-compile-warnings.
10974 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10976 * vc-bzr.el (vc-bzr-revision-keywords): New var.
10977 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10980 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
10982 * textmodes/ispell.el (ispell-skip-region-alist):
10983 * international/mule-conf.el (eight-bit):
10984 * international/fontset.el (font-encoding-alist):
10985 * startup.el (pure-space-overflow-message):
10986 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10987 * paths.el (gnus-nntp-service, rmail-spool-directory)
10988 (term-file-prefix):
10989 * files.el (save-some-buffers-action-alist):
10990 * cmuscheme.el (same-window-buffer-names):
10991 * ielm.el (same-window-buffer-names):
10992 * shell.el (same-window-buffer-names):
10993 * mail/sendmail.el (same-window-buffer-names):
10994 * progmodes/inf-lisp.el (same-window-buffer-names):
10995 * bindings.el (mode-line-client)
10996 (mode-line-column-line-number-mode-map):
10997 * language/tibetan.el (tibetan-precomposition-rule-regexp)
10998 (tibetan-precomposed-regexp): Purecopy string arguments.
11000 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11003 (calcDigit-nondigit):
11004 * calc/calc-yank.el (calc-copy-to-buffer):
11005 * calc/calc-units.el (calc-invalidate-units-table):
11006 * calc/calc-trail.el (calc-trail-yank):
11007 * calc/calc-store.el (calc-insert-variables):
11008 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11009 * calc/calc-prog.el (calc-read-parse-table):
11010 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11011 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11012 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11013 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11014 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11015 (calc-graph-name, calc-graph-find-command, calc-graph-view)
11016 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11017 * calc/calc-ext.el (calc-realign):
11018 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11019 (calc-embedded-finish-edit, calc-embedded-make-info)
11020 (calc-embedded-finish-command, calc-embedded-stack-change):
11021 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11023 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11024 shell-dynamic-complete-filename in preference to
11025 comint-dynamic-complete-filename.
11027 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11028 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11029 Don't consider whether the display supports colors.
11030 (bookmark-import-new-list): Use dolist.
11031 (bookmark-bmenu-mode-map): Move initialization into declaration.
11032 (bookmark-bmenu-list): Use dolist, simplify.
11033 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11034 (menu-bar-final-items): Use push.
11036 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11038 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11039 it works on remote files.
11040 (vc-hg-diff): Don't pass any `--cwd' argument.
11042 2009-10-27 Kevin Ryde <user42@zip.com.au>
11044 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11045 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11046 (Further to Bug#3921).
11048 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11050 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11051 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11052 calling `tramp-imap-put-file'. Add file size to the call.
11053 (tramp-imap-get-file-entries): Compute also user name, file size,
11055 (tramp-imap-handle-insert-directory): Insert uid and gid.
11056 (tramp-imap-handle-file-attributes): Transform uid and gid
11057 according to `id-format'.
11058 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11059 size in header X-Size.
11061 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11063 * simple.el (transpose-subr): Give clearer error when the mark
11064 is not set. (Bug#4807)
11066 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11068 * net/tramp.el (tramp-perl-file-truename): New defconst.
11069 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11070 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11071 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11072 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11074 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11075 Ignore `dired-call-process'.
11076 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11078 2009-10-26 Julian Scheid <julians37@gmail.com>
11080 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11081 (tramp-get-remote-readlink): New defun.
11082 (tramp-handle-file-truename): Use it.
11083 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11084 file exists if cache value present.
11085 (tramp-check-cached-permissions): New defun.
11086 (tramp-handle-file-readable-p): Use it.
11087 (tramp-handle-file-writable-p): Likewise.
11088 (tramp-handle-file-executable-p): Likewise.
11089 (tramp-handle-file-name-all-completions): Try using Perl to get
11090 partial completions. When perl not available, combine `cd' and
11091 `ls' into single remote operation and use shell expansion to get
11092 partial remote directory contents. Set `file-exists-p' cache for
11093 directory and any files returned by ls. Change cache handling to
11094 support partial directory contents. Use error message emitted by
11095 remote `cd' or Perl code for local tramp-error.
11096 (tramp-do-copy-or-rename-file-directly): Avoid separate
11097 tramp-send-command-and-check call.
11098 (tramp-handle-process-file): Merge three remote ops into one.
11099 Do not flush all caches when `process-file-side-effects' is set.
11100 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11101 file-attributes shows uid/gid to be set already.
11103 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11105 * textmodes/tex-mode.el (tex-dvi-view-command)
11106 (tex-show-queue-command, tex-open-quote):
11107 * progmodes/ruby-mode.el (auto-mode-alist)
11108 (interpreter-mode-alist): Purecopy strings.
11110 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11112 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11113 string for the hook, keymap and abbrev table.
11115 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11117 * x-dnd.el (x-dnd-xdnd-to-action):
11118 * startup.el (fancy-startup-text, fancy-about-text): Change to
11119 defconst from defvar.
11121 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11123 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11124 Purecopy initialization strings.
11126 * mail/sendmail.el (mail-header-separator)
11127 (mail-personal-alias-file):
11128 * mail/rmail.el (rmail-default-dont-reply-to-names)
11129 (rmail-ignored-headers, rmail-retry-ignored-headers)
11130 (rmail-highlighted-headers, rmail-secondary-file-directory)
11131 (rmail-secondary-file-regexp):
11132 * files.el (null-device, file-name-invalid-regexp)
11133 (locate-dominating-stop-dir-regexp)
11134 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11135 (interpreter-mode-alist): Use mapcar instead of mapc.
11137 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11139 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11140 (completion-ignored-extensions):
11141 (debug-ignored-errors): Purecopy strings.
11143 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11145 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11146 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11147 (pcomplete--here): Use push.
11149 * subr.el (all-completions): Declare the 4th arg obsolete.
11151 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11153 * pcomplete.el (pcomplete-unquote-argument-function): New var.
11154 (pcomplete-unquote-argument): New function.
11155 (pcomplete--common-suffix): Always pay attention to case.
11156 (pcomplete--table-subvert): Quote and unquote the text.
11157 (pcomplete--common-quoted-suffix): New function.
11158 (pcomplete-std-complete): Use it and pcomplete-begin.
11160 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11161 we're inside a dedicated or minibuffer window.
11163 2009-10-24 Karl Fogel <kfogel@red-bean.com>
11165 * bookmark.el: Update documentation, especially documentation
11166 of `bookmark-alist' and of the bookmark file format.
11167 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
11169 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11171 * mail/emacsbug.el (report-emacs-bug): Clarify that the
11172 keybindings apply to the mail buffer (Bug#4003). Shrink help
11175 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11176 (global-whitespace-mode, global-whitespace-newline-mode)
11177 (whitespace-toggle-options, global-whitespace-toggle-options):
11178 Doc fix (Bug#3660).
11180 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11181 of xmltok-start before the end tag was inserted (Bug#2840).
11183 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11184 patterns that are preceded by an open-paren (Bug#1320).
11186 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11188 * files.el (delete-directory): Delete symlinks to directories with
11189 delete-file (Bug#4739).
11191 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11193 * vc.el (vc-backend-for-registration): Rename from
11194 vc-get-backend-for-registration. Update callers.
11196 * international/mule-cmds.el (set-language-info-alist):
11198 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11199 (charset): Purecopy the name.
11200 (define-char-code-property): Purecopy string arguments.
11202 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11203 Purecopy string arguments.
11205 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11206 * ediff-hook.el (menu-bar-ediff-menu):
11207 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11208 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11210 2009-10-24 Glenn Morris <rgm@gnu.org>
11212 * comint.el (comint-dynamic-list-completions):
11213 * term.el (term-dynamic-list-completions): Use choose-completion rather
11214 than obsolete alias mouse-choose-completion.
11216 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11217 file-cache-choose-completion.
11218 (file-cache-choose-completion): Handle an optional event argument.
11219 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11221 * progmodes/octave-mod.el (octave-complete-symbol):
11222 Use choose-completion if mouse-choose-completion is ever removed.
11224 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11227 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11230 * vc-hooks.el (vc-responsible-backend): Fix declaration.
11232 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11235 Ignore `pred' now that we receive one.
11236 Handle test-completion specially.
11238 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11240 * vc.el (vc-responsible-backend): Throw an error if not backend is
11241 found. Remove the REGISTER argument. Move the code dealing with
11243 (vc-get-backend-for-registration): ... here. New function.
11244 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11245 of vc-responsible-backend, pass the file name instead of the
11248 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11252 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
11253 (pcomplete-comint-setup): Don't modify a global var via
11254 accidental side-effects.
11255 (pcomplete-shell-setup): Adjust call accordingly.
11256 (pcomplete-parse-comint-arguments): Use push.
11258 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
11260 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11261 Allow uncapitalized info node names (Bug#3921).
11263 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11264 to the DEBUG file (Bug#3781).
11266 2009-10-23 Jari Aalto <jari.aalto@cante.net>
11268 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11269 dictionary entry (Bug#4579).
11271 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
11273 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11274 from `rfn-eshadow-update-overlay-hook' when unloading.
11275 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11276 "rsyncc". Adjust doc string.
11277 (tramp-temp-buffer-file-name): New buffer-local defvar.
11278 (tramp-handle-insert-file-contents, tramp-handle-write-region):
11279 Keep temporary file when indicated by method ("rsync" and
11281 (tramp-handle-write-region): Handle APPEND.
11282 (tramp-delete-temp-file-function): New defun. Added to
11283 `kill-buffer-hook'.
11285 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
11287 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11289 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11291 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11292 (color-name-rgb-alist, tty-standard-colors)
11293 (tty-color-mode-alist): Change to defconst.
11295 * simple.el (mark-inactive): Purecopy message.
11297 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11298 (global-map, yank-menu):
11299 * textmodes/ispell.el (ispell-menu-map):
11300 * net/eudc.el (eudc-tools-menu):
11301 * international/mule-cmds.el (describe-language-environment-map)
11302 (setup-language-environment-map, set-coding-system-map)
11303 (mule-menu-keymap):
11304 * vc-hooks.el (vc-menu-entry, vc-menu-map):
11305 * replace.el (occur-mode-map):
11306 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11308 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
11310 * calc/calc.el (math-read-number, math-read-number-simple): Use
11313 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11315 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11316 rather than fiddling with global-map bindings, since it should only
11317 affect per-terminal settings.
11318 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11320 * minibuffer.el (completion-table-with-terminator): Allow to specify
11321 the terminator-regexp.
11323 * simple.el (switch-to-completions): Look for *Completions* in other
11326 * pcomplete.el: Allow the use of completion-tables.
11327 (pcomplete-std-complete): New command.
11328 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11329 (pcomplete--here): Use a function for `form' rather than an expression,
11330 so it can be byte-compiled.
11331 (pcomplete-here, pcomplete-here*): Adjust accordingly.
11332 Add edebug declaration.
11333 (pcomplete-show-completions): Remove unused var `curbuf'.
11334 (pcomplete-do-complete, pcomplete-stub):
11335 Don't assume `completions' is a list of strings any more.
11337 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
11339 * find-dired.el (find-name-arg): Fix typo in docstring.
11341 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11344 (pcmpl-linux-fs-types): Same, and update to new modules layout.
11346 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11349 * comint.el (comint-read-input-ring, comint-write-input-ring)
11350 (comint-substitute-in-file-name)
11351 (comint-dynamic-complete-as-filename)
11352 (comint-dynamic-simple-complete)
11353 (comint-dynamic-list-filename-completions)
11354 (comint-dynamic-list-completions)
11355 (comint-redirect-results-list-from-process): Minor simplifications.
11357 2009-10-21 Kevin Ryde <user42@zip.com.au>
11359 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11360 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11361 the first form. And insert a blank line after ";;; Code" since
11362 that's usual style. (Bug#4612)
11364 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11366 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * minibuffer.el (completion-table-with-terminator): Properly implement
11369 boundaries, in case `terminator' appears in the suffix.
11370 (completion--embedded-envvar-table): Don't return boundaries if
11371 there's no valid completion. Simplify.
11372 (completion-file-name-table): New completion table extracted from
11373 completion--file-name-table.
11374 (completion--file-name-table): Use it.
11375 (read-file-name-predicate): Declare obsolete.
11376 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11377 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11378 completion-file-name-table, and use the `pred' argument.
11379 * files.el (locate-file-completion-table): Use the `pred' arg rather
11380 than read-file-name-predicate.
11381 (abbreviate-file-name): Use \` rather than ^ for BOS.
11383 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
11385 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11386 vc-responsible-backend to register, it causes problems.
11388 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11390 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11392 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
11394 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11395 (tramp-smb-handle-file-attributes): Use it.
11396 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11397 (tramp-smb-handle-insert-directory): Use `mapc' rather than
11398 `mapcar'. Use `tramp-smb-get-stat-capability'.
11399 Add `dired-filename' text properties.
11400 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11401 (tramp-smb-maybe-open-connection): Simplify check for smbclient
11404 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
11406 * subr.el (read-key-delay): Reduce to 0.01.
11407 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11410 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11412 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11414 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11415 (Info-menu): Remove unused vars `last' and `completions'.
11416 (Info-index-nodes): Remove unused var `node'.
11418 * info.el (Info-complete-menu-item): Use complete-with-action.
11420 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11422 Make vc-annotate work through copies and renames.
11423 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11424 Return the file name too.
11425 (vc-annotate-revision-at-line)
11426 (vc-annotate-find-revision-at-line)
11427 (vc-annotate-revision-previous-to-line)
11428 (vc-annotate-show-log-revision-at-line): Update to get the file
11429 name from vc-annotate-extract-revision-at-line.
11430 (vc-annotate-show-diff-revision-at-line-internal): Change the
11431 argument to mean whether to show a file diff or not. Get the file
11432 name from vc-annotate-extract-revision-at-line.
11433 (vc-annotate-show-diff-revision-at-line):
11434 Update vc-annotate-show-diff-revision-at-line call.
11435 (vc-annotate-warp-revision): Add an optional file argument.
11437 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11438 (vc-git-annotate-extract-revision-at-line): Also return the file
11441 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11442 command. Remove unused code.
11443 (vc-hg-annotate-re): Update to match --follow output.
11444 (vc-hg-annotate-extract-revision-at-line): Also return the file
11447 * vc.el: Update annotate-extract-revision-at-line documentation.
11449 2009-10-18 Kevin Ryde <user42@zip.com.au>
11451 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11452 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11454 * net/browse-url.el (browse-url): Identify alist with "consp and
11455 not functionp" and let all other things go down the `apply' leg,
11456 as suggested by Stefan. (Further to bug#4531.)
11458 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11460 * minibuffer.el (read-file-name): Check for repeat before putting
11461 a default argument in file-name-history (Bug#4657).
11463 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11464 read syntax (Bug#4737).
11466 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11468 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11470 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11471 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11472 entries and make note of obsolete tags.
11474 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11478 2009-10-18 Glenn Morris <rgm@gnu.org>
11480 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11481 grep, so that binary files (eg international/uni-bidi.el) can match.
11482 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11483 now, and in any case the file header format has changed.
11485 2009-10-17 Glenn Morris <rgm@gnu.org>
11487 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11488 (flyspell-get-word, flyspell-large-region)
11489 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11491 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11493 * Makefile.in (ELCFILES): Add ede/shell.
11495 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11497 * term/common-win.el (x-colors): Purecopy it.
11499 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11502 permissive for when the buffer is empty.
11503 (tar-header-block-tokenize): Decode the username and groupname.
11504 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11506 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * international/mule-cmds.el (select-safe-coding-system): If the file
11509 has a coding cookie, use it regardless of any other setting (bug#4712).
11511 2009-10-17 Glenn Morris <rgm@gnu.org>
11513 * foldout.el (foldout-mouse-swallow-events):
11514 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11516 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11517 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11518 (dired-keep-marker-symlink, dired-dwim-target)
11519 (dired-copy-preserve-time): Do not autoload these defcustoms.
11521 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11522 messages from messing up the file coding. (Bug#4623)
11524 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11526 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11527 if no match is found for the current dictionary. (Bug#4578)
11529 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11530 optional, since that is how it is documented, and this is often called
11531 with a nil argument. (Bug#4577)
11532 (flyspell-external-point-words, flyspell-auto-correct-word)
11533 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11534 (flyspell-word-search-backward): Remove nil argument in calls to
11535 flyspell-get-word, since it is not needed now.
11537 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11539 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11541 2009-10-16 Glenn Morris <rgm@gnu.org>
11543 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11545 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11547 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11548 (ange-ftp-file-size): New function.
11549 (ange-ftp-file-attributes): Use it.
11551 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11553 * net/tramp-smb.el (tramp-smb-version): New defvar.
11554 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11557 2009-10-16 Glenn Morris <rgm@gnu.org>
11559 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11560 Maybe copy some custom properties from old to new name. (Bug#4706)
11562 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11564 * subr.el (error, sit-for, start-process-shell-command)
11565 (start-file-process-shell-command): Set the calling convention
11566 after the function definition.
11568 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11570 * subr.el (error, sit-for, start-process-shell-command)
11571 (start-file-process-shell-command): Use the new
11572 set-advertised-calling-convention feature.
11574 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11576 * international/ucs-normalize.el (ucs-normalize-version):
11578 (check-range): Adjust for Unicode 5.2.
11580 2009-10-15 Juri Linkov <juri@jurta.org>
11582 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11583 to the `menu-item' format.
11585 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11587 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11588 if the environment variable does not exist.
11590 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11591 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11593 (tramp-smb-handle-add-name-to-file)
11594 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11595 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11596 (tramp-smb-handle-file-attributes)
11597 (tramp-smb-do-file-attributes-with-stat)
11598 (tramp-smb-handle-file-local-copy)
11599 (tramp-smb-handle-insert-directory)
11600 (tramp-smb-handle-make-directory)
11601 (tramp-smb-handle-make-directory-internal)
11602 (tramp-smb-handle-make-symbolic-link)
11603 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11604 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11605 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11606 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11607 Handle long file names.
11608 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11609 process is running.
11610 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11611 Read share names with "-g" option.
11613 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11615 * net/rcirc.el (rcirc-view-log-file): New command.
11616 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11617 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11620 2009-10-15 Glenn Morris <rgm@gnu.org>
11622 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11623 from the second command-line argument.
11624 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11625 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11626 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11627 w32-batch-update-autoloads.
11628 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11629 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11631 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11632 the headers cannot be located. Simplify, subtracting superflous
11635 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11637 Replace completion-base-size by completion-base-position to fix bugs
11638 such as (bug#4699).
11639 * simple.el (completion-base-position): New var.
11640 (completion-base-size): Mark as obsolete.
11641 (choose-completion): Make it work for mouse events as well.
11642 Pass the new base-position to choose-completion-string.
11643 (choose-completion-guess-base-position): New function, extracted from
11644 choose-completion-delete-max-match.
11645 (choose-completion-delete-max-match): Use it. Make obsolete.
11646 (choose-completion-string): Use the new base-position info.
11647 (completion-root-regexp): Delete.
11648 (completion-setup-function): Preserve completion-base-position.
11649 Eliminate obsolete base-size manipulation.
11650 * minibuffer.el (display-completion-list): Don't mess with base-size.
11651 (minibuffer-completion-help): Set completion-base-position instead.
11652 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11654 * textmodes/bibtex.el (bibtex-complete):
11655 * emacs-lisp/crm.el (crm--choose-completion-string):
11656 Adjust to new calling convention.
11657 * complete.el (partial-completion-mode): Use minibufferp to avoid
11658 bumping into incompatible change to choose-completion-string-functions.
11659 * ido.el (ido-choose-completion-string): Make its calling convention
11661 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11662 base-size manipulation.
11663 (comint-dynamic-list-input-ring): Use dotimes and push.
11664 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11665 fundamental-mode. Use `or'.
11667 2009-10-14 Juri Linkov <juri@jurta.org>
11669 * misearch.el (multi-isearch-next-buffer-from-list)
11670 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11672 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11674 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11677 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11678 string we return is all made up of text from the completions rather
11679 than part from the completions and part from the input (bug#4219).
11681 * ido.el (ido-everywhere): Use define-minor-mode.
11683 * buff-menu.el (list-buffers, ctl-x-map):
11684 Mark the entry points with ;;;###autoload cookies.
11686 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11688 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11689 correctly in the detached head case.
11690 (vc-git-print-log): Remove unused binding.
11692 * vc.el (vc-responsible-backend): When a directory is passed for
11693 for registration create a VC repository if no backend is
11694 responsible for the directory argument.
11695 (vc-deduce-fileset): Tell vc-responsible-backend to register.
11697 * vc.el: Move comments about RCS and SCCS ...
11699 * vc-sccs.el: ... here, respectively.
11701 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11703 * minibuffer.el (completion--file-name-table): Return nil if there's
11704 no file completion, even if substitute-in-file-name changed
11705 the string (bug#4708).
11707 2009-10-13 Juri Linkov <juri@jurta.org>
11709 * files-x.el (read-file-local-variable-value): Don't filter out
11710 minor modes from mode name completion (bug#4664).
11712 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11714 * international/mule-cmds.el (ucs-names): Remove exclusion of
11715 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11717 2009-10-13 Kenichi Handa <handa@m17n.org>
11719 * international/uni-name.el: Regenerated.
11721 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11723 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
11724 should be automatically buffer-local, but isn't.)
11726 2009-10-12 Sam Steingold <sds@gnu.org>
11728 * progmodes/compile.el (compilation-next-error-function): Fix the
11729 timestamps if the buffer has been visited before.
11730 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11731 non-anchored patterns, like the perl one (bug#3928).
11733 2009-10-12 Glenn Morris <rgm@gnu.org>
11735 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11738 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
11740 * proced.el (proced-unload-function): New function.
11742 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11743 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11746 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11748 2009-10-11 Juri Linkov <juri@jurta.org>
11750 * files-x.el (read-file-local-variable-value):
11751 Provide default value only for bound variables (bug#4664).
11753 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
11755 * net/tramp.el (tramp-local-host-p): Function shall return nil for
11756 connection methods like smb.
11758 * net/tramp-cache.el (tramp-flush-connection-property): The hash
11761 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11762 (tramp-smb-file-name-handler-alist): Add handlers for
11763 `add-name-to-file', `make-symbolic-link'.
11764 (tramp-smb-handle-add-name-to-file)
11765 (tramp-smb-do-file-attributes-with-stat)
11766 (tramp-smb-handle-make-symbolic-link)
11767 (tramp-smb-get-cifs-capabilities): New defuns.
11768 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11769 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11770 (tramp-smb-handle-file-local-copy)
11771 (tramp-smb-handle-make-directory-internal)
11772 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11773 The file name syntax depends on cifs capabilities.
11774 (tramp-smb-handle-file-attributes):
11775 Call `tramp-smb-do-file-attributes-with-stat' if possible.
11776 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11777 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11779 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
11781 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11782 (eieio-defclass): Apply deftype handler and setf-method properties
11784 (eieio-add-new-slot): Avoid union function from cl library.
11785 (eieio--typep): New function.
11786 (eieio-perform-slot-validation): Use it.
11788 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11790 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11791 Update documentation to refer to the variables documented in r1.135.
11794 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11796 * bookmark.el (Info-suffix-list): Remove this unused variable.
11797 (bookmark-current-point): Remove this obsolete variable.
11798 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11799 Adjust for removal of bookmark-current-point.
11801 (bookmarks-already-loaded, bookmark-current-buffer)
11802 (bookmark-yank-point): Document. (Bug#4188)
11804 2009-10-10 Glenn Morris <rgm@gnu.org>
11806 * frame.el (frame-height): Doc fix.
11808 * calendar/calendar.el (calendar-split-width-threshold): New option.
11809 (calendar-basic-setup): Use calendar-split-width-threshold.
11811 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
11813 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11814 Ideographic Supplement" range (U+1F200..U+1F2FF).
11816 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11818 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11819 since the list will have been rebuilt anyway. (Bug#4349)
11821 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11823 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11824 (bookmark-bmenu-execute-deletions): Don't save here, as
11825 bookmark-delete will now do so if necessary.
11826 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11829 2009-10-09 Glenn Morris <rgm@gnu.org>
11831 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11833 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11835 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11836 (bookmark-jump-other-window): Just invoke bookmark-jump with new
11837 argument now, so the two function's behaviors will match. (Bug#3645)
11839 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
11841 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11842 (tramp-file-name-real-host, tramp-file-name-port):
11843 Apply `save-match-data'.
11845 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11846 case both directories are remote.
11847 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11848 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11850 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11852 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11854 2009-10-07 Glenn Morris <rgm@gnu.org>
11856 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11859 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11861 * files-x.el (read-file-local-variable): Include some
11862 non-user-variables in the completion table (bug#4664).
11864 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
11866 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11869 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11870 (tramp-smb-file-name-handler-alist): Add handler for
11871 `copy-directory', `expand-file-name', `set-file-modes'.
11872 (tramp-smb-handle-copy-directory)
11873 (tramp-smb-handle-expand-file-name)
11874 (tramp-smb-handle-set-file-modes): New defuns.
11875 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11876 (tramp-smb-handle-file-attributes): Simplify check for retrieving
11878 (tramp-smb-handle-insert-directory): Don't flush the cache.
11879 (tramp-smb-maybe-open-connection): Check for samba client and
11882 2009-10-07 Eli Zaretskii <eliz@gnu.org>
11884 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11885 to not error out of search for "^lisp=" fails.
11887 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11889 * makefile.w32-in (WINS_UPDATES): New macro.
11890 (custom-deps, finder-data, autoloads): Use it.
11892 2009-10-07 Glenn Morris <rgm@gnu.org>
11894 * Makefile.in (autoloads): Revert previous change.
11895 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11896 the list of preloaded files passed on the command-line, get
11897 it from src/Makefile.
11899 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11900 show the original buffer rather than a random one.
11902 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
11904 * help.el (describe-no-warranty): Place point in a slightly better
11905 position in the GPLv3 text.
11907 2009-10-06 Sam Steingold <sds@gnu.org>
11909 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11910 the comm attribute is present before calling regexp-quote.
11912 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
11914 * play/animate.el (animate-string): For good effect, make sure
11915 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11917 * play/animate.el (animate-sequence, animate-birthday-present):
11918 * misc.el (butterfly): Don't set `indent-tabs-mode'.
11920 2009-10-06 Glenn Morris <rgm@gnu.org>
11922 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11924 * emacs-lisp/autoload.el (autoload-excludes): New variable.
11925 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11926 (batch-update-autoloads): Process a string value of autoload-excludes,
11927 set during the build process.
11928 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
11930 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11931 inside with-parsed... macro so that `v' is defined.
11933 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11934 * progmodes/fortran.el (fortran-end-of-block)
11935 (fortran-beginning-of-block):
11936 Also push mark in the macro case.
11938 * emerge.el (emerge-show-file-name):
11939 * calc/calc.el (calc-quit):
11940 * calc/calc-misc.el (calc-big-or-small):
11941 * calc/calc-graph.el (calc-graph-view):
11942 * calc/calc-ext.el (calc-reset):
11943 * calendar/calendar.el (calendar-basic-setup):
11944 Use window-full-height-p.
11946 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11947 header we don't understand, don't insert another. (Bug#4624)
11948 If changing mime charset, insert the new one in the right place.
11950 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
11952 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11953 (cal-tex-cursor-month): Correctly increment the end date for diary and
11954 holiday listing. (Bug#4626)
11956 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * help-fns.el (describe-function-1): Don't burp if the function is not
11961 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
11963 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11964 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11965 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11966 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11968 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11969 (eieio-default-superclass): Reflow docstrings.
11970 (this, class-option-assoc, defclass, eieio-class-un-autoload)
11971 (eieio-unbind-method-implementations, defmethod)
11972 (eieio-validate-slot-value, eieio-validate-class-slot-value)
11973 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11974 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11975 (eieio-slot-originating-class-p, eieio-slot-name-index)
11976 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11977 (constructor, initialize-instance, no-next-method, object-print)
11978 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11979 Fix typos in docstrings.
11980 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11981 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11982 (next-method-p): Doc fixes.
11983 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11984 Fix typos in error messages.
11985 (eieio-defmethod): Fix typo in description of generic method.
11987 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11988 (eieio-persistent-save-interactive, slot-missing):
11989 Fix typos in docstrings.
11990 (eieio-instance-inheritor-slot-boundp): Doc fix.
11992 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11993 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11995 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11996 (eieio-custom-object-apply-reset):
11997 Fix typos in docstrings and error messages.
11999 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12000 Fix typo in docstring.
12002 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12003 (eieio-browse-tree): Doc fix.
12004 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12005 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12006 Fix typos in docstrings.
12008 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12009 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12010 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12011 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12014 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12016 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12017 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12018 Set log-view-vc-backend so that diff can work.
12020 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12022 (vc-diff-internal): Autoload this instead of vc-version-diff.
12024 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12026 * simple.el (eval-expression): Doc fix.
12028 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12030 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12032 * files.el (directory-files-no-dot-files-regexp): New defconst.
12033 (delete-directory): Use it.
12034 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12036 * net/tramp.el (tramp-verbose): Fix docstring.
12037 (tramp-methods): Add recursive option to `tramp-copy-args'.
12038 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12039 "scp1_old", "scp2_old", "rsync", "rsyncc".
12040 (tramp-default-method): Check also for `auth-source-user-or-password'.
12041 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12042 Add handler for `copy-directory'.
12043 (tramp-handle-copy-directory): New defun.
12044 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12045 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12046 Optimize sent command.
12048 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12051 window if necessary.
12053 * calendar/calendar.el (calendar-basic-setup): Don't call
12054 switch-to-buffer in a dedicated window.
12056 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12058 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12059 don't do anything related to relocating, just return nil.
12060 (bookmark-error-no-filename): New error.
12061 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12062 bookmark has no file. Don't even attempt to handle things that
12063 are not files; the whole point of custom handlers is to keep that
12064 knowledge elsewhere anyway. Tighten some comments.
12065 (bookmark-file-or-variation-thereof): Remove now-unused function.
12066 (bookmark-location): Doc string fix.
12069 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12071 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12072 don't use a file dialog, because they usually don't know how to read
12073 a directory target from the user. (Bug#4230)
12074 Also, make sure the prompt can display directories as well as files.
12076 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12078 * bookmark.el (bookmark-set, bookmark-buffer-name):
12079 Improve doc strings. (Bug#1193)
12081 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12083 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12084 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12085 (bookmark-get-annotation, bookmark-set-annotation)
12086 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12087 (bookmark-set-position, bookmark-get-front-context-string)
12088 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12089 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12090 (bookmark-jump-other-window, bookmark-handle-bookmark)
12091 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12092 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12093 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12094 Improve doc strings to say whether bookmark can be a string or
12095 a record or both, and make other consistency and clarity fixes.
12096 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12097 (bookmark-default-annotation-text, bookmark-yank-word)
12098 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12099 (bookmark-import-new-list, bookmark-maybe-rename)
12100 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12101 (bookmark-bmenu-bookmark): Give these doc strings.
12102 (bookmark-bmenu-check-position): Give this a doc string, but also
12103 add a FIXME comment about how the function may be pointless.
12104 (bookmark-default-handler): Rework doc string and change a
12105 parameter name, to clarify that this takes a bookmark record
12106 not a bookmark name.
12107 (bookmark-set): Change a parameter name to indicate its meaning,
12108 and improve the doc string a bit.
12111 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12113 * bookmark.el (bookmark-alist): Document the new `handler' element
12114 in the param alist.
12115 (bookmark-make-record-function): Adjust documentation for above.
12118 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12120 * info.el (Info-bookmark-make-record): Document this function.
12121 (Info-bookmark-jump): Document with a doc string, not just a comment.
12124 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
12126 * files.el (copy-directory): New defun.
12128 * dired-aux.el (dired-copy-file-recursive): Use it.
12130 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12132 * files-x.el (modify-dir-local-variable)
12133 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12136 * recentf.el (recentf-unload-function): New function.
12138 2009-10-04 Glenn Morris <rgm@gnu.org>
12140 * window.el (window-full-height-p): Add doc string.
12142 2009-10-04 Martin Rudalics <rudalics@gmx.at>
12144 * window.el (window-full-height-p): New function. (Bug#4543)
12146 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
12148 * vc.el: Remove commented out code.
12149 (vc-derived-from-dir-mode): Remove, unused.
12150 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12152 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
12154 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12155 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
12156 there could be recursive loading when `default-directory' is a
12157 remote file name. (Bug#4614)
12159 2009-10-03 Glenn Morris <rgm@gnu.org>
12161 * calendar/calendar.el (calendar-basic-setup): Handle the case where
12163 (calendar-generate-window): Test for shrinkability rather than width.
12165 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12166 reusing existing buffers, in case we happen to visit two files with the
12167 same basename. (Bug#4593)
12169 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12171 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12172 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12173 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12174 subdirs of cedet as well.
12175 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12177 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12179 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12180 Obey advertised-signature-table.
12182 * help-fns.el (help-function-arglist): Don't check
12183 advertised-signature-table.
12184 (describe-function-1): Do it here instead so it also applies to subrs.
12186 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12188 * simple.el (start-file-process): Say in the doc-string, that file
12189 handlers might not support pty association, if PROGRAM is nil.
12191 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12192 HOST and USER are strings. They are nil, when there are
12193 incomplete entries in ~/.netrc, for example.
12194 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12195 root directory ("device busy" error otherwise).
12197 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12198 Flush file properties of created directory.
12200 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12202 * makefile.w32-in (WINS_BASIC): Remove cedet.
12203 (WINS_CEDET): Add cedet.
12204 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12206 2009-10-02 Kevin Ryde <user42@zip.com.au>
12208 * net/browse-url.el (browse-url): Pass any symbol in
12209 browse-url-browser-function to `apply', since if you've mistakenly put
12210 an unbound symbol then the error is clearer. (Bug#4531)
12212 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12214 * allout.el (allout-init, allout-back-to-current-heading)
12215 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12216 (allout-ascend, allout-up-current-level, allout-end-of-level)
12217 (allout-previous-visible-heading, allout-forward-current-level)
12218 (allout-backward-current-level, allout-show-children):
12219 * apropos.el (apropos-describe-plist):
12220 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12221 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12222 * completion.el (add-completion, add-permanent-completion):
12223 * descr-text.el (describe-text-category, describe-char):
12224 * desktop.el (desktop-lazy-abort):
12225 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12226 * dired.el (dired-build-subdir-alist):
12227 * ediff.el (ediff-version):
12228 * elide-head.el (elide-head, elide-head-show):
12229 * emerge.el (emerge-version):
12231 * face-remap.el (variable-pitch-mode):
12232 * faces.el (describe-face):
12233 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12235 * files.el (find-file-existing, auto-save-mode):
12236 * font-lock.el (font-lock-fontify-buffer):
12237 * help-fns.el (describe-function, describe-variable)
12238 (describe-syntax, describe-categories):
12239 * help.el (view-lossage, describe-bindings, describe-key)
12241 * hexl.el (hexl-current-address):
12242 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12243 * info.el (Info-goto-emacs-key-command-node):
12244 * log-edit.el (log-edit-insert-cvs-template)
12245 (log-edit-insert-cvs-rcstemplate):
12246 * menu-bar.el (menu-bar-mode):
12247 * mouse.el (mouse-appearance-menu):
12248 * newcomment.el (comment-indent-new-line):
12249 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12250 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12251 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12252 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12253 * recentf.el (recentf-mode):
12254 * savehist.el (savehist-mode, savehist-save):
12255 * shadowfile.el (shadow-copy-files):
12256 * simple.el (kill-ring-save, next-line, previous-line)
12257 (normal-erase-is-backspace-mode):
12258 * strokes.el (strokes-update-window-configuration)
12259 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12260 (strokes-xpm-for-stroke):
12261 * time.el (emacs-uptime, emacs-init-time):
12262 * tutorial.el (tutorial--describe-nonstandard-key)
12263 (tutorial--detailed-help):
12264 * type-break.el (type-break-mode)
12265 (type-break-mode-line-message-mode, type-break-query-mode)
12266 (type-break-guesstimate-keystroke-threshold):
12267 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12268 * version.el (emacs-version):
12269 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12270 * winner.el (winner-mode):
12271 * calendar/timeclock.el (timeclock-in, timeclock-out)
12272 (timeclock-status-string, timeclock-change)
12273 (timeclock-workday-remaining-string)
12274 (timeclock-workday-elapsed-string)
12275 (timeclock-when-to-leave-string):
12276 * calendar/todo-mode.el (todo-add-category):
12277 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12278 * emacs-lisp/autoload.el (update-file-autoloads):
12279 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12280 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12281 (checkdoc-message-text, checkdoc-defun):
12282 * emacs-lisp/debug.el (debugger-list-functions):
12283 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12284 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12285 (eieio-describe-generic):
12286 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12287 * emacs-lisp/shadow.el (list-load-path-shadows):
12288 * emulation/cua-base.el (cua-mode):
12289 * emulation/edt.el (edt-set-scroll-margins):
12290 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12291 (tpu-toggle-regexp, tpu-toggle-search-direction)
12292 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12293 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12294 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12295 (viper-set-parsing-style-toggling-macro)
12296 (viper-set-emacs-state-searchstyle-macros):
12297 * emulation/viper.el (viper-set-hooks):
12298 * eshell/esh-mode.el (eshell-truncate-buffer):
12299 * international/mule-cmds.el (prefer-coding-system)
12300 (describe-input-method, describe-language-environment):
12301 * international/mule-diag.el (list-character-sets)
12302 (describe-character-set, describe-coding-system)
12303 (describe-fontset, list-fontsets, list-input-methods):
12304 * mail/sendmail.el (mail-signature):
12305 * net/ange-ftp.el (ange-ftp-copy-file):
12306 * net/browse-url.el (browse-url):
12307 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12308 * net/quickurl.el (quickurl-add-url):
12309 * net/rcirc.el (names, topic):
12310 * net/xesam.el (xesam-mode):
12311 * play/5x5.el (5x5-new-game):
12312 * play/yow.el (apropos-zippy):
12313 * progmodes/ada-mode.el (ada-mode-version):
12314 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12316 (f90-beginning-of-block):
12317 * progmodes/fortran.el (fortran-end-of-block)
12318 (fortran-beginning-of-block):
12319 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12320 * progmodes/python.el (python-describe-symbol, python-shell):
12321 * term/ns-win.el (ns-print-buffer):
12322 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12323 * textmodes/flyspell.el (flyspell-mode-on):
12324 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12325 (pages-directory-for-addresses):
12326 * textmodes/table.el (table-recognize-cell)
12327 (table-query-dimension, table-generate-source)
12328 (table-insert-sequence, table--warn-incompatibility):
12329 * textmodes/tex-mode.el (tex-validate-buffer):
12330 * textmodes/texinfmt.el (texinfmt-version)
12331 (texinfo-format-buffer):
12332 Use `called-interactively-p' instead of `interactive-p'.
12334 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12336 * image-mode.el (image-toggle-display):
12337 * emacs-lisp/elp.el (elp-instrument-function):
12338 * emacs-lisp/advice.el (ad-make-advised-definition):
12339 * emacs-lisp/easy-mmode.el (define-minor-mode):
12340 * net/browse-url.el (browse-url-maybe-new-window):
12341 * progmodes/sh-script.el (sh-learn-buffer-indent):
12342 Pass new argument 'any to `called-interactively-p'.
12344 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12346 * international/uni-bidi.el:
12347 * international/uni-category.el:
12348 * international/uni-combining.el:
12349 * international/uni-comment.el:
12350 * international/uni-decimal.el:
12351 * international/uni-decomposition.el:
12352 * international/uni-digit.el:
12353 * international/uni-lowercase.el:
12354 * international/uni-mirrored.el:
12355 * international/uni-name.el:
12356 * international/uni-numeric.el:
12357 * international/uni-old-name.el:
12358 * international/uni-titlecase.el:
12359 * international/uni-uppercase.el:
12360 Regenerate from Unicode 5.2.0 data.
12362 2009-10-01 Glenn Morris <rgm@gnu.org>
12364 * Makefile.in (ELCFILES): Regenerate.
12366 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * subr.el (interactive-p): Mark obsolete.
12369 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12370 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12371 advertised-signature-table for subroutines as well.
12373 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12374 (set-advertised-calling-convention): New function.
12375 (make-obsolete, define-obsolete-function-alias)
12376 (make-obsolete-variable, define-obsolete-variable-alias):
12377 Make the optional-ness of `when' obsolete.
12378 (define-obsolete-face-alias): Make `when' non-optional.
12379 * help-fns.el (help-function-arglist):
12380 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12381 Use advertised-signature-table.
12383 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12385 * files.el (delete-directory): New defun. The original function
12386 in fileio.c has been renamed to `delete-directory-internal'.
12388 * dired.el (dired-delete-file): Call `delete-directory' with
12389 RECURSIVE parameter.
12391 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12392 parameter RECURSIVE. Implementation is missing.
12394 * net/tramp.el (tramp-handle-make-directory): Flush upper
12395 directory's file properties.
12396 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12397 (tramp-handle-dired-recursive-delete-directory): Flush directory
12398 properties after the remove command only.
12400 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12401 Handle optional parameter RECURSIVE.
12403 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12404 Handle optional parameter RECURSIVE.
12406 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12407 connection timeout.
12408 (tramp-smb-handle-delete-directory): Handle optional parameter
12411 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12413 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12414 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12415 (byte-compile-defmacro): Use backquotes.
12417 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12419 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12420 has no associated file.
12421 (vc-resynch-buffer): Use vc-dir-buffers.
12423 2009-10-01 Glenn Morris <rgm@gnu.org>
12425 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12426 (chart-file-count):
12427 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12428 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12429 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12430 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12431 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12432 (eieio-copy-parents-into-subclass, make-instance, class-children)
12433 (eieio-generic-form):
12435 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12436 match-data. (Bug#4555).
12438 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12439 rather than parsing it as a regexp. This relaxes the layout
12440 requirements and makes errors easier to detect.
12441 (check-declare-verify): Check file is regular.
12442 (check-declare-directory): Doc fix.
12443 * subr.el (declare-function): Doc fix.
12445 * ibuffer.el (ibuffer-format-qualifier):
12446 * isearch.el (hi-lock-regexp-okay):
12447 * calc/calc.el (math-zerop):
12448 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12449 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12450 Remove unused declarations.
12452 2009-09-30 Glenn Morris <rgm@gnu.org>
12454 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12456 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12457 filename is not a string.
12459 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12461 * files.el (safe-local-eval-forms): Fix typo.
12463 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12465 * vc-hooks.el (vc-dir-buffers): New var.
12466 (vc-state-refresh): New function.
12467 (vc-state): Use it.
12468 (vc-after-save): Always ask the backend to recompute the new state.
12469 Always call vc-dir if necessary, using vc-dir-buffers.
12470 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12471 Use vc-dir-buffers.
12472 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12473 (vc-dir-prepare-status-buffer, vc-dir-update)
12474 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12475 Don't call expand-file-name on default-directory.
12477 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12479 * speedbar.el (speedbar-item-delete):
12480 * calc/calc-prog.el (calc-kbd-if):
12481 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12483 * epa.el (epa-key-list-mode-map):
12484 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12486 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12487 (hs-show-hook): Fix typo in docstring.
12489 2009-09-29 Glenn Morris <rgm@gnu.org>
12491 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12492 file-name-nondirectory call preventing location of cedet files.
12493 (check-declare-verify): Use literal search rather than re-search.
12494 Add basic defmethod and defclass, and define-overloadable-function.
12496 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12497 Use tramp-compat-file-attributes rather than nonexistent
12498 tramp-compat-handle-file-attributes.
12500 * Makefile.in (lisptagsfiles4): New.
12501 (AUTOGENEL): Add cedet loaddefs files.
12502 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12503 (update-elclist, compile-always, backup-compiled-files)
12504 (bootstrap-clean): Add yet another directory level.
12505 (update-elclist): Use LC_COLLATE rather than COLLATE.
12506 (ELCFILES): Update, via `make update-elclist'.
12508 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12510 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12511 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12512 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12514 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12516 * Makefile.in (lisptagsfiles3): Define.
12517 (TAGS, TAGS-LISP): Use it.
12518 (update-elclist): Add third directory level to look for elc files.
12519 (compile-always): Likewise.
12520 (backup-compiled-files): Likewise.
12521 (bootstrap-clean): Likewise.
12522 (ELCFILES): Update.
12524 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12526 * Makefile.in (ELCFILES): Add CEDET files.
12528 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12530 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12532 * net/tramp.el (top): Require tramp-imap.
12534 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12535 Use `tramp-compat-handle-file-attributes'.
12537 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12539 * net/tramp-imap.el: New package.
12541 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12543 * whitespace.el (whitespace-trailing-regexp)
12544 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12547 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12549 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12552 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12553 menu-bar-ediff-menu.
12555 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12556 define-overloadable-function.
12558 * progmodes/autoconf.el: Provide autoconf as well, so that this
12559 file can be `require'd.
12561 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12563 * emacs-lisp/autoload.el (generated-autoload-feature)
12564 (generated-autoload-load-name): New vars.
12565 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12566 (make-autoload): Recognize define-overloadable-function and
12567 defclass forms (for EIEIO).
12569 * Makefile.in (update-subdirs): Exclude cedet directory.
12571 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12573 * term/ns-win.el: Don't set the region face background. (Bug#4381)
12575 * faces.el: Default light-background background for region face to
12576 ns_selection_color under NS.
12578 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
12580 * net/imap-hash.el: New library, see NEWS.
12582 * Makefile.in (ELCFILES): Add imap-hash.el.
12584 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
12586 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12587 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12588 * help-macro.el (make-help-screen): Avoid using an ambiguous function
12589 definition where the docstring could be taken for the return value.
12591 2009-09-26 Glenn Morris <rgm@gnu.org>
12593 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12594 Add option to only show images below a certain size.
12595 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12596 save-excursion calls.
12598 2009-09-26 Eli Zaretskii <eliz@gnu.org>
12600 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12601 subdirectories) and eieio.
12603 2009-09-26 Alan Mackenzie <acm@muc.de>
12605 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12606 buggy bracketing. (Bug#4289)
12608 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12609 character constants (as case labels). (Bug#4289)
12611 2009-09-25 Juri Linkov <juri@jurta.org>
12613 * files.el (safe-local-eval-forms): Allow time-stamp in
12614 before-save-hook (Bug#4554).
12616 2009-09-25 Drew Adams <drew.adams@oracle.com>
12618 * menu-bar.el (list-buffers-directory): Doc fix.
12620 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
12622 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12623 Try and avoid copying twice the same paragraph.
12624 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12625 Remove save-excursion.
12626 (log-edit-changelog-entry): Do it here instead.
12628 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
12630 * bs.el (bs--get-file-name): Use `list-buffers-directory'
12631 when available, instead of hardcoding mode names. Doc fix.
12633 * menu-bar.el (list-buffers-directory): Add docstring.
12634 Make automatically buffer-local.
12636 * dired.el (dired-mode):
12637 * files.el (cd-absolute):
12638 * pcvs.el (cvs-temp-buffer):
12639 * pcvs-util.el (cvs-get-buffer-create):
12640 * shell.el (shell-mode):
12641 * vc-dir.el (vc-dir-mode):
12642 Don't make `list-buffers-directory' buffer local.
12644 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
12646 * comint.el (comint-exec, comint-run, make-comint):
12647 Doc fixes (Bug#4542).
12649 2009-09-25 Glenn Morris <rgm@gnu.org>
12651 * mail/rmailmm.el (rmail-mime): New custom group.
12652 Move all defcustoms in this file into this group.
12653 (rmail-mime-media-type-handlers-alist): Revert previous change.
12654 (rmail-mime-show-images): New option.
12655 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12656 references to it, since it wasn't actually used for anything.
12657 (rmail-mime-insert-image): New function.
12658 (rmail-mime-image): Use rmail-mime-insert-image.
12659 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12660 obey the value of `rmail-mime-show-images' option. Print the size of
12663 2009-09-25 David Engster <deng@randomsample.de>
12665 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
12667 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12669 * whitespace.el: Does not highlight trailing spaces While point is
12670 at end of line. Does not highligt spaces at beginning of buffer
12671 while point is at beginning of buffer. Does not highlight spaces
12672 at end of buffer while point is at end of buffer. (Bug#4177)
12674 (whitespace-display-mappings): Adjust initialization.
12675 (whitespace-point, whitespace-font-lock-refontify): New vars.
12676 (whitespace-color-on, whitespace-color-off): Adjust code.
12677 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12678 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12679 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12681 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
12683 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12685 * textmodes/sgml-mode.el: Remove xml-mode alias.
12687 * files.el (auto-mode-alist, conf-mode-maybe)
12688 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12690 2009-09-24 Alan Mackenzie <acm@muc.de>
12692 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12693 c-forward-conditionals, but it doesn't move point and doesn't set
12695 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12696 (c-down-conditional-with-else, c-backward-conditional)
12697 (c-forward-conditional): Refactor to use c-scan-conditionals.
12699 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12701 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12702 (help-default-arg-highlight): Remove.
12703 (help-highlight-arg): New function.
12704 (help-do-arg-highlight): Use it.
12705 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
12707 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12709 * term.el (term-set-scroll-region, term-handle-ansi-escape):
12710 Undo last change, which didn't fix the problem and introduced others.
12712 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
12714 * progmodes/gdb-mi.el: Don't require speedbar.
12715 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12717 2009-09-24 Glenn Morris <rgm@gnu.org>
12719 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12721 * term/ns-win.el (ns-reg-to-script): Define for compiler.
12723 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12724 there is no newline after the final mime boundary. (Bug#4539)
12725 Move markers on insertion so that any buttons inserted don't end up in
12726 the next part of a multipart message.
12727 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
12728 (rmail-mime-bulk-handler): Optionally handle images.
12729 (rmail-mime-image): New button action.
12730 (rmail-mime-image-handler): New function.
12731 (rmail-mime-mode): New mode.
12732 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
12734 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12737 than just dropping elements from it (bug#4504).
12739 * term.el (term-set-scroll-region): Don't move cursor any more.
12740 (term-handle-ansi-escape): Call term-goto here instead.
12741 Suggested by Ivan Kanis <apple@kanis.eu>.
12743 * term.el: Require CL.
12744 (term-ansi-reset): New function.
12745 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12746 (term-handle-colors-array): Simplify.
12748 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12750 * allout.el (allout-overlay-interior-modification-handler)
12751 (allout-obtain-passphrase):
12752 * epa-file.el (epa-file-write-region):
12753 * ps-print.el (ps-begin-job):
12754 * vc-hooks.el (vc-toggle-read-only):
12755 * vc-rcs.el (vc-rcs-rollback):
12756 * vc-sccs.el (vc-sccs-rollback):
12757 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12758 (vc-version-diff, vc-revert, vc-rollback):
12759 * wdired.el (wdired-check-kill-buffer):
12760 * emacs-lisp/authors.el (authors):
12761 * net/socks.el (socks-open-connection):
12762 * net/zeroconf.el (zeroconf-service-add-hook):
12763 * obsolete/vc-mcvs.el (vc-mcvs-register):
12764 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12765 (gdb-select-frame):
12766 * progmodes/grep.el (lgrep, rgrep):
12767 * progmodes/idlw-help.el (idlwave-help-check-locations)
12768 (idlwave-help-html-link, idlwave-help-assistant-open-link):
12769 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12770 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12771 (reftex-toc-rename-label): Fix typos in error messages.
12773 * dired-aux.el (dired-do-shell-command): Reflow docstring.
12774 (dired-copy-how-to-fn): Doc fix.
12775 (dired-files-attributes, dired-read-shell-command):
12776 Fix typos in docstrings.
12778 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12779 (dired-x-find-file-other-window): Reflow docstrings.
12780 (dired-omit-marker-char, dired-read-shell-command)
12781 (dired-x-submit-report): Fix typos in docstrings.
12783 * shell.el (shell-mode-hook):
12784 * view.el (View-scroll-line-forward):
12785 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12786 Fix typos in docstrings.
12788 * net/dig.el (dig-invoke): Fix typo in docstring.
12789 (query-dig): Reflow docstring.
12791 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12792 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12793 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12794 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12795 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12796 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12797 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12798 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12799 (idlwave-completion-map, idlwave-current-indent)
12800 (idlwave-custom-ampersand-surround, idlwave-customize)
12801 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12802 (idlwave-define-abbrev, idlwave-determine-class-special)
12803 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12804 (idlwave-end-block-reg, idlwave-end-of-statement)
12805 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12806 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12807 (idlwave-explicit-class-listed, idlwave-file-header)
12808 (idlwave-fill-paragraph, idlwave-find-class-definition)
12809 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12810 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12811 (idlwave-in-quote, idlwave-indent-action-table)
12812 (idlwave-indent-expand-table, idlwave-indent-line)
12813 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12814 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12815 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12816 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12817 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12818 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12819 (idlwave-outlawed-buffers, idlwave-popup-select)
12820 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12821 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12822 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12823 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12824 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12825 (idlwave-statement-type, idlwave-struct-skip)
12826 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12827 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12828 (idlwave-what-module-find-class): Fix typos in docstrings.
12829 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12830 (idlwave-calculate-cont-indent, idlwave-expand-equal)
12831 (idlwave-find-module, idlwave-find-structure-definition)
12832 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12833 (idlwave-list-load-path-shadows, idlwave-next-statement)
12834 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12835 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12836 (idlwave-template): Reflow docstrings.
12838 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12839 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12840 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12841 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12842 (idlwave-shell-display-line, idlwave-shell-display-wframe)
12843 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12844 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12845 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12846 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12847 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12848 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12849 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12850 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12851 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12852 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12853 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12854 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12855 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12856 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12857 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12858 Fix typos in docstrings.
12859 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12860 (idlwave-shell-hide-output, idlwave-shell-mode)
12861 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12864 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12866 2009-09-24 Ivan Kanis <apple@kanis.eu>
12868 * term.el (term-bold-attribute): New var.
12869 (term-handle-colors-array): Use it.
12871 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
12873 * progmodes/gdb-mi.el (gdb-version): New variable.
12874 (gdb-non-stop-handler): Set gdb-version.
12875 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12876 Condition "--thread" option on gdb-version.
12877 (gdb-invalidate-threads): Remove unused argument.
12879 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12881 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12882 to looking-back to avoid ridiculous slow down in large files (bug#4511).
12884 2009-09-23 Glenn Morris <rgm@gnu.org>
12886 * mail/rmail.el (rmail-reply): Don't try to add a References header when
12887 replying to mail without References or Message-Id. (Bug#4525)
12889 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
12891 * term/ns-win.el (ns-reg-to-script): New variable.
12893 2009-09-23 Daiki Ueno <ueno@unixuser.org>
12895 * epg.el (epg-wait-for-status): Preserve existing 'error results.
12897 2009-09-22 Sam Steingold <sds@gnu.org>
12899 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12900 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12901 to 1 because hg returns status 1 when nothing is found.
12902 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12904 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * textmodes/fill.el: Convert to utf-8 encoding.
12907 (fill-french-nobreak-p): Remove redundant » and « inherited from our
12910 * add-log.el (change-log-fill-forward-paragraph): New function.
12911 (change-log-mode): Use it so fill-region DTRT.
12912 Set fill-indent-according-to-mode here rather than in
12913 change-log-fill-paragraph.
12914 (change-log-fill-paragraph): Remove.
12916 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
12918 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12919 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
12921 2009-09-22 Glenn Morris <rgm@gnu.org>
12923 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12924 the scroll-bar scroll the calendar window rather than the buffer.
12926 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12927 commands that move point (as opposed to scrolling).
12929 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12931 * emacs-lisp/elint.el (elint): New custom group.
12932 (elint-log-buffer): Make it a defcustom.
12933 (elint-scan-preloaded, elint-ignored-warnings)
12934 (elint-directory-skip-re): New options.
12935 (elint-builtin-variables): Doc fix.
12936 (elint-preloaded-env): New variable.
12937 (elint-unknown-builtin-args): Add an entry for encode-time.
12938 (elint-extra-errors): Make it a variable rather than a constant.
12939 (elint-preloaded-skip-re): New constant.
12940 (elint-directory): Skip files matching elint-directory-skip-re.
12941 (elint-features): New variable, local to linted buffers.
12942 (elint-update-env): Initialize elint-features. Possibly add
12943 elint-preloaded-env to the buffer's environment.
12944 (elint-get-top-forms): Bind elint-current-pos, for log messages.
12946 (elint-init-form): New function, extracted from elint-init-env.
12947 Make non-list forms a warning rather than an error.
12948 Add the mode-map for define-derived-mode. Handle define-minor-mode,
12949 easy-menu-define, put that adds an error-condition, and provide.
12950 When requiring cl, also require cl-macs. Really require cl, to handle
12951 some cl macros. Store required libraries in the list elint-features,
12952 so as not to re-load them. Treat cc-require like require.
12953 (elint-init-env): Call elint-init-form to do the work.
12954 Handle eval-and-compile and such like.
12955 (elint-add-required-env): Do not clear messages.
12956 (elint-special-forms): Add handlers for function, defalias, if, when,
12958 (elint-form): Add optional argument to ignore elint-special-forms,
12959 useful to prevent recursive calls from handlers. Doc fix.
12960 Respect elint-ignored-warnings.
12961 (elint-form): Respect elint-ignored-warnings.
12962 (elint-bound-variable, elint-bound-function): New variables.
12963 (elint-unbound-variable): Respect elint-bound-variable.
12964 (elint-get-args): Respect elint-bound-function.
12965 (elint-check-cond-form): Add some simple handling for (f)boundp and
12967 (elint-check-defalias-form): New handler.
12968 (elint-check-let-form): Make an empty let a warning rather than an
12970 (elint-check-setq-form): Make an empty setq a warning rather than an
12971 error. Respect elint-ignored-warnings.
12972 (elint-check-defvar-form): Accept null doc-strings.
12973 (elint-check-conditional-form): New handler. Does some simple-minded
12974 checking of featurep and (f)boundp tests.
12975 (elint-put-function-args): New function.
12976 (elint-initialize): Use elint-scan-doc-file rather than
12977 elint-find-builtin-variables. Use elint-put-function-args.
12978 Possibly scan preloaded-file-list.
12979 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12980 extend to handle functions as well.
12982 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
12984 * linum.el (linum-delete-overlays, linum-update-window):
12985 Do not modify the right margin. (Bug#3971)
12987 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
12989 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12990 nxml-mode instead of xml-mode.
12992 2009-09-21 Kevin Ryde <user42@zip.com.au>
12994 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
12996 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * net/dig.el (dig-mode): Use define-derived-mode.
13000 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13002 * vc-dispatcher.el (vc-do-command): Return the process object in
13003 the asynchronous case. Use when instead of if. Do not run
13004 vc-exec-after to display a message if not enabled. (Bug#4463)
13006 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13007 properties to the stash strings.
13008 (vc-git-stash-list): Return a list of strings.
13009 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13010 (vc-git-stash-show-at-point): New functions.
13011 (vc-git-stash-map): New keymap.
13013 * register.el (ctl-x-r-map): Define the keys here instead of
13016 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13018 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13019 list, to workaround performance problem (bug#4485).
13021 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13023 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13025 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13027 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13028 Document that this option is not recommended to use.
13030 2009-09-19 Glenn Morris <rgm@gnu.org>
13032 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13035 * calc/calc-alg.el (var):
13036 * calc/calcalg2.el (var): Define for compiler.
13038 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13040 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13041 Doc fix (Bug#3932).
13043 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13045 * time-stamp.el (time-stamp-month-dd-yyyy)
13046 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13047 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13048 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13049 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13050 Remove functions that have been obsolete since 1995 (Bug#4436).
13052 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13053 indent buffer only if called interactively (Bug#4452).
13055 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13056 Eli Zaretskii <eliz@gnu.org>
13058 This fixes bug#4197 (merged to bug#865, though not identical).
13059 * server.el (server-auth-dir): Add docstring note about FAT32.
13060 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13061 but warn against using them.
13063 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13065 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13066 older GDB where there is no has_more field.
13068 2009-09-19 Glenn Morris <rgm@gnu.org>
13070 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13072 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13074 * files.el (auto-mode-alist): Change default for XML files to nXML
13077 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13079 * server.el (server-ensure-safe-dir): Pass 'integer
13080 to `file-attributes', as suggested.
13082 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13085 (dired-query): Use read-key.
13087 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13089 * cus-start.el (ns-use-qd-smoothing): Remove.
13091 2009-09-18 Glenn Morris <rgm@gnu.org>
13093 * allout.el (top-level): Remove unnecessary progn.
13095 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13097 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13098 definition of abbrev table.
13100 * speedbar.el (speedbar-track-mouse):
13101 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13102 * net/eudc.el (eudc-expand-inline):
13103 * net/newst-backend.el (newsticker--cache-read-feed):
13104 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13105 condition-case handlers.
13107 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13109 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13110 (gdb-var-list): Add an element for has_more field.
13111 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13112 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13113 (gdb-var-update-handler-1): Parse output of dynamic variable
13114 objects (STL containers).
13115 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13116 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13118 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13120 (gud-speedbar-buttons): Make node expandable if expression "has more"
13123 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13125 * startup.el (emacs-quick-startup): Remove variable and all uses.
13126 (command-line): Set `inhibit-x-resources' instead.
13127 (command-line-1): Use `inhibit-x-resources' instead.
13129 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13131 * subr.el: Fix last change to avoid using the `unless' macro,
13132 which breaks bootstrapping.
13134 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13136 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13137 extended definitions, in case we reload subr.el after having
13139 (eval-next-after-load): Mark as obsolete.
13141 2009-09-17 Juri Linkov <juri@jurta.org>
13143 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13144 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13145 (menu-bar-showhide-menu, menu-bar-tools-menu)
13146 (menu-bar-describe-menu, menu-bar-help-menu)
13147 (minibuffer-local-completion-map, minibuffer-local-map):
13150 2009-09-17 Glenn Morris <rgm@gnu.org>
13152 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13153 arguments, whether or not it has a handler.
13155 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13157 * simple.el (hard-newline): Give it a doc-string.
13159 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13160 (lisp-mode-syntax-table): Give them doc-strings.
13162 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13164 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13165 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13166 (menu-bar-options-menu, menu-bar-showhide-menu)
13167 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13168 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13169 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13170 (menu-bar-options-menu, menu-bar-tools-menu)
13171 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13172 (menu-bar-help-menu):
13173 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13176 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13177 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13178 calls for the menu names and :help.
13180 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13182 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13183 to :minor-mode-function (bug#4455).
13185 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * startup.el (command-line): Initialize the window-system after
13188 processing the command-line.
13190 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13191 page-delimiter matches the empty string.
13193 2009-09-16 Glenn Morris <rgm@gnu.org>
13195 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13196 byte-compile-not-obsolete-var. It's a list now.
13197 (byte-compile-not-obsolete-funcs): New variable.
13198 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13199 byte-compile-not-obsolete-funcs.
13200 (byte-compile-variable-ref, byte-compile-defvar): Update for
13201 byte-compile-not-obsolete-vars name-change and list nature.
13202 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13203 and variables behind (f)boundp tests.
13204 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13206 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13208 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13210 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13212 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13213 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13216 2009-09-15 Stephen Eglen <stephen@gnu.org>
13218 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13219 the virtual-buffers, use the name of the buffer specified by
13220 find-file-noselect, as the match may be a symlink. (This was a
13221 problem if the target and the symlink had different names.)
13223 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13225 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13227 * desktop.el (desktop-path): Check user-emacs-directory.
13229 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13231 * loadup.el: Use after-load-functions to GC after loading each file.
13232 Remove the explicit GC calls that used to be sprinkled around.
13234 * subr.el (after-load-functions): New hook.
13235 (do-after-load-evaluation): Run it. Use string-match-p to detect
13236 `obsolete' packages, rather than painfully extracting the relevant
13239 2009-09-15 Glenn Morris <rgm@gnu.org>
13241 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13242 free variable `doc'.
13244 * dired.el (dired-mode-map): Add menu entry for async shell command.
13246 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13247 variables, also consider the .elc files, since the .el files are
13248 normally gzipped (subsequent code locates the .el.gz from the .elc).
13250 * calc/calc-prog.el (arglist): Define for compiler.
13252 * calendar/diary-lib.el (diary-display-function): Change the default to
13254 (body): Define for compiler.
13256 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13257 (byte-compile-file-form, byte-compile-lambda)
13258 (byte-compile-top-level-body, byte-compile-form)
13259 (byte-compile-variable-ref, byte-compile-setq)
13260 (byte-compile-setq-default, byte-compile-body)
13261 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13262 (batch-byte-compile): Give some more local variables with common names
13263 a "bytecomp-" prefix to avoid masking warnings about free variables.
13265 * startup.el (command-line-1): Give local variables with common names a
13266 distinguishing prefix, so as not to hide free variable warnings during
13269 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13270 clever and add a suffix to make a unique name, just let the user decide
13271 whether or not to overwrite it. If the input is a directory, write the
13272 default filename to that directory. (Bug#4388)
13273 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13274 is a filename-as-a-directory.
13276 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * textmodes/page.el (what-page): Don't move to beginning of line.
13279 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13281 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13283 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13285 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13287 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13288 * help.el (help-for-help-internal): Add purecopy calls for text.
13290 * vc.el (top): print-log method now takes an optional SHORTLOG
13291 argument. Add a new method: root.
13292 (vc-root-diff, vc-print-root-log): New functions.
13293 (vc-log-short-style): New variable.
13294 (vc-print-log-internal): Add support for showing short logs.
13296 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13297 vc-print-root-log and vc-print-root-diff.
13299 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13300 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13301 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13304 * vc-cvs.el (vc-cvs-print-log):
13305 * vc-mtn.el (vc-mtn-print-log):
13306 * vc-rcs.el (vc-rcs-print-log):
13307 * vc-sccs.el (vc-sccs-print-log):
13308 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13309 that is ignored for now.
13311 * vc-mtn.el (vc-mtn-annotate-command):
13312 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13314 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13316 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13317 to function-key-map, and give them ascii-character property.
13318 * term/x-win.el (x-alternatives-map):
13319 * term/ns-win.el (ns-alternatives-map):
13320 * term/internal.el (msdos-key-remapping-map):
13321 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13323 2009-09-14 Glenn Morris <rgm@gnu.org>
13325 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13326 temp-buffers (2009-09-12).
13328 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13330 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13331 the new read-key function.
13333 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13335 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13336 is defined (Bug#4405).
13338 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13340 * recentf.el (recentf-cleanup): Use a hash table to find
13341 duplicates (Bug#4407).
13343 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13345 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13346 kp-0 to ascii equivalents (Bug#4325).
13348 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13350 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13352 * eshell/em-hist.el:
13353 * eshell/em-dirs.el (eshell-complete-user-reference):
13354 Declare pcomplete functions and variables to avoid compiler warnings.
13356 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13358 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13359 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13360 * eshell/em-alias.el (eshell-aliases-file):
13361 * eshell/em-hist.el (eshell-history-file-name):
13362 Use expand-file-name instead of concat to make file names (Bug#4308).
13364 2009-09-13 Glenn Morris <rgm@gnu.org>
13366 * ediff-merg.el (ediff-do-merge):
13367 * filesets.el (filesets-run-cmd):
13368 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13369 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13370 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13371 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13372 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13373 Replace empty `let's with `progn'.
13375 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13377 * mail/sendmail.el (send-mail-function):
13378 * tooltip.el (tooltip-mode):
13379 * simple.el (transient-mark-mode):
13380 * rfn-eshadow.el (file-name-shadow-mode):
13381 * frame.el (blink-cursor-mode):
13382 * font-core.el (global-font-lock-mode):
13383 * files.el (temporary-file-directory)
13384 (small-temporary-file-directory, auto-save-file-name-transforms):
13385 * epa-hook.el (auto-encryption-mode):
13386 * composite.el (global-auto-composition-mode):
13387 Use custom-initialize-delay.
13388 * startup.el (command-line): Don't explicitly call
13389 custom-reevaluate-setting for all the above vars.
13390 * custom.el (custom-initialize-safe-set)
13391 (custom-initialize-safe-default): Delete.
13393 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * term/x-win.el (x-initialize-window-system):
13396 * term/w32-win.el (w32-initialize-window-system):
13397 * term/ns-win.el (ns-initialize-window-system): Don't call
13398 mouse-wheel-mode since it's enabled globally by default already.
13400 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13401 actually define the variable, but only silences the byte-compiler.
13402 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13403 before looking it up.
13404 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13407 2009-09-12 Glenn Morris <rgm@gnu.org>
13409 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13411 (elint-add-required-env): Don't beep on error.
13412 (elint-forms): In case of error, return ENV unchanged.
13413 (elint-init-env): Skip non-list forms.
13414 (elint-log): Handle unknown file positions.
13416 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13418 * epg.el (epg-make-context): Add autoload cookie.
13419 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13420 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13421 (epg-verify-string, epg-start-sign, epg-sign-file)
13422 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13423 (epg-encrypt-string, epg-start-export-keys)
13424 (epg-export-keys-to-file, epg-export-keys-to-string)
13425 (epg-start-import-keys, epg-import-keys-from-file)
13426 (epg-import-keys-from-string, epg-start-receive-keys)
13427 (epg-receive-keys, epg-import-keys-from-server)
13428 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13429 (epg-sign-keys, epg-start-generate-key)
13430 (epg-generate-key-from-file, epg-generate-key-from-string):
13431 Remove autoload cookie.
13433 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13435 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13436 reevaluation of trash-directory.
13438 * mwheel.el: Fix last change.
13439 (mouse-wheel-mode): New defvar.
13440 (mouse-wheel-mode): Remove autoload cookie.
13442 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13444 * mwheel.el (mwheel-installed-bindings): New var.
13445 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13446 the bindings we set last time. Use custom-initialize-delay.
13447 * loadup.el: Load mwheel after term/*-win.el.
13448 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13449 and mouse-wheel-up-event now that their first evaluation is done
13450 sufficiently late to be correct.
13452 * startup.el (tutorial-directory): Make it a defcustom.
13453 Use custom-initialize-delay rather than eval-at-startup to set it.
13454 * image.el (image-load-path): Make it a defcustom.
13455 Use custom-initialize-delay rather than eval-at-startup to set it.
13456 * subr.el (eval-at-startup): Remove.
13457 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13459 * subr.el (do-after-load-evaluation): Warn the user after loading an
13462 2009-09-12 Glenn Morris <rgm@gnu.org>
13464 * proced.el (proced-mark-alt): Remove alias.
13465 (proced-mode-map): Remove proced-mark-alt.
13467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13468 Elint file and directory. Remove initialization entry.
13470 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13472 (elint-current-buffer): Set mode-line-process.
13473 (elint-init-env): Handle define-derived-mode.
13474 Fix declare-function with unspecified arglist. Guard against odd
13475 defalias statements (eg iso-insert's 8859-1-map).
13476 (elint-add-required-env): Use a temp buffer.
13477 (elint-form): Just print the function/macro name, not the whole form.
13478 Return env unchanged if we fail to parse a macro.
13479 (elint-forms): Guard against parse errors.
13480 (elint-output): New function, to handle batch mode.
13481 (elint-log-message): Add optional argument. Use elint-output.
13482 (elint-set-mode-line): New function.
13484 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13486 * emacs-lisp/elp.el (elp-not-profilable): Add more
13487 functions (Bug#4233).
13489 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13491 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13492 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13494 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13496 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13497 (gdb-var-list-children): Use json parsing.
13499 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13501 * progmodes/js.el (js--proper-indentation): Handle the case where
13502 char-before is null. Reported by Deniz Dogan.
13504 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13506 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13508 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13510 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13511 (epg-digest-algorithm-alist): Add SHA224.
13512 (epg-context-set-passphrase-callback)
13513 (epg-context-set-progress-callback): Add description about
13516 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13518 * custom.el (custom-delayed-init-variables): New var.
13519 (custom-initialize-delay): New function.
13520 * startup.el (command-line): "Re"evaluate all vars in
13521 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13522 explicitly any more.
13523 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13524 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13526 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13528 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13530 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13531 (gdb-var-update-handler): Use json parsing.
13533 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13535 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13536 decode annotated text, regardless of language environment. (Bug#2741)
13538 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13540 * Makefile.in (autoloads): Make rmail.el writable as well.
13542 2009-09-11 Glenn Morris <rgm@gnu.org>
13544 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13546 * dired.el: Regenerate with extracted autoloads.
13547 * Makefile.in (autoloads): Make dired.el writable.
13549 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13550 * ibuffer.el: Regenerate with extracted autoloads.
13551 * Makefile.in (autoloads): Make ibuffer.el writable.
13553 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13554 * version.el (emacs-copyright, emacs-major-version)
13555 (emacs-minor-version): Reformat doc-strings for make-docfile.
13557 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13558 functions and variables, since they must be stuff specific to some other
13560 (apropos-print): Make mouse-click message less specific about button.
13562 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13563 that records where a macro was defined.
13564 * help-fns.el (describe-function-1): Mention if a function has a
13566 * help-mode.el (help-function-cmacro): New button.
13568 * locate.el (top-level): Always require dired.
13569 (locate-mode-map): Initialize inside the defvar.
13571 * net/ange-ftp.el (dired-compress-file): Declare.
13572 (ange-ftp-dired-compress-file): Add doc string.
13574 * term/ns-win.el (x-display-name, x-setup-function-keys):
13575 Unify doc-strings with X versions.
13577 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13579 * emulation/crisp.el (crisp-mode-map): Move initialization
13581 (crisp-mode): Use define-minor-mode.
13583 * progmodes/xscheme.el (xscheme-evaluation-commands):
13584 Put a :advertised-binding property rather than using
13585 advertised-xscheme-send-previous-expression.
13586 (advertised-xscheme-send-previous-expression): Declare obsolete.
13587 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13589 (crisp-mode): Add corresponding bindings to
13590 undo's :advertised-binding instead.
13591 * dired.el (dired-mode-map): Put a :advertised-binding property rather
13592 than using dired-advertised-find-file.
13593 (dired-advertised-find-file):
13594 * simple.el (advertised-undo):
13595 * wid-edit.el (advertised-widget-backward): Declare obsolete.
13596 (widget-keymap): Put a :advertised-binding property rather
13597 than using advertised-widget-backward.
13598 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13599 than using advertised-undo.
13600 * tutorial.el (tutorial--default-keys): Adjust accordingly.
13602 2009-09-10 Simon South <ssouth@slowcomputing.org>
13604 * progmodes/delphi.el (delphi-tab): Indent region when Transient
13605 Mark mode is enabled and region is active; otherwise indent or
13606 insert TAB as usual.
13607 (delphi-mode): Update description of TAB-key binding.
13609 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13611 * subr.el (define-key-rebound-commands): Mark obsolete.
13612 * startup.el (precompute-menubar-bindings): Remove.
13613 (normal-top-level): Remove obsolete code that tried to precompute
13615 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13616 define-key-rebound-commands and precompute-menubar-bindings.
13618 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
13620 * net/imap.el (imap-interactive-login): Better messages.
13621 (imap-open): Fix bug with renamed buffer on reconnect.
13622 (imap-authenticate): Add buffer-local imap-last-authenticator variable
13623 for easier debugging and cleaner code. On successful (guessed based on
13624 server capabilities) secondary authentication, set imap-state
13626 (imap-last-authenticator): Define imap-last-authenticator as a variable
13629 2009-09-10 Glenn Morris <rgm@gnu.org>
13631 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13633 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13634 (byte-compile-file-form-autoload): Don't warn about unknown functions
13635 where the autoload statement comes after the use.
13636 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13637 that any handlers inside the body (eg require) are in turn respected.
13639 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13642 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13643 and syntax and abbrev tables basic docs, if they don't have any.
13645 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13647 * international/mule-cmds.el (top-level): Require cl when compiling.
13648 (view-hello-file): Use default-value rather than
13649 default-enable-multibyte-characters.
13651 * progmodes/fortran.el: Move all safe and risky properties into the
13654 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13655 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13656 * mail/undigest.el:
13657 Put autoloads in rmail.el rather than loaddefs.el.
13658 * mail/rmail.el: Regenerate with extracted autoloads.
13660 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13661 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13663 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
13665 Reported in thread for Bug#4375.
13666 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13667 "-data-evaluate-expression" instead of print.
13668 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13669 (gdb-tooltip-print): Parse output from above MI command.
13670 (gdb): Revert 2009-08-11 change. User should detach inferior
13673 Remove the word "separate" from IO functions as inferior
13674 output is now never displayed in the GUD buffer.
13676 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
13678 * startup.el (command-line-normalize-file-name): On Windows and
13679 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13681 2009-09-10 Juri Linkov <juri@jurta.org>
13683 * isearch.el (isearch-text-char-description): Propertize escape
13684 character sequences with the `escape-glyph' face. (Bug#4344)
13686 * simple.el (shell-command): Set asynchronous process filter to
13687 `comint-output-filter'. (Bug#4343)
13689 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13690 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
13691 the list. Move "asm" to the bottom.
13692 (grep-find-ignored-directories): Add `choice' with nil value
13693 to empty the list easily.
13694 (grep-find-ignored-files): New option.
13695 (grep-files-history): Set to nil by default instead of '("ch" "el").
13696 (grep-compute-defaults): Add "<X>" to `grep-template'.
13697 (grep-read-files): Bind new local variables `default-alias' and
13698 `default-extension'. Use a list of default values for the file prompt.
13699 (lgrep): Add `--exclude=' command line options composed from
13700 `grep-find-ignored-files'.
13701 (rgrep): Add `-name' command line options composed from
13702 `grep-find-ignored-files'. (Bug#4301)
13704 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13706 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13709 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
13711 * calendar/time-date.el (autoload):
13712 Expand define-obsolete-function-alias into defalias and make-obsolete
13713 for old Emacsen that Gnus supports.
13714 (with-no-warnings): Define it for old Emacsen.
13715 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13717 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13718 float-time is available; suppress compile warning for time-to-seconds.
13720 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
13722 * net/imap.el (imap-message-map): Docstring fix.
13724 2009-09-09 Glenn Morris <rgm@gnu.org>
13726 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13727 line numbers too. (Bug#4374)
13729 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * smerge-mode.el (smerge-remove-props, smerge-refine):
13732 Use with-silent-modifications (bug#4342).
13734 * subr.el (with-silent-modifications): New macro.
13736 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
13738 * files.el (top-level): Require `cl' when compiling.
13740 2009-09-07 Glenn Morris <rgm@gnu.org>
13742 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13744 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13745 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
13747 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
13749 * vc-git.el (vc-git-annotate-command): Use separator to parse
13750 arguments correctly.
13752 2009-09-06 Eli Zaretskii <eliz@gnu.org>
13754 * proced.el (proced-mode): Doc fix.
13756 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
13758 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13760 (tramp-do-file-attributes-with-ls): Check for file existence at
13762 (tramp-do-file-attributes-with-stat): Likewise.
13763 (tramp-convert-file-attributes): Return nil when attr is nil.
13765 2009-09-05 Glenn Morris <rgm@gnu.org>
13767 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13768 properties to this button.
13769 (diary-fancy-display): Don't extend the button to the final newline.
13770 (diary-fancy-display-mode): Continue to define "q" as a local key.
13772 * calendar/cal-china.el (holiday-chinese): Make it slightly more
13775 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13777 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13778 (byte-compile-dest-file-function): New option.
13779 (byte-compile-dest-file): Doc fix.
13780 Obey byte-compile-dest-file-function.
13781 (byte-compile-cl-file-p): New function.
13782 (byte-compile-eval): Only suppress noruntime warnings about cl functions
13783 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
13784 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13785 than for file being previously loaded.
13786 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13787 (byte-compile-file-form-require): Handle the case where requiring a file
13788 indirectly causes CL to be loaded.
13790 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13792 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13793 before killing the old buffer, since by the time `kill-buffer' is
13794 run so many buffer variables have been set to nil that it may not
13795 behave as expected. (Bug#4061)
13797 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13799 * files.el (find-alternate-file): If the old buffer is modified
13800 and visiting a file, behave similarly to `kill-buffer' when
13801 killing it, thus reverting to the pre-1.878 behavior; see
13802 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13803 for discussion. Also, consult `buffer-file-name' as a variable
13804 not as a function, for consistency with the rest of the code.
13806 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
13808 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13809 also when adding a new directory.
13811 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13814 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
13816 * files.el (locate-file-completion-table): Make it provide boundary
13817 information, so partial-completion works better.
13819 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
13821 * mail/footnote.el (Footnote-text-under-cursor):
13822 Check footnote-text-marker-alist before using it (bug#4324).
13824 2009-09-04 Glenn Morris <rgm@gnu.org>
13826 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13827 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13828 * play/solitaire.el, play/tetris.el:
13829 Remove leading * from defcustom and defface docs.
13831 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13833 (diary-fancy-overriding-map): New variable.
13834 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13837 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13840 2009-09-03 Glenn Morris <rgm@gnu.org>
13842 * arc-mode.el (archive-mode):
13843 * dos-fns.el (set-default-process-coding-system):
13844 * man.el (Man-getpage-in-background):
13845 * menu-bar.el (menu-bar-describe-menu):
13846 * server.el (server-process-filter):
13847 * startup.el (command-line):
13848 * tar-mode.el (tar-header-block-tokenize, tar-extract):
13849 * w32-fns.el (set-default-process-coding-system):
13850 * x-dnd.el (x-dnd-handle-file-name):
13851 * international/mule-cmds.el (mule-menu-keymap)
13852 (set-default-coding-systems, language-info-alist, set-language-info)
13853 (set-language-environment, standard-display-european-internal)
13854 (set-locale-environment):
13855 * international/mule-diag.el (mule-diag):
13856 * mail/emacsbug.el (report-emacs-bug):
13857 * mail/rmail.el (rmail-mode):
13858 * mail/sendmail.el (mail-setup):
13859 Use default-value rather than default-enable-multibyte-characters.
13861 * progmodes/f90.el: Move all safe properties into the defcustoms.
13862 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13864 * calendar/appt.el (appt-check):
13865 * calendar/diary-lib.el (diary-set-header, diary-live-p)
13866 (diary-check-diary-file, diary-list-entries)
13867 (diary-include-other-diary-files, diary-simple-display)
13868 (diary-fancy-display, diary-print-entries)
13869 (diary-mark-included-diary-files, diary-make-entry):
13870 Don't call substitute-in-file-name on diary-file.
13872 2009-09-03 Eduard Wiebe <usenet@pusto.de>
13873 Stefan Monnier <monnier@iro.umontreal.ca>
13875 * mail/footnote.el (footnote-prefix): Make it a defcustom.
13876 (footnote-mode-map): Move initialization into the declaration.
13877 (footnote-minor-mode-map): Define it rather than changing global-map.
13878 (footnote-mode): Use define-minor-mode.
13880 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
13882 * net/tramp.el (tramp-handle-file-attributes-with-ls)
13883 (tramp-do-file-attributes-with-perl)
13884 (tramp-do-file-attributes-with-stat): Rename from
13885 `tramp-handle-file-attributes-with-*'.
13886 (tramp-handle-file-attributes): Use them.
13887 (tramp-do-directory-files-and-attributes-with-perl)
13888 (tramp-do-directory-files-and-attributes-with-stat): Rename from
13889 `tramp-handle-directory-files-and-attributes-with-*'.
13890 (tramp-handle-directory-files-and-attributes): Use them.
13891 (tramp-method-out-of-band-p): Additional parameter SIZE.
13892 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13893 (tramp-handle-write-region): Use it.
13894 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13895 (tramp-handle-vc-registered): Check, whether the first run did
13896 return files to be tested.
13897 (tramp-advice-make-auto-save-file-name): Do not call directly
13898 `tramp-handle-make-auto-save-file-name', because this would bypass
13899 the locking mechanism.
13901 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13902 (file-remote-p, process-file, start-file-process, set-file-times)
13903 (tramp-compat-file-attributes): Compatibility functions shall not
13904 call directly `tramp-handle-*', because this would bypass the
13906 (tramp-compat-number-sequence): New defun.
13908 2009-09-02 Glenn Morris <rgm@gnu.org>
13910 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13911 alias for float-time.
13912 (time-to-number-of-days): In Emacs, use float-time.
13913 * net/newst-backend.el (time-add): Suppress warnings from compat
13915 * time.el (emacs-uptime, emacs-init-time):
13916 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13917 Use float-time rather than time-to-seconds.
13919 * minibuffer.el (completion-initials-expand): Fix typo.
13921 * faces.el (modeline, modeline-inactive, modeline-highlight)
13922 (modeline-buffer-id):
13923 * info.el (info-menu-5): Mark these face aliases as obsolete.
13925 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13927 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13929 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13930 no "--thread" option.
13931 (gdb-stopped): Don't print "Switched to thread" message when it is
13934 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
13936 * minibuffer.el (completion-try-completion)
13937 (completion-all-completions): Remove ill-defined (and
13938 mistakenly installed and luckily never used nor documented)
13939 `completion-styles' property.
13940 (completion-initials-expand, completion-initials-all-completions)
13941 (completion-initials-try-completion): New functions.
13942 (completion-styles-alist): Add doc to each entry.
13943 Add new `initials' entry.
13945 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13947 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13948 MI command -var-evaluate-expression.
13949 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13950 and tweak for case of string child.
13951 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13953 2009-09-01 Glenn Morris <rgm@gnu.org>
13955 * add-log.el (change-log-date-face, change-log-name-face)
13956 (change-log-email-face, change-log-file-face, change-log-list-face)
13957 (change-log-conditionals-face, change-log-function-face)
13958 (change-log-acknowledgement-face):
13959 * cus-edit.el (custom-invalid-face, custom-rogue-face)
13960 (custom-modified-face, custom-set-face, custom-changed-face)
13961 (custom-saved-face, custom-button-face, custom-button-pressed-face)
13962 (custom-documentation-face, custom-state-face, custom-comment-face)
13963 (custom-comment-tag-face, custom-variable-tag-face)
13964 (custom-variable-button-face, custom-face-tag-face)
13965 (custom-group-tag-face-1, custom-group-tag-face):
13966 * diff-mode.el (diff-header-face, diff-file-header-face)
13967 (diff-index-face, diff-hunk-header-face, diff-removed-face)
13968 (diff-added-face, diff-changed-face, diff-function-face)
13969 (diff-context-face, diff-nonexistent-face):
13970 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13971 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13972 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13973 (Info-title-4-face):
13974 * isearch.el (isearch-lazy-highlight-face):
13975 * log-view.el (log-view-file-face, log-view-message-face):
13976 * paren.el (show-paren-match-face, show-paren-mismatch-face):
13977 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13978 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13980 * smerge-mode.el (smerge-mine-face, smerge-other-face)
13981 (smerge-base-face, smerge-markers-face):
13982 * wid-edit.el (widget-documentation-face, widget-button-face)
13983 (widget-field-face, widget-single-line-field-face)
13984 (widget-inactive-face, widget-button-pressed-face):
13985 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13986 (woman-addition-face):
13987 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13988 (eshell-ls-executable-face, eshell-ls-readonly-face)
13989 (eshell-ls-unreadable-face, eshell-ls-special-face)
13990 (eshell-ls-missing-face, eshell-ls-archive-face)
13991 (eshell-ls-backup-face, eshell-ls-product-face)
13992 (eshell-ls-clutter-face):
13993 * eshell/em-prompt.el (eshell-prompt-face):
13994 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13995 * obsolete/old-whitespace.el (whitespace-highlight-face):
13996 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13997 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13998 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13999 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14000 (antlr-font-lock-literal-face):
14001 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14002 (ebrowse-root-class-face, ebrowse-file-name-face)
14003 (ebrowse-default-face, ebrowse-member-attribute-face)
14004 (ebrowse-member-class-face, ebrowse-progress-face):
14005 * progmodes/make-mode.el (makefile-space-face):
14006 * progmodes/sh-script.el (sh-heredoc-face):
14007 * textmodes/flyspell.el (flyspell-incorrect-face)
14008 (flyspell-duplicate-face):
14009 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14010 * textmodes/texinfo.el (texinfo-heading-face):
14011 Mark face aliases with "-face" suffix as obsolete.
14013 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14016 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14017 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14018 easy-menu-define wants to modify these.
14020 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14022 * net/browse-url.el (browse-url-file-url):
14023 * term/internal.el (dos-codepage-setup):
14024 Use default-value rather than default-enable-multibyte-characters.
14026 * progmodes/etags.el (etags-goto-tag-location):
14027 * progmodes/flymake.el (flymake-highlight-line)
14028 (flymake-goto-file-and-line, flymake-goto-line):
14029 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14030 (gdb-goto-breakpoint):
14031 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14032 * progmodes/python.el (python-find-function)
14033 (python-pdbtrack-track-stack-file):
14034 * progmodes/verilog-mode.el (verilog-surelint-off):
14035 * term/ns-win.el (ns-open-file-select-line):
14036 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14037 Use forward-line rather than goto-line.
14039 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14040 * textmodes/reftex-index.el (reftex-display-index):
14041 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14042 * textmodes/reftex-toc.el (reftex-toc):
14043 Remove unnecessary bindings of default-major-mode (all are followed by
14044 major-mode check and possible mode switch).
14046 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14048 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14049 Handle watchpoints (bug#4282).
14050 (def-gdb-thread-buffer-command): Enable thread to be selected by
14051 clicking without selecting threads buffer first.
14052 (gdb-current-context-command): Use selected frame so that "up",
14053 "down" etc work in the GUD buffer.
14054 (gdb-update): Find selected frame before rendering stack buffer.
14055 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14057 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14059 * progmodes/sym-comp.el (displayed-completions): Remove.
14060 (symbol-complete): Use minibuffer-complete.
14062 2009-08-31 Glenn Morris <rgm@gnu.org>
14064 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14066 * apropos.el (apropos-symbols-internal):
14067 Handle (obsolete) face aliases.
14069 * faces.el (describe-face): Adjust the output format to be more like
14070 describe-variable, and to mention (obsolete) face aliases.
14071 Adjust the whitespace so that help-setup-xref works.
14073 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14074 * calendar/diary-lib.el (diary-button-face):
14075 Mark these face aliases as obsolete.
14077 * calendar/calendar.el (calendar-today): Doc fix.
14079 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14081 * progmodes/gdb-mi.el (gdb-control-all-threads)
14082 (gdb-control-current-thread): Force tool bar update.
14083 (gdb-non-stop-handler): New function.
14084 (gdb-init-1): Use it to test if non-stop mode is supported.
14085 Remove unused gdbmi buffer type.
14087 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14089 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14090 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14092 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14094 * comint.el (comint-exec-1): Check command is non-null first.
14095 Part of gdb-mi.el change (2009-08-28).
14097 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14099 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14101 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14103 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14104 instead of `dolist' to avoid a recursive require when bootstrapping.
14106 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14108 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14110 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14112 * net/imap.el (imap-send-command): Simplify.
14113 (imap-wait-for-tag): point-max -> buffer-size.
14115 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14117 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14118 with constant argument.
14120 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14122 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14124 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14125 Change default, since most of our files don't have a history.
14126 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14129 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14132 * calc/calc.el: Improve commenting convention.
14133 (calc-digit-map, toplevel): Simplify.
14135 * comint.el (comint-insert-input): Be careful to only set point if we
14136 don't delegate to some other command.
14138 * proced.el (proced-signal-list): Make it an alist.
14139 (proced-grammar-alist): Capitalize names.
14140 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14141 Disable undo manually and make it read-only.
14142 Use completion-annotate-function.
14144 * minibuffer.el (minibuffer-message): If the current buffer is not
14145 a minibuffer, insert the message in the echo area rather than at the
14147 (completion-annotate-function): New variable.
14148 (minibuffer-completion-help): Use it.
14149 (completion--embedded-envvar-table): Environment vars are
14150 always case-sensitive.
14152 2009-08-30 Glenn Morris <rgm@gnu.org>
14154 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14155 from fortran-current-defun.
14156 (fortran-beginning-of-subprogram): Be more precise about finding the
14157 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14158 (fortran-end-of-subprogram): Simplify.
14159 (fortran-current-defun): Use fortran-start-prog-re.
14161 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14163 * subr.el (do-after-load-evaluation): Simplify.
14165 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14167 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14169 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14170 (vc-rcs-print-log): Use it.
14172 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14174 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14176 * paths.el (abbrev-file-name): Move to abbrev.el.
14177 * abbrev.el (abbrev-file-name): Move from paths.el.
14178 Obey user-emacs-directory.
14179 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14180 user-emacs-directory.
14181 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14182 abbrev-file-name and calc-settings-file any more.
14183 * startup.el (command-line): Recompute abbrev-file-name and
14184 abbreviated-home-dir.
14185 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14186 of the special code for when C-h bindings haven't been changed.
14187 (display-startup-echo-area-message): Use with-current-buffer.
14188 (command-line-1): Use a list of strings, rather than a list of lists
14189 of strings for longopts.
14191 * files.el (get-free-disk-space): Use / for default-directory.
14193 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14194 Use with-current-buffer.
14196 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14197 Recognize immutable variables like most-positive-fixnum.
14198 (byte-compile-setq-default): Check and warn if trying to assign
14199 to an immutable variable, or a non-variable.
14201 * progmodes/cc-vars.el (c-comment-continuation-stars):
14202 * progmodes/cc-engine.el (c-looking-at-bos):
14203 * progmodes/cc-cmds.el (c-toggle-auto-state)
14204 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14205 (c-comment-line-break-function): Add version of obsolescence.
14207 2009-08-28 Juri Linkov <juri@jurta.org>
14209 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14210 associated with `archive-mode'.
14212 * image.el (image-type-header-regexps): Use only JPEG magic number
14213 to determine JPEG images, and don't use `image-jpeg-p' because
14214 Emacs can display non-JFIF non-Exif JPEG images.
14216 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14218 * arc-mode.el (archive-mode):
14219 * emacs-lisp/re-builder.el (re-builder-unload-function):
14220 Protect against the default value of `major-mode' being nil.
14222 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14224 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14225 Fix typos in docstrings.
14227 * progmodes/js.el (js--macro-decl-re): Doc fix.
14228 (js--plain-method-re, js--split-name): Refloc docstring.
14229 (js--class-styles, js--make-merged-item, js--splice-into-items):
14230 Fix typos in docstrings; reflow docstrings.
14231 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14232 (js--variable-decl-matcher, js--inside-pitem-p)
14233 (js--parse-state-at-point, js--get-all-known-symbols)
14234 (js--symbol-history, js-find-symbol, js--js-references)
14235 (js--moz-interactor, js--js-encode-value, js--read-tab):
14236 Fix typos in docstrings.
14238 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14240 * textmodes/reftex.el (reftex-get-file-buffer-force):
14241 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14242 * emulation/viper.el (viper-go-away, viper-set-hooks):
14243 * emacs-lisp/re-builder.el (re-builder-unload-function):
14244 * emacs-lisp/bytecomp.el (byte-compile-file):
14245 * ses.el (ses-unload-function):
14246 * hexl.el (hexl-find-file):
14247 * files.el (normal-mode):
14248 * ehelp.el (with-electric-help):
14249 * autoinsert.el (auto-insert-alist):
14250 * arc-mode.el (archive-mode):
14251 Use (default-value 'major-mode) instead of default-major-mode.
14253 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14254 * international/mule.el (load-with-code-conversion):
14255 * emacs-lisp/debug.el (debug):
14256 * ediff-vers.el (ediff-rcs-get-output-buffer):
14257 * dired.el (dired-internal-noselect): Don't let-bind
14258 default-major-mode around code that doesn't use it.
14259 E.g. buffer creation via get-buffer-create doesn't use it.
14261 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14263 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14264 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14265 when writing the temp file. Otherwise, epa-file gets confused.
14266 (tramp-register-file-name-handlers): Make it a defun. Move also
14267 `epa-file-handler' to the front of `file-name-handler-alist'.
14269 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14271 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14272 start right after a ^M.
14273 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14274 (tramp-completion-file-name-regexp-separate)
14275 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14276 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14277 Don't modify last-coding-system-used by accident.
14278 (tramp-completion-file-name-handler): Apply the checks here,
14279 instead during registration.
14280 (tramp-register-file-name-handlers): Renamed from
14281 `tramp-register-file-name-handler'. Register both
14282 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14283 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14285 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14287 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14288 Remove variable ...
14289 (gdb-init-1, gdb-display-separate-io-buffer)
14290 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14292 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14293 (gdb-inferior-filter): Use comint-output-filter to stop
14294 echoing and remove ^M characters.
14296 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14298 * emulation/viper-init.el (viper-restore-cursor-type):
14299 * emulation/cua-base.el (cua--update-indications):
14300 Replace default-cursor-type with (default-value 'cursor-type).
14302 * mail/sendmail.el (mail-recover-1):
14303 * international/mule-diag.el (describe-current-coding-system-briefly)
14304 (describe-current-coding-system):
14305 * international/mule-cmds.el (select-safe-coding-system)
14306 (select-message-coding-system)
14307 (set-language-environment-coding-systems, set-locale-environment):
14308 * hexl.el (hexl-insert-multibyte-char):
14309 * dos-w32.el (find-buffer-file-type-coding-system):
14310 * simple.el (what-cursor-position):
14311 Replace uses of default-buffer-file-coding-system
14312 with (default-value 'buffer-file-coding-system).
14314 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14315 Replace uses of default-cursor-in-non-selected-windows
14316 with (default-value 'cursor-in-non-selected-windows).
14317 Use with-current-buffer.
14319 * mail/feedmail.el: Use CL macros.
14320 (feedmail-run-the-queue, feedmail-send-it-immediately):
14321 * dos-w32.el (find-buffer-file-type): Replace uses of
14322 default-buffer-file-type with (default-value 'buffer-file-type).
14324 2009-08-28 Glenn Morris <rgm@gnu.org>
14326 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14327 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14328 Use default-value of major-mode rather than default-major-mode.
14330 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14332 * Makefile.in (update-elcfiles): Report left over elc files.
14334 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14335 expand-file-name and with-current-buffer.
14336 (mail-get-names, mail-directory): Use with-current-buffer.
14338 * vc.el (vc-read-revision): New function.
14339 (vc-version-diff, vc-merge): Use it.
14341 2009-08-27 Sam Steingold <sds@gnu.org>
14343 * simple.el (kill-do-not-save-duplicates): New user option.
14344 (kill-new): When it is non-nil, and the new string is the same as
14345 the latest kill, set replace to t to avoid duplicates in kill-ring.
14347 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14349 * net/tramp.el (tramp-handle-process-file): Do not flush all
14350 caches when `process-file-side-effects' is set.
14351 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14352 instead of `tramp-find-file-exists-command'.
14353 Unset `process-file-side-effects'.
14355 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14357 * net/tramp.el (tramp-methods): New method "rsyncc".
14358 (top): Add completion function for "rsyncc".
14359 (tramp-message-show-message): New defvar.
14360 (tramp-message, tramp-error): Use it.
14361 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14363 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14364 `tramp-methods' entry `copy-env' of "rsyncc".
14365 (tramp-vc-registered-read-file-names): New defconst.
14366 (tramp-vc-registered-file-names): New defvar.
14367 (tramp-handle-vc-registered): Implement optimization strategy.
14368 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14369 (tramp-vc-file-name-handler): New defun.
14370 (tramp-get-ls-command, tramp-get-test-command)
14371 (tramp-get-file-exists-command, tramp-get-remote-ln)
14372 (tramp-get-remote-perl, tramp-get-remote-stat)
14373 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14375 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14376 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14378 (tramp-get-file-property): Check for timestamps in
14379 `tramp-cache-inhibit-cache'.
14380 (tramp-set-file-property): Write timestamp.
14382 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14384 * language/japan-util.el (japanese-symbol-table): Add entries for
14387 * international/characters.el: Add category `j' to cp932-2-byte.
14389 2009-08-27 Kenichi Handa <handa@m17n.org>
14391 * international/fontset.el (build-default-fontset-data): New macro.
14392 (setup-default-fontset): Use build-default-fontset-data for CJK,
14393 tibetan, ethiopic, and ipa.
14395 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14397 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14398 (enable-multibyte-characters): Not customizable any more.
14400 * subr.el (default-mode-line-format, default-header-line-format)
14401 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14402 (default-direction-reversed, default-truncate-lines)
14403 (default-left-margin, default-tab-width, default-case-fold-search)
14404 (default-left-margin-width, default-right-margin-width)
14405 (default-left-fringe-width, default-right-fringe-width)
14406 (default-fringes-outside-margins, default-scroll-bar-width)
14407 (default-vertical-scroll-bar, default-indicate-empty-lines)
14408 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14409 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14410 (default-scroll-down-aggressively, default-fill-column)
14411 (default-cursor-type, default-buffer-file-type)
14412 (default-cursor-in-non-selected-windows)
14413 (default-buffer-file-coding-system, default-major-mode)
14414 (default-enable-multibyte-characters): Mark as obsolete.
14416 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14418 * vc-dir.el (vc-dir-update): Remove debug helper.
14420 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14422 2009-08-26 Sam Steingold <sds@gnu.org>
14424 * simple.el (save-interprogram-paste-before-kill): New user option.
14425 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14426 save the interprogram-paste into kill-ring before overriding it
14427 with the Emacs kill.
14429 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14431 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14432 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14433 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14434 and move to vc-rcs.el.
14435 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14437 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14438 (vc-rcs-update-changelog): Remove.
14439 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14440 and move to vc-rcs.el.
14442 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14443 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14445 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14446 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14447 vc.el, renamed to be RCS specific.
14449 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14451 (vc-cvs-update-changelog): Move here from vc.el.
14453 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14456 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14458 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14460 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14462 * vc-git.el (vc-git-register): Use "git add" for directories.
14463 (vc-git-stash, vc-git-stash-show): New functions.
14464 (vc-git-extra-menu-map): Bind them.
14466 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14467 directory correctly in case the item is a directory itself.
14469 * vc.el: Document the desired behavior for reverted files in the
14471 (vc-default-prettify-state-info): Remove function, unused.
14473 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14475 2009-08-26 Glenn Morris <rgm@gnu.org>
14477 * bindings.el (standard-mode-line-format): Reposition dashes in
14478 which-func entry. (Bug#4217)
14480 * files.el (enable-local-variables, enable-local-eval)
14481 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14483 (auto-mode-alist, ignored-local-variables)
14484 (save-some-buffers-action-alist): Move risky declarations to the
14486 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14487 (font-lock-defaults, format-alist, imenu--index-alist)
14488 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14489 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14490 (mode-line-modified, mode-line-mule-info, mode-line-position)
14491 (mode-line-process, mode-line-remote, outline-level)
14492 (parse-time-rules, rmail-output-file-alist)
14493 (special-display-buffer-names, vc-mode):
14494 Move risky declarations to the relevant files.
14495 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14496 (mode-line-modified, mode-line-process, mode-line-position)
14497 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14498 * font-core.el (font-lock-defaults):
14499 * format.el (format-alist):
14500 * vc-hooks.el (vc-mode):
14501 * window.el (special-display-buffer-names):
14502 * international/mule-cmds.el (input-method-alist):
14503 Define riskiness here (dumped file) rather than in files.el.
14504 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14505 * imenu.el (imenu-generic-expression, imenu--index-alist):
14506 * outline.el (outline-level):
14507 * time.el (display-time-string):
14508 * calendar/parse-time.el (parse-time-rules):
14509 * mail/rmailout.el (rmail-output-file-alist):
14510 Autoload riskiness here, rather than placing in files.el.
14512 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14514 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14516 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14518 * simple.el (process-file-side-effects): New defvar.
14520 * dired-aux.el (dired-show-file-type):
14521 * vc.el (vc-diff-internal):
14522 * vc-arch.el (vc-arch-diff):
14523 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14524 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14525 * vc-git.el (vc-git-registered, vc-git-working-revision)
14526 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14527 (vc-git--empty-db-p):
14528 * vc-hooks.el (vc-user-login-name):
14529 * vc-svn.el (vc-svn-registered, vc-svn-state)
14530 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14531 * progmodes/grep.el (grep-probe): Let-bind
14532 `process-file-side-effects' with nil.
14534 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14536 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14537 daemon. Replace ping by checking for running service for bluez
14538 and zeroconf. (Bug#4239)
14540 2009-08-25 Kevin Ryde <user42@zip.com.au>
14542 * net/dig.el (dig): Add autoload cookie.
14544 2009-08-25 Glenn Morris <rgm@gnu.org>
14546 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14547 load-history for absolute file-names.
14548 (byte-compile-file-form-require): Warn about use of the cl package.
14550 * format.el (format-alist): Doc fix.
14552 * play/bubbles.el (top-level): Don't require cl at run-time.
14554 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14557 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14559 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14561 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14563 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14565 * calc/calc-alg.el (math-trig-rewrite)
14566 (math-hyperbolic-trig-rewrite): New functions.
14567 (calc-simplify): Simplify trig functions when asked.
14569 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14571 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14573 2009-08-24 Kenichi Handa <handa@m17n.org>
14575 * language/ind-util.el (mapthread): Delete it.
14576 (combinatorial): New function.
14577 (indian--puthash-cv): Use combinatorial instead of mapthread.
14579 2009-08-22 Kevin Ryde <user42@zip.com.au>
14581 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14582 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14583 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14584 Clarify docstring that the value is strings not symbols.
14585 (checkdoc-list-of-strings-p): New function.
14587 2009-08-22 Glenn Morris <rgm@gnu.org>
14589 * files.el (auto-mode-alist):
14590 * hippie-exp.el (he-concat-directory-file-name):
14591 * lpr.el (lpr-windows-system, printer-name):
14592 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14593 * ps-print.el (ps-windows-system):
14594 * startup.el (command-line):
14595 * emulation/viper-ex.el (viper-glob-function):
14596 * international/mule-cmds.el (set-language-environment-coding-systems):
14597 * net/ange-ftp.el (ange-ftp-write-region):
14598 * obsolete/fast-lock.el (fast-lock-cache-name):
14599 Remove code for defunct system-types emx, macos, mswindows, next-mach,
14600 unisoft-unix, vax-vms, win32, w32.
14602 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14603 given name if the pattern is not more specific.
14605 * calendar/lunar.el (lunar-phase-names): New option.
14606 (lunar-phase): Doc fix.
14607 (lunar-cycles-per-year): New constant.
14608 (lunar-index): New function.
14609 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14610 (lunar-phase-name): Use lunar-phase-names.
14611 (calendar-lunar-phases): Use format.
14612 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14614 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14615 Copy imenu-example--name-and-position function here for own use.
14616 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14618 * bs.el (bs--redisplay):
14619 * cus-edit.el (custom-redraw):
14620 * ibuffer.el (ibuffer-bury-buffer):
14621 * server.el (server-goto-line-column):
14622 * startup.el (command-line-1):
14623 * strokes.el (strokes-xpm-for-stroke):
14624 * term.el (term-display-buffer-line):
14625 * view.el (View-goto-line):
14626 * calc/calc.el (calc-do, calc-trail-buffer):
14627 * play/gamegrid.el (gamegrid-add-score-insecure):
14628 * progmodes/ada-mode.el (ada-compile-goto-error):
14629 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14630 (ebrowse-select-1st-to-9nth):
14631 * progmodes/cperl-mode.el (cperl-time-fontification):
14632 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14633 * progmodes/gud.el (gud-display-line):
14634 (idlwave-shell-display-line):
14635 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14636 * progmodes/make-mode.el (makefile-browser-toggle):
14637 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14638 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14639 * textmodes/picture.el (picture-draw-rectangle):
14640 * textmodes/reftex-index.el (reftex-index-goto-letter):
14641 (reftex-select-jump-to-previous):
14642 * textmodes/reftex-sel.el (reftex-find-start-point)
14643 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14644 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14645 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14646 * textmodes/tex-mode.el (tex-compilation-parse-errors):
14647 * textmodes/two-column.el (2C-associated-buffer):
14648 Use forward-line rather than goto-line.
14650 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14653 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14654 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14655 (quick-check-list-to-regexp): Declare.
14657 * progmodes/make-mode.el (makefile-browser-insert-selection):
14658 Use goto-char rather than goto-line.
14660 * progmodes/prolog.el (compilation-error-regexp-alist)
14661 (compilation-forget-errors): Declare.
14663 2009-08-22 Juri Linkov <juri@jurta.org>
14665 * progmodes/grep.el (lgrep, rgrep): At the beginning
14666 set `dir' to `default-directory' unless `dir' is a non-nil
14667 readable directory. (Bug#4052)
14668 (lgrep, rgrep): Change a weird way to report an error
14669 from using `read-string' to using `error'.
14670 Instead of using interactive arguments in the function body,
14671 add new argument `confirm'.
14673 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14675 * textmodes/remember.el (remember-buffer):
14676 * progmodes/cperl-mode.el (cperl-vc-header-alist):
14677 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14678 (icalendar-extract-ical-from-buffer):
14679 * net/newst-treeview.el (newsticker-groups-filename):
14680 * net/newst-backend.el (newsticker-cache-filename):
14681 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14682 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14683 (speedbar-add-ignored-path-regexp, speedbar-line-path)
14684 (speedbar-buffers-line-path, speedbar-path-line)
14685 (speedbar-buffers-line-path):
14686 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14688 * epa.el (epa-display-verify-result):
14689 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14691 2009-08-21 Glenn Morris <rgm@gnu.org>
14693 * progmodes/js.el (inferior-moz-process): Fix declaration.
14695 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14697 * obsolete/rnewspost.el (news-mail-reply):
14698 Use goto-char rather than goto-line.
14700 * term/ns-win.el (ns-open-file-select-line):
14701 Use line-beginning-position rather than goto-line.
14703 * apropos.el (apropos-command):
14704 * ehelp.el (electric-helpify):
14705 * printing.el (pr-show-setup):
14706 * strokes.el (strokes-help):
14707 * tutorial.el (tutorial--describe-nonstandard-key)
14708 (tutorial--detailed-help):
14709 * woman.el (woman-mini-help, woman-display-extended-fonts):
14710 * calc/calc-help.el (calc-describe-key):
14711 * emulation/edt.el (edt-electric-helpify):
14712 * international/mule-diag.el (mule-diag):
14713 * play/yow.el (apropos-zippy):
14714 * progmodes/python.el (python-describe-symbol):
14715 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14716 * textmodes/table.el (*table--cell-describe-mode)
14717 (*table--cell-describe-bindings):
14718 Use help-print-return-message rather than the now obsolete alias.
14720 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14721 (calendar-cursor-to-visible-date):
14722 * play/5x5.el (5x5-position-cursor):
14723 * play/decipher.el (decipher):
14724 * play/gomoku.el (gomoku-goto-xy):
14725 * play/landmark.el (lm-goto-xy):
14726 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14727 (mpuz-paint-digit):
14728 Use forward-line, not goto-line.
14730 * mail/rmail.el (rmail-obsolete): Delete custom group.
14731 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14732 (rmail-remote-password, rmail-remote-password-required):
14733 Remove unneeded :set-after and :set properties.
14735 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
14737 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14739 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
14741 * loadup.el: Remove leftover macos code.
14743 * vc-git.el (vc-git-annotate-command): Run asynchronously.
14744 Explicitly pass the date format to git blame so that user local
14745 so that the output format can be parsed.
14747 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
14749 * net/dbus.el (top): Don't check for (getenv
14750 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
14752 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
14754 * log-edit.el (log-edit-strip-single-file-name): New var.
14755 (log-edit-insert-changelog): Use it. Bug#3571
14757 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14759 * subr.el (read-passwd): Use read-key so keypad keys work as well.
14762 * help.el (help-print-return-message): Rename from
14763 print-help-return-message.
14765 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14766 cvs-mode-map parent hack.
14767 (log-view-mode): Derive from special-mode.
14769 * linum.el (linum-mode): window-size-change-functions is redundant.
14770 Adapt to new window-configuration-change-hook behavior.
14771 (linum-after-size, linum-after-config): Remove.
14773 * imenu.el (imenu-example--name-and-position)
14774 (imenu-example--lisp-extract-index-name)
14775 (imenu-example--create-lisp-index, imenu-example--create-c-index):
14778 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14779 (inferior-prolog-mode): Use it.
14780 (inferior-prolog-load-file): Reset list of errors.
14782 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14784 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14786 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14788 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
14790 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14791 is running already.
14793 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14795 * subr.el (listify-key-sequence-1): Use normal syntax since those
14796 integers are nowadays always represented by the same (positive) number
14798 (read-key-empty-map): New const.
14799 (read-key-delay): New var.
14800 (read-key): New function.
14801 (force-mode-line-update): Use with-current-buffer.
14802 (locate-user-emacs-file): Don't forget to abbreviate the file name.
14803 (start-process-shell-command, start-file-process-shell-command):
14804 Discourage the use of command-args.
14806 2009-08-19 Glenn Morris <rgm@gnu.org>
14808 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14810 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * simple.el (choose-completion-string): Don't rely on
14813 minibuffer-completing-file-name and ad-hoc checks to decide whether
14814 to continue completion or not.
14816 * minibuffer.el (minibuffer-hide-completions): New function.
14817 (completion--do-completion): Use it.
14818 (completions-annotations): New face.
14819 (completion--insert-strings): Use it.
14820 (completion-pcm--delim-wild-regex): Add docstring.
14821 (completion-pcm--string->pattern): Add support for 0-width delimiters
14822 in completion-pcm--delim-wild-regex.
14824 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
14826 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14827 Remove unused var `buffer-modified-p'.
14829 * minibuffer.el (completion--do-completion): Move point for the #b001
14830 case as well (bug#4176).
14831 (minibuffer-complete, minibuffer-complete-word): Don't move point.
14833 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
14835 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
14836 and :session buses.
14838 2009-08-18 Kenichi Handa <handa@m17n.org>
14840 * international/ucs-normalize.el (ucs-normalize-version):
14842 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14843 (utf-8-hfs): Make it perform normalization on encoding too.
14845 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
14846 (sentence-end-without-space): Delete duplicated chars.
14847 (sentence-end-base): Likewise.
14849 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
14850 (html-mode): Delete duplicated chars from sentence-end-base.
14852 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
14853 (texinfo-mode): Delete duplicated chars from sentence-end-base.
14855 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
14857 * files.el (hack-one-local-variable): If the mode function is for
14858 a minor mode, pass it an argument (Bug#4148).
14860 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
14862 * net/tramp.el (tramp-register-completion-file-name-handler):
14863 Check also for (member 'partial-completion completion-styles).
14865 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14867 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14870 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
14872 * progmodes/cperl-mode.el: Merge upstream 6.2.
14873 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14874 (cperl-forward-re): Check cperl-brace-recursing.
14875 (cperl-highlight-charclass): New function.
14876 (cperl-find-pods-heres): Use it.
14877 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14878 (cperl-beautify-regexp-piece): Fix column calculation.
14879 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14880 (cperl-beautify-level): Don't process entire regexp.
14881 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14883 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14884 (cperl-init-faces): Build a list in the normal way.
14886 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14888 * calendar/parse-time.el (parse-time-string-chars): Save match
14891 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
14893 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14894 (sql-product): Use it.
14895 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14896 (sql-set-product): Add completion.
14897 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14898 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14899 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14900 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14901 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14902 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14903 (sql-highlight-db2-keywords): Remove.
14904 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14905 (sql-highlight-product): Use derived-mode-p.
14906 (sql-set-sqli-buffer): Use with-current-buffer.
14907 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14910 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14912 * term.el: Fix commenting convention, turn comments into docstrings.
14914 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
14916 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14918 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
14920 * calendar/parse-time.el (parse-time-string-chars): Compute using
14921 character classes, to handle non-ascii characters (Bug#3190).
14923 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14925 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14926 another heredoc if the user adds another < (Bug#3226).
14928 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14929 Don't initialize based on window-system (Bug#4124).
14931 * facemenu.el (facemenu-read-color): Use a completion function
14932 that accepts any defined color, such as RGB triplets (Bug#3677).
14934 * files.el (get-free-disk-space): Change fallback default
14935 directory to /. Expand DIR argument before switching to fallback.
14936 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14938 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14940 * files.el (load-library): Doc fix.
14942 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
14944 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14945 (viper-if-string): Redefine C-s in the minibuffer to insert the last
14946 incremental search string.
14948 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14951 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14952 (ediff-merge-region-is-non-clash)
14953 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14954 Also check if the job is really a merge job.
14956 * ediff.el (ediff-current-file): New function.
14958 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14960 * progmodes/js.el: Edit docstrings throughout to follow Emacs
14962 (js-insert-and-indent): Delete function.
14963 (js-mode-map): Don't bind keys to js-insert-and-indent.
14964 (js-beginning-of-defun): Rename from js--beginning-of-defun.
14965 (js-end-of-defun): Rename from js--end-of-defun.
14966 (js-auto-indent-flag): Delete variable.
14968 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
14970 * progmodes/js.el: Remove proclaim statement.
14971 Defvar which-func-imenu-joiner-function to silence compiler.
14973 * files.el (auto-mode-alist): Use js-mode for .js files.
14975 * progmodes/js2-mode.el: Remove file.
14977 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14979 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14981 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14983 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
14984 Karl Landstrom <karl.landstrom@brgeight.se>
14986 * progmodes/js.el: New file.
14988 2009-08-14 Mark A. Hershberger <mah@everybody.org>
14990 * timezone.el (timezone-parse-date): Add ability to understand ISO
14991 basic format (minimal separators) dates in addition to the
14992 already-supported extended format dates.
14994 2009-08-14 Eli Zaretskii <eliz@gnu.org>
14996 * international/ucs-normalize.el: Add a `coding' file variable.
14998 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15000 2009-08-14 Sam Steingold <sds@gnu.org>
15002 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15004 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15006 * faces.el (help-argument-name): Define it here instead of
15007 help-fns.el, because in daemon mode help-fns.el may be loaded when
15008 faces are still uninitialized (Bug#1078).
15010 * help-fns.el (help-argument-name): Move defface to faces.el.
15012 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15014 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15015 create buffer with a pty but no process so that GDB can make the
15016 inferior the controlling process.
15018 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15020 * international/ucs-normalize.el: New file.
15022 2009-08-13 Richard Stallman <rms@gnu.org>
15024 * mail/rmail.el (rmail-get-attr-names):
15025 Accept an attribute header that is too short.
15027 * mail/rmail.el (rmail-forget-messages):
15028 Ignore nil elt in rmail-message-vector. Use dotimes.
15030 * progmodes/compile.el (compilation-goto-locus):
15031 Use next-error-move-function.
15033 * simple.el (next-error-move-function): New variable.
15035 2009-08-12 Juri Linkov <juri@jurta.org>
15037 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15038 always non-nil. (Bug#4052)
15040 * replace.el (read-regexp): Return empty string when
15041 `default-value' is nil.
15042 (keep-lines-read-args): Don't use empty string as the
15043 default value for `read-regexp'. (Bug#2495)
15045 2009-08-12 Juri Linkov <juri@jurta.org>
15047 * international/mule-cmds.el (ucs-insert): Change arguments
15048 from `arg' to `character', `count', `inherit' to be the same
15049 as in `insert-char'. Doc fix. (Bug#4039)
15051 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15053 2009-08-12 Juri Linkov <juri@jurta.org>
15055 * files-x.el: New file.
15057 * files.el: Move code that deals with adding/deleting
15058 file/directory-local variables to files-x.el.
15060 * Makefile.in (ELCFILES): Add files-x.elc.
15062 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15064 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15065 to use `goto-line'.
15066 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15068 (gdb-invalidate-disassembly): Do not refresh upon receiving
15069 'update signal. Instead, update all disassembly buffers only after
15071 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15072 (gdb-starting): Moved -data-list-register-names...
15073 (gdb-stopped): ...here so it's sent when first thread stops.
15074 (gdb-registers-handler-custom): Do nothing if register names are
15077 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15078 from `gdb-mi.el' to avoid extra tangling.
15080 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15081 change which breaks `gud-def' definitions used in `gdb'.
15082 (gdb-update-gud-running): No extra fuss for updating frame number.
15084 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15086 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15087 (describe-language-environment-map, setup-language-environment-map)
15088 (set-coding-system-map): Move initialization into declaration.
15089 (set-language-info-alist): Last arg to define-key-after can be skipped.
15091 * international/quail.el (quail-completion-1): Simplify.
15092 (quail-define-rules): Use slightly more compact code.
15093 (quail-insert-decode-map): Propertize keys, compact columns.
15095 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15098 2009-08-10 Miles Bader <miles@gnu.org>
15100 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15101 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15102 (js2-instance-member, js2-private-member, js2-private-function-call)
15103 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15104 (js2-magic-paren, js2-external-variable):
15105 Remove "-face" suffix from face names.
15106 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15107 (js2-highlight-undeclared-vars, js2-peek-token)
15108 (js2-parse-function-params, js2-mode-show-errors)
15109 (js2-mode-show-warnings, js2-make-magic-delimiter)
15110 (js2-mode-highlight-magic-parens): Update to use new face names.
15112 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15114 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15115 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15117 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15119 * subr.el: Provide hashtable-print-readable.
15121 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15122 hs-c-like-adjust-block-beginning.
15123 (hs-hide-block-at-point): Stop hiding at the beginning of
15124 hs-block-end-regexp (Bug#700).
15126 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15128 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15130 (gdb-registers-handler-custom): Do not fail when register names
15133 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15135 * progmodes/gdb-mi.el (gdb-control-all-threads)
15136 (gdb-control-current-thread): Interactive setters for
15137 `gdb-gud-control-all-threads' to use in menu.
15138 (gdb-show-run-p): Show «Go» when process is not active.
15139 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15140 gud/thread.xpm and gud/all.xpm.
15142 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15144 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15145 (nslookup-font-lock-keywords): Make it a variable.
15146 (net-utils-mode): New mode for viewing diagnostic network output.
15147 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15148 (net-utils-run-simple): New function.
15149 (ifconfig, iwconfig, netstat, arp, route): Use it.
15151 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15153 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15154 (gdb-memory-set-address, def-gdb-set-positive-number)
15155 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15156 after changing settings.
15157 (gdb-invalidate-disassembly): Update when first shown.
15158 (gdb-edit-locals-value): Fixed.
15159 (gdb-registers-handler-custom): Print registers in right order and
15160 allow changing register values (only for current thread yet).
15161 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15162 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15163 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15164 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15166 (gdb-registers-mode-map): TAB to switch to locals.
15168 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15170 * mail/rmail.el (rmail-add-mbox-headers)
15171 (rmail-set-message-counters-counter): Search for
15172 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15174 2009-08-08 Glenn Morris <rgm@gnu.org>
15176 * Makefile.in (ELCFILES): Update.
15178 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15180 * mail/sendmail.el (mail-yank-original): Set
15181 buffer-file-coding-system from the one used by the message whose
15184 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15185 to "windows" when "pgnuplot" is used.
15186 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15187 call accept-process-output if "pgnuplot" is used.
15188 (calc-graph-init): Don't send -display and -geometry to
15189 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15190 running "pgnuplot -V" with shell-command-to-string.
15192 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15195 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15197 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15200 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15202 * vc-dispatcher.el (vc-resynch-window): Update comment.
15204 * term.el (term-handle-ansi-escape): Add comments with the
15205 terminfo capabilities implemented.
15207 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15209 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15210 (gdb-var-create-handler): Rewritten using JSON parser.
15211 (gdb-propertize-header): Moved earlier.
15212 (gdb-set-header): Removed to avoid duplication.
15213 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15214 Refresh disassembly buffers only after threads list have been
15216 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15219 2009-08-04 Juri Linkov <juri@jurta.org>
15221 * files.el: Commands to add/delete file/directory-local variables.
15222 (read-file-local-variable, read-file-local-variable-value)
15223 (read-file-local-variable-mode, modify-file-local-variable)
15224 (modify-file-local-variable-prop-line)
15225 (modify-dir-local-variable): New functions.
15226 (add-file-local-variable, delete-file-local-variable)
15227 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15228 (add-dir-local-variable, delete-dir-local-variable)
15229 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15230 (copy-dir-locals-to-file-locals-prop-line): New commands.
15232 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15234 * abbrev.el (insert-abbrev-table-description): Prettify output.
15235 Suggested by Karl Chen.
15237 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15239 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15240 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15241 (gdb-overlay-arrow-position, gdb-thread-position)
15242 (gdb-disassembly-position): Declare variables.
15243 (gdb-wait-for-pending): Function now.
15244 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15245 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15246 compilation goes smoothly.
15247 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15248 (gdb-non-stop-setting): New customization setting which replaces
15249 `gdb-non-stop' so changing it doesn't break active GDB session.
15250 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15251 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15252 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15253 (gdb-show-threads-by-default): New customization options.
15254 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15256 (gdb-get-buffer-create): Send buffers update signal when they are
15258 (gdb-invalidate-locals, gdb-invalidate-registers)
15259 (gdb-invalidate-breakpoints)
15260 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15261 (gdb-invalidate-memory): Accept update signal.
15262 (gdb-current-context-command): Use --frame option.
15263 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15264 Implement `gdb-frame-number' selection logic.
15265 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15266 whether to show GUD toolbar buttons.
15267 (gdb-thread-exited): Unselect current thread when it exits.
15268 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15269 (gdb-mark-line): Routine which sets overlay arrow or inverses
15270 video on fringeless displays.
15271 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15272 to build aligned columns of data in GDB buffers and set text
15273 properties line-by-line.
15274 (gdb-invalidate-breakpoints)
15275 (gdb-breakpoints-list-handler-custom)
15276 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15277 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15278 (gdb-registers-handler-custom): Align data columns.
15279 (gdb-locals-handler-custom): Now prints data like in variable
15281 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15282 Removed confusing buttons.
15283 (gdb-invalidate-threads): Append --frame.
15284 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15285 between breakpoints/threads buffers.
15286 (gdb-set-window-buffer): Now can ignore dedicated windows.
15287 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15288 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15289 (def-gdb-thread-buffer-gud-command): Replaces
15290 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15291 for fine thread control.
15292 (gdb-preempt-existing-or-display-buffer): New function used to
15293 display bound buffers without breaking window layout.
15294 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15295 (gdb-select-frame): New version of `gdb-frames-select' which now
15296 sets `gdb-frame-number' so commands may use --frame option instead
15297 of inner debugger state.
15298 (gdb-frame-handler): Do not set `gdb-frame-number'.
15299 (gdb-threads-mode-map): Select threads with mouse.
15301 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15302 avoid compilation warning.
15303 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15306 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15307 Argument `key' renamed to `buffer-type'.
15308 (gdb-current-context-buffer-name): Do not add thread info to
15309 buffer name when no thread is selected.
15310 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15311 command (bug 3794).
15312 (gdb-thread-selected): Handle `=thread-selected' notification.
15313 (gdb-wait-for-pending): New macro to deal with congestion problems.
15314 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15316 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15317 This fixes problem similar to one described in bug 3947.
15318 (gud-menu-map): More menu items.
15319 (gdb-init-1): Reset `gdb-thread-number' to nil.
15321 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15324 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15325 (gdb-current-context-command): Do not append --thread if
15326 `gdb-thread-number' is nil.
15327 (gdb-running-threads-count, gdb-stopped-threads-count): New
15329 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15330 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15331 customization options.
15332 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15334 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15335 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15336 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15337 set `gdb-thread-number' and update `gud-running' properly.
15338 (gdb-running): Update threads list when new threads appear.
15339 (gdb-stopped): Support non-stop operation and new thread switching
15341 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15342 (gdb-json-partial-output): New set of JSON routines.
15343 (def-gdb-auto-update-trigger): New `signal-list' optional
15345 (gdb-thread-list-handler-custom): Update `gud-running',
15346 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15347 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15348 (gdb-continue-thread, gdb-step-thread): New commands for fine
15349 thread execution control.
15350 (gud-menu-map): New menu items to switch non-stop options.
15351 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15352 (gdb-send): Mimic RET properly (bug 3794).
15354 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15355 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15357 (def-gdb-auto-update-handler): New nopreserve optional argument.
15358 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15360 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15361 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15362 (gdb-parent-mode): New mode to derive other GDB modes from.
15363 (gdb-display-disassembly-for-thread)
15364 (gdb-frame-disassembly-for-thread): New commands for threads
15367 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15368 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15369 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15370 (gdb-update): We now store all GDB buffers in a list so that they
15371 can be updated by traversing a list instead of calling invalidate
15372 triggers explicitly.
15373 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15374 pair for GDB buffer.
15375 (gdb-stack-buffer-name): Add thread information.
15376 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15377 handle pending triggers.
15378 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15379 (def-gdb-thread-buffer-simple-command)
15380 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15381 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15382 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15383 New commands which show buffers bound to thread.
15384 (gdb-stack-list-locals-regexp): Removed unused regexp.
15386 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15387 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15388 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15389 to (gud-comint-buffer) in *-buffer-name functions
15390 because (gdb-get-target-string) already does that.
15391 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15392 (gdb-changed-registers-handler): Rewritten without regexps.
15394 * progmodes/gdb-mi.el: Basic thread selection support.
15395 (gdb-thread-number): New variable.
15396 (gdb-current-context-command): New macro which adds --thread
15398 (gdb-threads-mode-map): Select thread with SPC.
15399 (gdb-thread-list-handler-custom): Mark current thread with overlay
15400 arrow. Synchronize GDB thread and Emacs thread.
15401 (gdb-select-thread): New command which selects current thread.
15402 (gdb-invalidate-frames, gdb-invalidate-locals)
15403 (gdb-invalidate-registers): Use --thread option.
15405 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15407 * net/tramp.el (top): Make check for tramp-gvfs loading more
15409 (tramp-handle-insert-file-contents): `unwind-protect' must be
15410 inside `with-parsed-tramp-file-name'.
15412 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15415 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15417 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15418 directory if CLASSPATH is not set.
15420 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15422 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15424 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15426 2009-08-02 Kevin Ryde <user42@zip.com.au>
15428 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15429 Update freshmeat link. Delete newsforge.com as it seems gone.
15431 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15433 * select.el (x-set-selection): Doc fix (Bug#4021).
15435 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15437 * help-fns.el (describe-variable): Treat list return values from
15438 dir-locals-find-file properly (Bug#4005).
15440 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15442 * net/tramp.el (tramp-debug-message): Print also microseconds.
15444 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15446 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15448 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15449 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15452 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15453 (tramp-get-file-property): Use it.
15455 * autorevert.el (auto-revert-handler): Allow
15456 `auto-revert-tail-mode' for remote files.
15458 2009-08-02 Jason Rumney <jasonr@gnu.org>
15460 * minibuffer.el (read-file-name): Treat confirm options to
15461 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15463 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15465 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15466 (font-lock-variable-name-face, font-lock-constant-face): Darken
15467 the colors for light backgrounds.
15469 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15471 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15472 month names. (Bug#3987)
15474 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15476 * simple.el (line-move-finish): Pass whole number to
15477 line-move-to-column.
15478 (line-move-visual): Perform hscroll to the recorded position.
15480 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15482 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15484 2009-07-29 Alan Mackenzie <acm@muc.de>
15486 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15488 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15490 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15491 (gdb-place-breakpoints): Use full path when setting breakpoints.
15493 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15495 * calc/calc.el (calc-mode-map): Add keybinding for
15496 `calc-transpose-lines'.
15498 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15500 * calc/calc-misc.el (calc-transpose-lines): New function.
15502 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15504 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15505 Simplify check for out-of-band methods.
15506 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15507 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15509 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15511 * vc-git.el (vc-git-checkin): Fix typo.
15513 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15515 * progmodes/js2-mode.el: New file.
15517 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15519 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15520 (gud-menu-map): Adjust tooltip accordingly.
15522 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15524 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15525 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15527 * add-log.el (change-log-mode-map): Add a menu.
15529 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15531 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15532 function returns nil.
15533 (dbus-handle-event): Handle special return value :ignore.
15534 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15536 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15538 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15541 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15545 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15547 * term/pc-win.el (x-display-name, x-colors)
15548 (x-select-enable-clipboard, x-select-text): Doc fix.
15550 * term/common-win.el (x-display-name, x-colors): Doc fix.
15552 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15553 (xw-defined-colors): Doc fix.
15555 * w32-fns.el (x-select-text, x-setup-function-keys)
15556 (x-get-selection, x-set-selection): Doc fix.
15558 * term/x-win.el (x-select-text, x-setup-function-keys)
15559 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15561 * select.el (x-set-selection): Doc fix.
15563 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15565 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15566 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15567 "IsNSSSupportAvailable" method is not available. Reported by
15568 Steve Youngs <steve@sxemacs.org>.
15570 2009-07-24 Kenichi Handa <handa@m17n.org>
15572 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15573 and ?H. Fix setting of case for Latin Extended and Greek Extended.
15574 (build-unicode-category-table): Fix range checks.
15576 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
15578 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15579 the buffer we try to sync is current when calling
15582 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15583 not show up to date files.
15585 2009-07-24 Glenn Morris <rgm@gnu.org>
15587 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15588 Add autoload cookies. If necessary, initialize.
15589 (elint-log): Handle non-file buffers.
15590 (elint-initialize): Add optional argument to reinitialize.
15591 (elint-find-builtin-variables): Save excursion.
15593 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
15595 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15598 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
15600 * vc.el (vc-print-log-internal): New function, split out from ...
15601 (vc-print-log): ... here.
15602 (vc-dir-move-to-goal-column): Declare.
15604 * vc-git.el (vc-git-add-signoff): New variable.
15605 (vc-git-checkin): Use it.
15606 (vc-git-toggle-signoff): New function.
15607 (vc-git-extra-menu-map): Bind it to menu.
15608 (vc-git--run-command-string): Accept a nil FILE argument.
15609 (vc-git-stash-list): New function.
15610 (vc-git-dir-extra-headers): Use it.
15612 2009-07-23 Glenn Morris <rgm@gnu.org>
15614 * help-fns.el (describe-variable): Describe ignored and risky local
15615 variables in a similar way to that in which we describe safe ones.
15617 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15618 (byte-compile-output-file-form, byte-compile-output-docform)
15619 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15620 Give some more local variables with common names a "bytecomp-" prefix,
15621 so as not to shadow things during compilation.
15622 * emacs-lisp/cl-macs.el (load-time-value)
15623 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15624 `outbuffer' to `bytecomp-outbuffer'.
15626 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15627 since the next two variables cover them automatically now.
15628 (elint-builtin-variables, elint-autoloaded-variables): New.
15629 (elint-unknown-builtin-args): Remove all members, since they can be
15630 parsed automatically now.
15631 (elint-extra-errors): New.
15632 (elint-env-add-env, elint-env-add-macro): Use cadr.
15633 (elint-current-buffer): Use or. Change final message.
15634 (elint-get-top-forms): Use line-end-position.
15635 (elint-init-env): Use cadr. Handle autoload, declare-function,
15637 (elint-add-required-env): Doc fix. Use or. Standardize error.
15638 (regexp-assoc): Remove unused function.
15639 (elint-top-form): Set elint-current-pos, to record the start of the
15640 top-level form, for compilation-mode.
15641 (elint-form): Trap errors in macro expansion. Use dolist.
15642 (elint-unbound-variable): Use elint-builtin-variables and
15643 elint-autoloaded-variables.
15644 (elint-get-args): Use cadr, or.
15645 (elint-check-cond-form): Use dolist, cadr.
15646 (elint-check-condition-case-form): Doc fix. Use cadr.
15647 Use elint-extra-errors.
15648 (elint-log): New function.
15649 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15650 Distinguish errors and warnings.
15651 (elint-log-message): Use with-current-buffer. Inhibit read-only.
15652 Use a bytecomp-style format.
15653 (elint-clear-log): Preserve default-directory. Inhibit read-only.
15654 (elint-get-log-buffer): Use compilation mode. Disable undo.
15655 Don't truncate lines.
15656 (elint-initialize): Set builtin and autoloaded variable lists.
15657 Only process elint-unknown-builtin-args if non-nil.
15658 (elint-find-builtin-variables, elint-find-autoloaded-variables):
15660 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
15662 2009-07-22 Kevin Ryde <user42@zip.com.au>
15664 * net/newst-backend.el (newsticker--parse-atom-1.0)
15665 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15666 (newsticker--parse-rss-1.0):
15667 * progmodes/idlwave.el (idlwave-mode):
15668 * progmodes/idlw-shell.el (idlwave-shell-mode):
15669 * progmodes/vera-mode.el (vera-mode):
15670 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15671 * progmodes/vhdl-mode.el (vhdl-mode):
15672 * textmodes/table.el (table-generate-source)
15673 (table--warn-incompatibility):
15674 Hyperlink urls in docstrings with URL `...'.
15676 2009-07-22 Glenn Morris <rgm@gnu.org>
15678 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15679 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15680 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15681 Remove leading * from defcustom docs.
15683 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
15685 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15687 (list-load-path-shadows): Optionally, just return shadows as a string.
15689 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15691 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
15693 * mail/rmailedit.el (rmail-edit-mode): Use
15694 auto-save-include-big-deletions.
15696 * mail/rmail.el (rmail-variables): Use
15697 auto-save-include-big-deletions.
15699 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15702 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
15704 * calc/calc.el (calc-undo-length): New variable.
15705 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15707 2009-07-21 Richard Stallman <rms@gnu.org>
15709 * files.el (auto-save-mode): Handle buffer-save-size = -2
15712 2009-07-21 Glenn Morris <rgm@gnu.org>
15714 * textmodes/ispell.el (ispell-looking-back): Update declaration.
15716 * calendar/todo-mode.el (calendar-current-date): Update declaration.
15718 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15719 silence compiler. Instead...
15720 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15721 (ps-print-ensure-fontified): Update for above function name changes.
15723 * printing.el (pr-mh-get-msg-num, pr-mh-show)
15724 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15725 silence compiler. Instead...
15726 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15727 (mh-show-buffer): Only define for compiler.
15728 (pr-mh-current-message): Update for above function name changes.
15730 * files.el (abort-if-file-too-large): Explicitly pass `filename'
15732 (find-file-noselect, insert-file-1): Update for above change.
15734 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15736 * mail/mailclient.el (mailclient-send-it): Fix message.
15738 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15739 (edebug-eval): Check cl-debug-env is bound.
15740 (print-level, print-circle): Don't redefine built-in variables.
15742 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15743 (custom-print-vectors): Remove old comments from doc.
15745 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15746 (emerge-version): Make the variable an obsolete alias for the
15747 emacs-version variable. Make the function obsolete.
15748 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15749 Emerge options, rather than merging in into the main Options menu.
15750 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
15751 and auto advance modes. Disable edit/fast items when not relevant.
15753 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
15755 * term/vt420.el (terminal-init-vt420): Fix typo.
15757 2009-07-20 Sam Steingold <sds@gnu.org>
15759 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15760 variable (removed from compile.el on 2004-03-11).
15762 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
15764 * files.el (hack-local-variables-filter): Fix last change.
15766 2009-07-19 Juri Linkov <juri@jurta.org>
15768 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15769 (dir-local-variables-alist): New buffer-local variable.
15770 (hack-local-variables-filter): If variable is not dir-local,
15771 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15772 because file-local overrides dir-local.
15773 (c-postprocess-file-styles) <declare-function>:
15774 Remove obsolete declaration.
15775 (hack-dir-local-variables): Add dir-local variable/value pair to
15776 `dir-local-variables-alist' and remove duplicates. Doc fix.
15778 * help-fns.el (describe-variable): Add information about
15779 file-local and dir-local variables.
15781 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
15783 * files.el (hack-local-variables-filter): Rewrite.
15785 2009-07-19 Glenn Morris <rgm@gnu.org>
15787 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15788 Silence compiler by only defining on XEmacs.
15790 * international/mule.el (auto-coding-regexp-alist): Only match
15791 BABYL... at the start of buffer, not of lines. (Bug#3790)
15793 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15794 non-calendar buffers (Bug#3862). Restore "not on a date" message.
15795 (cal-menu-context-mouse-menu): Doc fix.
15797 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15799 * simple.el (mail-user-agent): Doc fix. Set :version tag.
15801 2009-07-18 Juri Linkov <juri@jurta.org>
15803 * info.el: Virtual Info keyword finder.
15804 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15805 (Info-finder-file): New variable.
15806 (Info-finder-find-file): New function.
15807 (finder-known-keywords, finder-package-info)
15808 (find-library-name, lm-commentary): Use defvar and
15809 declare-function to silence compiler warnings.
15810 (Info-finder-find-node): New function.
15811 (info-finder): New command.
15813 * subr.el (process-kill-buffer-query-function): New function.
15814 (add-hook)<kill-buffer-query-functions>: Add hook
15815 `process-kill-buffer-query-function'.
15817 2009-07-18 Alan Mackenzie <acm@muc.de>
15819 * progmodes/cc-mode.el (c-before-hack-hook)
15820 (c-postprocess-file-styles): Give invocation of `c-set-style'
15821 DONT-OVERRIDE parameter of t. Already set style variables will
15822 thus not be overridden by style settings given by `c-file-syle'.
15824 * files.el (hack-local-variables-filter): Remove entries with
15825 duplicate keys from `file-local-variables-alist'.
15827 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15829 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15830 x-set-selection if display-selections-p returns nil for the
15833 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
15835 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15837 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15839 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15840 Accept nil in addition to a regexp.
15841 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15842 Accept nil in addition to a regexp.
15843 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15844 buffers that have an associated file. Handle nil values of
15845 desktop-buffers-not-to-save and desktop-files-not-to-save.
15848 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15849 (x-disown-selection-internal): New functions.
15851 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
15853 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15855 (gdb-breakpoints-header): Move forward to avoid compiler warning.
15856 (gdb-make-header-line-mouse-map): Remove duplicate definition.
15858 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
15860 * simple.el (set-mark): Revert last change.
15862 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
15864 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15865 rendering of pngs is not possible instead of messaging a long
15868 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
15870 * w32-fns.el (x-selection-owner-p): New function.
15872 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15873 (mouse-yank-at-click, mouse-yank-primary): If
15874 select-active-regions is non-nil, deactivate the mark before
15877 * simple.el (deactivate-mark, set-mark): Only save selection if we
15880 2009-07-17 Kenichi Handa <handa@m17n.org>
15882 * case-table.el (describe-buffer-case-table): Fix for the case
15883 that KEY is a cons.
15885 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
15887 * vc-rcs.el (vc-rcs-find-file-hook):
15888 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15890 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
15892 * net/tramp.el (tramp-wait-for-output): Handle the case when
15893 commands do not return a newline but a null byte before the shell
15896 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15898 * term/ns-win.el (ns-set-alpha): Don't declare.
15899 (ns-set-background-alpha): Remove function.
15901 2009-07-16 Kevin Ryde <user42@zip.com.au>
15903 * emacs-lisp/copyright.el (copyright-update): Save match-data across
15904 y-or-n-p, for safety.
15906 2009-07-16 Richard Stallman <rms@gnu.org>
15908 * files.el (auto-save-mode): If buffer-saved-size is -2,
15911 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15912 (rmail-retry-ignored-headers): Add more uninteresting fields.
15914 2009-07-15 Jari Aalto <jari.aalto@cante.net>
15916 * net/rcirc.el (rcirc): Use history variables.
15917 (rcirc-server-name-history, rcirc-nick-name-history)
15918 (rcirc-server-port-history): New variables.
15920 2009-07-15 Kenichi Handa <handa@m17n.org>
15922 * international/mule-cmds.el (set-language-environment-charset):
15923 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15926 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15927 Delete unibyte-display.
15929 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15931 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15933 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15935 * simple.el (deactivate-mark): Optional argument FORCE.
15936 (set-mark): Use deactivate-mark.
15938 * info.el (Info-search): No need to check transient-mark-mode
15939 before calling deactivate-mark.
15941 * select.el (x-set-selection): Doc fix.
15942 (x-valid-simple-selection-p): Allow buffer values.
15943 (xselect--selection-bounds): Handle buffer values. Suggested by
15944 David De La Harpe Golden.
15946 * mouse.el (mouse-set-region, mouse-drag-track): Call
15947 copy-region-as-kill before setting the mark, to let
15948 select-active-regions work.
15950 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
15952 * simple.el (deactivate-mark): If select-active-regions is
15953 non-nil, copy the selection data into a string.
15954 (activate-mark): If select-active-regions is non-nil, set the
15955 selection to the current buffer.
15956 (set-mark): Update selection if select-active-regions is non-nil.
15958 * select.el (x-valid-simple-selection-p): Allow buffer values.
15960 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
15962 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15963 and more featureful message-mode.
15965 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
15967 * select.el (x-set-selection): Doc fix.
15968 (x-valid-simple-selection-p): Disallow selection data consisting
15969 of a list or cons of integers, since that is not used.
15970 (xselect--selection-bounds, xselect--int-to-cons): New functions.
15971 (xselect-convert-to-string, xselect-convert-to-length)
15972 (xselect-convert-to-filename, xselect-convert-to-charpos)
15973 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15975 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
15977 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15978 output in -break-info command (Emacs bug #3794).
15980 2009-07-14 Glenn Morris <rgm@gnu.org>
15982 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15983 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15984 (edebug-print-length, edebug-print-level, edebug-print-circle)
15985 (edebug-sit-for-seconds, edebug-view-outside)
15986 (edebug-bounce-point, edebug-set-global-break-condition)
15987 (edebug-Go-nonstop-mode, edebug-trace-mode)
15988 (edebug-Trace-fast-mode, edebug-continue-mode)
15989 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15990 (edebug-visit-eval-list): Doc fixes.
15992 * subr.el (def-edebug-spec): Doc fix.
15994 2009-07-14 Kenichi Handa <handa@m17n.org>
15996 * international/characters.el: Fix setting of category ?C.
15998 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16000 * term/ns-win.el (x-select-font): defalias x-select-font to
16001 ns-popup-font-panel instead of generate-fontset-menu.
16003 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16005 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16007 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16009 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16010 the PK\003\004 header (Bug#3770).
16012 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16014 * pcomplete.el (pcomplete-comint-setup): Check for
16015 shell-dynamic-complete-filename too.
16017 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16019 * simple.el (temporary-goal-column): Change the value for
16020 line-move-visual to a cons cell.
16021 (line-move-visual): Record or set the window hscroll, if
16022 necessary (Bug#3494).
16023 (line-move-1): Handle cons value of temporary-goal-column.
16025 2009-07-11 Kenichi Handa <handa@m17n.org>
16027 * international/mule-diag.el (describe-character-set): Don't show
16030 2009-07-10 Sam Steingold <sds@gnu.org>
16032 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16033 Omake sometimes indents the errors it prints, so allow all
16034 regexps to start with spaces.
16036 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16038 * cus-edit.el (customize-changed-options-previous-release):
16039 Bump value to 22.1. (Bug#3804)
16041 2009-07-08 Sam Steingold <sds@gnu.org>
16043 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16044 to be a cons cell (test . ignored-directory) to selectively ignore
16045 some directories depending on the location of the search.
16047 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16049 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16050 remote user is root, on the local host.
16051 (tramp-local-host-p): Either the local user or the remote user
16052 must be root. (Bug#3771)
16054 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16056 * progmodes/gdb-mi.el (gdb): Remove description of
16057 gdb-use-separate-io-buffer.
16058 (menu): Don't allow toggling of or enable
16059 gdb-use-separate-io-buffer from menubar.
16061 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16063 * mail/unrmail.el (unrmail): Make sure the message ends with two
16064 newlines (Bug#3769).
16066 2009-07-08 Glenn Morris <rgm@gnu.org>
16068 * calendar/calendar.el (calendar-current-date): Rework previous change.
16070 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16072 * calendar/calendar.el (calendar-current-date):
16073 Add an optional argument giving an offset from today.
16075 2009-07-08 Glenn Morris <rgm@gnu.org>
16077 * tutorial.el (tutorial--describe-nonstandard-key):
16078 Adjust the message for when a key has been unbound.
16079 (help-with-tutorial): Hide the arch-tag.
16081 2009-07-08 Kenichi Handa <handa@m17n.org>
16083 * international/fontset.el (setup-default-fontset): For each
16084 script, append (not set) font-specs.
16086 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16089 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16091 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16092 -data-list-register-names to ...
16093 (gdb-starting): ... here because GDB 7.0 requires execution to
16094 have started when using this MI command.
16095 (gdb-set-header): New function to distinguish select and
16096 unselected tabs in gdb buffers.
16097 (gdb-propertize-header): New macro that uses gdb-set-header.
16098 (gdb-breakpoints-header, gdb-locals-header): Use it.
16099 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16101 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16103 * Makefile.in (ELCFILES): Remove fadr.elc.
16105 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16107 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16108 may contain frame information, so `string-match' should be used.
16109 (gdb-update): Disassembly is invalidated through
16110 `gdb-get-selected-frame'.
16111 (gdb-pad-string): New function to pad string with spaces.
16112 (gdb-invalidate-disassembly): Invalidate only if the buffer
16114 (gdb-disassembly-handler-custom): Column alignment.
16115 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16117 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16119 (gdb-frame-handler): Match convention to for disassembly buffer
16121 (gdb-stack-list-frames-handler): Rewritten without regexps.
16122 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16123 not highlight breakpoints without line information.
16124 (gdb-input): Add trailing newline to command.
16126 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16128 (gdb-breakpoints-list-handler-custom): Replacement for
16129 `gdb-break-list-handler'. Using real parser instead of regexps
16131 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16132 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16133 to place breakpoints.
16134 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16136 (gdb-disassembly-handler-custom): Show overlay arrow.
16137 (gdb-disassembly-place-breakpoints): Show breakpoints in
16138 disassembly buffer.
16139 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16140 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16141 instead of parsing breakpoints buffer. Fixed old menu references
16146 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16147 (gdb-memory-address): New variable which holds top address of
16148 memory page shown in memory buffer.
16149 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16150 customization variables.
16152 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16153 display the memory buffer.
16154 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16155 buffer display parameters.
16156 (def-gdb-memory-format, gdb-memory-format-binary)
16157 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16158 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16159 Functions for setting memory buffer format.
16160 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16161 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16162 unit size used in memory buffer.
16163 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16164 to next/previous page of memory buffer.
16165 Now using (bindat-get-field) instead of fadr functions.
16167 2009-07-07 Sam Steingold <sds@gnu.org>
16169 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16170 non-top-level files.
16172 2009-07-07 Kenichi Handa <handa@m17n.org>
16174 * international/mule-cmds.el (reset-language-environment): Put
16175 the highset priority to the charset iso-8859-1.
16177 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16179 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16180 to the end of the line when locating the block (Bug#700).
16182 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16184 * net/tramp.el (tramp-handle-write-region): Flush file properties
16185 in case of short track.
16187 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16189 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16190 Coded custom representation of verilog error regular expressions
16191 to work with Emacs-22's new format.
16192 (verilog-error-regexp-xemacs-alist): Coded custom representation
16193 of verilog error regular expressions to work with XEmacs format.
16194 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16195 error recognition into XEmacs.
16196 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16197 error recognition into Emacs-22.
16199 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16201 * woman.el: Remove stand-alone closing parentheses.
16202 (woman-file-name, woman2-format-paragraphs)
16203 (woman-leave-blank-lines): Code cleanup.
16204 (woman-use-own-frame): Change default to nil.
16205 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16206 defaults to inherit from default faces.
16207 (woman2-process-escapes): Consume the newline after a stand-alone
16208 filler character (Bug#3651).
16210 2009-07-06 Glenn Morris <rgm@gnu.org>
16212 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16213 (top-level): Move provide to the end.
16214 (ffap): Remove defunct URL from custom group.
16216 * subr.el (eval-after-load): Doc fix.
16218 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16220 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16221 `calc-embedded-word' is called twice.
16223 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16225 * files.el (find-alternate-file-other-window, find-alternate-file):
16226 Obey confirm-nonexistent-file-or-buffer.
16228 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16230 * dired-aux.el (dired-show-file-type): Handle remote files.
16232 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16234 * desktop.el (desktop-globals-to-save):
16235 Add file-name-history (Bug#2750).
16237 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16239 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16241 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16243 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16244 property on entire argument since this is what eshell-lisp-command
16247 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16249 * net/tramp-gvfs.el (tramp-gvfs-methods)
16250 (tramp-gvfs-zeroconf-domain)
16251 (tramp-bluez-discover-devices-timeout): Add version flag.
16252 (tramp-gvfs-handler-mounted-unmounted)
16253 (tramp-gvfs-connection-mounted-p): Polish handling of
16254 incompatibilities between GVFS 0.2 and 1.0.
16256 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16258 * cus-start.el (all): Add make-pointer-invisible.
16260 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16262 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16263 formatted correctly.
16265 2009-07-02 Juri Linkov <juri@jurta.org>
16267 * info.el: Virtual Info files and nodes.
16268 (Info-virtual-files, Info-virtual-nodes): New variables.
16269 (Info-current-node-virtual): New variable.
16270 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16272 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16273 to check for a virtual file instead of checking a fixed list
16275 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16276 instead of ad-hoc processing of "dir" and (apropos history toc).
16277 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16278 instead of ad-hoc processing of "dir" and (apropos history toc).
16279 Reread a file when moving from a virtual node.
16280 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16281 (Info-directory-toc-nodes, Info-directory-find-file)
16282 (Info-directory-find-node): New functions.
16283 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16284 (Info-history): Move part of code to
16285 `Info-history-find-node'.
16286 (Info-history-toc-nodes, Info-history-find-file)
16287 (Info-history-find-node): New functions.
16288 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16289 (Info-toc): Move part of code to `Info-toc-find-node'.
16290 (Info-toc-find-node): New function.
16291 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16292 the current Info file name to references because now the node
16293 "*TOC*" belongs to the same Info manual.
16294 (Info-toc-build): Rename from `Info-build-toc'.
16295 (Info-toc-nodes): Rename input argument `file' to `filename'.
16296 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16297 instead of ad-hoc processing of ("dir" apropos history toc).
16298 (Info-index-nodes): Use Info-virtual-file-p
16299 to check for a virtual file instead of checking a fixed list
16301 (Info-index-node): Add check for `Info-current-node-virtual'.
16302 Raise `save-match-data' higher up the tree to contain
16303 `search-forward' too (bug fix).
16304 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16305 (Info-virtual-index-nodes): New variable.
16306 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16307 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16308 (Info-apropos-file, Info-apropos-nodes): New variables.
16309 (Info-apropos-toc-nodes, Info-apropos-find-file)
16310 (Info-apropos-find-node, Info-apropos-matches): New functions.
16311 (info-apropos): Move part of code to `Info-apropos-find-node' and
16312 `Info-apropos-matches'.
16313 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16314 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16315 for a virtual file instead of checking a fixed list of node names.
16317 * simple.el (async-shell-command): New command.
16319 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16321 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16322 instead of `mount-info'.
16324 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16326 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16327 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16329 2009-07-02 Kenichi Handa <handa@m17n.org>
16331 * international/mule.el (set-keyboard-coding-system): Force *-unix
16332 coding-system to avoid eol conversion.
16334 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16337 Add handler for `process-file', `shell-command' and
16338 `start-file-process'.
16339 (tramp-gvfs-handle-shell-command)
16340 (tramp-gvfs-handle-start-file-process)
16341 (tramp-gvfs-handle-process-file): New defuns.
16342 (tramp-synce-list-devices): Simplify check for existence of property.
16344 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16346 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16348 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16350 * language/korean.el (set-language-info-alist): Add korean-cp949,
16353 2009-07-01 Kenichi Handa <handa@m17n.org>
16355 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16357 * international/encoded-kb.el: Deleted.
16359 * international/mule.el (set-keyboard-coding-system): Perform the
16360 necessary setup here instead of calling encoded-kbd-setup-display.
16362 2009-07-01 Glenn Morris <rgm@gnu.org>
16364 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16366 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16368 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16370 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16372 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16373 Handle also the 'rename case, when setting file modes. (Bug#3712)
16374 (tramp-default-file-modes): Remove execute permissions.
16376 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16377 (top): Add a default for "synce" in `tramp-default-user-alist'.
16378 Add completion function for "synce" method.
16379 (tramp-hal-service, tramp-hal-path-manager)
16380 (tramp-hal-interface-manager, tramp-hal-interface-device):
16382 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16383 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16386 * net/trampver.el: Update release number.
16388 2009-06-30 Kenichi Handa <handa@m17n.org>
16390 * international/fontset.el (setup-default-fontset): Add CJK fonts
16391 for symbols and the other miscellaneous characters.
16393 * language/korea-util.el (setup-korean-environment-internal):
16394 Make char-width-table suitable for Korean environments.
16395 (exit-korean-environment): Cancel above.
16397 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16398 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16399 setup-function to make char-width-table suitable for respective
16400 environments, and an exit-function to cancel that.
16402 * language/japan-util.el (setup-japanese-environment-internal):
16403 Call use-cjk-char-width-table with arg `ja_JP'.
16405 * international/characters.el (cjk-char-width-table): Delete it.
16406 (cjk-char-width-table-list): New variable.
16407 (use-cjk-char-width-table): New arg local-name.
16408 (use-default-char-width-table): Fix for the case that Emacs is
16409 already using the default char-width-table.
16411 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16413 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16414 modes mandatory. (Bug#3712)
16416 2009-06-29 Alan Mackenzie <acm@muc.de>
16418 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16419 correction between the visible width of TABs and their number of bytes.
16421 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16423 * server.el (server-buffer-done): Prevent kill-buffer from
16424 prompting by clearing the buffer modification flag (Bug#3696).
16426 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16428 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16429 (verilog-endcomment-reason-re): Support unique case and priority case.
16430 (verilog-basic-complete-re): Support localparam lineup.
16431 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16432 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16434 (verilog-leap-to-case-head): Now support *nested* unique &
16435 priority case statements.
16436 (verilog-auto-lineup): Make just declarations the default (as it
16438 (verilog-leap-to-case-head): Support priority/unique case statements.
16439 (verilog-auto-lineup): Rework to give users radio buttons to
16440 select the various styles of automatic lineup.
16441 (verilog-error-regexp-alist): Rework to support the XEmacs style
16442 of error regular expressions from compilers, lint tools &
16443 simulators. Note that GNU Emacs has made it impossible for a mode
16444 to load such things.
16445 (electric-verilog-terminate-line, verilog-indent-declaration)
16446 (verilog-auto-wiure): Rework for radio button selection of
16447 auto-lineup selection of specification of auto lineup.
16448 (verilog-beg-of-statement-1): Redesign to support proper operation
16449 in additional code, based on testing with auto-lineup.
16450 (verilog-calculate-indent, assignments & declarations)
16451 (verilog-backward-token): Enhance to support auto-lineup of
16452 assignments & declarations.
16453 (verilog-in-directive-p, verilog-at-struct-p): New function for
16454 easy test of whether we are.
16455 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16456 to support safe execution at almost anyline.
16457 (verilog-calc-1): Properly support indenting deep inside generate
16459 (verilog-init-font): Remove definition & use of verilog-init-font,
16460 as it is redundant with font-lock-defaults.
16461 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16462 to avoid circular calls if syntax-ppss is a function (as is the
16463 case now in 22.x GNU Emacs) as that function would sometimes call
16464 itself, leading to (nearly) infinite recursion.
16465 (verilog-ovm-begin-re, verilog-ovm-end-re)
16466 (verilog-ovm-statement-re, verilog-leap-to-head)
16467 (verilog-backward-token): Add support for OVM macros. Some are
16468 complete statements, and others open and close scopes like begin
16470 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16471 (verilog-defun-level-generate-only-re): Really fix the defun-list
16473 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16474 coverpoint, constraint and cross statements.
16475 (verilog-defun-level-list, verilog-generate-defun-level-list)
16476 (verilog-all-defun-level-list): Redo these specifications - it is
16477 too hard to support eval-when compile aggregation of lists also
16478 built at when-compile time.
16479 (verilog-defun-level-list): Place defconsts of variables used in
16480 building regular expressions which are built in eval-when-compile
16481 bodies in the same eval-when-compile body to facilitate compile
16483 (verilog-beg-block-re-ordered): Support indenting
16484 virtual/protected tasks and functions.
16485 (verilog-defun-level-list, verilog-in-generate-region-p)
16486 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16487 indentation of some module items (generate items).
16488 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16489 across virtual/protected tasks and functions.
16491 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16493 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16494 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16495 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16496 in concatenations. Reported by Yishay Belkind.
16497 (verilog-auto-ascii-enum): Support one-hot state machines in
16498 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16499 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16500 modport in AUTOINST and add vl-modport for users. Reported by
16502 (verilog-auto-inout-module, verilog-auto-inst)
16503 (verilog-decls-get-interfaces, verilog-insert-definition)
16504 (verilog-insert-one-definition, verilog-read-decls)
16505 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16506 (verilog-sig-modport, verilog-signals-combine-bus)
16507 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16508 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16509 Suggested by David Rogoff.
16510 (verilog-repair-open-comma): Fix non-insertion of comma when
16511 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16512 (verilog-make-width-expression): Simplify [A-1:0] expression
16513 widths to just {A{1'b0}}.
16514 (verilog-mode): Cleanup checkdoc warnings.
16515 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16516 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16517 inputs/outputs or data type. Suggested by Vasu Kandadi.
16518 (next-error-last-buffer): Fix byte-compiler warning.
16519 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16520 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16521 or shell command text during AUTO expansion. Suggested by Tad Truex.
16522 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16523 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16524 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16525 in AUTOINOUT. Reported by Matthew Lovell.
16526 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16527 causing use of <= assignments. Reported by Alex Reed.
16528 (verilog-read-decls): Fix triand, trior, wand, wor to be
16529 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16530 (verilog-extended-complete-re): Support import "DPI-C" functions.
16531 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16532 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16533 (verilog-insert-date, verilog-insert-year)
16534 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16535 Windows systems. Reported by Michael Potts.
16536 (verilog-read-module-name): Fix AUTOINST when the child module
16537 declaration's name is a tick define. Reported by Elliot Mednick.
16538 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16539 passed to next parameter's definition. Reported by Bruce T.
16540 (verilog-read-decls): Fix detecting "parameter int" when using
16541 AUTOINSTPARAM. Reported by Bruce T.
16542 (verilog-goto-defun): Fix goto not finding modules unless first
16543 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16544 (verilog-mode): Expand -f flag arguments on entry to mode so
16545 verilog-goto-defun will work. Reported by Lawrence Butcher.
16546 (verilog-getopt): Expand environment variables in -f file
16547 arguments. Suggested by Lawrence Butcher.
16548 (verilog-set-define): Fix "Symbol's value as variable is void"
16549 when reading enumerations.
16550 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16551 Suggested by Stephen Peltan.
16552 (verilog-read-defines): Fix reading of enumerations in include
16553 files. Reported by Steve Peltan.
16555 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16557 * files.el (trash-directory): Fix defcustom type.
16559 2009-06-28 Juri Linkov <juri@jurta.org>
16561 * help-fns.el (describe-function-1): Correctly locate adviced
16562 functions in hyperlink (Bug#2438).
16564 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16566 * files.el (trash-directory): Change default to nil.
16567 (move-file-to-trash): If trash-directory is nil and
16568 system-move-file-to-trash is unbound, perform freedesktop-style
16571 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16573 * files.el (move-file-to-trash): Add freedesktop trash
16576 2009-06-28 Glenn Morris <rgm@gnu.org>
16578 * autorevert.el (global-auto-revert-non-file-buffers)
16579 (global-auto-revert-mode): Doc fixes.
16581 2009-06-27 Johan Bockgård <bojohan@gnu.org>
16583 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16585 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
16587 * faces.el (x-handle-named-frame-geometry): Ensure that we have
16588 opened an X connection before calling x-get-resource (Bug#3194).
16590 * play/doctor.el: Remove reference to obsolete website.
16591 (make-doctor-variables): Correct grammar mistake (Bug#2633).
16593 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
16595 Remove find-file-not-found-hook VC method. (Bug#2757)
16596 * vc-hooks.el (vc-file-not-found-hook)
16597 (vc-default-find-file-not-found-hook): Remove functions.
16598 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16599 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16602 * vc-git.el: Do not mention find-file-not-found-hook VC method.
16604 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
16606 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16607 compatibility function for `looking-back'.
16609 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16610 Use `ispell-looking-back'.
16612 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
16614 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16615 rather than `filename'.
16617 2009-06-23 Miles Bader <miles@gnu.org>
16619 * face-remap.el (text-scale-set): New function.
16621 2009-06-23 Glenn Morris <rgm@gnu.org>
16623 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16625 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16627 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16629 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16631 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16632 Simplify Persian conditionals.
16634 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16635 variable `filename'.
16637 * comint.el (comint-insert-input): Doc fix.
16639 * Makefile.in (ELCFILES): Fix typo in previous change.
16641 2009-06-23 Miles Bader <miles@gnu.org>
16643 * cus-start.el: Add entry for `recenter-redisplay'.
16645 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16647 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16648 Add an optional argument for the backend, use it instead of
16649 calling vc-backend.
16650 (vc-mode-line): Add an optional argument for the backend.
16651 Pass the backend to vc-state and vc-working-revision. Move code for
16652 special handling for vc-state being a buffer to ...
16654 * vc-rcs.el (vc-rcs-find-file-hook):
16655 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
16657 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16658 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16659 vc-stay-local-p and vc-mode-line calls.
16661 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16662 (vc-cvs-diff, vc-cvs-annotate-command)
16663 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16664 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16665 vc-mode-line calls.
16667 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16669 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16670 backend when calling vc-mode-line.
16671 (vc-register): Do not create a closure for calling the vc register
16672 function, call it directly.
16674 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16676 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16677 to make it obvious item can be clicked.
16679 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16681 2009-06-23 Kenichi Handa <handa@m17n.org>
16683 * language/korea-util.el (korean-key-bindings): Change the binding
16684 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
16687 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
16689 Sync with Tramp 2.1.16.
16691 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16693 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
16694 when a loading of a package fails. Completion function for rsync
16695 is `tramp-completion-function-alist-ssh'.
16696 (all): Replace all calls of `split-string' and
16697 `tramp-split-string' by `tramp-compat-split-string'.
16698 (tramp-default-method): Use `tramp-compat-process-running-p'.
16699 (tramp-default-proxies-alist): Allow also Lisp forms.
16700 (tramp-remote-path): Add choice "Private Directories".
16701 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16702 (tramp-domain-regexp): Allow also "-", "_" and ".".
16703 (tramp-end-of-output): Remove newlines, and add "$" at the end.
16704 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16705 (tramp-debug-message): Insert header line in debug buffer.
16706 (tramp-handle-directory-files-and-attributes-with-stat):
16707 Care about filenames with spaces, or starting with "-".
16708 (tramp-handle-dired-uncache): New defun.
16709 (tramp-handle-insert-directory): Don't flush the directory from
16710 cache, this is handled by `dired-uncache' now.
16711 (tramp-handle-insert-file-contents): Improve error handling.
16712 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16713 Quote `tramp-end-of-output'.
16714 (tramp-action-password): Improve trace message.
16715 (tramp-check-for-regexp): Both echoes must be present, before removing.
16716 (tramp-open-connection-setup-interactive-shell): Trace coding system.
16717 (tramp-compute-multi-hops): Eval cons cells of
16718 `tramp-default-proxies-alist'.
16719 (tramp-maybe-open-connection): Use the same command pattern for
16720 first hop and further hops.
16721 (tramp-wait-for-output): Remove handling of newlines.
16722 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16723 (tramp-split-string): Remove function. It is handled in
16726 * net/tramp-cmds.el (tramp-bug):
16727 Recommend `tramp-cleanup-all-connections' in the bug mail.
16729 * net/tramp-compat.el (tramp-compat-split-string)
16730 (tramp-compat-process-running-p): New defuns.
16732 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16733 for `dired-uncache'.
16735 * net/tramp-gvfs.el: New package.
16737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16738 Add handler for `dired-uncache'.
16739 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16741 * net/trampver.el: Update release number. Make version check fit
16744 2009-06-22 Jim Meyering <meyering@redhat.com>
16746 Automatically handle .xz suffix (XZ-compressed files), too.
16747 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16748 XZ is the successor to LZMA: <http://tukaani.org/xz/>
16750 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
16751 Nick Roberts <nickrob@snap.net.nz>
16753 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16754 repository (http://sphinx.net.ru/hg/gdb-mi/).
16756 2009-06-22 Glenn Morris <rgm@gnu.org>
16758 * files.el (dir-locals-collect-mode-variables): Allow for any number of
16759 `mode' and `eval' entries. (Bug#3430)
16761 * Makefile.in (ELCFILES): Add fadr.elc.
16763 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16764 differing behavior of \n and ^ in strings. (Bug#3385)
16766 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16768 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16770 (lisp-indent-function): Make it a defcustom.
16772 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
16774 * progmodes/gdb-ui.el: Replace with ...
16775 * progmodes/gdb-mi.el: ... this file.
16776 * progmodes/gud.el: Modify for gdb-mi.el.
16778 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
16780 * fadr.el: New file.
16782 See ChangeLog.14 for earlier changes.
16784 ;; Local Variables:
16788 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
16790 This file is part of GNU Emacs.
16792 GNU Emacs is free software: you can redistribute it and/or modify
16793 it under the terms of the GNU General Public License as published by
16794 the Free Software Foundation, either version 3 of the License, or
16795 (at your option) any later version.
16797 GNU Emacs is distributed in the hope that it will be useful,
16798 but WITHOUT ANY WARRANTY; without even the implied warranty of
16799 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16800 GNU General Public License for more details.
16802 You should have received a copy of the GNU General Public License
16803 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
16805 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1