1 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3 * minibuffer.el (completion-in-region--postch)
4 (completion-in-region-mode): Remove unnecessary messages.
6 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
8 * font-lock.el (font-lock-refresh-defaults):
9 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12 * info.el (Info-directory-list, Info-read-node-name-2)
13 (Info-split-parameter-string): Doc fixes.
14 (Info-virtual-nodes): Reflow docstring.
15 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18 Fix typos in docstrings.
19 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22 (Info-restore-desktop-buffer): Mark unused parameters.
23 (Info-directory-find-file, Info-directory-find-node)
24 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25 (Info-virtual-index-find-node, Info-apropos-find-file)
26 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27 Mark unused parameters; fix typos in docstrings.
28 (Info-virtual-index): Remove unused local variable `nodename'.
30 2011-04-05 Deniz Dogan <deniz@dogan.se>
32 * net/rcirc.el: Update my e-mail address.
33 (rcirc-mode-map): Remove M-o binding.
35 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
37 * startup.el (command-line): Save the cursor's theme-face
38 directly, instead of using face-override-spec.
40 * custom.el (load-theme): Minor optimization in assigning faces.
42 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
44 * help-fns.el (describe-variable): Complete all variables having
45 documentation, including keywords.
46 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
48 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
50 Convert to lexical-binding.
52 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
53 (bs--get-marked-string, bs--get-modified-string)
54 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
55 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
56 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
58 * ehelp.el (electric-help-execute-extended)
59 (electric-help-ctrl-x-prefix):
60 * hexl.el (hexl-revert-buffer-function):
61 * linum.el (linum-after-change, linum-after-scroll):
62 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
64 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
66 2011-04-04 Daiki Ueno <ueno@unixuser.org>
73 * epg.el: Use lexical binding.
75 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
77 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
79 * textmodes/flyspell.el (flyspell-word): Recognize default
80 dictionary case for flyspell-mark-duplications-exceptions. Use
81 regexp matching for languages.
82 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
83 default dictionary (Bug#7926).
85 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
87 * emacs-lisp/package.el (package--with-work-buffer): Recognize
90 * net/network-stream.el: Move from gnus/proto-stream.el. Change
91 prefix to network-stream throughout.
92 (open-protocol-stream): Merge into open-network-stream, leaving
93 open-protocol-stream as an alias. Handle nil BUFFER args.
95 * subr.el (open-network-stream): Move to net/network-stream.el.
97 2011-04-02 Glenn Morris <rgm@gnu.org>
99 * find-dired.el (find-exec-terminator): New option.
100 (find-ls-option): Test for -ls support.
101 (find-ls-subdir-switches): Test for -b in find-ls-option.
102 (find-dired, find-grep-dired): Doc fixes.
103 (find-dired): Use find-exec-terminator.
105 * find-dired.el (find-ls-option, find-ls-subdir-switches)
106 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
107 (find-name-arg): Remove purecopy.
109 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
110 (grep-compute-defaults): Check for `-exec COMMAND +' support.
111 Set grep-find-use-xargs, grep-find-command, and grep-find-template
112 accordingly. Don't add the null-device if not needed.
114 * files.el (save-some-buffers): Doc fix.
116 2011-04-02 Eli Zaretskii <eliz@gnu.org>
118 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
120 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
122 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
123 Use `dolist' rather than `mapcar'.
125 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
129 * subr.el (apply-partially): Use new closures rather than CL.
130 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
131 (dolist, dotimes): Use slightly different expansion for lexical code.
132 (functionp): Move to C.
134 (with-wrapper-hook): Use it and apply-partially instead of CL.
135 (eval-after-load): Preserve lexical-binding.
136 (save-window-excursion, with-output-to-temp-buffer): Turn them
139 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
141 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
143 (help-add-fundoc-usage): Don't add `Not documented'.
144 (help-function-arglist): Handle closures, subroutines, and new
146 (help-make-usage): Remove leading underscores.
147 (describe-function-1): Handle closures.
148 (describe-variable): Use special-variable-p for completion.
150 * files.el (lexical-binding): Declare safe.
152 * emacs-lisp/pcase.el: Don't use destructuring-bind.
153 (pcase--memoize): Rename from pcase-memoize. Change weakness.
154 (pcase): Add `let' pattern.
155 Change memoization so it actually works.
156 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
157 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
160 * emacs-lisp/macroexp.el: Use lexical binding.
161 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
162 Don't convert ' to #' without checking that it's indeed quoting
165 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
166 Use eval-sexp-add-defvars.
167 (eval-sexp-add-defvars): New fun.
169 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
171 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
173 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
174 than the internal `byte-compile-lambda'.
175 (defmethod): Don't hide code under quotes.
176 (eieio-defmethod): New `code' argument.
178 * emacs-lisp/eieio-comp.el: Remove.
180 * emacs-lisp/edebug.el (edebug-eval-defun)
181 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
182 (edebug-toggle): Avoid `eval'.
184 * emacs-lisp/disass.el (disassemble-internal): Handle new
186 (disassemble-1): Handle new byte codes.
188 * emacs-lisp/cl.el (pushnew): Silence warning.
190 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
191 (cl-byte-compile-throw): Remove.
192 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
194 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
197 * emacs-lisp/cconv.el: New file.
199 * emacs-lisp/bytecomp.el: Use lexical binding instead of
200 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
201 (byte-compile-initial-macro-environment):
202 Handle declare-function here.
203 (byte-compile--lexical-environment): New var.
204 (byte-stack-ref, byte-stack-set, byte-discardN)
205 (byte-discardN-preserve-tos): New lap codes.
206 (byte-interactive-p): Don't use any more.
207 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
209 (byte-compile-lapcode): Use them and handle new lap codes.
210 (byte-compile-obsolete): Remove.
211 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
212 (byte-compile-arglist-warn): Check late def of inlinable funs.
213 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
214 since they should have been expanded by now.
215 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
216 (byte-compile-from-buffer): Remove unused second arg.
217 (byte-compile-preprocess): New function.
218 (byte-compile-toplevel-file-form): New function to distinguish
219 file-form calls from outside from file-form calls from hunk-handlers.
220 (byte-compile-file-form): Simplify.
221 (byte-compile-file-form-defsubst): Remove.
222 (byte-compile-file-form-defmumble): Simplify now that
223 byte-compile-lambda always returns a byte-code-function.
224 (byte-compile): Preprocess.
225 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
226 Remove, not used any more.
227 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
228 (byte-compile-make-args-desc): New funs.
229 (byte-compile-lambda): Handle lexical functions. Always return
230 a byte-code-function.
231 (byte-compile-reserved-constants): New var, to make up room for
232 closed-over variables.
233 (byte-compile-constants-vector): Obey it.
234 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
235 (byte-compile-macroexpand-declare-function): New function.
236 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
238 (byte-compile-form): Check obsolescence here.
239 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
240 (byte-compile-variable-ref): Remove.
241 (byte-compile-dynamic-variable-op): New fun.
242 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
243 (byte-compile-variable-set): New funs.
244 (byte-compile-discard): Add 2 args.
245 (byte-compile-stack-ref, byte-compile-stack-set)
246 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
247 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
248 macroexpand-all instead.
249 (byte-compile-quote-form): Remove.
250 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
251 (byte-compile-bind, byte-compile-unbind): New funs.
252 (byte-compile-let): Handle let* and lexical binding.
253 (byte-compile-let*): Remove.
254 (byte-compile-catch, byte-compile-unwind-protect)
255 (byte-compile-track-mouse, byte-compile-condition-case):
256 Handle a new :fun-body form, used for lexical scoping.
257 (byte-compile-save-window-excursion)
258 (byte-compile-with-output-to-temp-buffer): Remove.
259 (byte-compile-defun): Simplify.
260 (byte-compile-stack-adjustment): New fun.
261 (byte-compile-out): Use it.
262 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
264 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
267 * emacs-lisp/byte-opt.el: Use lexical binding.
268 (byte-inline-lapcode): Remove (to bytecomp).
269 (byte-compile-inline-expand): Pay attention to inlining to/from
270 lexically bound code.
271 (byte-compile-unfold-lambda): Don't handle byte-code-functions
273 (byte-optimize-form-code-walker): Don't handle save-window-excursion
274 any more and don't call compiler-macros.
275 (byte-compile-splice-in-already-compiled-code): Remove.
276 (byte-code): Don't inline any more.
277 (disassemble-offset): Receive `bytes' as argument rather than via
279 (byte-compile-tag-number): Declare before first use.
280 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
281 `return' even if make-spliceable.
282 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
283 obsolete interactive-p.
284 (byte-optimize-lapcode): Optimize new lap-codes.
285 Don't trip up on new form of `byte-constant' lap code.
287 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
289 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
291 * custom.el (custom-initialize-default, custom-declare-variable):
294 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
296 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
297 (COMPILE_FIRST): Add macroexp and cconv.
298 * makefile.w32-in: Mirror changes in Makefile.in.
305 * textmodes/bibtex-style.el:
314 * emacs-lisp/smie.el:
317 * abbrev.el: Use lexical binding.
319 2011-04-01 Eli Zaretskii <eliz@gnu.org>
321 * info.el (info-display-manual): New function.
323 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
325 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
327 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
329 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
330 an entry for that server in rcirc-authinfo. (Bug#8385)
332 2011-03-31 Glenn Morris <rgm@gnu.org>
334 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
336 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
338 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
340 * progmodes/python.el (python-default-interpreter)
341 (python-python-command-args, python-jython-command-args)
342 (python-which-shell, python-which-args, python-which-bufname)
343 (python-file-queue, python-comint-output-filter-function)
344 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
345 variables and functions.
347 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
349 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
350 (completion-in-region-mode): New minor mode.
351 (completion-in-region): Use it.
352 (completion-in-region--data, completion-in-region-mode-map): New vars.
353 (completion-in-region--postch): New function.
354 (completion--capf-misbehave-funs, completion--capf-safe-funs):
356 (completion--capf-wrapper): New function.
357 (completion-at-point): Use it to track well-behavedness of
359 (completion-help-at-point): New command.
361 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
363 * vc/add-log.el (add-change-log-entry): Don't use whitespace
364 syntax class to search for whitespace on a single line
365 (Message-ID: <4D938140.4030905@redhat.com>).
367 2011-03-30 Leo Liu <sdl.web@gmail.com>
369 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
371 (edit-abbrevs-map): Bind them here.
372 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
374 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
376 * allout.el (allout-hide-by-annotation, allout-flag-region):
377 Reduce possibility of overlay leakage by making them volatile.
379 * allout-widgets.el (allout-widgets-tally): Define as nil so the
380 hash is not shared between buffers. Mode initialization is
381 responsible for giving it a useful starting value.
382 (allout-item-span): Reduce possibility of overlay leakage by
383 making them volatile.
384 (allout-widgets-count-buttons-in-region): Add diagnostic function
385 for tracking down button overlay leaks.
387 2011-03-29 Leo Liu <sdl.web@gmail.com>
389 * ido.el (ido-read-internal): Use the default history var
390 minibuffer-history if no HISTORY is specified.
392 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
394 * net/imap.el (imap-shell-open, imap-process-connection-type):
395 Use imap-process-connection-type for 'shell' streams as well as
396 Kerberos, SSL, other subprocesses.
398 2011-03-28 Leo Liu <sdl.web@gmail.com>
400 * abbrev.el (abbrev-table-empty-p): New function.
401 (prepare-abbrev-list-buffer): Place empty abbrev tables after
402 nonempty ones. (Bug#5937)
404 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
406 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
408 2011-03-27 Leo Liu <sdl.web@gmail.com>
410 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
411 for foreground and background colors.
412 (ansi-color-make-color-map): Adapt.
414 2011-03-25 Leo Liu <sdl.web@gmail.com>
416 * midnight.el (midnight-time-float): Remove. Note it calculates
417 the microsecond component incorrectly and seconds-to-time does the
419 Remove redundant (require 'timer).
421 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
422 (ido-completions): Remove unused arguments. (Bug#8329)
424 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
426 * minibuffer.el (completion--flush-all-sorted-completions):
427 Remove itself from hook.
428 (completion-at-point): Let the functions perform the completion
429 immediately and return nil or t.
430 * comint.el (comint-dynamic-complete-functions): Now identical to
431 completion-at-point-functions.
432 (comint-dynamic-list-input-ring): Remove unused var `index'.
433 (comint--match-partial-filename, comint--unquote&expand-filename):
434 New funs, split from comint-match-partial-filename.
435 (comint-dynamic-complete): Use completion-at-point.
436 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
438 2011-03-24 Drew Adams <drew.adams@oracle.com>
440 * thingatpt.el: Support `defun'.
442 2011-03-23 Leo Liu <sdl.web@gmail.com>
444 * abbrevlist.el: Move to obsolete/abbrevlist.el.
446 * help-mode.el (help-mode-finish): Tweak regexp.
448 2011-03-23 Glenn Morris <rgm@gnu.org>
450 * eshell/esh-opt.el (eshell-eval-using-options):
451 Do not bind unused local variable `eshell-option-stub'.
453 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
455 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
457 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
458 keymap variable in `with-no-warnings' to avoid a warning when the
459 keymap has been already `defconst'ed.
461 2011-03-22 Leo Liu <sdl.web@gmail.com>
463 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
464 encode all chars in abbrevs; otherwise use emacs-mule or
465 utf-8-emacs. (Bug#8308)
467 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
469 * simple.el (backward-delete-char-untabify):
470 Avoid warning about using `delete-backward-char'.
472 * image.el (image-type-file-name-regexps): Make it variable.
473 `imagemagick-register-types' modifies it, and the user may want
474 to add new extensions for known image types.
475 (imagemagick-register-types): Throw error if not using ImageMagick.
477 2011-03-22 Leo Liu <sdl.web@gmail.com>
479 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
480 located before rcirc-prompt-end-marker.
481 (rcirc-complete): Error if point is not after rcirc prompt.
482 Handle the case when table is nil.
483 (rcirc-user-authenticated): Define to fix compiler warning.
485 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
487 * custom.el (custom--inhibit-theme-enable): Make it affect only
488 custom-theme-set-variables and custom-theme-set-faces.
489 (provide-theme): Ignore custom--inhibit-theme-enable.
490 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
491 (custom-enabling-themes): Delete variable.
492 (enable-theme): Accept only loaded themes as arguments.
493 Ignore the special custom-enabled-themes variable.
494 (custom-enabled-themes): Forbid themes from setting this.
495 Eliminate use of custom-enabling-themes.
496 (custom-push-theme): Quote "changed" custom var entry.
498 2011-03-21 Leo Liu <sdl.web@gmail.com>
500 * ido.el (ido-read-internal): Add ido-selected to history instead
503 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
505 * subr.el (deferred-action-list, deferred-action-function):
508 2011-03-21 Leo Liu <sdl.web@gmail.com>
510 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
511 change on 2011-02-13 (bug#8309).
513 * minibuffer.el (read-file-name-function): Change default value.
514 (read-file-name--defaults): Rename from read-file-name-defaults.
515 (read-file-name-default): Rename from read-file-name.
516 (read-file-name): Call read-file-name-function.
518 2011-03-21 Glenn Morris <rgm@gnu.org>
520 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
523 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
525 * cus-theme.el: Add missing provide statement.
526 (customize-create-theme): Extract theme value correctly.
527 (custom-theme-visit-theme): Autoload.
528 (customize-create-theme): Prompt before inserting default faces.
530 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
532 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
533 units and musical notes.
535 2011-03-20 Leo <sdl.web@gmail.com>
537 * ido.el (ido-read-internal): Use completing-read-default.
538 (ido-completing-read): Fix compatibility with completing-read.
540 2011-03-20 Christian Ohler <ohler@gnu.org>
542 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
543 (ert-delete-all-tests): Use `called-interactively-p' rather than
545 (ert--make-xrefs-region): Respect END.
547 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
549 * dired-aux.el (dired-create-directory): Signal an error if the
550 directory already exists (Bug#8246).
552 * facemenu.el (list-colors-display): Call list-faces-display
553 inside with-help-window.
554 (list-colors-print): Use display property to align the final
555 column, instead of checking window-width.
557 2011-03-19 Eli Zaretskii <eliz@gnu.org>
559 * emerge.el (emerge-metachars): Separate value for ms-dos and
561 (emerge-protect-metachars): Quote correctly for ms-dos and
564 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
566 * info.el (info-initialize): Replace all uses of `:' with
567 path-separator for compatibility with non-Unix systems.
568 Cache quoting of path-separator. (Bug#8258)
570 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
572 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
573 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
574 (mouse-avoidance-mode): Fix typos in docstrings.
576 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
578 * startup.el (package-subdirectory-regexp): Move from package.el.
579 Omit \\` and \\', and let callers add them.
581 * emacs-lisp/package.el (package-strip-version)
582 (package-load-all-descriptors): Add \\` and \\' to
583 package-subdirectory-regexp before using it.
584 (package-untar-buffer): New arg DIR; ensure that file untars only
585 into this expected directory. Remove superfluous delete-region.
586 (package-unpack): Caller changed.
587 (package-tar-file-info): Use package-subdirectory-regexp.
589 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
591 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
592 diff-mode-shared-map (bug#8284).
593 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
595 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
597 * calendar/time-date.el (format-seconds): Use assoc instead of
598 assoc-string, since assoc-string doesn't exist in XEmacs.
600 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
602 * custom.el (custom-known-themes): Reflow docstring.
603 (custom-theme-load-path): Fix typo in docstring.
604 (load-theme): Fix typo in error message.
605 (custom-available-themes, custom-variable-theme-value):
606 Use `let', not `let*'.
608 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
610 * calc/README: Mention inclusion of musical notes.
612 * calc/calc-units.el (calc-lu-quant): Rename from
613 `calc-logunits-quantity'.
614 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
615 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
616 (calc-db): Rename from `calc-dblevel'.
617 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
618 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
619 (calc-np): Rename from `calc-nplevel'.
620 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
621 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
622 (calc-lu-plus): Rename from `calc-logunits-add'.
623 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
624 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
625 (calc-lu-minus): Rename from `calc-logunits-sub'.
626 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
627 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
628 (calc-lu-times): Rename from `calc-logunits-mul'.
629 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
630 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
631 (calc-lu-divide): Rename from `calc-logunits-div'.
632 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
633 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
635 * calc/calc-ext.el (calc-init-extensions): Update the names of the
636 functions being autoloaded.
638 * calc/calc.el (calc-lu-power-reference): Rename from
639 `calc-logunits-power-reference'.
640 (calc-lu-field-reference): Rename from
641 `calc-logunits-field-reference'.
643 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
645 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
647 * minibuffer.el (completion-all-sorted-completions):
648 Use :completion-cycle-penalty text property if present.
650 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
652 * allout.el (allout-yank-processing): Adjust for new rebulleting
653 regime so bullet being yanked is used without prompting the user
656 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
658 * startup.el (command-line): Warn the user that _emacs is deprecated.
660 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
662 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
663 (delphi-verbose, delphi-comment-face, delphi-string-face)
664 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
665 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
666 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
667 (delphi-new-comment-line, delphi-font-lock-defaults)
668 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
669 Fix typos in docstrings.
671 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
673 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
674 Invert the roles of character and string values for INSTEAD, so a
675 string is used for the more common case of a defaulting prompt.
677 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
679 * progmodes/ruby-mode.el (ruby-backward-sexp):
680 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
681 * play/gamegrid.el (gamegrid-make-face):
682 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
683 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
684 * notifications.el (notifications-notify):
685 * net/xesam.el (xesam-search-engines):
686 * net/quickurl.el (quickurl-list-insert):
687 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
689 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
691 * startup.el (command-line): Update package subdirectory regexp.
693 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
695 * allout.el (allout-abbreviate-flattened-numbering)
696 (allout-mode-deactivate-hook): Fix up obsolescence "date".
698 * subr.el (read-char-choice): Only show the cursor after the prompt,
699 not after the answer.
701 2011-03-15 Kevin Ryde <user42@zip.com.au>
703 * help-fns.el (variable-at-point): Skip leading quotes, if any
706 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
708 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
711 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
713 * shell.el (shell): When called interactively, offer to change the
714 shell file name on remote hosts.
716 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
718 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
719 integration for LDAP parameters. The host, base, user or binddn,
720 and secret tokens can be specified in a netrc file, for instance.
721 This is optional because an `auth-source' parameter must be
722 specified in the search attributes.
724 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
726 * help.el (describe-mode): Link to the mode's definition (bug#8185).
728 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
730 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
731 into declaration. Remove redundant and harmful binding.
733 2011-03-12 Eli Zaretskii <eliz@gnu.org>
735 * files.el (file-ownership-preserved-p): Pass `integer' as an
736 explicit 2nd argument to `file-attributes'. If the file's owner
737 is the Administrators group on Windows, and the current user is
738 Administrator, consider that a match.
740 * server.el (server-ensure-safe-dir): Consider server directory
741 safe on MS-Windows if its owner is the Administrators group while
742 the current Emacs user is Administrator. Use `=' to compare
743 numerical UIDs, since they could be integers or floats.
745 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
747 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
749 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
751 Sync with Tramp 2.2.1.
753 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
755 * net/trampver.el: Update release number.
757 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
759 * progmodes/compile.el (compilation--previous-directory): Fix up
760 various nil/dead-marker mismatches (bug#8014).
761 (compilation-directory-properties, compilation-error-properties):
762 Don't call it at a position past the one we're about to change.
764 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
765 Disable obsolescence warnings in the file that declares it.
767 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
769 * allout-widgets.el (allout-widgets-tally): Initialize
770 allout-widgets-tally as a hash table rather than nil to prevent
771 mode-line redisplay warnings.
772 Also, clarify the module description and fix a comment typo.
774 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
776 * help-fns.el (describe-variable): Don't complete keywords.
777 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
779 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
781 * emacs-lisp/package.el (package-version-join): Impose a standard
782 string representation for pre/alpha/beta version lists.
783 (package-unpack-single): Standardize the directory name by passing
784 it through package-version-join.
785 (package-strip-rcs-id): Accept any version string that does not
786 signal an error in version-to-list.
788 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
790 * simple.el (delete-trailing-whitespace): Return nil for the
791 benefit of `write-file-functions'.
793 2011-03-10 Glenn Morris <rgm@gnu.org>
795 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
797 * vc/vc-git.el (vc-git-program): New option.
798 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
799 (vc-git--call): Use it.
801 * eshell/esh-util.el (eshell-condition-case): Doc fix.
803 * cus-edit.el (Custom-newline): If no button at point, look
804 for a subgroup button at start-of-line. (Bug#2298)
806 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
808 2011-03-10 Julien Danjou <julien@danjou.info>
810 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
811 `cursor-type' is nil.
813 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
815 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
817 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
819 * allout.el Summary: Change so yank of distinctive-bullet items
820 preserves the existing header prefix, rebulleting it if necessary,
821 rather than replacing it. This is necessary for proper operation
822 of cooperative addons like allout-widgets.
823 (allout-make-topic-prefix, allout-rebullet-heading): Change
824 SOLICIT arg to INSTEAD, and interpret additionally a string value
825 as alternate bullet to be used, instead of prompting the user for
828 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
830 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
831 Do not use `tramp-file-name-port', because this returns also
832 `tramp-default-port'.
834 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
836 * net/rcirc.el (rcirc-handler-001): Remove useless
837 with-rcirc-process-buffer.
838 (rcirc-check-auth-status): Swap arguments to string-match.
840 2011-03-09 Glenn Morris <rgm@gnu.org>
842 * shell.el (shell-mode):
843 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
845 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
846 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
848 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
850 * emacs-lisp/package.el (package-refresh-contents)
851 (package-menu-execute): Use condition-case-no-debug.
853 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
855 * simple.el (shell-command-to-string): Use `process-file'.
857 * emacs-lisp/package.el (package-tar-file-info): Handle also
860 * emacs-lisp/package-x.el (package-upload-buffer-internal):
861 Use `equal' for upload base check.
863 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
865 * textmodes/texinfo.el (texinfo-environments):
866 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
868 2011-03-08 Glenn Morris <rgm@gnu.org>
870 * cus-start.el (cursor-in-non-selected-windows):
871 Fix :set quoting oddness. (Bug#8192)
873 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
874 in some setf expressions. (Bug#2159)
876 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
878 * custom.el (custom-available-themes): Return themes in
881 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
883 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
884 application of patch from Alan Mackenzie (Bug#7595).
886 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
888 * net/rcirc.el (rcirc-connect): Fix PASS bug.
890 2011-03-07 Glenn Morris <rgm@gnu.org>
892 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
893 Give an explicit error if failed to make writable. (Bug#6146)
895 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
897 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
898 Add optional `after-sunset' argument. (Bug#8190)
900 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
902 * play/morse.el (nato-alphabet, nato-region, denato-region):
903 New variable and functions. (Bug#2288)
904 (morse-region, unmorse-region): Barf if read-only.
906 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/gud.el (gdb-script-syntax-propertize-function):
909 Don't change the syntax of a \n that closes a comment (bug#8169).
911 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
913 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
915 (package--update-file): Doc fix. Accept relative file names.
916 (package--archive-contents-from-file): Remove the argument, since
917 it's necessarily always "archive-contents".
918 (package-maint-add-news-item): Pass relative file name args to
919 package--update-file.
920 (package-upload-buffer-internal): Prompt for a destination if
921 package-archive-upload-base is invalid. Create the directory if
923 (package-upload-buffer, package-upload-file): Doc fix.
925 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
927 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
928 and move isearch-yank-line to M-s C-e (Bug#8183).
930 2011-03-06 Alan Mackenzie <acm@muc.de>
932 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
933 (c-guess-basic-syntax): Move CASE 19 to a different place,
934 correctly to process template-args-cont lines.
936 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
938 * calc/calc-ext.el (calc-init-extensions):
939 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
940 and calc-nplevel, respectively. Add keybindings for calc-spn,
941 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
942 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
944 * calc/calc-units.el (calc-dblevel): Rename from
945 calc-logunits-dblevel.
946 (calc-nplevel): Rename from calc-logunits-nplevel.
947 (math-midi-round, math-freqp, math-midip, math-spnp)
948 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
949 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
950 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
951 (math-notes): New variable.
953 * calc/calc.el (calc-note-threshold): New variable.
955 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
957 * emacs-lisp/package.el (package-archives): Accept either ordinary
958 directory names, in addition to HTTP URLs.
959 (package--with-work-buffer): New macro. Handle normal directories.
960 (package-handle-response): Don't display the failing buffer.
961 (package-download-single, package-download-tar)
962 (package--download-one-archive): Use package--with-work-buffer.
963 (package-archive-base): Rename from package-archive-url.
965 2011-03-06 Glenn Morris <rgm@gnu.org>
967 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
968 (xmodmap-generic-mode): Respect generic-extras-enable-list.
970 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
972 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
974 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
976 * allout.el (allout-init, allout-prefixed-keybindings)
977 (allout-unprefixed-keybindings):
978 * progmodes/prolog.el (prolog-find-term):
979 Fix typos in docstrings.
981 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
983 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
985 2011-03-06 Kevin Ryde <user42@zip.com.au>
987 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
989 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
991 * window.el (one-window-p, walk-windows, display-buffer):
992 Doc fixes. (Bug#5567)
994 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
996 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
997 of the variable if it exists.
999 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
1006 * net/tramp-cache.el:
1007 * obsolete/fast-lock.el:
1008 * textmodes/reftex.el:
1009 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
1011 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1013 * files.el (delete-directory, copy-directory, list-directory):
1014 Use read-directory-name.
1016 * find-file.el (ff-find-the-other-file):
1017 * net/ange-ftp.el (ange-ftp-make-directory):
1018 * printing.el (pr-interactive-dir):
1019 * progmodes/ada-prj.el (ada-prj-load-directory):
1020 * progmodes/ebnf2ps.el (ebnf-print-directory)
1021 (ebnf-spool-directory, ebnf-eps-directory)
1022 (ebnf-syntax-directory):
1024 * speedbar.el (speedbar-create-directory):
1025 * vc/emerge.el (emerge-merge-directories):
1026 * vc/vc-dir.el (vc-dir):
1027 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1029 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1031 * help-mode.el (help-buffer): If we are to return the current
1032 buffer, signal an error if it's not in Help mode (Bug#8147).
1034 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1036 * files.el (file-name-version-regexp): Handle backup files of the
1037 form `foo.js.~HEAD~1~' (Bug#8159).
1039 2011-03-05 Glenn Morris <rgm@gnu.org>
1041 * eshell/esh-var.el: Don't require esh-test when compiling.
1042 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1043 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1044 * eshell/esh-test.el: Move to ../../test/eshell.el.
1046 2011-03-05 David Engster <deng@randomsample.de>
1048 * files.el (save-some-buffers): Report the names of buffers saved
1049 automatically due to buffer-save-without-query (Bug#8134).
1051 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1053 * net/rcirc.el: Add QuakeNet authentication support.
1054 (rcirc-authinfo, rcirc-check-auth-status)
1055 (rcirc-authenticate): Support QuakeNet.
1057 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1059 * net/rcirc.el: Add functionality to authenticate before
1060 autojoining channels.
1061 (rcirc-authenticate-before-join): New option.
1062 (rcirc-authenticated-hook): New variable.
1063 (rcirc-connect): Make local variable rcirc-user-authenticated.
1064 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1065 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1067 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1068 Call rcirc-check-auth-status.
1070 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1072 * net/soap-client.el (soap-namespace-put-link): Check if the target
1073 name is fully qualified -- use only the name part.
1074 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1075 types, treated the same as xsd:sequence. (Bug#8166)
1077 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1079 * files.el (find-file-noselect): Don't ask about re-visiting
1080 non-literally if the file is already visited in image-mode.
1083 2011-03-05 Glenn Morris <rgm@gnu.org>
1085 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1086 (eshell-mode): Use eshell-kill-buffer-function.
1087 Run the -initialize functions independently of the -load-hooks.
1088 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1089 (eshell-gather-process-output, eshell-sentinel)
1090 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1091 Use eshell-kill-process-function.
1092 * eshell/em-alias.el (eshell-alias-load-hook):
1093 * eshell/em-banner.el (eshell-banner-load-hook):
1094 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1095 * eshell/em-dirs.el (eshell-dirs-load-hook):
1096 * eshell/em-glob.el (eshell-glob-load-hook):
1097 * eshell/em-hist.el (eshell-hist-load-hook):
1098 * eshell/em-pred.el (eshell-pred-load-hook):
1099 * eshell/em-prompt.el (eshell-prompt-load-hook):
1100 * eshell/em-rebind.el (eshell-rebind-load-hook):
1101 * eshell/em-script.el (eshell-script-load-hook):
1102 * eshell/em-smart.el (eshell-smart-load-hook):
1103 * eshell/em-term.el (eshell-term-load-hook):
1104 * eshell/em-unix.el (eshell-unix-load-hook):
1105 * eshell/esh-arg.el (eshell-arg-load-hook):
1106 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1107 * eshell/esh-ext.el (eshell-ext-load-hook):
1108 * eshell/esh-io.el (eshell-io-load-hook):
1109 * eshell/esh-mode.el (eshell-exit-hook):
1110 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1111 * eshell/esh-var.el (eshell-var-load-hook):
1112 Set default hook values to nil. (Bug#5375)
1114 * eshell/esh-module.el (eshell-module-unload-hook)
1115 (eshell-modules-list): Remove leading * from defcustom docs.
1117 * eshell/esh-util.el (eshell-for): Make it obsolete.
1118 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1119 * eshell/em-dirs.el (eshell-save-some-last-dir):
1120 * eshell/em-hist.el (eshell-save-some-history)
1121 (eshell-hist-parse-modifier):
1122 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1123 (eshell-ls-entries):
1124 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1125 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1127 * eshell/esh-ext.el (eshell-find-interpreter):
1128 * eshell/esh-mode.el (eshell-mode):
1129 * eshell/esh-module.el (eshell-unload-extension-modules):
1130 * eshell/esh-proc.el (eshell-process-interact):
1131 * eshell/esh-test.el (eshell-test):
1132 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1133 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1134 (eshell-variables-list):
1135 * eshell/eshell.el (eshell-unload-all-modules):
1136 Replace eshell-for with dolist.
1138 2011-03-04 Glenn Morris <rgm@gnu.org>
1140 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1142 2011-03-04 Tom Tromey <tromey@redhat.com>
1144 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1146 2011-03-04 Glenn Morris <rgm@gnu.org>
1148 * outline.el (outline-regexp): No longer allow nil.
1149 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1151 * net/browse-url.el (browse-url):
1152 Handle deleted default-directory. (Bug#6077)
1154 * recentf.el (recentf-include-p): In case of a buggy predicate,
1155 err on the side of including, not excluding. (Bug#5843)
1157 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1159 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1162 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1164 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1165 if there is no node. (Bug#3261)
1167 2011-03-04 Leo <sdl.web@gmail.com>
1169 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1171 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1173 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1175 * cus-edit.el (custom-buffer-create-internal):
1176 Split search string before passing it to `customize-apropos' (bug#8136).
1178 2011-03-04 Drew Adams <drew.adams@oracle.com>
1180 * image-dired.el (image-dired-cmd-read-exif-data-options):
1181 Fix typo in docstring (bug#8156).
1183 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1185 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1187 2011-03-03 Christian Ohler <ohler@gnu.org>
1189 * emacs-lisp/ert.el (ert--explain-equal): New function.
1190 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1191 All callers changed.
1192 (ert--explain-equal-including-properties): Rename from
1193 `ert--explain-not-equal-including-properties'. All callers
1196 2011-03-03 Christian Ohler <ohler@gnu.org>
1198 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1199 (ert-char-for-test-result, ert-string-for-test-result)
1200 (ert-run-tests-batch, ert--print-test-for-ewoc):
1201 Handle `ert-test-quit'.
1203 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1205 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1206 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1208 2011-03-03 Glenn Morris <rgm@gnu.org>
1210 * files.el (file-truename): Doc fix. (Bug#2341)
1212 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1214 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1216 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1218 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1219 programs output backslashes. (Bug#7663)
1221 2011-03-03 Glenn Morris <rgm@gnu.org>
1223 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1224 (mail-mode): Remove mail-sent-via from the doc.
1225 (mail-sent-via): Make it obsolete. (Bug#1776)
1227 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1228 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1230 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1231 with no parents. (Bug#8025)
1233 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1235 * password-cache.el (password-in-cache-p): Add autoload.
1237 2011-03-02 Glenn Morris <rgm@gnu.org>
1239 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1240 * dired-x.el (Man-support-local-filenames): Autoload it.
1241 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1243 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1245 (dired-smart-shell-command): Just call dired-current-directory.
1247 * dired-x.el (dired-jump-other-window): Add autoload.
1248 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1249 (dired-default-directory-alist): Mark as risky.
1251 * dired-x.el (dired-omit-here-always): Make it obsolete.
1253 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1255 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1256 (artist-select-op-pen-line): New function.
1257 (artist-menu-map): New variable.
1258 (artist-mode-map): Add a menu to the menu-bar.
1260 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1262 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1265 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1267 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1268 (math-logunits-quant, math-logunits-level):
1269 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1271 (math-logunits-level): Extract units from ratio.
1273 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1275 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1277 2011-03-01 Glenn Morris <rgm@gnu.org>
1279 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1280 (diary-hebrew-birthday): Rename and rework functions added
1283 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1285 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1286 (diary-hebrew-birthday): New functions.
1288 2011-03-01 Glenn Morris <rgm@gnu.org>
1290 * dired.el (dired-safe-switches-p): Beef it up.
1291 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1293 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * dired.el (dired-safe-switches-p): New function.
1297 2011-03-01 Glenn Morris <rgm@gnu.org>
1299 * files.el (dir-locals-collect-variables):
1300 Add the ability to exclude subdirectories. (Bug#8100)
1302 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1304 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1306 * ido.el (ido-everywhere): Doc fix.
1307 (ido-mode): Doc fix.
1309 2011-02-28 Glenn Morris <rgm@gnu.org>
1311 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1313 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1315 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1318 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1320 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1322 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1324 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1325 Fix typos in docstrings.
1327 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1329 * dired-aux.el (dired-update-file-line):
1330 Fix 2010-11-09 change. (Bug#8131)
1332 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1334 * international/mule-cmds.el (set-default-coding-systems): Use the
1335 -unix variant of encoding in default-keyboard-coding-system.
1338 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1340 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1342 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1344 * term/screen.el: New file (Bug#2650).
1346 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1349 (pcase-mutually-exclusive-predicates): New var.
1350 (pcase--split-consp, pcase--split-pred): Use it.
1351 (pcase--split-equal, pcase--split-member): When splitting against
1352 a pure predicate, run it to know the outcome.
1353 (pcase--u1): Mark vars that are actually used.
1354 (pcase--q1): Avoid introducing unused vars.
1356 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1358 * calc/calc-ext.el (calc-init-extensions):
1359 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1361 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1364 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1365 argument is a variable.
1367 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1370 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1371 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1373 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1375 * password-cache.el (password-in-cache-p): Convenience function to
1376 check if a key is in the cache, even if the value is nil.
1378 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1380 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1381 (package--archive-contents-from-file): New functions.
1382 (package-update-news-on-upload): New var.
1383 (package-upload-buffer-internal): Extract archive-contents from
1384 package-archive-upload-base if it is not found at archive-url.
1385 Obey package-update-news-on-upload.
1386 (package-upload-buffer, package-upload-file): Doc fix.
1388 2011-02-24 Glenn Morris <rgm@gnu.org>
1390 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1391 the cache, and from non-file sources.
1393 * help-fns.el (describe-variable): Return consistent results when a
1394 dir-local from a file came from the cache or did not. (Bug#8095)
1395 If a dir-local has no associated file, say it came from a "directory".
1397 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1398 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1400 * files.el (dir-locals-find-file): Doc fix.
1401 Fix the check for cache elements that have no associated file,
1402 and the mtime check for those that do. (Bug#8095)
1404 * dired-x.el (dired-hack-local-variables):
1405 Handle interrupts during hacking local variables. (Bug#5216)
1407 * emacs-lisp/autoload.el (autoload-save-buffers)
1408 (autoload-find-destination, update-directory-autoloads):
1409 Avoid prompts when updating autoloads.
1411 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1415 2011-02-23 Kenichi Handa <handa@m17n.org>
1417 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1418 error when a multipart boundary in the nested multipart is found.
1420 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1423 2011-02-23 Glenn Morris <rgm@gnu.org>
1425 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1426 * dired-x.el (dired-omit-mode): Safe if boolean.
1427 (dired-enable-local-variables): Fix doc and custom type.
1428 (dired-enable-local-variables, dired-local-variables-file)
1429 (dired-hack-local-variables): Make obsolete.
1430 (dired-omit-here-always): Use dir-locals.el instead.
1432 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1434 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * help-fns.el (describe-function-1): Don't signal an error just because
1437 the DOC file disappeared.
1439 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1441 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1442 remote check to "ftp". (Bug#8089)
1444 2011-02-21 Alan Mackenzie <acm@muc.de>
1447 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1448 in macros finding their way into c-state-nonlit-pos-cache.
1449 Strengthen the comments.
1450 (c-state-dump): New commented out diagnostic routine.
1452 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1454 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1455 `field' property of `rfn-eshadow-overlay'.
1457 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1459 * net/netrc.el (netrc-parse): Comment fix.
1461 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1463 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1464 Autoload. Add optional arg FRAME, and pass it to color-values.
1465 (color-complement): Caller changed. Doc fix.
1466 (color-gradient): Rewrite for better clarity and efficiency.
1468 * faces.el (color-values): Use cond for clarity. Doc fix.
1470 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1472 (list-colors-sort-key, list-colors-print):
1473 Use color-normalized-values.
1475 2011-02-20 Drew Adams <drew.adams@oracle.com>
1477 * color.el: First part of merge from hexrgb.el.
1478 (color-rgb-to-hex): Rename from color-rgb->hex.
1479 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1480 saturation to zero if the value is too small.
1481 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1482 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1483 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1484 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1485 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1486 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1487 (color-cie-de2000): Doc fix.
1489 2011-02-20 Alan Mackenzie <acm@muc.de>
1491 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1492 locating the beginning of a macro. (Bug#7595)
1494 2011-02-20 Glenn Morris <rgm@gnu.org>
1496 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1499 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1500 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1502 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1503 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1505 * progmodes/hideshow.el (hs-find-block-beginning)
1506 (hs-hide-level-recursive): Ignore comments when parsing braces
1509 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1511 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1512 (vc-bzr-pull): Use it.
1514 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1516 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1517 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1518 but returning an alist. Ignore comments in bzr conffile.
1519 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1520 (vc-bzr-error-regex-alist): New var.
1521 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1523 * vc/vc-dispatcher.el (vc-do-async-command):
1524 Bind inhibit-read-only to t.
1526 * progmodes/compile.el (compilation--flush-directory-cache):
1527 Handle the case where cdr of compilation--flush-directory-cache
1528 points to no buffer, which can occur if we previously switched to
1529 compilation-mode in a pregenerated buffer.
1531 2011-02-19 Kenichi Handa <handa@m17n.org>
1533 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1534 get the header copy into the temporary buffer.
1535 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1536 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1537 buffer-file-coding-system to undecided.
1539 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1541 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1542 Document completion with asterisk and a substring.
1544 2011-02-19 Glenn Morris <rgm@gnu.org>
1546 * files.el (find-file-literally): Doc fix.
1548 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1550 * log-edit.el (log-edit-insert-changelog):
1551 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1553 2011-02-19 Glenn Morris <rgm@gnu.org>
1555 * dired-x.el: Don't require dired-aux.
1556 (dired-do-create-files, dired-mark-read-regexp)
1557 (dired-do-create-files-regexp): Autoload from dired-aux.
1559 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1560 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1562 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1563 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1565 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1566 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1567 (dired-clean-up-buffers-too): Declare.
1569 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1570 * dired.el (dired-initial-position): Merge dired-x's version here.
1571 (dired-find-subdir): Declare.
1573 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1574 * dired-aux.el (dired-add-entry): Give it a doc-string.
1575 Merge dired-x's dired-omit handling here.
1576 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1578 * international/mule-diag.el (list-input-methods-1):
1579 Indent all lines of multi-line doc-strings. (Bug#8066)
1581 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1583 Fix 2011-02-02 changes.
1585 * apropos.el (apropos-print): Call apropos-mode before setting up
1586 buffer variables. Use inhibit-read-only.
1588 * emacs-lisp/package.el (package--list-packages):
1589 Call package-menu-mode before setting up buffer variables.
1591 * play/solitaire.el (solitaire): Call solitaire-mode before
1592 setting up buffer variables. Use inhibit-read-only.
1594 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1596 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1597 Bind case-fold-search to nil when looking for end of here-doc.
1599 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1601 * image-mode.el (image-toggle-display-image):
1602 Set find-file-literally non-nil in buffers visiting binary image
1605 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1607 * files.el (cd): Make completion obey cd-path (bug#7924).
1609 2011-02-18 Glenn Morris <rgm@gnu.org>
1611 * progmodes/prolog.el: Don't require compile when compiling.
1612 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1613 (compilation-forget-errors, compilation-fake-loc)
1614 (compilation-parse-errors-function, compilation-error-list): Declare.
1615 (prolog-inferior-mode): Require 'compile.
1617 * emulation/cua-base.el (pc-selection-mode): Declare.
1619 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1620 (customize-object): Add autoload cookie.
1621 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1622 (eieio-browse, describe-class, eieio-describe-class)
1623 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1624 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1625 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1626 * Makefile.in (autoloads): Make eieio.el writable.
1628 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1629 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1630 (dired-hack-local-variables): Use inhibit-read-only.
1631 (dired-guess-default): Simplify.
1632 (dired-make-relative-symlink): Use dotimes.
1633 (dired-simultaneous-find-file): Use dolist.
1634 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1635 (dired-x-hands-off-my-keys): Doc fix.
1636 (dired-x-bind-find-file): Doc fix. Use remapping.
1637 (after-init-hook): No need to add dired-x-bind-find-file.
1638 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1639 No need to call expand-file-name.
1640 (dired-filename-at-point): Remove unused locals `end', `filename'.
1642 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1644 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1646 2011-02-18 Christian Ohler <ohler@gnu.org>
1648 * emacs-lisp/ert.el (ert--setup-results-buffer)
1649 (ert-results-pop-to-backtrace-for-test-at-point)
1650 (ert-results-pop-to-messages-for-test-at-point)
1651 (ert-results-pop-to-should-forms-for-test-at-point)
1652 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1653 were incorrect and unnecessary. This should make `make check'
1656 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1658 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1659 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1660 * lisp/allout.el: Remove commentary about remove encryption
1661 passphrase mnemonic support and verification.
1662 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1663 armored text using gpg1, and indicate that the gpg version *might*
1664 be the problem in the error message.
1666 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1668 * net/rcirc.el (rcirc-float-time): New function.
1669 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1670 (rcirc-ctcp-sender-PING): Use it.
1672 2011-02-17 Glenn Morris <rgm@gnu.org>
1674 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1675 (speedbar-update-flag, speedbar-fetch-etags-command)
1676 (speedbar-fetch-etags-arguments):
1677 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1678 (term-completion-autolist, term-completion-addsuffix)
1679 (term-completion-recexact, term-completion-fignore):
1680 * term/sup-mouse.el (sup-mouse-fast-select-window):
1681 * term/x-win.el (x-select-request-type):
1682 Convert some defvars with "*" to defcustoms.
1684 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1686 * vc/vc.el (vc-default-previous-version):
1687 Remove alias that points nowhere. (Bug#4496)
1689 * dired-x.el (dired-clean-up-after-deletion):
1690 kill-buffer does not need save-excursion.
1691 (dired-do-run-mail): Doc fix.
1692 (dired-filename-at-point): Doc fix.
1693 Use looking-at, and skip-chars rather than re search.
1695 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1697 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1699 * allout-widgets.el: New allout extension that shows allout
1700 outline structure with graphical widgets. 'allout-widgets'
1701 customize group is an 'allout' subgroup, for easy discovery.
1703 * allout.el: Include PGP and GnuPG in Keywords, and other
1704 commentary refinements.
1705 (allout-abbreviate-flattened-numbering): Rename to
1706 allout-flattened-numbering-abbreviation, and
1707 define-obsolete-variable-alias the old name.
1708 (allout-flattened-numbering-abbreviation): Rename from
1709 allout-abbreviate-flattened-numbering.
1710 (allout-mode-p): Include among autoloads, for use by other modes
1712 (allout-listify-exposed):
1713 Use allout-flattened-numbering-abbreviation.
1714 (allout-encrypt-string): Use set-buffer-multibyte directly.
1715 (allout-set-buffer-multibyte): Remove.
1717 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1719 * simple.el (just-one-space): Remove useless `or' call.
1721 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1723 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1724 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1725 (soap-decoded-multi-refs, soap-current-wsdl)
1726 (soap-encoded-namespaces): Rename CL-style *...* variables.
1728 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1730 * net/soap-client.el: Add "comm" and "hypermedia" to the
1731 keywords. Reflow too long lines.
1733 * net/soap-inspect.el: Ditto. Require 'cl.
1735 2011-02-16 Bastien Guerry <bzg@altern.org>
1737 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1738 in a `doctor-type' argument.
1740 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1742 * net/soap-client.el:
1743 * net/soap-inspect.el: New files.
1745 2011-02-16 Leo <sdl.web@gmail.com>
1747 * dired-x.el (dired-mode-map, dired-extra-startup):
1748 Remove dired-copy-filename-as-kill since it's already in dired.el.
1750 2011-02-16 Glenn Morris <rgm@gnu.org>
1752 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1753 Doc fixes. Add :set property, replacing top-level calls.
1754 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1755 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1756 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1757 (dired-clean-up-after-deletion): Use when and dolist.
1758 (dired-jump): Use unless and when.
1759 (dired-virtual): Use line-end-position.
1760 (dired-default-directory-alist): Rename from default-directory-alist.
1761 (dired-default-directory): Update for above name change.
1762 (dired-vm): Drop VM < 5 and simplify.
1763 (dired-buffer-more-recently-used-p): Rewrite.
1764 (dired-filename-at-point): Use when and or.
1765 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1768 2011-02-15 Glenn Morris <rgm@gnu.org>
1770 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1772 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1774 * vc/vc-git.el (vc-git-root-log-format): New option for
1775 customizing log format.
1776 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1777 (vc-git-log-view-mode): Use it.
1778 (vc-git-expanded-log-entry): New function.
1779 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1781 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1782 customizing log format.
1783 (vc-hg-print-log): Use it.
1784 (vc-hg-expanded-log-entry): New function.
1785 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1786 vc-hg-expanded-log-entry. Truncate lines in root log.
1788 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1790 * vc/log-view.el (log-view-mode-menu):
1791 Add log-view-toggle-entry-display.
1793 2011-02-14 Glenn Morris <rgm@gnu.org>
1795 * dired-x.el: Don't require man when compiling.
1796 (dired-omit-extensions, dired-local-variables-file)
1797 (dired-x-hands-off-my-keys): Make them defcustoms.
1798 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1799 (vm-visit-folder): Declare rather than defining.
1800 (dired-x-help-address, dired-x-variable-list): Remove.
1801 (dired-x-submit-report): Make it an obsolete alias.
1803 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1805 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1807 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1809 * net/imap.el: Bring it back.
1811 2011-02-13 Alan Mackenzie <acm@muc.de>
1813 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1814 narrow-to-region call that cuts context off the end (Bug#7722).
1816 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1817 Refactor nested if-forms with a simple cond.
1818 (c-forward-<>-arglist): Revert 2011-01-31 change.
1820 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1822 * vc/log-view.el: New command log-view-toggle-entry-display for
1823 toggling log entries between concise and detailed forms.
1824 (log-view-toggle-entry-display): New command.
1825 (log-view-mode-map): Bind RET to it.
1826 (log-view-expanded-log-entry-function): New variable.
1827 (log-view-current-entry, log-view-inside-comment-p)
1828 (log-view-current-tag): New functions.
1829 (log-view-toggle-mark-entry): Use log-view-current-entry and
1830 log-view-end-of-defun instead of searching directly with
1831 log-view-message-re.
1832 (log-view-end-of-defun): Likewise. Add optional ARG for
1833 compatibility with end-of-defun.
1834 (log-view-end-of-defun): Ignore comments and VC buttons.
1836 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1837 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1839 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1841 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1843 * net/imap-hash.el: Remove file.
1845 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1847 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1849 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1852 * net/tramp-imap.el: Remove file.
1854 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1856 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1857 widget library for buttons, just use button.el.
1859 * vc/log-view.el (log-view-mode-map): Don't inherit from
1862 2011-02-12 Glenn Morris <rgm@gnu.org>
1864 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1865 (nintersection, set-difference, nset-difference)
1866 (set-exclusive-or, nset-exclusive-or): Doc fix.
1868 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1870 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1871 :italic props, so that frame-set-background-mode works. (Bug#7966)
1873 * simple.el (next-error): Doc fix.
1875 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1877 * dired-aux.el (dired-create-files): Adapt destination name to
1878 match the new behavior of copy-directory.
1880 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1882 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1883 from rmail-dont-reply-to-names. Callers changed.
1884 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1885 (rmail-dont-reply-to): Make it an obsolete alias.
1887 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1888 nil, and make obsolete (Bug#7888).
1889 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1891 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1893 * mail/rmailsort.el (rmail-sort-by-correspondent)
1894 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1896 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1898 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1900 * files.el (copy-directory): New argument COPY-CONTENTS for
1901 copying directory contents into another existing directory.
1903 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1905 * minibuffer.el (completion-table-case-fold): New function for
1906 creating a case-insensitive completion table.
1908 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1910 * net/tramp.el (tramp-default-method): Also check if
1911 `auth-source-search' is bound.
1912 (tramp-read-passwd): Use `auth-source-search' instead of
1913 `auto-source-user-or-password'.
1915 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1916 `auto-source-user-or-password.
1917 (tramp-imap-passphrase-callback-function): Use it.
1919 * net/imap-hash.el: Autoload `auto-source-search' instead of
1920 `auto-source-user-or-password.
1921 (imap-hash-open-connection): Use it.
1923 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1924 `auto-source-user-or-password.
1925 (smtpmail-try-auth-methods): Use it.
1927 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1929 * emacs-lisp/package.el: Allow packages to be reinstalled.
1930 (package--write-file-no-coding): Remove EXCL arg.
1931 (package-unpack-single): Don't use it.
1933 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1935 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1936 in each sub directory.
1937 (vc-svn-registered): Use vc-svn-root.
1938 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1939 (vc-svn-repository-hostname): Use "svn info".
1941 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1943 * simple.el (delete-trailing-whitespace): New optional buffer
1946 2011-02-11 Bastien Guerry <bzg@altern.org>
1948 * files.el (basic-save-buffer): save unmodified buffers when
1949 the file pointed by buffer-file-name doesn't exist.
1951 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1953 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1955 2011-02-11 Glenn Morris <rgm@gnu.org>
1957 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1959 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1961 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1963 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * server.el (server-process-filter): Use pcase.
1967 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1969 (smie-indent--parent): Extend to "parent of arg".
1970 (smie-indent-inside-string): New function.
1971 (smie-indent-functions): Use it.
1973 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1974 bzr locking race condition.
1976 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1977 still valid before using it.
1979 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1980 `message' -> `compilation-message' rename (bug#8004).
1982 Move keymap initialization into declaration.
1983 * textmodes/enriched.el (enriched-mode-map):
1984 * textmodes/bib-mode.el (bib-mode-map):
1985 * term/lk201.el (lk201-function-map):
1986 * tar-mode.el (tar-mode-map):
1987 * replace.el (occur-mode-map):
1988 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1989 * progmodes/idlw-help.el (idlwave-help-mode-map):
1990 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1991 * play/solitaire.el (solitaire-mode-map):
1992 * play/snake.el (snake-mode-map, snake-null-map):
1993 * play/pong.el (pong-mode-map):
1994 * play/handwrite.el (menu-bar-handwrite-map):
1995 * play/gametree.el (gametree-mode-map):
1996 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1997 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1998 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1999 (newsticker--url-keymap):
2000 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2001 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
2002 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
2003 (menu-bar-edit-menu, menu-bar-custom-menu)
2004 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
2005 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
2006 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
2007 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
2008 (menu-bar-tools-menu, menu-bar-describe-menu)
2009 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2010 (menu-bar-help-menu):
2011 * mail/rmailsum.el (rmail-summary-mode-map):
2012 * kmacro.el (kmacro-step-edit-map):
2013 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
2014 (ibuffer-mode-operate-map):
2015 * hi-lock.el (hi-lock-menu, hi-lock-map):
2016 * emulation/vip.el (vip-mode-map):
2017 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
2018 * bookmark.el (bookmark-bmenu-mode-map):
2019 * help-mode.el (help-mode-map): Move initialization into declaration.
2021 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2023 * net/rcirc.el: Add PRIVMSG and CTCP functions.
2024 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
2025 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
2026 (rcirc-cmd-me, rcirc-authenticate): Use them.
2028 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2030 * allout.el: Synopsis: Change allout user configuration so
2031 auto-activation is controlled solely by customization
2032 `allout-auto-activation'.
2034 (allout-auto-activation-helper, allout-setup): New autoloads
2035 implement new custom set procedure for allout-auto-activation.
2036 Also, explicitly invoke (allout-setup) after allout-auto-activation
2037 is custom-defined, to affect the settings in emacs sessions besides
2038 the few where allout-auto-activation customization is done.
2039 (allout-auto-activation): Use allout-auto-activation-helper to
2040 :set. Revise the docstring.
2041 (allout-init): Reduce functionality to just customizing
2042 allout-auto-activation, and mark obsolete.
2043 (allout-mode): Respect string values for allout-auto-activation.
2044 Run allout-after-copy-or-kill-hook without any args.
2045 (allout-mode, allout-layout, allout-default-layout)
2046 (outlineify-sticky): Adjust docstring for new scheme.
2047 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2048 should concentrate on the kill ring.
2050 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2052 * password-cache.el (password-cache-remove): Accept secrets that are
2055 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2058 of here-doc that immediately follows a comment.
2060 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2062 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2064 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2066 (rcirc-ctcp-sender-PING): New function.
2068 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2070 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2071 Remove the mark/nomark handling, and activate shift-select-mode instead.
2073 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2075 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2077 * calc/calc-units.el (math-logunits-quant): Add support for
2078 non-logarithmic units.
2080 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2082 * allout.el (allout-after-copy-or-kill-hook): New hook for
2083 extension-specific processing of killed text.
2084 (allout-mode): Include new allout-after-copy-or-kill-hook among
2086 (allout-kill-line, allout-kill-topic): Ensure that processing
2087 after kill happens even if barf-if-buffer-read-only is raised.
2088 Include new allout-after-copy-or-kill-hook among that subsequent
2090 (allout-deannotate-hidden): Actually remove the annotation text
2093 * allout.el (allout-listify-exposed): Copy text sans text properties.
2095 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2097 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2099 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2101 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2103 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2105 * calc/calc.el (calc-logunits-field-reference): Rename from
2106 `calc-default-field-reference-level'.
2107 (calc-logunits-power-reference): Rename from
2108 `calc-default-power-reference-level'.
2110 * calc/calc-units.el (math-logunits-quant): Rename from
2111 `math-logunits-level'
2112 (math-logunits-plus): Rename from math-logcombine.
2113 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2114 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2115 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2117 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2118 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2119 (calc-logunits-quantity): Rename from `calc-level'.
2120 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2121 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2122 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2123 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2124 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2127 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2128 (calc-ul-prefix-help): Remove.
2129 (calc-l-prefix-help): New function.
2130 (calc-full-help): Add reference to `calc-l-prefix-help'.
2132 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2134 * calc/README: Mention logarithmic units.
2136 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2138 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2139 non-ASCII characters (Bug#7925).
2141 2011-02-05 Glenn Morris <rgm@gnu.org>
2143 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2145 * calendar/diary-lib.el (diary-font-lock-keywords):
2146 Tweak diary-time-regexp match. (Bug#7891)
2148 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2149 (f90-mode): Use it for mode's `find-tag-default-function' property.
2151 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2153 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2155 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2157 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2160 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2163 font-lock-syntax-table remappings.
2164 (sh-here-doc-markers, sh-here-doc-re): Remove.
2165 (sh-font-lock-close-heredoc): Remove.
2166 (sh-syntax-propertize-here-doc): New function.
2167 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2168 instead of the sh-here-doc-re.
2169 (sh-font-lock-paren): Don't do anything in comments or strings.
2170 Handle line continuations. Accept a few more chars.
2171 Don't rely on the font-lock-syntax-table remappings.
2172 `esac' is not a valid pattern.
2173 (sh-syntax-propertize-function): Handle here-docs differently, so we
2174 don't bother syntax-propertizing the insides.
2176 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2177 Handle new bashisms ";&" and ";;&" (bug#7947).
2179 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2181 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2182 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2184 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2186 * net/tramp.el (tramp-postfix-method-format)
2187 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2188 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2189 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2190 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2191 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2194 2011-02-04 Sam Steingold <sds@gnu.org>
2196 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2198 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2200 * international/mule-util.el (with-coding-priority): Doc fix.
2202 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2204 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2206 2011-02-03 Sam Steingold <sds@gnu.org>
2208 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2209 Do not error out when `func' is nil.
2211 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2213 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2214 `tramp-default-remote-path' to the docstring.
2215 (tramp-get-remote-path): Suppress error message when `getconf
2218 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2220 2011-02-03 Glenn Morris <rgm@gnu.org>
2222 * vc/vc-hg.el (vc-hg-command): Doc fix.
2224 * term/w32-win.el (libpng-version): Declare for compiler.
2226 * msb.el: No need to load dired while compiling.
2228 * emacs-lisp/elint.el (elint-standard-variables):
2229 Remove a couple of built-ins that now have doc-strings.
2231 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2232 `require' is automatically `eval-and-compile'd.
2234 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2235 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2237 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2238 Move definition before use.
2239 (strokes-report-bug): Make it obsolete.
2241 2011-02-02 Sam Steingold <sds@gnu.org>
2243 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2244 from `special-mode', entering it makes the buffer read-only, so
2245 call it only when everything has been already inserted.
2246 * emacs-lisp/ert.el (ert--setup-results-buffer)
2247 (ert-results-pop-to-backtrace-for-test-at-point)
2248 (ert-results-pop-to-messages-for-test-at-point)
2249 (ert-results-pop-to-timings): Ditto.
2250 * emacs-lisp/package.el (package--list-packages): Ditto.
2251 * play/solitaire.el (solitaire): Ditto.
2253 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2255 * progmodes/compile.el: Make all faces inherit.
2256 (compilation-warning): Inherit from font-lock-variable-name-face.
2257 (compilation-info): Inherit from font-lock-type-face.
2258 (compilation-line-number): Reassign to font-lock-keyword-face.
2259 (compilation-column-number): Reassign to font-lock-doc-face.
2260 (compilation-leave-directory-face): Reassign to
2261 font-lock-builtin-face.
2263 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2265 * dired.el (dired-insert-directory): Don't invoke `ls' when
2266 ls-lisp.el is used to emulate it.
2268 2011-02-01 Julien Danjou <julien@danjou.info>
2270 * color.el (color-gradient): Add a color-gradient function.
2272 2011-02-01 Sam Steingold <sds@gnu.org>
2274 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2275 bind "z" to `kill-this-buffer'.
2276 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2277 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2278 (apropos-mode): Inherit from `special-mode'.
2279 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2280 * bookmark.el (bookmark-bmenu-mode): Define using
2281 `define-derived-mode' inheriting from `special-mode'.
2282 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2283 * image-mode.el (image-mode-map): Ditto.
2284 * replace.el (occur-mode): Define using
2285 `define-derived-mode' inheriting from `special-mode'.
2286 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2287 * calendar/diary-lib.el (diary-fancy-display-mode):
2288 Inherit from `special-mode-map'.
2289 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2290 Inherit from `special-mode'.
2291 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2293 (package-menu-mode): Define using `define-derived-mode'
2294 inheriting from `special-mode'.
2295 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2296 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2297 (xesam-mode-map): Define separately.
2298 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2299 * progmodes/compile.el (compilation-minor-mode-map)
2300 (compilation-mode-map): Inherit from `special-mode-map'.
2301 * vc/diff-mode.el (diff-mode-shared-map):
2302 Inherit from `special-mode-map'.
2303 * vc/log-view.el (log-view-mode-map): Add a comment.
2305 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2307 * custom.el (load-theme): Define return value. Drop use of
2308 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2309 (custom-theme-load-confirm): Scroll in the correct window.
2310 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2312 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2313 checkbox if load-theme fails.
2315 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * progmodes/compile.el (compilation-next-error): Check there's
2318 a message before using it (bug#7941).
2320 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2322 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2323 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2324 of potential pivots.
2326 2011-01-31 Alan Mackenzie <acm@muc.de>
2328 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2329 Continue parsing if we encounter a naked # (Bug#7595).
2330 (c-beginning-of-statement): Avoid loop in locating the beginning
2331 of a macro. (Not actually committed until 2011-02-20, see above).
2333 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2335 * files.el (copy-directory): Fix arguments to recursive call.
2337 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2339 * files.el (copy-directory): If destination is an existing
2340 directory, copy into a subdirectory there.
2342 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2344 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2347 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2349 * image-dired.el (image-dired-mouse-display-image): No-op if no
2350 file is found (Bug#7817).
2352 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2354 2011-01-31 Kenichi Handa <handa@m17n.org>
2356 * international/quail.el (quail-keyboard-layout-alist):
2357 Remove superfluous SPC for "pc105-uk" (bug#7927).
2359 2011-01-31 Glenn Morris <rgm@gnu.org>
2361 * msb.el (msb-menu-bar-update-buffers): Update for changed
2362 argument handling of menu-bar-select-frame. (Bug#7902)
2364 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2366 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2367 to the recursion depth (Bug#7722).
2369 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2371 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2372 command-line-default-directory (Bug#7872).
2374 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2376 * progmodes/compile.el (compilation--flush-directory-cache):
2377 New function, extracted from compilation--remove-properties.
2378 (compilation--remove-properties, compilation--parse-region): Use it.
2379 (compilation--previous-directory): Handle one more case.
2380 (compilation-enable-debug-messages): Remove.
2381 (compilation-parse-errors, compilation--flush-parse): Just remove the
2382 left over debug messages.
2384 2011-01-31 Sam Steingold <sds@gnu.org>
2386 * progmodes/compile.el (compilation-enable-debug-messages):
2387 Add a variable to make the parsing messages introduced in
2388 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2389 (compilation-parse-errors, compilation--flush-parse): Use it.
2391 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2393 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2394 (rcirc-nick-completion-format): New defcustom.
2395 (rcirc-complete): Use it.
2397 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2399 * net/rcirc.el: Clean log filenames (Bug#7933).
2400 (rcirc-log-write): Use convert-standard-filename.
2401 (rcirc-log-filename-function): Documentation updates.
2403 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2405 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2406 Check report-emacs-bug-can-use-osx-open and use that if t.
2407 (report-emacs-bug-can-use-osx-open): New function.
2408 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2409 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2411 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2413 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2414 updating Dired or VC-dir buffers after async command completes.
2416 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2417 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2419 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2420 completions if it exists. Use vc-set-async-update.
2421 (vc-git-pull): Use vc-set-async-update.
2423 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2424 read-shell-command. Use vc-set-async-update.
2425 (vc-hg-merge-branch): Use vc-set-async-update.
2427 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2429 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2430 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2433 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2435 * progmodes/compile.el: Avoid an N² behavior in grep.
2436 (compilation--previous-directory): New fun.
2437 (compilation--previous-directory-cache): New var.
2438 (compilation--remove-properties): Flush it.
2439 (compilation-directory-properties, compilation-error-properties):
2440 Use the new fun to speed up looking for the current directory.
2442 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2444 * vc/vc-hg.el (vc-hg-history): New var.
2445 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2446 (vc-hg-merge-branch): New function.
2448 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2449 the other way around.
2451 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2452 (vc-git-merge-branch): New functions.
2453 (vc-git-history): New var.
2455 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2457 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2459 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2460 vc-do-async-command.
2462 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2465 2011-01-28 Leo <sdl.web@gmail.com>
2467 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2468 highlighting to the "this function is advised" message.
2470 * help-mode.el (help-mode-finish): Apply highlighting here, to
2471 avoid clobbering by substitute-command-keys (Bug#6304).
2473 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2475 * woman.el (woman0-roff-buffer): Process roff escape sequences
2476 occurring prior to the first request (Bug#7843).
2478 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * progmodes/compile.el: Don't use font-lock any more.
2481 (compilation-error-regexp-alist-alist): Change handling of makepp
2482 so it preserves the warning/error distinction on subsequent files.
2483 Simplify various rules.
2484 (compilation-directory-properties): Use font-lock-face.
2485 Add a compilation-message property.
2486 (compilation-internal-error-properties): Use font-lock-face.
2487 Don't set the compilation-debug property here.
2488 (compilation--put-prop, compilation--remove-properties)
2489 (compilation--parse-region, compilation--ensure-parse)
2490 (compilation--ensure-parse): New functions.
2491 (compilation-parse-errors): New function, largely inspired of
2492 compilation-mode-font-lock-keywords. Set compilation-debug here.
2493 (compilation--parsed): New var.
2494 (compilation--flush-parse): Use compilation--ensure-parse.
2495 (compilation-start): Don't call font-lock.
2496 (compilation-turn-on-font-lock): Remove.
2497 (compilation-setup): Don't set font-lock-extra-managed-props not change
2498 other font-lock settings, other than keywords.
2499 Don't activate font-lock-mode.
2500 Set change-major-mode-hook and before-change-functions.
2501 (compilation--unsetup): Remove properties and hooks.
2502 (compilation-next-single-property-change): New function.
2503 (compilation-next-error): Use it to parse when needed.
2504 (compile-goto-error): Parse buffer as needed.
2505 (compilation--compat-error-properties): Don't need a dummy `face'
2508 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2511 (compilation-process-setup-function): Fix docstring's false promises.
2512 (compilation-error-regexp-alist-alist): Catch omake's continuous
2513 recompilation message and avoid reuse of old markers.
2514 (compilation-parse-errors-function): Declare obsolete.
2515 (compilation-buffer-modtime): Remove.
2516 (compilation--make-cdrloc, compilation--loc->col)
2517 (compilation--loc->line, compilation--loc->file-struct)
2518 (compilation--loc->marker, compilation--loc->visited)
2519 (compilation--make-file-struct, compilation--file-struct->file-spec)
2520 (compilation--file-struct->formats)
2521 (compilation--file-struct->loc-tree): New macros. Use them.
2522 (compilation--message): New defstruct. Use them.
2523 (compilation-next-error-function): Don't mess with timestamps to try
2524 and guess when to reparse.
2526 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2529 (tex-old-error-file-name): New function,
2530 extracted from tex-compilation-parse-errors.
2531 (tex-compilation-parse-errors): Remove.
2532 (tex-error-regexp-alist): New var.
2533 (tex-shell): Use it to avoid compilation-parse-errors-function.
2535 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2536 (grep-mode-font-lock-keywords): Remove regexp that seems like
2537 a left-over from before we used compile.el.
2538 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2539 modifying the buffer within with-silent-modifications.
2541 * progmodes/compile.el: Cleanup text-properties namespace by using
2542 `compilation-message' instead of `message', `compilation-directory'
2543 instead of `directory', and `compilation-debug' instead of `debug'.
2544 (compilation-last-buffer, compilation-parsing-end)
2545 (compilation-error-list, compilation-old-error-list): Move to the
2546 compatibility part of the code.
2547 (compilation-error-properties): If `file' is a function, let it return
2549 (compilation-mode-font-lock-keywords): Be more conservative with the
2550 omake "^ *" pattern prefix, to try and minimize the risk of
2551 pathologically slow regexp matching.
2552 (compilation-start): Use inhibit-read-only.
2553 (compilation--unsetup): New function.
2554 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2555 (compilation-filter): Minor tweaks.
2556 (compilation-next-error-function): Try and avoid abusing variables.
2557 (compilation--flush-file-structure): New fun.
2558 (compilation-fake-loc): Use it to improve behavior when file is reused.
2559 (debug-ignored-errors): Add "Moved past last ...".
2560 (compilation--compat-error-properties)
2561 (compilation--compat-parse-errors): Rename by doubling the "-".
2563 Port features from the previous prolog.el to the new one.
2564 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2565 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2566 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2567 variable and use a function to compute the value dynamically.
2568 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2569 (prolog-continued-prompt-regexp): Remove, unused.
2570 (prolog-find-value-by-system): Try and use the value of prolog-system
2571 in the *prolog* buffer if it helps.
2572 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2573 (prolog-zip-on): ..and check prolog-system and version here instead.
2574 (prolog-inferior-self-insert-command): New command.
2575 (prolog-inferior-mode-map): Use it.
2576 (prolog-inferior-error-regexp-alist): New var.
2577 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2578 (prolog-input-filter): Use derived-mode-p.
2579 (prolog-inferior-guess-flavor): New function.
2580 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2581 make-comint to avoid running comint-mode twice.
2582 (prolog-inferior-buffer): New fun.
2583 (prolog-old-process-region, prolog-old-process-file):
2584 Don't call prolog-bsts here...
2585 (prolog-build-prolog-command): ...do it here instead.
2586 (prolog-old-process-region, prolog-old-process-file):
2587 Use compilation-fake-loc and compilation-forget-errors.
2588 (prolog-consult-compile-region): Use bolp.
2590 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2592 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2594 2011-01-27 Sam Steingold <sds@gnu.org>
2596 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2597 Remove "*server*" which is never created by emacs server.
2599 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2601 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2602 there are some diff switches.
2604 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2607 Copy change made to ruby-font-lock-syntactic-keywords.
2609 * htmlfontify.el: Make it obey the font-lock-face text property.
2610 Miscellaneous cleanup such as:
2611 - Don't hide expressions after a closing paren.
2612 - Move initial setq into let.
2613 - Hoist common parts out of ifs.
2614 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2615 (hfy-face-at): Use get-text-property instead.
2616 (hfy-prop-invisible-p): Use invisible-p if available.
2617 (htmlfontify-manual): Use \\[...].
2618 (hfy-html-quote-regex): Use [...].
2619 (hfy-combined-face-spec): Simplify.
2620 (hfy-compile-face-map): Don't presume point-min==1.
2621 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2622 match end of string.
2623 (hfy-text-p): η-reduce.
2624 (hfy-tags-for-file): Receive cache-hash directly.
2625 (hfy-mark-tag-names): Adjust call.
2627 2011-01-27 Glenn Morris <rgm@gnu.org>
2629 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2630 (msb-after-load-hook): Remove eval-after-load wackiness.
2632 2011-01-25 Sam Steingold <sds@gnu.org>
2634 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2635 literal "diff" (important for windows-nt).
2637 2011-01-25 Glenn Morris <rgm@gnu.org>
2639 * emacs-lisp/copyright.el (copyright-at-end-flag)
2640 (copyright-names-regexp): Add safety properties.
2641 (copyright-year-ranges): New option.
2642 (copyright-find-end): New function, split from copyright-update-year.
2643 (copyright-update-year): Use copyright-find-end.
2644 (copyright-fix-years): Optionally, convert years to ranges.
2645 Handle years continued over comment lines.
2646 Do not mess with the fill-prefix.
2647 Do not call copyright-update.
2648 (copyright-update-directory): Optionally, fix years rather than update.
2649 Skip directories. Find files with only safe local vars.
2651 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * files.el (file-name-non-special): Only change buffer-file-name after
2654 insert-file-contents if it's `visit'ing the file (bug#7854).
2656 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2658 * dired.el (dired-revert): Doc fix (Bug#7758).
2660 * simple.el (line-move-visual): Doc fix (Bug#7594).
2662 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2664 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2665 here-doc which ends with an underscore.
2666 (ruby-mode-set-encoding): Skip shebang line always.
2667 (ruby-mode-map): Bind C-c C-c to comment-region.
2668 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2669 (ruby-forward-sexp): Stop after literal hash key labels.
2670 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2673 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2675 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2676 the correct buffer (Bug#7650).
2678 2011-01-25 Glenn Morris <rgm@gnu.org>
2680 * comint.el (comint-mode): Doc fix. (Bug#7897)
2682 * simple.el (do-auto-fill): Give it a doc string.
2684 * button.el (make-text-button): Doc fix. (See bug#7881)
2686 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2688 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2689 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2691 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2692 Handle ?" and friends differently (e.g. don't use backrefs).
2694 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2696 * calc/calc.el (calc-default-power-reference-level)
2697 (calc-default-field-reference-level): New variables.
2698 * calc/calc-units.el (math-standard-units): Add dB and Np.
2699 (math-logunits): New variable.
2700 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2701 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2702 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2704 (math-find-base-units-rec): Add entry for ln(10).
2705 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2706 (calc-ul-prefix-help): New function.
2707 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2708 functions. Add keybindings for new units functions.
2710 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2712 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2713 rcirc buffers. (Bug#4940)
2715 2011-01-22 Glenn Morris <rgm@gnu.org>
2717 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2718 split out from copyright-update-year.
2719 (copyright-update): Don't mess with the GPL version if we don't own the
2720 copyright. Update license regexp, and remove no longer needed
2722 (copyright-fix-years): Use copyright-find-copyright.
2724 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2726 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2728 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2730 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2731 (lm): Rename to landmark.
2732 (lm-test-run): Rename to landmark-test-run.
2734 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2736 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2737 "Case sensitive" menu item.
2739 2011-01-22 Roland McGrath <roland@frob.com>
2741 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2742 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2744 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2748 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2750 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2751 Assume foo(bar) is a manpage reference rather than some unquoted
2754 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2757 Suggested by Flo <sensorflo@gmail.com>.
2759 2011-01-22 Glenn Morris <rgm@gnu.org>
2761 * progmodes/compile.el (compilation-error-regexp-alist):
2762 Fix custom type. (Bug#7812)
2764 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2766 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2767 allout-number-siblings, in keeping with what obtained due to
2768 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2770 (allout-before-change-handler): Better expose spots affected by
2773 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2775 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2777 2011-01-22 Phil Hagelberg <phil@evri.com>
2779 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2780 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2781 (pcmpl-ssh-config-hosts): New function.
2782 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2783 pcmpl-ssh-known-hosts.
2785 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2787 * calc/calc-undo.el (calc-undo): Autoload it.
2788 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2789 and autoload for `calc-undo'.
2790 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2791 * calc/calc-prog.el:
2792 * calc/calc-graph.el:
2793 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2795 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2797 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2798 keybindings to `calc-undo'.
2800 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2802 Don't mess with *temp*.
2803 * obsolete/spell.el: Move from textmodes/spell.el.
2805 * term.el (term-read-input-ring):
2806 * startup.el (display-startup-echo-area-message):
2807 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2808 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2809 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2812 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2814 * allout.el (allout-institute-keymap): Use fset instead of
2815 reapplying defalias.
2817 (allout-hotspot-key-handler): Check for non-control-modified
2818 bindings for hotspot characters if there are no control-modified
2821 * allout.el: Summary - migrate to defining allout mode using
2822 define-minor-mode instead of defun. Significantly clean-up
2823 internal keymap provisions, refactoring and, in the process,
2824 removing a lot of accumulated cruft.
2826 allout-mode-map is now a keymap by virtue of being a defalias to
2827 allout-mode-map-value, which contains the actual keymap structure.
2829 (allout-mode): Use define-minor-mode rather than defun.
2830 Remove now-unnecessary minor-mode setup activities from the body.
2831 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2832 entry will be '(allout-mode . allout-mode-map) - see
2833 allout-mode-map-value, below. Adjust docstring to track changes.
2834 (allout-minor-mode): Remove this defalias, now that we're using
2836 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2837 keymap is allout-mode-map-value, via defalias.
2838 (allout-mode-map-value): The variable holding the actual mode
2839 keymap structure, by virtue of defalias from allout-mode-map.
2840 (allout-compose-and-institute-keymap): Rename from
2841 allout-bind-keys, and including the binding-composition
2842 functionality of the former produce-allout-mode-map and
2843 allout-setup-mode-map.
2844 (allout-institute-keymap): Take over the "setup" part of the former
2845 allout-setup-mode-map. Reassign allout-mode-map-value value and
2846 update the defalias.
2847 (allout-command-prefix, allout-prefixed-keybindings)
2848 (allout-unprefixed-keybindings):
2849 Use allout-compose-and-institute-keymap to process the bindings.
2850 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2851 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2852 user can customize if they want to use that binding.
2853 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2854 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2855 elided that, previously, instead of the one for \C-h.)
2856 (allout-hotspot-key-handler): Remove attempt to resolve the key
2857 through the literal key-string lookup on allout-keybindings-list.
2858 That probably hasn't worked for a Long Time, and removal of
2859 allout-keybindings-list further simplifies the keybindings situation.
2860 (allout-pre-command-business): Use allout-mode-map-value instead
2862 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2863 the bindings if they want to use a keybinding having a trailing
2864 \C-h. No deprecation needed since this feature was never in a release.
2865 (allout-keybindings-list): Remove. It's not been useful for a
2866 while. (See allout-hotspot-key-handler changes, above.)
2867 (produce-allout-mode-map): Remove. Consolidate into
2868 allout-compose-and-institute-keymap.
2869 (allout-mode-map-adjustments): Remove. No longer necessary with
2870 removal of allout-preempt-trailing-ctrl-h.
2871 (allout-setup-mode-map): Remove. Consolidate into
2872 allout-compose-and-institute-keymap and allout-institute-keymap.
2874 2011-01-20 Glenn Morris <rgm@gnu.org>
2876 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2878 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2880 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2882 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2884 * files.el (find-alternate-file, basic-save-buffer)
2885 (basic-save-buffer-2, revert-buffer, recover-file)
2886 (kill-buffer-ask, abort-if-file-too-large)
2887 (set-visited-file-name, write-file, backup-buffer)
2888 (basic-save-buffer, save-some-buffers):
2889 * dired-aux.el (dired-compress-file): Callers changed.
2891 2011-01-19 Glenn Morris <rgm@gnu.org>
2893 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2894 Also check the property status. (Bug#7861)
2896 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2898 * net/tramp.el (tramp-debug-message): Extend function exclude
2899 list. Use `regexp-opt'.
2901 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2904 highlighting doesn't spill over subsequent lines.
2906 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2907 keymap expression. Improve docstring.
2909 * electric.el (electric-indent-post-self-insert-function):
2910 Don't auto-indent for indent-to-left-margin, it's too often
2913 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2915 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2916 spaces if the frame was resized, so that the full visible buffer
2917 serves as canvas for strokes.
2919 2011-01-16 Glenn Morris <rgm@gnu.org>
2921 * info-xref.el (info-xref-docstrings): Replace cl function.
2922 Also skip directories.
2924 2011-01-16 Kevin Ryde <user42@zip.com.au>
2926 * info-xref.el: Version 3.
2927 (info-xref-check, info-xref-check-all): Move commentary details
2928 into docstrings for better visibility.
2929 Use compilation-mode for the results buffer.
2930 (info-xref-output, info-xref-output-error, info-xref-with-output)
2931 (info-xref-filename, info-xref-in-progress):
2932 New internals for this.
2933 (info-xref-check-list, info-xref-check-buffer)
2934 (info-xref-check-all-custom): Use those.
2935 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2936 (info-xref-output-heading): Rename from info-xref-filename-heading.
2937 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2938 (info-xref-filename-heading): Move to output managing section.
2939 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2940 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2941 (info-xref-subfile-p): Move to generic section with those two.
2942 (info-xref-check-node): New function split from
2943 info-xref-check-buffer, shared by info-xref-docstrings.
2944 (info-xref-goto-node-p): Move to a checking section with that func.
2945 (info-xref-unavail): New counter.
2946 (info-xref-check-node): Use it.
2947 (info-xref-with-output): Show count of unavailables at end of output.
2948 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2949 symlinks. Exclude .texi files. Exclude Emacs backup files.
2950 (info-xref-check-all-custom): Fix quietening viper-mode and
2951 gnus-registry-install -- use setq not let so as not to unbind
2954 2011-01-16 Juri Linkov <juri@jurta.org>
2956 * isearch.el (isearch-abort): Don't quit if search has
2957 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2959 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2961 * files.el (backup-buffer): Make last-resort backup file in
2962 .emacs.d (Bug#6953).
2964 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2965 make it with permission 700.
2967 2011-01-15 Kenichi Handa <handa@m17n.org>
2969 * mail/rmailmm.el (rmail-mime-insert-header):
2970 Set rmail-mime-coding-system to a cons whose car is the last coding
2971 system used to decode the header.
2972 (rmail-mime-find-header-encoding): New function.
2973 (rmail-mime-insert-decoded-text):
2974 Override rmail-mime-coding-system if it is a cons.
2975 (rmail-show-mime): If only a header part was decoded, find the
2976 coding system while ignoring mm-charset-override-alist.
2978 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2980 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2982 2011-01-15 Kenichi Handa <handa@m17n.org>
2984 * mail/rmailmm.el (rmail-mime-next-item)
2985 (rmail-mime-previous-item): Delete them.
2986 (rmail-mime-shown-mode): Recursively call for children.
2987 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2989 (rmail-mime-raw-mode): Recursively call for children.
2990 (rmail-mode-map): Change mapping of tab and backtab to
2991 forward-button and backward-button respectively.
2992 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2994 (rmail-mime-update-tagline): New function.
2995 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2996 body display is changed.
2997 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2998 (rmail-mime-image): Delete this button type.
2999 (rmail-mime-toggle): New button type.
3000 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
3001 body display is changed. Change the save button label to "Save".
3002 Don't process show/hide button here.
3003 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
3004 the body display is changed. Unconditionally call
3005 rmail-mime-insert for children.
3006 (rmail-mime-handle): Update `display' vector of the just inserted
3008 (rmail-mime-process): If mail-header-parse-content-type returns
3009 nil, use "text/plain" as the fallback type.
3010 (rmail-mime-insert): For raw-mode, recursively call
3011 rmail-mim-insert for children.
3012 (rmail-mime): Handle the case that the current buffer is not rmail
3013 buffer (e.g. in summary buffer).
3015 2011-01-15 Kenichi Handa <handa@m17n.org>
3017 * mail/rmailmm.el (rmail-mime-next-item)
3018 (rmail-mime-previous-item): Skip the body of a non-multipart
3019 entity if a tagline is shown.
3021 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3023 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
3024 (tmm-prompt): Simplify.
3025 (tmm-add-prompt): Remove unused var `win'.
3027 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
3028 to minor mode which used nil accidentally to mean "turn off".
3030 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3032 * net/tramp-sh.el (tramp-find-inline-compress)
3033 (tramp-get-inline-coding): Quote command after pipe symbol for
3034 local calls under W32. (Bug#6784)
3036 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3038 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3039 only when running under W32.
3041 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3043 * progmodes/grep.el (grep-compute-defaults): Quote the program
3044 file name after the pipe symbol in Grep templates. (Bug#6784)
3045 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3047 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3049 * buff-menu.el (Buffer-menu-buffer-list): New var.
3050 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3051 restricted buffer list is not lost on revert (Bug#7749).
3053 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3055 * net/ldap.el (ldap-search-internal): Discard stderr output.
3057 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3059 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3061 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3065 2011-01-15 Kenichi Handa <handa@m17n.org>
3067 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3068 part as a plain text.
3069 (rmail-mime-process-multipart): Set the default content-type to
3070 nil for unknown multipart subtypes (bug#7651).
3072 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * hexl.el (hexl-mode-old-*): Remove.
3075 (hexl-mode--old-var-vals): New var to replace them.
3076 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3077 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3078 Use them to set local vars (bug#7846).
3079 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3080 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3081 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3083 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3084 (smerge-resolve--normalize-re): New var.
3085 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3086 (smerge-resolve): Use them.
3087 * newcomment.el (comment-only-p): New function.
3088 (comment-or-uncomment-region): Use it.
3090 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3092 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3093 table, get the value before switching to the output buffer. (Bug#7733)
3095 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3099 2011-01-14 Kim F. Storm <storm@cua.dk>
3101 * emulation/cua-base.el (cua--init-keymaps):
3102 Remap exchange-point-and-mark in cua-global-keymap.
3104 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3106 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3109 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3113 (easy-menu-create-menu, easy-menu-convert-item-1):
3114 Use :label rather than nil for labels. Use `case'.
3115 Add :enable as alias for :active.
3116 (easy-menu-binding): Obey :label.
3118 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3120 Use run-mode-hooks for major mode hooks (bug#513).
3121 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3122 Rename from reftex-toc-map.
3123 (reftex-toc-mode): Use define-derived-mode.
3124 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3125 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3126 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3127 (reftex-select-label-mode, reftex-select-bib-mode):
3128 Use define-derived-mode.
3129 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3130 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3131 Move init into delcaration.
3132 (reftex-index-mode, reftex-index-phrases-mode):
3133 Use define-derived-mode.
3134 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3135 speedbar-syntax-table. Move init into declaration.
3136 (speedbar-mode-map): Rename from speedbar-key-map.
3137 Move init into declaration.
3138 (speedbar-file-key-map): Move init into declaration.
3139 (speedbar-mode): Use define-derived-mode.
3140 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3141 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3142 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3143 (chart-face-list): Move initialization into declaration.
3144 (chart-mode): Use define-derived-mode.
3145 * calculator.el (calculator-mode-map): Move init into declaration.
3146 (calculator-mode): Use define-derived-mode.
3148 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3149 work for nested comments.
3151 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3152 (prolog-use-prolog-tokenizer-flag): Change default when
3153 syntax-propertize can be used.
3154 (prolog-syntax-propertize-function): New var.
3155 (prolog-mode-variables): Move make-local-variable into `set'.
3156 Don't make comment-column local since we don't set it.
3157 Set comment-add (as it was in previous prolog.el). Use dolist.
3158 Set syntax-propertize-function.
3159 (prolog-mode, prolog-inferior-mode):
3160 Call prolog(-inferior)-menu directly, not through the mode-hook.
3161 (prolog-buffer-module, prolog-indent-level)
3162 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3163 (prolog-comment-limits, prolog-goto-comment-column):
3164 Use line-(end|beginning)-position.
3165 (prolog-build-prolog-command): Tighten up regexp.
3166 (prolog-consult-compile): Move make-local-variable into `set'.
3167 (prolog-consult-compile-filter, prolog-goto-next-paren)
3168 (prolog-help-on-predicate, prolog-clause-info)
3169 (prolog-mark-predicate): Don't let+setq.
3170 (prolog-indent-line): Use indent-line-to.
3171 Only call prolog-goto-comment-column if necessary.
3172 (prolog-indent-level): Use bobp.
3173 (prolog-first-pos-on-line): Remove, not used any more.
3174 (prolog-in-string-or-comment): Use syntax-ppss if available.
3175 (prolog-help-on-predicate): Use read-string.
3176 (prolog-goto-predicate-info): Simplify.
3177 (prolog-read-predicate): Use `default' rather than `initial'.
3178 (prolog-temporary-file): Use make-temp-file to close a security hole.
3179 (prolog-toggle-sicstus-sd): New command.
3180 (prolog-electric-underscore, prolog-variables-to-anonymous):
3181 Use dynamic-scoping as it was meant.
3182 (prolog-menu): Move menu definitions to top-level.
3183 Use a toggle-button for Sicstus's source debugger.
3184 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3186 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3187 Move other menu definition to top-level.
3189 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3191 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3192 name. Keep original document's directory as default-directory
3194 (doc-view-initiate-display): Fall back to normal mode when
3195 doc-view-mode cannot be enabled, also when extracting the document
3196 text into a separate buffer (bug#6446).
3198 * simple.el (shell-command): Don't error out if shell command
3199 buffer contains text with non-nil read-only property when erasing
3202 2011-01-13 Kim F. Storm <storm@cua.dk>
3204 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3205 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3206 items when cycling through the matches.
3208 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3210 * dired-x.el (dired-omit-verbose): New defcustom that allows
3211 disabling the omit messages.
3212 (dired-omit-expunge): Use it.
3214 2011-01-13 Christian Ohler <ohler@gnu.org>
3216 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3218 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3220 * font-lock.el (font-lock-verbose): Default to nil.
3222 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3224 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3225 (compose-mail): New arg RETURN-ACTION.
3226 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3228 * mail/sendmail.el (mail-return-action): New var.
3229 (mail-mode): Make it buffer-local.
3230 (mail-bury): Obey it. Move special Rmail window handling to
3232 (mail, mail-setup): New arg RETURN-ACTION.
3233 (sendmail-user-agent-compose): Move from simple.el.
3235 * mail/rmail.el (rmail-mail-return): New function.
3236 (rmail-start-mail): Pass it to compose-mail.
3238 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3240 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3241 menus. Add menu item for customize-themes.
3243 * cus-theme.el (customize-themes):
3244 * emacs-lisp/package.el (package--list-packages):
3245 Use switch-to-buffer.
3247 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3249 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3251 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3253 * progmodes/prolog.el: Fix up coding convention and such.
3254 (prolog-indent-width): Use the same default as in
3255 previous prolog.el rather than tab-width which depends on which buffer
3256 is current when the file is loaded.
3257 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3259 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3260 (prolog-known-systems): Remove.
3261 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3262 Move initialization into declaration.
3263 (prolog-mode-map): Move initialization into declaration.
3264 Remove system-specific mode-map vars, since they referred to the same
3266 (prolog-mode-variables): Obey the user's preference w.r.t
3267 adaptive-fill-mode. Prefer symbol-value to `eval'.
3268 (prolog-mode-keybindings-edit): Add compatibility bindings.
3269 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3270 (mercury-mode-map): New var.
3271 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3272 (prolog-ensure-process, prolog-process-insert-string)
3273 (prolog-consult-compile): Use with-current-buffer.
3274 (prolog-guess-fill-prefix): Simplify data flow.
3275 (prolog-replace-in-string): New function to use instead of
3277 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3278 (prolog-uncomment-region): Use `uncomment-region' when available.
3279 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3280 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3281 of int-to-char and char-to-int.
3282 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3284 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3286 * progmodes/prolog.el: Replace by a whole new file.
3288 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3290 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3291 (declare-function, undefined, insert-for-yank)
3292 (replace-regexp-in-string): Follow checkdoc's recommendations.
3294 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3297 refreshing the diary buffer.
3299 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3301 * allout.el: Add 2011 to the file copyright.
3302 (allout-encrypt-string): Prevent encryption from adding an extra
3303 newline at the end of the topic body.
3304 (allout-version): Increment to 2.3.
3306 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3308 * net/dbus.el (dbus-unregister-service): Complete doc.
3309 Fix call of dbus-error signal.
3310 (dbus-register-property): Use `dont-register' keyword.
3312 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3314 * net/dbus.el (dbus-unregister-service): Translate returned
3315 integer into a symbol.
3316 (dbus-register-property): Use `dbus-register-service' to do the
3319 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3321 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3322 Suggested by Joakim Verona.
3324 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3326 * wid-edit.el (visibility): Replace :on-image and :off-image
3327 widget properties with :on-glyph and :off-glyph, for consistency
3328 with the `visibility' widget.
3329 (widget-toggle-value-create, widget-visibility-value-create):
3330 Merge into a single function `widget-toggle-value-create'.
3332 * cus-edit.el (custom-variable-value-create, custom-visibility)
3333 (custom-face-edit-value-create, custom-face-value-create):
3334 Replace :on-image and :off-image widget properties with :on-glyph and
3335 :off-glyph, for consistency with the `visibility' widget.
3337 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3339 * net/ldap.el (ldap-search-internal): Don't use eval.
3341 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3343 * subr.el (read-char-choice): Use read-key.
3345 * custom.el (custom-safe-themes): Rename from
3346 custom-safe-theme-files. Add :risky tag.
3347 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3348 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3350 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3352 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3353 from Search and add a label to Undo.
3355 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3356 inappropriate buttons and adding :vert-only tags.
3358 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3359 removal of Help tool-bar button. Remove Undo button for space.
3361 * info.el (info-tool-bar-map): Add :vert-only tags.
3363 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3365 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3366 image backend support. Either of them is fine.
3368 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3370 * subr.el (y-or-n-p): Doc fix.
3372 * custom.el (custom-safe-theme-files): New defcustom.
3373 (custom-theme-load-confirm): New function.
3374 (load-theme): Load theme using `load', confirming with
3375 custom-theme-load-confirm if necessary.
3377 * subr.el (read-char-choice): New function, factored out from
3378 dired-query and hack-local-variables-confirm.
3380 * dired-aux.el (dired-query):
3381 * files.el (hack-local-variables-confirm): Use it.
3383 * dired-aux.el (dired-compress-file):
3384 * files.el (abort-if-file-too-large, find-alternate-file)
3385 (set-visited-file-name, write-file, backup-buffer)
3386 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3387 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3388 Use new format string args for y-or-n-p and yes-or-no-p.
3390 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3392 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3393 [gcc-include]: Tighten file name match, add match for column
3395 [gnu]: Remove unused group.
3397 2011-01-08 Glenn Morris <rgm@gnu.org>
3399 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3401 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3403 2011-01-07 Sam Steingold <sds@gnu.org>
3405 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3406 the `explicit-shell-file-name' because that is the
3407 non-interactive shell.
3409 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3411 * subr.el (y-or-n-p): Accept format string args.
3413 2011-01-07 Glenn Morris <rgm@gnu.org>
3415 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3417 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3419 * allout.el (allout-back-to-current-heading): Ensure return to
3420 the visible containing topic, rather than a collapsed one.
3421 (allout-view-change-hook): Remove hook that was deprecated long ago.
3422 (allout-exposure-change-hook): Remove documentation remarks
3423 concerning removed allout-view-change-hook.
3424 (allout-flag-region): Remove invocation of and documentation
3425 remarks concerning allout-view-change-hook.
3427 2011-01-06 Glenn Morris <rgm@gnu.org>
3429 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3430 (vc-bzr-annotate-extract-revision-at-line):
3431 Handle authors with embedded spaces. (Bug#7792)
3433 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3435 * doc-view.el (doc-view-image-width): New variable.
3436 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3437 backend for PNG images, and do dynamic rescaling instead of
3438 reconverting the whole doc.
3440 2011-01-05 Glenn Morris <rgm@gnu.org>
3442 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3444 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3446 * allout.el: Reconcile with changes in line movement behavior for
3447 long text lines that cross more than a single physical window
3448 line, ie when truncate-lines is nil.
3449 (allout-next-visible-heading): Provide for change in line-move
3450 behavior on long lines when truncate-lines is nil. In that case,
3451 line-move can wind up on the same textual line when it moves to
3452 the next window line, and moving to the bullet position after the
3453 move yields zero advancement. Add logic to detect and compensate
3454 for the lack of progress.
3455 (allout-current-topic-collapsed-p): move-end-of-line respect for
3456 field boundaries is different when operating with body lines
3457 shorter than window width versus ones greater than window width,
3458 which can yield false negatives in this function. Avoid
3459 difference by applying move-end-of-line while field-text-motion is
3462 2011-01-04 Glenn Morris <rgm@gnu.org>
3464 * textmodes/rst.el (rst-compile-toolsets):
3465 Add pdf and s5 to option alist.
3467 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3469 * net/dbus.el (dbus-register-property): Add optional parameter
3470 dont-register-service. Updated docstring accordingly.
3472 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3474 * textmodes/rst.el (rst-compile-pdf-preview)
3475 (rst-compile-slides-preview): Remove extra line.
3477 2011-01-04 Glenn Morris <rgm@gnu.org>
3479 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3480 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3481 default to `prog' without a .py extension.
3482 (rst-compile-pdf-preview, rst-compile-slides-preview):
3483 Use program names from rst-compile-toolsets, rather than hard-coding.
3484 (rst-portable-mark-active-p): Fix presumed typo.
3486 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3488 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3489 libpng versions both before and after 1.4.0. (Bug#7716)
3491 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3493 * time.el (display-time-mode): Mention display-time-interval in
3494 the doc string. (Bug#7713)
3496 2011-01-02 Kenichi Handa <handa@m17n.org>
3498 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3499 condition-case and return an error message string if something
3501 (rmail-show-mime): Adjust for the above change. Insert the
3502 header by rmail-mime-insert-header.
3504 2011-01-02 Kenichi Handa <handa@m17n.org>
3506 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3507 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3508 (rmail-mime-mbox-buffer)
3509 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3510 (rmail-mime-entity): Argument changed. All codes handling an
3511 entity object are changed.
3512 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3514 (rmail-mime-entity-children, rmail-mime-entity-handler)
3515 (rmail-mime-entity-tagline): New functions.
3516 (rmail-mime-message-p): New function.
3517 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3518 (rmail-mime-entity-segment, rmail-mime-next-item)
3519 (rmail-mime-previous-item, rmail-mime-shown-mode)
3520 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3521 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3522 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3524 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3525 (rmail-mime-insert-decoded-text): New function.
3526 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3527 (rmail-mime-insert-image): Argument changed. Caller changed.
3528 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3529 (rmail-mime-set-bulk-data): New function.
3530 (rmail-mime-insert-bulk): Argument changed.
3531 (rmail-mime-multipart-handler): Return t.
3532 (rmail-mime-process-multipart): Argument changed.
3533 Handle "multipart/alternative" here.
3534 (rmail-mime-process): Argument changed.
3535 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3536 (rmail-mime-insert): Argument changed. Handle raw display mode.
3537 (rmail-mime): Argument changed. Handle toggling of raw display
3539 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3540 rmail-mime-view-buffer.
3541 (rmail-insert-mime-forwarded-message): Likewise.
3542 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3544 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3545 non-nil, handle the header in rmail-show-mime-function.
3547 2011-01-02 Leo <sdl.web@gmail.com>
3549 * help-fns.el (describe-variable): Fix previous change.
3551 2011-01-02 Juri Linkov <juri@jurta.org>
3553 * isearch.el (isearch-lazy-highlight-error): New variable.
3554 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3555 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3556 to the current value of `isearch-error' (Bug#7468).
3558 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3560 * help-fns.el (describe-variable): Don't emit trailing whitespace
3563 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3565 * textmodes/rst.el (rst-compile-pdf-preview)
3566 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3568 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3570 * emulation/edt-mapper.el: Override mapping of function keys so
3571 that the later call to read-key-sequence works.
3573 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3575 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3576 Unix EOLs. (Bug#7589)
3578 2011-01-02 Leo <sdl.web@gmail.com>
3580 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3581 if point is not behind eshell-last-output-end (Bug#7585).
3583 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * files.el (file-local-variables-alist):
3586 Make permanent-local (bug#7767).
3588 2011-01-02 Glenn Morris <rgm@gnu.org>
3590 * version.el (emacs-copyright): Set short copyright year to 2011.
3592 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3594 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3595 an existing temp buffer. (Bug#7746)
3597 2011-01-02 Glenn Morris <rgm@gnu.org>
3599 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3600 multiple addresses. (Bug#7760)
3602 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3604 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3605 do-auto-fill if everything points back to allout-auto-fill.
3606 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3607 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3609 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3611 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3614 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3616 * doc-view.el (doc-view-set-doc-type): New function refactored
3618 (doc-view-fallback-mode): New function.
3619 (doc-view-mode): Use it.
3620 (doc-view-mode-maybe): New function that checks if doc-view-mode
3621 can be used and falls back to the next best mode otherwise.
3623 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3624 DVI, OpenDocument, and MS Office files.
3626 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3628 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3630 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3632 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3633 on a copy of auto-mode-alist, because that deletes with side
3636 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3638 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3639 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3640 fallback instead of hard coding fundamental mode.
3642 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3644 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3645 Office) files also for searching.
3647 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3649 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3650 Office) files. Not yet enabled via auto-mode-list.
3651 (doc-view-unoconv-program): New custom variable.
3652 (doc-view-mode-p): Handle new odf document type.
3653 (doc-view-odf->pdf): New conversion function.
3654 (doc-view-convert-current-doc): Call it for odf files.
3655 (doc-view-mode): Recognize newly supported file extensions.
3657 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3659 * net/tramp.el (tramp-default-method-alist)
3660 (tramp-default-user-alist)
3661 (tramp-local-host-regexp, tramp-prefix-domain-format)
3662 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3665 * net/tramp-gvfs.el:
3667 * net/tramp-imap.el:
3669 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3670 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3672 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3674 * saveplace.el (save-place-alist-to-file): Save list sorted and
3675 pretty-printed, so that it is mergeable by line-based text merging,
3676 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3678 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3680 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3681 (allout-mode): Argument "toggle" => "force".
3682 Refine the docstring.
3683 Remove special provisions for reactivation, besides the 'force'
3685 Consolidate layout provisions coce directly into the activation
3686 condition branch, now that we've removed those provisions.
3687 (allout-unload-function): Explicitly activate the mode before
3688 deactivating, if it's initially deactivated.
3689 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3690 warnings for version of function used only where
3691 set-buffer-multibyte is unavailable.
3693 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3695 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3696 are handled by the menu-bar entries. As before, don't use
3697 :visibile to avoid changing the tool-bar.
3699 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3701 * net/secrets.el (secrets-delete-alias): New defun.
3703 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3705 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3706 methods, otherwise ~/.ssh/config would be ignored.
3708 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * emacs-lisp/rx.el: Make it a superset of sregex.
3711 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3712 of args, add `regex' alias.
3713 (rx-info): Add arg to distinguish head and standalone forms.
3714 (rx-check, rx-form): Pass the corresponding arg.
3716 (rx-repeat): Make it work for any number of args.
3717 (rx-syntax): Make it accept syntax chars as is.
3718 * obsolete/sregex.el: Move from emacs-lisp/.
3719 * emacs-lisp/re-builder.el: Remove sregex support.
3720 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3722 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3724 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3725 PRIMARY first, then the clipboard. (Bug#7699)
3727 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3732 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3734 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3735 .emacs.elc (Bug#7530).
3737 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3738 image spec (Bug#7480).
3740 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3742 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3743 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3746 2010-12-20 Leo <sdl.web@gmail.com>
3748 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3749 always be performed (Bug#7680).
3751 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3753 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3754 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3757 * color.el: Move from gnus/.
3759 * vc/diff.el (diff-better-file-name): Function deleted.
3760 abbreviating file names causes problems with shell-quote-argument.
3761 (diff-no-select): Just use expand-file-name.
3763 * tool-bar.el (tool-bar--image-expression): New function.
3764 (tool-bar-local-item, tool-bar--image-exp): Use it.
3765 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3766 Use :enable instead of :visible to avoid changing the tool-bar
3767 configuration unnecessarily.
3769 * info.el (info-tool-bar-map): Add separators.
3771 2010-12-17 Ken Brown <kbrown@cornell.edu>
3773 * loadup.el: Use version numbers in Cygwin build.
3775 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3777 * ido.el (ido-file-internal): Ask for confirmation before
3778 overwriting an existing file (Bug#1238).
3780 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3782 * tool-bar.el (tool-bar-setup): Add separators.
3784 * menu-bar.el (featurep): Use menu-bar-separator.
3786 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3788 Migrate allout encryption provisions from pgg to epg.
3790 * allout.el (allout-toggle-current-subtree-encryption)
3791 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3792 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3793 for simpler universal argument interpretation.
3794 (allout-toggle-subtree-encryption): Adjust docstring to describe
3795 changed encryption provisions. Change fetch-pass to keymode-cue, for
3796 simpler universal argument interpretation. Remove provisions for
3797 handling key type and identity - they'll all be within
3798 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3799 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3800 for keypair recipients (universal argument > 1) and, in addition,
3801 associating the specified recipients with the outline (universal
3802 argument > 4) using a file local variable setting for
3803 'epa-file-encrypt-to'.
3804 Require epa, for recipients handling.
3805 Change how regexp filtering elements are named.
3806 Describe the problem with caching of incorrect symmetric-decryption
3808 Use the epa-passphrase-callback-function, in case the user is using
3810 Support saving of the selected keypair recipients when invoked with a
3812 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3814 Establish epg-context with armoring and default epg-protocol.
3815 Remove all passphrase cache, verification, and hinting code.
3816 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3817 No longer used, delete.
3818 (allout-mode): Adjust docstring to describe changed encryption
3819 provisions. Describe the problem with caching of incorrect
3820 symmetric-decryption keys.
3821 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3822 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3823 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3824 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3827 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3829 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3830 key selection prompt; make 'silent as default (Bug#7487).
3832 2010-12-16 Leo <sdl.web@gmail.com>
3834 * eshell/eshell.el (eshell-directory-name):
3835 Use locate-user-emacs-file (Bug#7578).
3837 2010-12-15 Glenn Morris <rgm@gnu.org>
3839 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3841 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3842 Scott Evans <gse@antisleep.com>
3844 * rect.el (rectange--default-line-number-format)
3845 (rectangle-number-line-callback): New functions.
3846 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3848 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3850 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3851 Delete unused variables.
3852 (move-to-column-force): Remove function obsolete since 21.2.
3854 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3856 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3857 (tramp-handle-insert-file-contents): Do not set permanent-local
3860 * net/tramp-cache.el (tramp-persistency-file-name):
3861 Use `locate-user-emacs-file' if fboundp.
3863 * net/tramp-sh.el (tramp-methods): Add "ksu".
3864 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3867 2010-12-14 Glenn Morris <rgm@gnu.org>
3869 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3870 (find-tag-marker-ring): Declare.
3871 (js-find-symbol): Require etags.
3873 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3875 (mail-alias-file): Don't autoload. Doc fix.
3876 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3877 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3878 Mark as obsolete, and risky.
3879 (mail-setup): Simplify.
3881 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3882 * mail/sendmail.el (build-mail-aliases): Update autoload.
3884 * dired.el (dired-trivial-filenames, dired-chown-program)
3885 (dired-auto-revert-buffer): Remove autoload cookies.
3886 * mail/sendmail.el (mail-recover-1): Require 'dired.
3888 * dired.el (dired-subdir-switches, dired-chown-program)
3889 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3890 Make into defcustoms.
3891 (dired-chown-program): Simplify initialization.
3893 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3895 2010-12-13 Romain Francoise <romain@orebokech.com>
3897 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3899 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3901 * net/netrc.el (netrc-point-at-eol): Remove the unused
3902 netrc-point-at-old and netrc-bound-and-true-p bindings.
3903 (netrc-parse): Cache the netrc contents.
3905 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3907 * subr.el (posn-col-row): Evaluate header-line-format in the
3908 context of the POSITION window's buffer.
3910 2010-12-13 Glenn Morris <rgm@gnu.org>
3912 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3913 (with-silent-modifications): Doc fixes.
3915 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3917 * net/tramp.el (tramp-action-password, tramp-process-actions):
3918 Revert previous from. Use `save-restriction'.
3920 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3922 * calendar/diary-lib.el (diary-list-sexp-entries):
3923 Handle case of no newline at end of file. (Bug#7536)
3925 2010-12-13 Glenn Morris <rgm@gnu.org>
3927 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3929 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3931 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3932 (tramp-process-actions): Do not widen.
3934 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3935 Protect buffer-modified value. (Bug#7557)
3937 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3939 * log-edit.el (log-edit-changelog-entries):
3940 Regexp quote filename. (Bug#7505)
3942 2010-12-13 Tom Breton <tehom@panix.com>
3944 * cus-edit.el (custom-save-all):
3945 Bind print-length and print-level to nil. (Bug#7581)
3947 2010-12-13 Glenn Morris <rgm@gnu.org>
3949 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3950 Run hooks to update menu contents. (Bug#7586)
3952 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3953 file names, for the sake of MS Windows. (Bug#7588)
3955 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3958 empty lines without a leading space.
3960 2010-12-13 Leo <sdl.web@gmail.com>
3962 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3963 while mapping over marks (Bug#6810).
3965 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3967 * image-dired.el (image-dired-db-file)
3968 (image-dired-temp-image-file, image-dired-gallery-dir)
3969 (image-dired-temp-rotate-image-file): Set default values relative
3970 to image-dired-dir (Bug#7518).
3972 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3974 * format.el (format-decode-run-method): Pass args FROM and TO, not
3975 point-min and point-max, to shell-command-on-region (Bug#7488).
3977 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3979 * frame.el (blink-cursor-mode): Make default t for ns.
3981 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3983 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3985 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3987 * comint.el (comint-dynamic-list-input-ring)
3988 (comint-dynamic-complete-filename)
3989 (comint-replace-by-expanded-filename)
3990 (comint-dynamic-simple-complete)
3991 (comint-dynamic-list-filename-completions)
3992 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3994 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3997 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3999 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
4002 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
4004 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
4007 2010-12-13 Eli Zaretskii <eliz@gnu.org>
4009 * files.el (file-relative-name): Handle UNC file names on
4010 DOS/Windows. (Bug#4674)
4012 2010-12-13 Daiki Ueno <ueno@unixuser.org>
4014 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4015 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4016 (epg-context-set-passphrase-callback): Mention that the callback
4017 is not called when used with GnuPG 2.x.
4019 2010-12-13 Glenn Morris <rgm@gnu.org>
4021 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
4022 Ensure ps-footer-font-size-internal is initialized.
4023 Call ps-get-page-dimensions before trying to use ps-font-for-text.
4025 2010-12-13 Kenichi Handa <handa@m17n.org>
4027 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
4028 within condition-case.
4029 (rmail-show-mime): Don't use condition-case.
4030 (rmail-search-mime-message): New function.
4031 (rmail-search-mime-message-function): Set to
4032 rmail-search-mime-message.
4034 2010-12-13 Leo <sdl.web@gmail.com>
4036 * ido.el (ido-common-initialization): New function. (bug#3274)
4038 (ido-completing-read): Call it.
4040 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4042 * bookmark.el (bookmark-name-from-full-record): Rename back to
4043 this original name from `bookmark-name-from-record' reverting part
4044 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4045 As Drew Adams pointed out, there was no reason to cause churn for
4046 third-party callers. (Bug#7609)
4048 2010-12-12 Alan Mackenzie <acm@muc.de>
4050 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4051 template arglist, check that the current language supports this.
4053 2010-12-11 Glenn Morris <rgm@gnu.org>
4055 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4056 state of the file matches. (Bug#7544)
4057 (vc-bzr-register, vc-bzr-checkin)
4058 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4059 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4061 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4063 2010-12-11 Karel Klíč <kklic@redhat.com>
4065 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4067 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4069 Derive from prog-mode, use derived-mode-p, and fix up various
4070 minor style issues in lisp/progmodes.
4072 * progmodes/vhdl-mode.el (vhdl-mode):
4073 * progmodes/verilog-mode.el (verilog-mode):
4074 * progmodes/vera-mode.el (vera-mode):
4075 * progmodes/sql.el (sql-mode):
4076 * progmodes/scheme.el (scheme-mode):
4077 * progmodes/perl-mode.el (perl-mode):
4078 * progmodes/octave-inf.el (inferior-octave-mode):
4079 * progmodes/autoconf.el (autoconf-mode):
4080 * progmodes/m4-mode.el (m4-mode):
4081 * progmodes/inf-lisp.el (inferior-lisp-mode):
4082 * progmodes/idlwave.el (idlwave-mode):
4083 * progmodes/icon.el (icon-mode):
4084 * progmodes/idlw-help.el (idlwave-help-mode):
4085 * progmodes/dcl-mode.el (dcl-mode):
4086 * progmodes/idlw-shell.el (idlwave-shell-mode):
4087 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4088 (ebrowse-member-mode, ebrowse-electric-position-mode):
4089 Use define-derived-mode.
4091 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4092 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4093 (xscheme-debugger-mode-p, xscheme-send-string-1):
4094 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4095 (tcl-load-file, tcl-restart-with-file):
4096 * progmodes/ps-mode.el (ps-run-running):
4097 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4098 * progmodes/js.el (js--get-all-known-symbols):
4099 * progmodes/inf-lisp.el (inferior-lisp-proc):
4100 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4101 (idlwave-template, idlwave-update-buffer-routine-info)
4102 (idlwave-update-current-buffer-info)
4103 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4104 (idlwave-scan-class-info, idlwave-fix-keywords)
4105 (idlwave-list-buffer-load-path-shadows):
4106 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4107 (idlwave-toolbar-remove):
4108 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4109 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4110 (idlwave-shell-menu-def):
4111 * progmodes/idlw-complete-structtag.el
4112 (idlwave-prepare-structure-tag-completion):
4113 * progmodes/gud.el (gud-set-buffer):
4114 * progmodes/f90.el (f90-backslash-not-special):
4115 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4117 * progmodes/xscheme.el (xscheme-start)
4118 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4119 * progmodes/which-func.el (which-function):
4120 * progmodes/vhdl-mode.el (vhdl-set-style):
4121 * progmodes/verilog-mode.el (verilog-set-compile-command)
4122 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4123 (verilog-set-define, verilog-auto-reeval-locals):
4124 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4125 * progmodes/simula.el (simula-mode):
4126 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4127 * progmodes/python.el (python-check, python-mode):
4128 * progmodes/prolog.el (prolog-mode-variables):
4129 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4130 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4131 * progmodes/delphi.el (delphi-mode):
4132 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4133 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4134 (c-font-lock-init): Move make-local-variable to their setq.
4136 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4137 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4139 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4140 (sh-set-shell): Don't set require-final-newline since it's already done
4142 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4143 since we never set it.
4144 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4145 Use read-string and standard prompt.
4146 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4147 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4148 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4149 (meta-common-mode-map): Rename from meta-mode-map.
4150 Remove C-m binding, which is a user preference, not mode specific.
4151 (meta-common-mode): New major mode; replace meta-common-initialization.
4152 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4153 around with font-lock.
4154 * progmodes/etags.el (select-tags-table-mode):
4155 Derive from special-mode.
4156 * progmodes/octave-mod.el (octave-mode):
4157 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4158 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4159 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4160 Let define-derived-mode do its job.
4161 * progmodes/cpp.el (cpp-edit-mode-map):
4162 Move initialization into declaration.
4163 (cpp-edit-mode): Use define-derived-mode.
4164 (cpp-edit-load): Use derived-mode-p.
4165 * progmodes/mixal-mode.el (mixal-mode):
4166 * progmodes/f90.el (f90-mode):
4167 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4168 require-final-newline since prog-mode does it already.
4169 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4170 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4171 * progmodes/antlr-mode.el: Require cc-mode upfront.
4172 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4174 (antlr-directory-dependencies, antlr-show-makefile-rules):
4176 (antlr-language-option): Don't assume point-min==1.
4177 (antlr-mode): Use define-derived-mode.
4178 * progmodes/ada-mode.el: Use derived-mode-p.
4179 (ada-mode): Use define-derived-mode.
4180 Use hack-local-variables-hook.
4182 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4185 (texinfo-mode): Don't disable adaptive-fill-mode.
4186 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4187 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4188 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4189 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4190 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4191 (texinfo-insert-@quotation, texinfo-insert-@samp)
4192 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4193 (texinfo-insert-@uref): Use define-skeleton.
4194 (texinfo-insert-@-with-arg): Delete.
4196 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4198 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4199 nil, do quote archive member names. (Bug#6144)
4201 2010-12-10 Glenn Morris <rgm@gnu.org>
4203 * files.el (diff-no-select): Declare.
4205 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4206 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4208 * comint.el (comint-input-ring-file-name): Doc fix.
4210 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4212 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4214 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4215 Use them instead of `nil' and `>', respectively.
4216 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4218 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4219 and menu-bar-positive-p instead of `nil' and `>', respectively.
4222 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4224 * whitespace.el (whitespace-newline-mode): Code fix.
4226 2010-12-09 Glenn Morris <rgm@gnu.org>
4228 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4229 Rename functions without commas, update callers.
4231 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4233 * whitespace.el (whitespace-cleanup-region):
4234 Clean up spaces before tabs. (Bug#7582)
4236 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4238 * bookmark.el: Adjust parameter names and doc strings to resolve
4239 confusion over whether "bookmark" meant a bookmark name or a
4240 bookmark record. Along the way, shorten one function's name for
4241 similar reasons. (Issue #7548)
4242 (bookmark-name-from-record): New name for
4243 `bookmark-name-from-full-record'. All callers changed.
4244 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4245 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4246 (bookmark-get-annotation, bookmark-set-annotation)
4247 (bookmark-get-filename, bookmark-set-filename)
4248 (bookmark-get-position, bookmark-set-position)
4249 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4250 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4251 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4252 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4253 Rename `bookmark' parameter to `bookmark-name-or-record', to
4254 clearly show its role, and shorten or adjust doc strings accordingly.
4255 (bookmark-set-name): Same, and pass the parameter directly to
4256 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4257 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4258 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4259 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4260 and in some cases shorten doc string accordingly.
4261 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4262 and `new-name', and adjust an internal variable to avoid confusion.
4263 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4264 parameter in doc string.
4266 2010-12-08 Glenn Morris <rgm@gnu.org>
4268 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4269 from gdb's history file. (Bug#7575)
4271 * mail/emacsbug.el (report-emacs-bug):
4272 Try to handle some other mail clients.
4274 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4277 Use string-prefix-p.
4278 (file-name-version-regexp): New var.
4279 (file-name-sans-versions):
4280 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4281 (jka-compr-get-compression-info): Use dolist.
4282 (jka-compr-compression-info-list): Don't bother specifying
4283 version/backup regexps.
4285 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4287 * simple.el (just-one-space): Make argument n default to 1 if
4290 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * electric.el (electric-indent-post-self-insert-function):
4293 Delete trailing newlines even if we don't reindent.
4295 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * minibuffer.el (completion-at-point): Remove the `arg'.
4298 * bindings.el (complete-symbol): Move back from minibuffer.el.
4300 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4302 * simple.el (just-one-space): Delete newlines for negative arg.
4304 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4307 (ansi-color-filter-apply): Simplify.
4308 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4310 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4312 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4314 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4316 * dired.el (dired-use-ls-dired): Set default to a special
4317 "unspecified" value.
4318 (dired-insert-directory): When called the first time, check
4319 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4321 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4323 * replace.el: Add "collect" feature to occur.
4324 (occur-collect-regexp-history): New var.
4325 (occur-read-primary-args): Return a replace string for nlines,
4327 (occur): Extend the meaning of nlines.
4329 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4331 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4332 (which-func-update-1): Distinguish symbols from strings.
4333 (which-function): Stay within 80 columns.
4335 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4339 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4341 (comment-style): Use comment-styles's docs to describe values.
4343 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4345 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4346 and ns-show-prefs (Bug#7535).
4348 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4349 bindings (Bug#7535).
4351 2010-12-03 Glenn Morris <rgm@gnu.org>
4353 * nxml/nxml-mode.el: Require rng-nxml.
4354 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4355 Remove declarations.
4357 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4358 * nxml/rng-nxml.el, nxml/rng-valid.el:
4359 Remove leading `*' from defcustom docs.
4361 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4362 (normal-top-level-add-to-load-path, tty-handle-args):
4363 Convert comments to basic doc-strings.
4365 * net/browse-url.el (browse-url-url-at-point)
4366 (browse-url-default-browser): Remove autoload cookies.
4368 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4369 Remove more undefined cl functions.
4371 * vc/diff.el (diff-sentinel): Make new arguments optional.
4372 * ibuf-ext.el (diff-sentinel): Update declaration.
4374 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4376 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4377 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4378 (epg-context-set-passphrase-callback): Mention that the callback
4379 is not called when used with GnuPG 2.x.
4381 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4383 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4384 (tramp-file-name-port): Check also for `tramp-default-port'.
4385 (tramp-get-connection-name): New defun.
4386 (tramp-get-connection-process): Use it.
4387 (tramp-debug-message): Extend function exclude list.
4388 (tramp-drop-volume-letter): Fix doc string.
4390 * net/tramp-cmds.el: Remove solved todo item.
4393 * net/tramp-gvfs.el:
4395 * net/tramp-imap.el:
4396 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4397 and `tramp-default-user-alist', respectively.
4399 * net/tramp-gw.el (tramp-gw-open-connection):
4400 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4402 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4403 `tramp-file-name-port'.
4405 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4406 and "psftp". Exchange "%k" marker with options.
4407 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4408 Compute size of link target.
4409 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4410 `tramp-current-*' up due to gateway methods. Optimize computing of
4411 copy arguments. Use `tramp-get-connection-name' and
4412 `tramp-get-connection-buffer'. Improve debug messages.
4413 (tramp-compute-multi-hops): Remove port determination.
4414 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4416 * net/trampver.el: Update release number.
4418 2010-12-02 Glenn Morris <rgm@gnu.org>
4420 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4421 Avoid infinite loop over windows. (Bug#7492)
4423 * progmodes/flymake.el (flymake-check-file-limit):
4424 Allow nil to mean "no limit".
4425 (flymake-check-patch-master-file-buffer): Update for above change.
4426 Allow a .tex file-name extension to be optional.
4427 (flymake-master-tex-init): Also match \include statements.
4429 2010-11-30 Sam Steingold <sds@gnu.org>
4431 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4432 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4433 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4434 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4435 define-derived-mode').
4436 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4437 users who want to call `nxml-parent-document-set'.
4439 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4441 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4442 stand-alone lines, since that is handled by log-edit-match-to-eoh
4445 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4447 * dired.el (dired-get-filename): Replace backslashes with slashes
4448 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4449 * locate.el (locate-default-make-command-line): Don't consider
4450 drive letter and root directory part of
4451 `directory-listing-before-filename-regexp'. (Bug#7308)
4452 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4454 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4456 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4457 of :smie-open/close-alist.
4458 (smie-next-sexp): Make it accept a "start token" as argument.
4459 (smie-indent-keyword): Be careful not to misidentify tokens that span
4460 more than one line, as empty lines. Add argument `token'.
4462 2010-11-27 Kenichi Handa <handa@m17n.org>
4464 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4465 multipart subtypes, insert all as usual.
4467 * mail/rmail.el: Require rfc2047.
4469 2010-11-27 Kenichi Handa <handa@m17n.org>
4471 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4472 (rmail-mime-entity-disposition)
4473 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4474 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4475 (rmail-mime-save): Handle the case that the button's `data' is a
4477 (rmail-mime-insert-text): New function.
4478 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4479 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4480 (rmail-mime-insert-bulk): New function mostly copied from the old
4481 rmail-mime-bulk-handler.
4482 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4483 (rmail-mime-process-multipart): New function mostly copied from
4484 the old rmail-mime-multipart-handler.
4485 (rmail-mime-show): Just call rmail-mime-process.
4486 (rmail-mime-process): New function mostly copied from the old
4488 (rmail-mime-insert-multipart, rmail-mime-parse)
4489 (rmail-mime-insert, rmail-show-mime)
4490 (rmail-insert-mime-forwarded-message)
4491 (rmail-insert-mime-resent-message): New functions.
4492 (rmail-insert-mime-forwarded-message-function): Set to
4493 rmail-insert-mime-forwarded-message.
4494 (rmail-insert-mime-resent-message-function): Set to
4495 rmail-insert-mime-resent-message.
4497 * mail/rmailsum.el: Require rfc2047.
4498 (rmail-header-summary): Handle multiline Subject: field.
4499 (rmail-summary-line-decoder): Change the default to
4500 rfc2047-decode-string.
4502 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4503 (rmail-mime-feature): Change the default to `rmailmm'.
4504 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4505 (rmail-display-labels): Likewise.
4506 (rmail-show-message-1): Check rmail-enable-mime, and use
4507 rmail-show-mime-function for a MIME message. Decode the headers
4508 according to RFC2047.
4510 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * progmodes/which-func.el (which-func-imenu-joiner-function):
4513 Return a string, as expected.
4514 (which-function-mode): Make sure we stop any previous timer before
4517 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4519 * net/tramp.el (tramp-default-method-alist)
4520 (tramp-default-user-alist, tramp-default-proxies-alist):
4521 Adapt custom options type. (Bug#7445)
4523 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4525 * progmodes/python.el: Add Ipython support (Bug#5390).
4526 (python-shell-prompt-alist)
4527 (python-shell-continuation-prompt-alist): New options.
4528 (python--set-prompt-regexp): New function.
4529 (inferior-python-mode, run-python, python-shell):
4530 Require ansi-color. Use python--set-prompt-regexp to set the comint
4531 prompt based on the Python interpreter.
4532 (python--prompt-regexp): New var.
4533 (python-check-comint-prompt)
4534 (python-comint-output-filter-function): Use it.
4535 (run-python): Use a pipe (Bug#5694).
4537 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4539 * progmodes/python.el (run-python): Doc fix.
4540 (python-keep-current-directory-in-path): New var (Bug#7454).
4542 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4544 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4545 Prompt user before actually printing.
4547 2010-11-27 Glenn Morris <rgm@gnu.org>
4549 * startup.el (package-enable-at-startup, package-initialize):
4550 Remove unnecessary declarations.
4552 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4554 * international/characters.el (glyphless-char-display-control):
4555 Exclude newline and TAB from the c0-control group.
4557 2010-11-27 Glenn Morris <rgm@gnu.org>
4559 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4560 (expand-mail-aliases): Remove unnecessary autoload.
4562 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4564 * shell.el (shell-dir-cookie-re): Move definition before use.
4566 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4567 Replace undefined CL functions.
4569 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4571 * simple.el (prog-mode): Set bidi-paragraph-direction to
4574 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4576 2010-11-26 Glenn Morris <rgm@gnu.org>
4578 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4579 diary-outlook-formats can be sensitive to calendar-date-style.
4580 (diary-outlook-formats): Simplify the default setting.
4581 (diary-from-outlook-internal): Pass subject and body as arguments.
4582 Use dolist rather than dotimes. Don't save the diary buffer.
4583 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4584 Pass subject and body as explicit arguments to the -internal function.
4586 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4588 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4589 parsing them. This makes mailto:...?subject=foo\nbar work.
4591 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * vc/diff.el (diff): Fix last change.
4595 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4598 (pcase--dontcare-upats): New var.
4599 (pcase-let, pcase-let*): Generate better code.
4600 Accept the same bodies as `let'.
4601 (pcase-dolist): New macro.
4602 (pcase--trivial-upat-p): New helper function.
4603 (pcase--expand): Strip leading "(let nil" if any.
4605 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4607 * mail/mailclient.el (browse-url): Require.
4608 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4609 use the external browser function to send the mail (bug#7469).
4611 * net/browse-url.el (browse-url-browser-function): Revert the
4612 default back to the previous value, since the new value broke
4614 (browse-url-mailto-function): New variable for mailto: URLs.
4615 (browse-url): Use the new variable for mailto: URLs.
4617 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * eshell/esh-cmd.el (eshell-parse-command):
4620 * eshell/esh-arg.el (eshell-parse-arguments):
4621 * eshell/em-script.el (eshell-source-file):
4622 Use with-silent-modifications.
4624 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4626 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4627 for a merge location.
4629 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4630 (vc-bzr-merge-branch): Always prompt.
4631 (vc-bzr-async-command): Use the full branch filename.
4633 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * shell.el (shell): Use current-buffer by default if it's already
4636 a shell mode buffer and its process is dead.
4637 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4639 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4641 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4642 Mention that the keywords should be comma separated.
4644 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4646 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4647 Accept optional prefix arg meaning to prompt for a command.
4648 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4649 prefix arg meaning to prompt for a command.
4650 (vc-pull): Alias for vc-update.
4652 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4653 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4654 (vc-bzr-merge-branch): New functions, implementing merge-branch
4655 and pull operations.
4657 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4659 * Makefile.in: Fix up last merge.
4661 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4662 (diff-sentinel): Get them as arguments instead.
4663 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4664 (diff-file-local-copy, diff-better-file-name): New funs.
4665 (diff-no-select): Rename from diff-into-buffer.
4666 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4667 Prefer closures to buffer-local variables.
4668 (diff): Adjust accordingly.
4669 (diff-buffer-with-file): Move from files.el.
4670 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4671 (diff-buffer-internal): Remove.
4672 (diff-buffer-buffer): Remove.
4673 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4674 the buffer name used, and so as not to mess up windows and frames.
4676 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4678 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4679 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4680 (diff-buffer-with-file): Use it.
4681 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4684 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4686 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4687 \ref's or \pageref's value as default instead of initial input.
4689 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4691 * files.el (backup-by-copying-when-mismatch): The default value is
4694 * startup.el (normal-top-level):
4695 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4696 `backup-by-copying-when-mismatch'.
4698 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4700 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4702 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4704 * progmodes/python.el (python-font-lock-keywords):
4705 Highlight top-level augmented assignments (Bug#6445).
4707 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4709 * term/ns-win.el (ns-right-control-modifier)
4710 (ns-right-command-modifier): Defvar them.
4712 * cus-start.el (all): Add ns-right-control-modifier and
4713 ns-right-command-modifier (Bug#7458).
4715 2010-11-20 Glenn Morris <rgm@gnu.org>
4717 * emacs-lisp/authors.el (authors-ignored-files)
4718 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4720 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4722 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4723 (report-emacs-bug-parse-query-results)
4724 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4725 keywords used for querying the bug database to show them in the
4726 existing bugs buffer.
4728 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4730 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4732 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4734 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4736 * international/characters.el (glyphless-char-display-control):
4737 Make it a defcustom, with update-glyphless-char-display as its
4739 (top level): Don't call update-glyphless-char-display.
4741 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4743 Sync with Tramp 2.2.0.
4745 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4746 `file-remote-p' (due to compatibility).
4748 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4749 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4751 * net/trampver.el: Update release number.
4753 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4755 * faces.el (glyphless-char): Define value for `pc'.
4757 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4759 Implemented a bug querying mechanism.
4760 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4761 (report-emacs-bug-create-existing-bugs-buffer)
4762 (report-emacs-bug-parse-query-results)
4763 (report-emacs-bug-query-existing-bugs): New functions.
4765 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4767 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4768 a \ref{} or \pageref{} macro, then use its value as initial input.
4770 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4772 * calc/calc-units.el (math-build-units-table-buffer):
4773 calc/README: Mention that the TeX specific units won't use the
4774 `tex' prefix in TeX mode.
4775 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4776 prefix for units in TeX mode.
4778 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * simple.el (kill-new, kill-append, kill-region):
4781 * comint.el (comint-kill-region): Make the yank-handler argument
4784 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4786 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4787 that are both openers (resp. closers) and something else.
4788 (smie-grammar): Loosen definition of valid values.
4789 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4790 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4791 (smie-indent-after-keyword): Adjust users.
4792 (smie-indent-keyword): Don't indent empty lines.
4794 * vc-hg.el (vc-hg-program): New var.
4795 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4796 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4798 2010-11-18 Glenn Morris <rgm@gnu.org>
4800 * emacs-lisp/autoload.el (autoload-find-destination): The function
4801 coding-system-eol-type may return non-numeric values. (Bug#7414)
4803 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4805 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4807 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4809 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4811 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4813 * textmodes/picture.el (picture-mouse-set-point): Don't use
4814 posn-col-row; explicitly compute the motion based on the posn at
4815 the window-start (Bug#7390).
4817 2010-11-18 Glenn Morris <rgm@gnu.org>
4819 * novice.el (disabled-command-function):
4820 Fix 2009-11-15 change. (Bug#7384)
4822 2010-11-18 Glenn Morris <rgm@gnu.org>
4824 * calendar/calendar.el (diary-iso-date-forms): Make elements
4825 mutually exclusive. (Bug#7377)
4827 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4830 when filling the remaining "unconstrained" values.
4832 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4837 * files.el (safe-local-variable-p): Gracefully handle errors.
4839 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4840 Use smie-indent-virtual when indenting relative to an opener.
4841 (smie-rule-separator): Use smie-rule-parent.
4842 (smie-indent-keyword): Consult rules, even for openers at bol.
4843 (smie-indent-comment-close): Try to align closer's content.
4845 2010-11-18 Glenn Morris <rgm@gnu.org>
4847 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4849 2010-11-18 Glenn Morris <rgm@gnu.org>
4851 * printing.el (pr-menu-bind): Doc fix.
4853 * speedbar.el (speedbar-toggle-images): Doc fix.
4855 * progmodes/python.el (python-shell): Doc fix.
4857 * wid-edit.el (widget-field-use-before-change)
4858 (widget-use-overlay-change): Doc fixes.
4860 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4862 Minor cleanup to improve style.
4863 * textmodes/rst.el (rst-update-section): Use point-marker.
4864 (rst-get-decoration): Eliminate unneeded assignment.
4865 (rst-promote-region, rst-straighten-decorations)
4866 (rst-section-tree, rst-adjust): Use point-marker.
4867 (rst-toc-mode-mouse-goto): Avoid setq.
4868 (rst-shift-region-guts, rst-shift-region-left)
4869 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4870 (rst-convert-bullets-to-enumeration): Use copy-marker.
4872 * minibuffer.el (completion-fail-discreetly): New var.
4873 (completion--do-completion): Use it.
4875 * electric.el (electric-pair-pairs): New var.
4876 (electric-pair-post-self-insert-function): Use it.
4877 (electric-layout-post-self-insert-function): Don't insert a before
4878 newline unless it's actually needed.
4880 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * progmodes/python.el (run-python): Explain why we remove the current
4883 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4885 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4887 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4889 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4890 (octave-mode-map): Don't bind ;, SPC, and LF.
4891 (octave-auto-indent, octave-auto-newline): Remove.
4892 (electric-layout-rules): Declare.
4893 (octave-mode): Set electric-layout-rules.
4894 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4895 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4896 (octave-electric-space): Remove.
4898 * electric.el (electric-layout-mode): New minor mode.
4899 (electric--after-char-pos): New function.
4900 (electric-indent-post-self-insert-function): Use it.
4901 (electric-layout-rules): New var.
4902 (electric-layout-post-self-insert-function): New function.
4903 (electric-indent-mode): Make them interact better.
4905 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4908 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4909 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4911 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4913 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4914 Make sure to check inside the word (Bug#6761).
4916 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4918 * startup.el (command-line): If the cursorColor resource is set,
4919 change the cursor face-spec (Bug#7392).
4921 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4923 The main features of the following allout.el changes are:
4924 - implement user customization for the allout key bindings
4925 - add a customization control by which the user can inhibit use of
4926 a trailing Ctrl-H, so by default it's reserved for use with
4927 describe-prefix-bindings
4928 - adapt to new version of called-interactively-p, while
4929 maintaining backwards compatibility with old version
4930 - fix hotspot navigation so i works properly with meta-modified keys.
4932 * allout.el (allout-keybindings, allout-bind-keys)
4933 (allout-keybindings-binding, allout-prefixed-keybindings)
4934 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4935 (allout-keybindings-list, allout-mode-map-adjustments)
4936 (allout-setup-mode-map): Establish allout-mode keymaps as user
4937 customizable settings, and also establish a customizable setting which
4938 regulates whether or not a trailing control-h is reserved for use with
4939 describe-prefix-bindings - and inhibit it by default, so that control-h
4940 *is* reserved for describe-prefix-bindings unless the user changes it.
4942 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4943 and accurately between modified and unmodified events, and handle
4944 modified events more comprehensively.
4946 * allout.el (allout-substring-no-properties):
4947 Alias to use or provide version of `substring-no-properties'.
4948 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4950 * allout.el (allout-next-single-char-property-change):
4951 Alias to use or provide version of `next-single-char-property-change'.
4952 (allout-annotate-hidden, allout-hide-by-annotation):
4953 Use `allout-next-single-char-property-change'.
4955 * allout.el (allout-select-safe-coding-system):
4956 Alias to use or provide version of `select-safe-coding-system'.
4957 (allout-toggle-subtree-encryption):
4958 Use `allout-select-safe-coding-system'.
4960 * allout.el (allout-set-buffer-multibyte):
4961 Alias to use or provide version of `set-buffer-multibyte'.
4962 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4964 * allout.el (allout-called-interactively-p): Macro for using the
4965 different versions of called-interactively-p identically, depending on
4966 the subroutine's argument signature.
4967 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4968 Use `(interactive "p")' instead of `(called-interactively-p)'.
4970 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4971 (allout-previous-visible-heading, allout-forward-current-level)
4972 (allout-backward-current-level, allout-show-children):
4973 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4975 * allout.el (allout-before-change-handler):
4976 Exempt edits to the (overlaid) character after the allout outline
4977 bullet from edit confirmation prompt.
4979 * allout.el (allout-add-resumptions):
4980 Ensure that it respects correct buffer for keybindings.
4982 * allout.el (allout-beginning-of-line):
4983 Use `allout-previous-single-char-property-change' alias for the sake of
4984 diverse compatibility.
4986 * allout.el (allout-end-of-line):
4987 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4989 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4991 * frame.el (frame-notice-user-settings): Don't clobber other
4992 user-set parameters when calling face-set-after-frame-default in
4993 response to background-color parameter (Bug#7373).
4995 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4997 * international/characters.el (glyphless-char-display-control):
4998 Rename from glyphless-char-control; all users changed. Doc fix.
4999 Signal an error if display method is not one of the recognized
5002 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
5004 * net/tramp-compat.el (tramp-compat-line-beginning-position)
5005 (tramp-compat-line-end-position): Remove them.
5007 * net/tramp.el (tramp-parse-rhosts-group)
5008 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
5009 (tramp-parse-hosts-group, tramp-parse-passwd-group)
5010 (tramp-parse-netrc-group, tramp-parse-putty-group)
5011 * net/tramp-cmds.el (tramp-append-tramp-buffers)
5012 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
5013 (tramp-sh-handle-file-selinux-context)
5014 (tramp-sh-handle-file-name-all-completions)
5015 (tramp-sh-handle-insert-directory)
5016 (tramp-sh-handle-expand-file-name, tramp-find-executable)
5017 (tramp-wait-for-output, tramp-send-command-and-read)
5018 * net/tramp-smb.el (tramp-smb-read-file-entry)
5019 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
5021 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
5023 (tramp-remote-coding-commands): Add an alternative using "base64
5024 -d -i". This is needed for older base64 versions from GNU
5025 coreutils. Reported by Klaus Reichl
5026 <Klaus.Reichl@thalesgroup.com>.
5028 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5030 * simple.el (count-words-region): New function.
5032 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * shell.el (shell-dir-cookie-re): New custom variable.
5035 (shell-dir-cookie-watcher): New function.
5037 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5038 and compilation-mode (bug#7350).
5040 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5041 highlight when one of them is empty.
5043 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5045 (skeleton-newline): New function.
5046 (skeleton-internal-1): Use it.
5048 * simple.el (open-line): `newline' may strip trailing space.
5050 2010-11-12 Kevin Ryde <user42@zip.com.au>
5052 * international/mule-cmds.el (princ-list): Use mapc.
5054 2010-11-12 Glenn Morris <rgm@gnu.org>
5056 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5057 Use it to replace all instances of "*Compile-Log*".
5059 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5064 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * progmodes/modula2.el: Use SMIE and skeleton.
5067 (m2-mode-syntax-table): (*..*) can be nested.
5068 Add //...\n. Fix paren syntax.
5069 (m2-mode-map): Remove LF and TAB bindings.
5070 (m2-indent): Add safety property.
5071 (m2-smie-grammar): New var.
5072 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5073 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5074 (m2-mode): Use define-derived-mode.
5075 (m2-newline, m2-tab): Remove.
5076 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5077 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5078 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5079 (m2-import): Use define-skeleton.
5081 2010-11-11 Glenn Morris <rgm@gnu.org>
5083 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5085 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5086 (ls-lisp-verbosity): Add custom :set-after property.
5087 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5088 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5089 (ls-lisp-insert-directory): Update caller.
5090 (ls-lisp-set-options): New function.
5091 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5094 * play/landmark.el (lm-prompt-for-move):
5095 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5097 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5099 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5100 (idlwave-study-twins): Prefix dynamic local variable `name'.
5101 (idlwave-routine-twin-compare): Update for above change.
5103 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5104 Prefix dynamic local variables `name', `kwd', and `link'.
5105 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5106 * progmodes/idlw-complete-structtag.el
5107 (idlwave-complete-structure-tag-help):
5108 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5109 (idlwave-complete-sysvar-tag-help)
5110 (idlwave-complete-class-structure-tag-help):
5111 Update for above name changes.
5113 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5115 * net/browse-url.el (browse-url-browser-function): Change the
5116 default to use `browse-url-mail' on mailto: URLs.
5118 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5120 * emacs-lisp/package.el (package-read-all-archive-contents):
5121 Reset package-archive-contents to nil before re-reading.
5123 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5125 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5126 already found as misspellings by (flyspell-large-region), just
5127 do highlighting (bug#7322).
5129 2010-11-10 Glenn Morris <rgm@gnu.org>
5131 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5133 * emulation/edt.el (edt-with-position): New macro.
5134 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5135 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5136 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5138 * emulation/tpu-extras.el (tpu-with-position): New macro.
5139 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5141 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5143 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5144 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5145 (texinfo-master-menu, texinfo-insert-node-lines)
5146 (texinfo-multiple-files-update):
5147 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5148 Use line-beginning-position.
5150 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5151 No recent Emacs supports system-type `emx'.
5153 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5154 (ada-command-separator, ada-default-prj-properties)
5155 (ada-find-any-references): Update for above name change.
5157 * dirtrack.el (dirtrack-directory-function)
5158 (dirtrack-canonicalize-function):
5159 * filecache.el (file-cache-completion-ignore-case)
5160 (file-cache-case-fold-search, file-cache-ignore-case):
5161 * term.el (serial-port-is-file-p): Cosmetic change.
5163 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5164 Remove non-existent `windows-95' system-type.
5165 * dired.el (dired-chown-program): Remove non-existent `linux'
5168 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5169 (ping-program-options): Remove non-existent `linux' system-type.
5171 * startup.el (package-initialize): Update declaration.
5173 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5174 (ls-lisp-handle-switches): Use time-less-p.
5175 (ls-lisp-format-time): Use float-time.
5177 * textmodes/remember.el (remember-time-to-seconds): Remove.
5178 (remember-store-in-mailbox): Use float-time.
5180 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5182 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5183 never a real function.
5184 (with-no-warnings): Remove compat stub, now unused.
5185 (time-less-p): Doc fix.
5186 (time-to-number-of-days): Simplify.
5188 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5190 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5191 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5192 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5193 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5194 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5196 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5197 (eshell-shuffle-files, eshell-shorthand-tar-command)
5198 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5199 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5200 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5201 Prefix dynamic local variable `matches'.
5203 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5204 Prefix dynamic local variable `skeleton'.
5206 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5208 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5209 in mail buffer; make yank-action always a command that yanks original
5212 2010-11-09 Glenn Morris <rgm@gnu.org>
5214 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5216 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5219 completion field (bug#7211).
5221 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5222 Fix handling of backslash escapes.
5223 (python-quote-syntax): Adjust accordingly.
5225 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5227 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5228 (vc-mtn-workfile-branch): Adjust to new output format.
5230 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * international/mule-cmds.el (princ-list): Mark as obsolete.
5234 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * emacs-lisp/smie.el: New package.
5238 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5240 * files.el (backup-by-copying-when-mismatch):
5241 Set `permanent-local' property.
5243 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5244 `permanent-local' property for `backup-by-copying-when-mismatch'.
5246 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5248 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5250 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5252 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5253 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5254 AUTOINOUT for SV style multidimensional arrays, bug294.
5255 Reported by Eric Mastromarchi.
5256 (verilog-preprocess): Use with-current-buffer and
5257 font-lock-fontify-buffer to cleanup style issues.
5259 2010-11-09 Glenn Morris <rgm@gnu.org>
5261 * locate.el (locate, locate-mode): Doc fixes.
5263 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5265 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5266 user for confirmation.
5267 (server-force-stop): Use it.
5268 (server-start): Use server-force-stop for kill-emacs-hook, to
5269 avoid user interaction while killing Emacs.
5271 2010-11-09 Glenn Morris <rgm@gnu.org>
5273 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5274 (meta-indent-line): Simplify.
5276 * vc/emerge.el (emerge-line-number-in-buf):
5277 * textmodes/ispell.el (ispell-region):
5278 * textmodes/fill.el (current-fill-column):
5279 * progmodes/xscheme.el (xscheme-send-current-line):
5280 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5281 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5282 * progmodes/sh-script.el (sh-handle-prev-do):
5283 * progmodes/meta-mode.el (meta-indent-line):
5284 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5286 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5287 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5288 * progmodes/fortran.el (fortran-looking-at-if-then):
5289 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5290 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5291 (cperl-find-pods-heres):
5292 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5293 * net/quickurl.el (quickurl-list-insert):
5294 * net/ldap.el (ldap-search-internal):
5295 * net/eudc.el (eudc-expand-inline):
5296 * mail/sendmail.el (sendmail-send-it):
5297 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5298 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5299 (viper-brac-function):
5300 * calc/calc-yank.el (calc-do-grab-region):
5301 * calc/calc-keypd.el (calc-keypad-press):
5302 * term.el (term-move-columns, term-insert-spaces):
5303 * speedbar.el (speedbar-highlight-one-tag-line):
5304 * simple.el (current-word):
5305 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5306 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5308 * hippie-exp.el (he-line-beg):
5309 * epa.el (epa--marked-keys):
5310 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5311 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5312 (dired-relist-entry):
5313 * buff-menu.el (Buffer-menu-buffer):
5314 * array.el (current-line):
5315 * allout.el (allout-resolve-xref)
5316 (allout-latex-verbatim-quote-curr-line):
5317 Replace yet more uses of end-of-line etc with line-end-position, etc.
5319 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5321 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5322 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5323 (checkdoc-syntax-table): Initialize in the declaration.
5324 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5325 the mode on unconditionally.
5327 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5328 (extent-end-position, extent-start-position): Remove setf method for
5329 non-existing functions (bug#7319).
5331 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5334 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5335 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5336 (smie-prec2->grammar): Rename from smie-prec2-levels.
5337 (smie-grammar): Rename from smie-op-levels.
5338 (smie-indent--hanging-p): Rename from smie-hanging-p.
5339 (smie-rule-hanging-p): New alias.
5340 (smie-indent--bolp): Rename from smie-bolp.
5341 (smie-indent--hanging-p): New alias.
5342 (smie--token): New dynamically bound variable.
5343 (smie-indent--parent): New function.
5344 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5345 (smie-rule-next-p): Rename from smie-next-p.
5346 (smie-rule-prev-p): Rename from smie-prev-p.
5347 (smie-rule-sibling-p, smie-rule-parent)
5348 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5349 (smie-rule-separator-outdent): New var.
5350 (smie-indent--rule): Merge with smie-indent--column.
5351 (smie-indent-forward-token, smie-indent-backward-token):
5352 Also recognize close parens.
5353 (smie-indent-keyword): Don't use smie-indent--column any more.
5354 (smie-indent-after-keyword): Ignore closers by default.
5355 (smie-indent-line): Use with-demoted-errors.
5356 * progmodes/octave-mod.el (octave-smie-grammar):
5357 Rename from octave-smie-op-levels.
5358 (octave-smie-rules): Adjust to new behavior.
5359 * progmodes/prolog.el (prolog-smie-grammar):
5360 Rename from prolog-smie-op-levels.
5362 2010-11-07 Glenn Morris <rgm@gnu.org>
5364 * eshell/esh-util.el (subst-char-in-string)
5365 (directory-files-and-attributes): These compatibility definitions are
5366 not needed on any version of Emacs since at least 21.4.
5368 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5369 (verilog-get-end-of-line): Remove.
5370 (verilog-within-string, verilog-re-search-forward-substr)
5371 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5372 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5373 Use point-at-bol, point-at-eol.
5374 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5376 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5377 (electric-pascal-terminate-line, pascal-set-auto-comments)
5378 (pascal-indent-paramlist, pascal-indent-declaration)
5379 (pascal-get-lineup-indent, pascal-func-completion)
5380 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5381 Use point-at-bol, point-at-eol.
5382 * progmodes/flymake.el (flymake-line-beginning-position)
5383 (flymake-line-end-position): Remove.
5384 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5385 * eshell/esh-util.el (line-end-position, line-beginning-position):
5386 Remove compat definitions.
5388 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5390 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5391 Use line-end-position.
5393 * emacs-lisp/chart.el (chart-zap-chars):
5394 * play/decipher.el (decipher-set-map):
5395 * progmodes/ada-mode.el (ada-get-current-indent)
5396 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5397 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5398 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5399 (ada-get-all-references):
5400 * progmodes/cperl-mode.el (cperl-electric-paren)
5401 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5402 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5403 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5404 (cperl-word-at-point-hard):
5405 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5406 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5407 (idlwave-shell-display-line):
5408 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5409 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5410 * progmodes/js.el (js--re-search-forward-inner)
5411 (js--re-search-backward-inner):
5412 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5413 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5414 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5415 * textmodes/flyspell.el (flyspell-process-localwords):
5416 * textmodes/ispell.el (ispell-buffer-local-parsing)
5417 (ispell-buffer-local-dict, ispell-buffer-local-words):
5418 Use point-at-bol and point-at-eol.
5420 * speedbar.el (speedbar-generic-item-info)
5421 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5422 (speedbar-add-indicator, speedbar-check-vc-this-line)
5423 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5424 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5425 Replace more uses of end-of-line etc with line-end-position.
5427 2010-11-06 Glenn Morris <rgm@gnu.org>
5429 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5430 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5431 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5432 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5433 (texinfo-multiple-files-update):
5434 * textmodes/table.el (table--probe-cell-left-up)
5435 (table--probe-cell-right-bottom):
5436 * textmodes/picture.el (picture-tab-search):
5437 * textmodes/page-ext.el (pages-copy-header-and-position)
5438 (pages-directory-for-addresses):
5439 * progmodes/vera-mode.el (vera-get-offset):
5440 * progmodes/simula.el (simula-calculate-indent):
5441 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5442 * progmodes/prolog.el (end-of-prolog-clause):
5443 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5444 * progmodes/icon.el (indent-icon-exp):
5445 * progmodes/etags.el (tag-re-match-p):
5446 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5447 * progmodes/ebnf2ps.el (ebnf-begin-file):
5448 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5449 (dcl-save-local-variable):
5450 * play/life.el (life-setup):
5451 * play/gametree.el (gametree-looking-at-ply):
5452 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5453 * mail/sendmail.el (mail-mode-auto-fill):
5454 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5455 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5456 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5457 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5458 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5459 * type-break.el (type-break-file-keystroke-count):
5460 * term.el (term-replace-by-expanded-history-before-point)
5461 (term-skip-prompt, term-extract-string):
5462 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5463 (speedbar-contract-line, speedbar-toggle-line-expansion)
5464 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5465 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5466 * sort.el (sort-skip-fields):
5467 * skeleton.el (skeleton-internal-list):
5468 * simple.el (line-move-finish, line-move-to-column):
5469 * shell.el (shell-forward-command):
5470 * misc.el (copy-from-above-command):
5471 * makesum.el (double-column):
5472 * ebuff-menu.el (electric-buffer-update-highlight):
5473 * dired.el (dired-move-to-end-of-filename):
5474 * dframe.el (dframe-popup-kludge):
5475 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5476 * arc-mode.el (archive-get-lineno):
5477 Use line-end-position and line-beginning-position.
5479 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5480 (idlwave-study-twins): Prefix dynamic local `class'.
5481 (idlwave-routine-twin-compare): Update for above name change.
5483 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5484 Use boundp tests to silence compiler. Update for changed name of
5485 bytecomp-filename variable.
5487 * emulation/viper-cmd.el (viper-read-string-with-history):
5488 Prefix dynamic local `initial'.
5489 (viper-minibuffer-standard-hook): Update for above name change.
5491 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5492 (elint-init-form): Update for above name change.
5494 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5495 local variables `cbeg' and `cend' a prefix.
5496 (mail-extr-voodoo): Update for above name change.
5498 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5499 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5500 (reftex-toc-promote-action): Doc fix.
5502 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5503 `prompt', `data' a prefix.
5504 (reftex-select-post-command-hook, reftex-select-callback)
5505 (reftex-select-mouse-accept, reftex-select-read-cite):
5506 Update for above name changes.
5508 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5509 `refstyle' to reftex-refstyle.
5510 (reftex-offer-label-menu): Update for above name change.
5511 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5512 `refstyle' name change.
5514 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5515 with with-current-buffer.
5516 (diff, template): Give dynamic local variables a prefix.
5517 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5518 (emerge-line-number-in-buf): Update for above name change.
5519 (emerge-combine-versions-internal): Rename local `template' to
5520 emerge-combine-template.
5521 (emerge-combine-versions-edit): Update for above name change.
5523 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5525 * textmodes/reftex-cite.el
5526 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5527 entries with whitespace after \bibitem.
5528 (reftex-create-bibtex-file): Match entries containing numbers and
5529 symbol constituents. Make sure that entries with whitespace at
5530 various places are found.
5532 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5534 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5536 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5538 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5540 2010-11-05 Glenn Morris <rgm@gnu.org>
5542 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5543 (woman2-roff-buffer): Give local variable `request' a prefix.
5544 (woman0-macro): Rename argument `request' in the same way.
5545 (woman-request): New name for `request' dynamic variable.
5546 (woman-unquote, woman-forward-arg): Update for above name change.
5547 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5548 (woman1-unquote): New name for `unquote' dynamic variable.
5549 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5550 (woman-translations): Rename from `translations'. No longer global.
5551 (woman2-tr, woman-translate): Update for above name change.
5552 (woman-translate): Check for bound variable.
5553 (woman2-roff-buffer): Give local variable `translations' a prefix.
5555 * play/doctor.el: Give all local variables a prefix. Update callers.
5556 (doc$, doctor-put-meaning): Use backquote.
5558 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5559 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5561 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5562 variables bytes, ptr, op a prefix.
5563 (disassemble-offset): Update for above change.
5565 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5567 * emacs-lisp/package.el (package-unpack): Remove no-op.
5568 (package--builtins, package--dir): Doc fix.
5569 (package-activate-1, package-activate, package-install)
5570 (package-compute-transaction): Fix error message.
5571 (package-delete): Use delete-directory. Omit system packages.
5572 (package-initialize): Set package-alist to nil first.
5573 (package-menu-mark-delete, package-menu-mark-install): Don't add
5574 symbols that are inconsistent with the package state.
5575 (package-menu-execute): Perform deletions and installations as
5576 single batch operations.
5578 2010-11-03 Glenn Morris <rgm@gnu.org>
5580 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5581 (props): Remove unnecessary declaration.
5583 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5584 set-process-query-on-exit-flag.
5586 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5587 (reftex-toc-do-promote): Remove unused local `mpos'.
5588 (reftex-toc-restore-region): Make `mpos' local to this function.
5590 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5592 * play/landmark.el (lm-losing-threshold): Correct spelling.
5593 (lm-human-plays): Use new name.
5595 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5596 (gomoku-human-plays): Use new name.
5598 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5599 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5600 (gomoku-score-trans-table, gomoku-winning-threshold)
5601 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5603 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5605 * emacs-lisp/package.el: Don't put built-in packages in
5606 package-alist, to avoid loading inefficiencies.
5607 (package-built-in-p): Make VERSION optional, and treat it as a
5608 minimum acceptable version.
5609 (package-activate): Search separately for built-in packages.
5610 Emit a warning if a dependency fails.
5611 (define-package): Handle most common case, where there is no
5612 obsolete package, first.
5613 (package-compute-transaction): Print required version in error.
5614 (package--initialized): New variable.
5615 (list-packages): Use it.
5616 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5617 built-in packages in packages-alist; keep it separate.
5618 Set package--initialized.
5619 (describe-package): Avoid activating packages as a side-effect.
5620 Search separately for built-in packages.
5621 (describe-package-1): Handle the case where an elpa package is
5622 simultaneously built-in and available/installed.
5623 (package-installed-p, package--generate-package-list):
5624 Search separately for built-in packages.
5625 (package-load-descriptor): Doc fix.
5627 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5630 Handle __DATA__ and __END__.
5632 2010-11-02 Noah Friedman <friedman@splode.com>
5634 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5635 nil, do not ask to recompile files that are not already compiled,
5636 and do not recompile them.
5638 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5640 * emacs-lisp/package.el (package-initialize): Ensure that
5641 obsoleted built-in packages are not in package-activated-list
5643 (describe-package-1): Make the "installed" status override
5646 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5648 * subr.el (version-separator, version-regexp-alist): Remove '*'
5650 (version-list-<=, version<=, version=): Doc fix.
5652 2010-11-01 Kenichi Handa <handa@m17n.org>
5654 * faces.el (glyphless-char): Inherit underline for tty.
5656 2010-11-01 Kenichi Handa <handa@m17n.org>
5658 Implement various display methods for glyphless characters.
5660 * international/characters.el (char-acronym-table): New variable.
5661 (glyphless-char-control): New variable.
5662 (update-glyphless-char-display): New function.
5664 * faces.el (glyphless-char): New face.
5666 2010-11-01 Glenn Morris <rgm@gnu.org>
5668 * calendar/holidays.el (general-holidays, oriental-holidays)
5669 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5670 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5671 the definitions of their targets.
5673 * emacs-lisp/smie.el (smie): New custom group.
5674 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5676 * faces.el (xw-defined-colors, x-setup-function-keys):
5677 * mouse-sel.el (x-select-text):
5678 * term/w32console.el (x-setup-function-keys): Update declarations.
5680 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5682 * textmodes/ispell.el (comment-add): Declare.
5684 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5687 * info.el (finder-keywords-hash, package-alist): Declare.
5689 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5691 * finder.el (finder-compile-keywords): Don't use intern-soft,
5692 since package names may not yet exist in the obarray.
5694 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5696 * vc/vc-arch.el (vc-arch-checkin):
5697 * vc/vc-cvs.el (vc-cvs-checkin):
5698 * vc/vc-mtn.el (vc-mtn-checkin):
5699 * vc/vc-rcs.el (vc-rcs-checkin):
5700 * vc/vc-sccs.el (vc-sccs-checkin):
5701 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5702 since 2010-04-21 commit by Stefan Monnier.
5704 2010-11-01 Glenn Morris <rgm@gnu.org>
5706 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5708 * startup.el (package-enable-at-startup, package-initialize):
5711 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5714 2010-10-31 Julien Danjou <julien@danjou.info>
5716 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5717 (byte-recompile-directory):
5718 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5719 Use `byte-recompile-file'.
5721 2010-10-31 Glenn Morris <rgm@gnu.org>
5723 * cus-start.el: Handle standard values via a keyword.
5724 Only set version property if specified.
5725 (cursor-in-non-selected-windows, menu-bar-mode)
5726 (tool-bar-mode, show-trailing-whitespace):
5727 Do not specify standard values.
5728 (transient-mark-mode, temporary-file-directory): Use :standard.
5730 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5732 * term/x-win.el (x-get-selection-value): New function that gets
5733 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5735 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5737 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5738 preserve owner and group when editing files. (Bug#7289)
5740 2010-10-31 Glenn Morris <rgm@gnu.org>
5742 * speedbar.el (speedbar-mode):
5743 * play/fortune.el (fortune-in-buffer, fortune):
5744 * play/gomoku.el (gomoku-mode):
5745 * play/landmark.el (lm-mode):
5746 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5747 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5749 * select.el (x-selection): Mark it as an obsolete alias.
5751 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5753 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5754 major-mode (bug#7284).
5756 2010-10-31 Glenn Morris <rgm@gnu.org>
5758 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5759 rather than just an unused variable that inherits from the real one.
5761 2010-10-31 Alan Mackenzie <acm@muc.de>
5763 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5764 This fixes bug #7185.
5766 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5768 * startup.el (command-line): Search for package directories, and
5769 don't load package.el if none are found.
5771 * emacs-lisp/package.el (describe-package, list-packages):
5772 Call package-initialize if it has not been called yet.
5774 2010-10-30 Alan Mackenzie <acm@muc.de>
5776 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5777 which fontifies the tail of an enum.
5778 (c-basic-matchers-after): Insert a call to the above new function.
5779 This fixes bug #7264.
5781 2010-10-30 Glenn Morris <rgm@gnu.org>
5783 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5784 tool-bar-mode, transient-mark-mode. (Bug#7306)
5785 Include the :set property in the dumped Emacs.
5787 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5789 SMIE: change indent rules format, improve smie-setup.
5790 * emacs-lisp/smie.el (smie-precs-precedence-table)
5791 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5792 Mark them pure so the tables gets built at compile time.
5793 (smie-bnf-precedence-table): Store the closer-alist in the table.
5794 (smie-prec2-levels): Preserve the closer-alist.
5795 (smie-blink-matching-open): Be more forgiving in case of indentation.
5796 (smie-hanging-p): Rename from smie-indent--hanging-p.
5797 (smie-bolp): Rename from smie-indent--bolp.
5798 (smie--parent, smie--after): New dynamic vars.
5799 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5800 (smie-indent-rules): Remove.
5801 (smie-indent--offset-rule): Remove fun.
5802 (smie-rules-function): New var.
5803 (smie-indent--rule): New fun.
5804 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5805 (smie-indent-exps): Use it.
5806 (smie-setup): Setup paren blinking; add keyword args for token
5807 functions; extract closer-alist from op-levels.
5808 (smie-indent-debug-log): Remove var.
5809 (smie-indent-debug): Remove fun.
5810 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5811 (prolog-smie-rules): New fun to replace it.
5812 (prolog-mode-variables): Simplify.
5813 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5814 it's setup automatically.
5815 (octave-smie-indent-rules): Remove.
5816 (octave-smie-rules): New fun to replace it.
5817 (octave-mode): Simplify.
5819 2010-10-29 Glenn Morris <rgm@gnu.org>
5821 * files.el (temporary-file-directory): Remove (already defined in C).
5822 * cus-start.el: Add temporary-file-directory.
5824 * abbrev.el (abbrev-mode):
5825 * composite.el (auto-composition-mode):
5826 * menu-bar.el (menu-bar-mode):
5827 * simple.el (transient-mark-mode):
5828 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5829 that they do not define the associated variables twice.
5830 * simple.el (transient-mark-mode): Remove defvar.
5831 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5832 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5833 Handle multiple groups, and also custom-delayed-init-variables.
5834 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5836 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5839 (pcase-if): Add one minor optimization.
5840 (pcase-split-equal): Rename from pcase-split-eq.
5841 (pcase-split-member): Rename from pcase-split-memq.
5842 (pcase-u1): Add strings to the member optimization.
5843 Add `guard' variant of predicates.
5844 (pcase-q1): Add string patterns.
5846 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5848 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5850 2010-10-28 Glenn Morris <rgm@gnu.org>
5852 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5853 Move menu-bar related settings to ../menu-bar.el.
5854 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5855 Move ns-specific settings here from term/ns-win.el.
5857 * simple.el (x-selection-owner-p): Remove unused declaration.
5859 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * minibuffer.el (completion-cycling): New var (bug#7266).
5862 (minibuffer-complete, completion--do-completion):
5863 Use completion--flush-all-sorted-completions.
5864 (minibuffer-complete): Only cycle if completion-cycling is set.
5865 (completion--flush-all-sorted-completions): Unset completion-cycling.
5866 (minibuffer-force-complete): Set completion-cycling.
5867 (completion-all-sorted-completions): Move declaration before first use.
5869 2010-10-28 Leo <sdl.web@gmail.com>
5871 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5872 which changes the order of matches seen by users (bug#7231).
5874 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5876 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5877 Don't confuse -omega as "-o mega".
5879 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5882 (log-edit-author): New dynamic var.
5883 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5884 to return the author if different from committer.
5885 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5887 * play/landmark.el: Adjust commenting convention.
5888 (lm-nil-score): Rename from nil-score.
5889 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5890 (OOOOscore): Move into a let in lm-score-trans-table.
5891 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5893 * electric.el (electric-indent-chars): Autoload.
5894 * progmodes/octave-mod.el (octave-mode):
5895 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5896 (ruby-mode-abbrev-table): Merge initialization and declaration.
5898 2010-10-27 Glenn Morris <rgm@gnu.org>
5900 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5903 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5905 * term/ns-win.el: Restore require of cl when compiling.
5906 (menu-bar-final-items): Remove non-existent `windows' menu.
5907 (ns-handle-nxopen): Optionally handle the temp-case.
5908 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5909 (ns-insert-file, ns-find-file): Use `pop'.
5911 2010-10-26 Glenn Morris <rgm@gnu.org>
5913 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5915 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5917 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5919 * term/common-win.el (x-setup-function-keys): Remove most of the
5920 keymappings. Comment on the remaining ones.
5922 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5924 * server.el (server-port): New option. (Bug#854)
5925 (server-start): Use server-port.
5927 2010-10-26 Glenn Morris <rgm@gnu.org>
5929 * term/ns-win.el (ns-version-string): Remove unused declaration.
5930 (ns-invocation-args): Change to x-invocation-args.
5931 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5932 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5933 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5934 Use x-invocation-args instead of ns-invocation-args.
5935 (ns-initialize-window-system, handle-args-function-alist):
5936 Use x-handle-args instead of ns-handle-args.
5937 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5938 * startup.el (command-line-ns-option-alist): Replace
5939 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5940 ns-handle-iconic with the x- equivalents.
5942 * term/common-win.el (x-select-enable-clipboard):
5943 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5945 * term/ns-win.el: No need to require cl when compiling.
5946 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5947 (xw-defined-colors): Use the common-win definitions.
5948 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5949 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5950 * term/common-win.el (x-select-text, x-alternatives-map)
5951 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5952 * loadup.el [ns]: Load common-win.
5954 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5956 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5957 recipients; expand mail aliases (Bug#7280).
5959 2010-10-25 Glenn Morris <rgm@gnu.org>
5961 * term/common-win.el (x-handle-switch): Simplify with pop.
5962 Optionally handle numeric switches.
5963 (x-handle-numeric-switch): Just call x-handle-switch.
5964 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5965 (x-handle-name-switch, x-handle-display, x-handle-args):
5968 * term/ns-win.el: Do not require easymenu.
5969 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5970 <spell>: Move adjustments to menu-bar.el.
5971 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5972 <separator-undo, spell>: Move ns-win's adjustments here.
5973 * loadup.el [ns]: Do not load easymenu.
5975 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5977 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5980 * startup.el (fancy-startup-tail): Instead of using inline images,
5981 refer to image files from etc/.
5983 * wid-edit.el (checkbox): Likewise.
5984 (widget-image-find): Center image specs.
5986 2010-10-24 Glenn Morris <rgm@gnu.org>
5988 * term/ns-win.el (x-select-text): Doc fix.
5989 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5990 (x-select-text): Move to term/common-win.
5991 * term/w32-win.el (xw-defined-colors): Move to common-win.
5992 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5993 (x-setup-function-keys, x-select-text): Move to common-win.
5994 * term/common-win.el (x-select-text, x-alternatives-map)
5995 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5998 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
6000 * net/mairix.el (mairix-searches-mode-map):
6001 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
6003 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
6005 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
6006 auto-built for efficiency of execution and updating.
6007 (verilog-extended-complete-re): Support 'pure' fucntion & task
6008 declarations (these have no bodies).
6009 (verilog-beg-of-statement): General cleanup to enable support of
6010 'pure' fucntion & task declarations (these have no bodies).
6011 These efforts together fix Verilog bug210 from veripool; which was also
6012 noticed by Steve Pearlmutter.
6013 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
6014 (verilog-directive-nest-re, verilog-set-auto-endcomments):
6015 Support `elsif. Reported by Shankar Giri.
6016 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
6017 attribute handling for lining up declarations and assignments.
6018 (verilog-beg-of-statement-1): Fix issue where continued declaration
6019 is indented differently if it is after a begin..end clock.
6020 (verilog-in-attribute-p, verilog-skip-backward-comments)
6021 (verilog-skip-forward-comment-p): Support proper treatment of
6022 attributes by indent code. Reported by Jeff Steele.
6023 (verilog-in-directive-p): Fix comment to correctly describe function.
6024 (verilog-backward-up-list, verilog-in-struct-region-p)
6025 (verilog-backward-token, verilog-in-struct-p)
6026 (verilog-in-coverage-p, verilog-do-indent)
6027 (verilog-pretty-declarations): Use verilog-backward-up-list as
6028 wrapper around backward-up-list inorder to properly skip comments.
6029 Reported by David Rogoff.
6030 (verilog-property-re, verilog-endcomment-reason-re)
6031 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6032 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6033 of if). Reported by Max Bjurling and
6034 (verilog-calc-1): Fix for clocking block in modport
6035 declaration. Reported by Brian Hunter.
6037 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6039 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6040 (verilog-gate-keywords, verilog-read-sub-decls)
6041 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6042 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6043 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6044 (verilog-read-decls): Fix spaces in V2K module parameters causing
6045 mis-identification as interfaces, bug287.
6046 (verilog-read-decls): Fix not treating "parameter string" as a
6047 parameter in AUTOINSTPARAM.
6048 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6049 treating `elsif similar to `endif inside AUTOSENSE.
6050 (verilog-do-indent): Implement correct automatic or static task or
6051 function end comment highlight. Reported by Steve Pearlmutter.
6052 (verilog-font-lock-keywords-2): Fix highlighting of single
6053 character pins, bug264. Reported by Michael Laajanen.
6054 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6055 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6056 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6057 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6058 (verilog-pretty-expr): Fix interactive arguments, bug272.
6059 Reported by Mark Johnson.
6060 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6061 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6062 bug269. Suggested by Gary Delp.
6063 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6064 (verilog-preprocessor, verilog-set-compile-command):
6065 Create verilog-preprocess and verilog-preprocessor to show
6066 preprocessed output.
6067 (verilog-get-beg-of-line, verilog-get-end-of-line)
6068 (verilog-modi-file-or-buffer, verilog-modi-name)
6069 (verilog-modi-point, verilog-within-string): Move defmacro's
6070 before first use to avoid warning. Reported by Steve Pearlmutter.
6071 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6072 (verilog-colorize-region, verilog-highlight-buffer)
6073 (verilog-highlight-includes, verilog-highlight-modules)
6074 (verilog-highlight-region, verilog-mode): Rename colorize to
6075 highlight to match other packages. Disable module highlighting,
6076 as received speed complaints, reenable for experimentation only
6077 using new verilog-highlight-modules.
6078 (verilog-read-decls): Fix regexp stack overflow in very large
6079 AUTO_TEMPLATEs, bug250.
6080 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6081 (verilog-scan): Create verilog-save-buffer-state to standardize
6082 making insignificant changes that shouldn't call hooks.
6083 (verilog-save-no-change-functions, verilog-save-scan-cache)
6084 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6085 Create verilog-save-no-change-functions to wrap verilog-scan
6086 preservation, and fix to work with nested preserved calls.
6087 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6088 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6089 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6090 (verilog-submit-bug-report): Update variable list to be complete.
6091 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6092 breaking on-the-fly font-locking.
6093 (verilog-colorize-buffer, verilog-colorize-include-files)
6094 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6095 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6096 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6097 AUTOINST cell instance name, middle mouse button now finds-file on
6098 it. Suggested by Brad Dobbie.
6099 (verilog-alw-get-temps, verilog-auto-reset)
6100 (verilog-auto-sense-sigs, verilog-read-always-signals)
6101 (verilog-read-always-signals-recurse): Fix loop indexes being
6102 AUTORESET. AUTORESET now assumes any variables in the
6103 initialization section of a for() should be ignored.
6104 Reported by Dan Dever.
6105 (verilog-error-font-lock-keywords)
6106 (verilog-error-regexp-emacs-alist)
6107 (verilog-error-regexp-xemacs-alist): Fix error detection of
6108 Cadence HAL, reported by David Asher. Repair drift between the
6109 three similar error variables.
6110 (verilog-modi-lookup, verilog-modi-lookup-cache)
6111 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6112 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6113 Fix slow verilog-auto expansion on very large files.
6114 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6115 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6116 "{1*2{...". Broke in last revision.
6117 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6118 submodule connections with replications "{#{a},#{b}}".
6120 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6122 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6123 Fix typo in docstring.
6125 2010-10-24 Kenichi Handa <handa@m17n.org>
6127 * face-remap.el (text-scale-adjust): Call read-event with a proper
6130 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6132 * emacs-lisp/unsafep.el: Don't mark functions that display
6133 messages as safe. Suggested by Johan Bockgård.
6135 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6137 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6138 Turn comments into docstrings.
6140 * minibuffer.el (completion--replace): Move point where it belongs
6141 when there's a common suffix (bug#7215).
6143 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6145 Merge read-color and facemenu-read-color (Bug#7242).
6147 * faces.el (read-color): Use the completion code from
6148 facemenu-read-color. Require match in completion. Doc fix.
6150 * facemenu.el (facemenu-read-color): Alias for read-color.
6151 (facemenu-set-foreground, facemenu-set-background):
6154 * frame.el (set-background-color, set-foreground-color)
6155 (set-cursor-color, set-mouse-color, set-border-color):
6158 2010-10-24 Leo <sdl.web@gmail.com>
6160 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6161 argument of delete-file and delete-directory (Bug#7011).
6163 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6165 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6168 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6170 * emacs-lisp/package.el (package--generate-package-list): Make the
6171 *Packages* buffer read-only.
6173 2010-10-24 Alan Mackenzie <acm@muc.de>
6175 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6176 result of `c-beginning-of-decl-1' between invocations of a lambda
6177 function (Bug #7265).
6179 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6181 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6182 executable is not available on the system (Bug#7268).
6184 2010-10-24 Glenn Morris <rgm@gnu.org>
6186 * select.el (selection-coding-system, next-selection-coding-system):
6187 Sync doc with C versions.
6189 * w32-vars.el (x-select-enable-clipboard):
6190 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6191 * term/common-win.el (x-select-enable-clipboard): Move here.
6193 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6194 definition of C variable.
6196 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6197 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6198 Don't redefine things that are defined in C.
6199 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6200 (show-trailing-whitespace, auto-hscroll-mode)
6201 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6202 Set up the appropriate custom properties.
6204 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6207 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6208 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6209 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6210 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6212 2010-10-23 Glenn Morris <rgm@gnu.org>
6214 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6217 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6218 Sync docs with C version.
6220 * term/ns-win.el (xw-defined-colors):
6221 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6223 * term/pc-win.el (x-select-enable-clipboard):
6224 * term/x-win.el (x-select-enable-clipboard):
6225 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6227 * comint.el (comint-password-prompt-regexp): Make it less vague.
6230 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6232 * help.el (finder-by-keyword): Remove unnecessary autoload.
6234 2010-10-22 Glenn Morris <rgm@gnu.org>
6236 * loadup.el: Unconditionally load float-sup.
6237 * paren.el (show-paren-delay):
6238 * emacs-lisp/float-sup.el:
6239 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6240 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6241 (lazy-lock-stealth-verbose): Assume float support.
6242 * ps-print.el: Assume float support on Emacs.
6243 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6244 Remove non-float branch.
6246 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6247 src/Makefile no longer being pre-processed.
6249 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * emacs-lisp/find-func.el (find-library): Use test-completion.
6253 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6257 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6259 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6260 space in stat format string.
6261 (tramp-send-command): Unset $PS1 when using here documents, in
6262 order not to get several prompts.
6263 (tramp-get-inline-coding): Return `nil' in case of errors.
6265 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6267 * hexl.el (hexl-mode, hexl-mode-exit):
6268 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6269 (hexl-revert-buffer-function): New function.
6270 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6272 2010-10-19 Alan Mackenzie <acm@muc.de>
6274 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6275 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6276 that these keywords aren't wrongly matched as identifiers.
6278 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6279 setting of c-new-BEG and c-new-END from c-before-change to
6280 c-after-change. (Bug#7181)
6282 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6284 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6287 * custom.el (custom-theme-set-variables): Likewise.
6288 (load-theme): Add custom-theme-set-faces and
6289 custom-theme-set-variables to safe-functions while loading.
6290 (custom-enabled-themes): Mark as risky.
6292 2010-10-18 Julien Danjou <julien@danjou.info>
6294 * bindings.el: Remove end dashes in default mode-line-format.
6296 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6298 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6299 to delete-forward-char.
6301 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6302 deletechar, and hence delete-forward-char.
6304 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6306 * repeat.el (repeat): Use read-key (bug#6256).
6308 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6310 * emacs-lisp/unsafep.el: Don't mark functions that display
6311 messages as safe. Suggested by Johan Bockgård.
6313 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * minibuffer.el (completion--replace): Move point where it belongs
6316 when there's a common suffix (bug#7215).
6318 2010-10-19 Kenichi Handa <handa@m17n.org>
6320 * international/characters.el: Add category '|' (word breakable)
6321 to fullwidth characters.
6323 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6325 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6326 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6327 order to make stat results a float. Patch by Andreas Schwab
6328 <schwab@linux-m68k.org>.
6330 2010-10-18 Julien Danjou <julien@danjou.info>
6332 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6333 hidden by `make-pointer-invisible'.
6335 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * files.el (locate-file-completion-table): Strip non-matching elements
6338 before checking length of list (bug#7238).
6340 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6342 * custom.el (custom-theme-set-variables): Mark as a safe function.
6343 (load-theme): Check forms using unsafep.
6345 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6347 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6349 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6350 Fix aspell data file searching (bug#7230).
6352 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6354 * cus-theme.el (custom-theme--migrate-settings): New var.
6355 (customize-create-theme): Allow editing the `user' theme.
6356 (custom-theme-add-variable, custom-theme-add-var-1)
6357 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6358 to the front of each variable or face widget.
6359 (custom-theme-write): Save theme settings in the correct order.
6360 Optionally, remove saved settings from user customizations.
6361 (custom-theme-write-variables, custom-theme-write-faces):
6362 Save only the checked widgets.
6363 (customize-themes): Add a link for migrating custom settings.
6365 * custom.el (custom-declare-theme, provide-theme):
6366 Use custom-theme-name-valid-p.
6367 (custom-theme-name-valid-p): Remove checks that are now
6368 unnecessary since themes no longer obey load-path.
6370 * cus-edit.el (custom-variable-value-create): For the simple
6371 style, hide documentation string when hidden.
6373 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6375 * cus-edit.el (custom-variable, custom-face): Combine the
6376 :inhibit-magic and :display-style properties into a single
6377 :custom-style property.
6378 (custom-toggle-hide-variable, custom-toggle-hide-face):
6379 New functions. If hiding an edited value, save it to :shown-value.
6380 (custom-variable-value-create, custom-face-value-create): Use them.
6381 (custom-magic-reset): Allow magic property to be unset.
6383 * custom.el: Custom themes no longer use load-path.
6384 (custom-theme-load-path): New option. Change built-in theme
6386 (custom-enabled-themes): Add custom-theme-load-path dependency.
6387 (custom-theme--load-path): New function.
6388 (load-theme, custom-available-themes): Use it.
6390 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6391 (customize-themes): Link to custom-theme-load-path variable.
6392 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6393 :custom-style property.
6395 * themes/*.el: Moved to etc/.
6397 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6399 * textmodes/reftex-cite.el
6400 (reftex-extract-bib-entries-from-thebibliography): Do not move
6401 point when searching for \bibitem entries. Match entries with
6402 spaces or tabs in front of arguments.
6404 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6406 * cus-theme.el (customize-create-theme): Delete overlays after
6407 erasing. If given a THEME arg, display only the faces of that arg
6408 instead of custom-theme--listed-faces.
6409 (custom-theme-variable-menu, custom-theme-variable-action)
6410 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6411 (custom-theme-add-variable, custom-theme-add-face): Apply value
6412 from the theme settings, instead of the current value.
6413 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6414 (custom-theme-visit-theme): Allow calling outside theme buffers.
6415 (custom-theme-merge-theme): Don't enable the theme when merging.
6416 (custom-theme-write-variables, custom-theme-write-faces): Use the
6417 :shown-value properties to save buffer values, not global ones.
6418 (customize-themes): Display a warning about user customizations.
6420 * cus-edit.el (custom-variable-value-create)
6421 (custom-face-value-create): Obey new special properties
6422 :shown-value and :inhibit-magic.
6424 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6426 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6427 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6430 2010-10-14 Kenichi Handa <handa@m17n.org>
6432 * mail/rmail.el (rmail-show-message-1): Catch an error of
6433 base64-decode-region and just show an error message (bug#7165).
6435 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6436 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6437 a font-spec (bug#7197).
6439 2010-10-14 Glenn Morris <rgm@gnu.org>
6441 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6443 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6445 * international/mule.el (define-coding-system):
6446 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6447 * composite.el (compose-region): Fix typo in docstring.
6449 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6451 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6452 only after checking the theme-face property.
6454 * faces.el (face-spec-reset-face): Reset all attributes in one
6455 single call to set-face-attribute.
6456 (face-spec-match-p): Make it a defsubst.
6457 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6458 (x-create-frame-with-faces, tty-create-frame-with-faces)
6459 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6460 frame-set-background-mode, since they are recomputed immediately
6461 afterwards in face-set-after-frame-default.
6462 (face-set-after-frame-default): Minor optimization.
6463 (cursor): Provide non-trivial defface spec.
6465 * custom.el (custom-theme-recalc-face): Simplify.
6467 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6469 * calc/calc-alg.el (math-var): Rename from `var'.
6470 (math-is-polynomial, math-is-poly-rec): Replace `var'
6473 * calc/calcalg2.el (math-var): Rename from `var'.
6474 (calcFunc-table, math-scan-for-limits): Replace `var'
6477 2010-10-13 Glenn Morris <rgm@gnu.org>
6479 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6481 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6483 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6485 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487 * net/tls.el (tls-program): Remove spurious %s from openssl.
6488 (tls-starttls-switches): Remove starttls hack.
6489 (open-tls-stream): Ditto.
6490 (tls-find-starttls-argument): Ditto.
6492 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6494 * image.el (image-library-alist): Declare as obsolete alias.
6495 (image-type-available-p): Use `dynamic-library-alist'.
6497 * term/w32-win.el (dynamic-library-alist):
6498 Use instead of `image-library-alist'.
6500 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6502 * subr.el (last): Make it faster. (Bug#7174)
6504 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6506 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6508 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6510 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6511 (describe-theme-1): Extract doc from unloaded themes.
6513 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6515 * themes/tango-theme.el:
6516 * themes/tango-dark-theme.el:
6517 * themes/wheatgrass-theme.el: New files.
6519 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6521 * cus-theme.el (describe-theme, customize-themes)
6522 (custom-theme-save): New commands.
6523 (custom-new-theme-mode-map): Bind C-x C-s.
6524 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6525 (customize-create-theme): New optional arg THEME.
6526 (custom-theme-revert): Use it.
6527 (custom-theme-visit-theme): Remove dead code.
6528 (custom-theme-merge-theme): Use custom-available-themes.
6529 (custom-theme-write): Make interactive.
6530 (custom-theme-write): Use custom-theme-name-valid-p.
6531 (describe-theme-1, custom-theme-choose-revert)
6532 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6534 (custom-theme-allow-multiple-selections): New option.
6535 (custom-theme-choose-mode): New major mode.
6537 * custom.el (custom-theme-set-variables): Remove dead code.
6538 Obey custom--inhibit-theme-enable.
6539 (custom--inhibit-theme-enable): New var.
6540 (provide-theme): Obey it.
6541 (load-theme): Replace load with manual read/eval, in order to
6542 check for correctness. Use custom-theme-name-valid-p.
6543 (custom-theme-name-valid-p): New function.
6544 (custom-available-themes): Use it.
6546 * cus-edit.el (custom--initialize-widget-variables): New function.
6547 (Custom-mode): Use it.
6549 * cus-face.el (custom-theme-set-faces): Remove dead code.
6550 Obey custom--inhibit-theme-enable.
6552 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6554 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6556 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6558 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6560 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6561 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6562 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6564 * cus-start.el (all): ns-right-alternate-modifier is new.
6566 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * emacs-lisp/lisp.el (lisp-completion-at-point):
6569 Use emacs-lisp-mode-syntax-table for the whole function.
6571 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6573 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6574 instead of font-lock-mode before adding keywords.
6575 Remove hi-lock-mode off code. Remove inhibit hack.
6576 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6577 non-nil; removed hook inhibit hack.
6579 2010-10-12 Glenn Morris <rgm@gnu.org>
6581 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6582 (load-path-shadows-find): ... to this.
6583 (list-load-path-shadows): Update for above change.
6585 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6587 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6589 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6590 Fix comment for declare-function.
6592 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6594 * custom.el (custom-fix-face-spec): New function; code moved from
6595 custom-face-edit-fix-value.
6596 (custom-push-theme): Use it when checking if a face has been
6597 changed outside customize.
6598 (custom-available-themes): New function.
6599 (load-theme): Use it.
6601 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6603 * custom.el (custom-push-theme): Cleanup (use cond).
6604 (disable-theme): Recompute the saved-face property.
6605 (custom-theme-recalc-face): Follow face alias before setting prop.
6607 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6608 New variables, containing checkbox images.
6610 * startup.el (fancy-startup-tail):
6611 * wid-edit.el (checkbox): Use them.
6613 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6615 * shell.el (shell-mode-map):
6616 * progmodes/modula2.el (m2-mode-map):
6617 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6618 * play/mpuz.el (mpuz-mode-map):
6619 * play/landmark.el (lm-mode-map):
6620 * play/decipher.el (decipher-mode-map):
6621 * play/5x5.el (5x5-mode-map):
6622 * net/telnet.el (telnet-mode-map):
6623 * net/quickurl.el (quickurl-list-mode-map):
6624 * net/mairix.el (mairix-searches-mode-map):
6625 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6626 * net/dig.el (dig-mode-map):
6627 * mail/mspools.el (mspools-mode-map):
6628 * hexl.el (hexl-mode-map):
6629 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6630 (wordstar-C-o-map, wordstar-C-q-map):
6631 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6632 * emacs-lisp/chart.el (chart-map):
6633 * edmacro.el (edmacro-mode-map):
6634 * erc/erc-list.el (erc-list-menu-mode-map):
6635 * array.el (array-mode-map): Declare and define in one step.
6637 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6639 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6641 * epa.el (epa-passphrase-callback-function): Display filename
6642 passed as the 3rd arg.
6643 * epa-file.el (epa-file-passphrase-callback-function):
6644 Pass filename to epa-passphrase-callback-function.
6646 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6648 * cus-edit.el (custom-face-widget-to-spec)
6649 (custom-face-get-current-spec, custom-face-state): New functions.
6650 (custom-face-set, custom-face-mark-to-save)
6651 (custom-face-value-create, custom-face-state-set): Use them.
6653 * cus-theme.el (custom-theme--listed-faces): New var.
6654 (customize-create-theme): Use *Custom Theme* as the buffer name.
6655 Set revert-buffer-function. Optional arg BUFFER. Insert all
6656 faces listed in custom-theme--listed-faces.
6657 (custom-theme-revert): New function.
6658 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6660 (custom-theme-write): Prompt for theme name if empty.
6661 (custom-theme-write-variables): Use dolist.
6662 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6664 2010-10-09 Alan Mackenzie <acm@muc.de>
6666 Enhance fontification of declarators to take account of the
6667 presence/absence of "typedef".
6669 * cc-engine.el (c-forward-type): New &optional param
6671 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6672 presence of either or both of a "struct"-like keyword and "typedef".
6674 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6675 fontification of declarators which follow a "}".
6676 (c-font-lock-declarations): Fontify declarators according to the
6677 presence/absence of "typedef".
6679 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6681 (c-typedef-decl-key): New lang variable built from
6682 c-typedef-decl-kwds.
6684 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6687 since that's too annoying. Move the filter groups commands to
6690 * epa.el (epa-passphrase-callback-function): Say what we're
6691 querying the password for.
6693 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6694 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6696 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6698 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6699 (custom-magic-value-create): Pad button tags with spaces.
6700 (custom-face-edit): New variable.
6701 (custom-face-value-create): Determine whether to use the usual
6702 face editor here, instead of using custom-face-selected.
6703 Pass face defaults to custom-face-edit widget.
6704 (custom-face-selected, custom-display-unselected): Delete widgets.
6705 (custom-display-unselected-match): Function removed.
6706 (custom-face-set, custom-face-mark-to-save):
6707 Accept custom-face-edit widgets as the direct widget child.
6709 * wid-edit.el (widget--completing-widget): New var.
6710 (widget-default-complete): Bind it when doing completion.
6711 (widget-string-complete, widget-file-complete): Use it.
6713 2010-10-09 Glenn Morris <rgm@gnu.org>
6715 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6716 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6717 (holiday-hebrew-misc): Small simplifications.
6719 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6721 * net/browse-url.el: Don't require thingatpt, term, dired,
6722 executable, or w3-auto when compiling.
6723 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6725 (browse-url-text-emacs): Require term.
6727 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6729 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6731 2010-10-08 Glenn Morris <rgm@gnu.org>
6733 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6735 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6736 (shadows-compare-text-p): Make it an obsolete alias for...
6737 (load-path-shadows-compare-text): ... new name.
6738 (find-emacs-lisp-shadows): Update for above name change.
6739 (load-path-shadows-same-file-or-nonexistent): New name for the old
6740 shadow-same-file-or-nonexistent.
6742 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6744 * minibuffer.el (completion--some, completion--do-completion)
6745 (minibuffer-complete-and-exit, minibuffer-completion-help)
6746 (completion-basic-try-completion)
6747 (completion-basic-all-completions)
6748 (completion-pcm--find-all-completions): Use lexical-let to
6749 avoid some false matches in variable completion (Bug#7056)
6751 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6753 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6755 2010-10-08 Leo <sdl.web@gmail.com>
6757 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6758 return non-nil if the file exists (Bug#7090).
6760 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * minibuffer.el (completion--replace):
6763 Better preserve markers (bug#7138).
6765 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6767 * server.el (server-process-filter): Doc fix.
6769 2010-10-08 Drew Adams <drew.adams@oracle.com>
6771 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6773 2010-10-08 Glenn Morris <rgm@gnu.org>
6775 * vc/ediff-wind.el (ediff-setup-control-frame):
6776 * vc/ediff-ptch.el (ediff-default-backup-extension):
6777 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6778 (ediff-exec-process): Remove system-types emx, windows-95.
6780 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6782 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6784 * cus-edit.el (custom-variable, custom-face): Doc fix.
6785 (custom-face-edit): Add value-create attribute.
6786 (custom-face-edit-value-create)
6787 (custom-face-edit-value-visibility-action): New functions.
6788 Hide unused face attributes by default, and add a visibility toggle.
6789 (custom-face-edit-deactivate): Show empty values with shadow face.
6790 (custom-face-selected): Only use this for face specs with default
6792 (custom-face-value-create): Cleanup.
6794 * wid-edit.el (widget-checklist-value-create): Use dolist.
6795 (widget-checklist-match-find): Make second arg optional.
6797 2010-10-07 Glenn Morris <rgm@gnu.org>
6799 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6802 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6803 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6804 load-path-shadows-mode, update references.
6805 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6806 Rename variable and button.
6807 (list-load-path-shadows): Update button caller.
6809 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6812 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6813 (smie-merge-prec2s): Handle those new entries.
6814 (smie-prec2-levels): Only set precedence to nil for actual
6816 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6817 that is now unnecessary.
6819 2010-10-07 Miles Bader <miles@gnu.org>
6821 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6823 2010-10-07 Glenn Morris <rgm@gnu.org>
6825 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6826 (mail-position-on-field): Remove declarations.
6827 (mail-position-on-field): Autoload it.
6828 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6829 and mail-header-end. Don't require sendmail.
6831 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6832 (shadow-mode): New mode.
6833 (shadow-find-file): New button.
6834 (list-load-path-shadows): Use shadow-mode and buttons.
6836 * iimage.el (iimage-version): Remove.
6837 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6838 Turn into defcustoms.
6839 (iimage-mode-map): Give it a doc string.
6841 * calendar/appt.el (appt-activate): Give a warning rather than an error
6842 if there is no diary-file.
6844 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6846 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6847 Use `tramp-handle-find-backup-file-name'.
6849 2010-10-06 Glenn Morris <rgm@gnu.org>
6851 * font-core.el (font-lock-defaults-alist): Remove variable.
6852 (font-lock-mode): Doc fix.
6853 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6854 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6855 (font-lock-set-defaults): Doc fix.
6856 Do not consult font-lock-defaults-alist.
6858 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6860 * emacs-lisp/cl.el: No longer provide cl-19.
6862 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6864 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6865 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6866 New defuns, taken from tramp-smb.el.
6867 (tramp-coding-system-change-eol-conversion)
6868 (tramp-set-process-query-on-exit-flag): Remove.
6870 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6871 (tramp-compat-coding-system-change-eol-conversion)
6872 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6875 * net/tramp-gvfs.el:
6876 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6877 by `tramp-compat-set-process-query-on-exit-flag'.
6879 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6880 Use `tramp-handle-directory-files-and-attributes',
6881 `tramp-handle-file-exists-p' and
6882 `tramp-handle-file-newer-than-file-p'.
6883 (tramp-imap-handle-file-exists-p)
6884 (tramp-imap-handle-file-executable-p)
6885 (tramp-imap-handle-file-readable-p)
6886 (tramp-imap-handle-directory-files-and-attributes)
6887 (tramp-imap-handle-file-newer-than-file-p): Remove.
6889 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6890 by `tramp-compat-set-process-query-on-exit-flag' and
6891 `tramp-coding-system-change-eol-conversion' by
6892 `tramp-compat-coding-system-change-eol-conversion'.
6894 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6895 Use `tramp-handle-directory-files-and-attributes',
6896 `tramp-handle-file-exists-p' and
6897 `tramp-handle-file-newer-than-file-p'.
6898 (tramp-smb-handle-directory-files-and-attributes)
6899 (tramp-smb-handle-file-exists-p)
6900 (tramp-smb-handle-file-newer-than-file-p): Remove.
6901 (tramp-smb-maybe-open-connection):
6902 Replace `tramp-set-process-query-on-exit-flag' by
6903 `tramp-compat-set-process-query-on-exit-flag'.
6905 2010-10-05 Glenn Morris <rgm@gnu.org>
6907 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6909 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6911 Continue reorganization of load dependencies. (Bug#7156)
6913 * net/tramp.el (tramp-handle-file-local-copy-hook)
6914 (tramp-delete-temp-file-function): Move down.
6915 (tramp-exists-file-name-handler): Move up.
6916 (tramp-register-file-name-handlers): Simplify autoload.
6917 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6918 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6919 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6920 (tramp-handle-file-name-completion)
6921 (tramp-handle-file-name-directory)
6922 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6923 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6924 (tramp-handle-find-backup-file-name)
6925 (tramp-handle-insert-file-contents, tramp-handle-load)
6926 (tramp-handle-substitute-in-file-name)
6927 (tramp-handle-unhandled-file-name-directory)
6928 (tramp-mode-string-to-int, tramp-local-host-p)
6929 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6931 * net/tramp-gvfs.el (top):
6932 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6934 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6935 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6937 2010-10-04 Glenn Morris <rgm@gnu.org>
6939 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6940 (appt-activate): Give status messages.
6942 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6944 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6945 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6946 `gnutls-negotiate' (formerly `starttls-negotiate').
6947 Remove trivial wrapper `starttls-open-stream'.
6949 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6951 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6952 log-outgoing commands.
6953 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6954 to create a buffer local revert-buffer-function variable.
6955 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6956 revert-buffer-function lambda.
6958 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6960 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6961 `gnutls-boot'. Make TYPE the only required parameter.
6962 Allow TRUSTFILES and KEYFILES to be lists.
6963 (open-ssl-stream): Use it.
6965 2010-10-03 Glenn Morris <rgm@gnu.org>
6967 * subr.el (directory-sep-char): Remove obsolete variable.
6968 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6971 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6972 * vc/vc.el (vc-static-header-alist): Doc fix.
6973 * vc/vc-cvs.el (vc-cvs-header):
6974 * vc/vc-rcs.el (vc-rcs-header):
6975 * vc/vc-sccs.el (vc-sccs-header):
6976 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6977 * obsolete/vc-mcvs.el (vc-mcvs-header):
6978 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6981 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6983 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6984 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6986 2010-10-03 Glenn Morris <rgm@gnu.org>
6988 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6990 * textmodes/rst.el (rst-font-lock-keywords-function):
6993 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6995 * printing.el: Drop Emacs 20 code.
6997 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6998 without having used appt.el already).
7000 * subr.el (make-local-hook): Remove function obsolete since 21.1.
7001 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
7002 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
7004 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
7005 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
7007 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
7008 (charset-width, find-charset-region, chars-in-region, forward-point)
7009 (encode-coding-string, coding-system-p, ccl-execute-on-string)
7010 (define-ccl-program, multibyte-string-p, string-make-multibyte):
7011 Remove compatibility cruft (none of these are used by ps*.el).
7013 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7015 * subr.el (booleanp): Return t instead of a list (Bug#7086).
7017 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
7019 * server.el (server-process-filter, server-return-error):
7020 Give emacsclient time to shut down after receiving an error string.
7022 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
7024 * files.el (remote-file-name-inhibit-cache): New defcustom.
7026 * time.el (display-time-file-nonempty-p):
7027 Use `remote-file-name-inhibit-cache'.
7029 * net/tramp.el (tramp-completion-reread-directory-timeout):
7032 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7033 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7034 `remote-file-name-inhibit-cache'. Check also for an integer
7035 value. Add/increase counter when `tramp-verbose' >= 10.
7036 (tramp-set-file-property): Add/increase counter when
7037 `tramp-verbose' >= 10.
7039 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7040 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7041 (tramp-bug): Set tramp-autoload cookie. Report all interned
7042 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7043 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7044 characters only in strings.
7046 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7047 to backward compatibility.
7049 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7050 (tramp-handle-file-name-all-completions)
7051 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7052 (tramp-open-connection-setup-interactive-shell):
7053 Call `tramp-cleanup-connection' directly.
7055 2010-10-02 Glenn Morris <rgm@gnu.org>
7057 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7059 * subr.el (char-bytes): Remove obsolete function.
7061 * isearch.el (isearch-return-char): Remove obsolete function.
7063 * mouse.el: No longer provide mldrag.
7064 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7065 Remove obsolete aliases.
7067 * comint.el (comint-kill-output): Remove obsolete alias.
7069 * composite.el (decompose-composite-char): Remove obsolete function.
7070 * ps-def.el (decompose-composite-char): Remove unused function.
7072 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7074 * outline.el (outline-visible): Remove obsolete function.
7076 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7077 * faces.el (internal-find-face, internal-get-face)
7078 (frame-update-faces, frame-update-face-colors)
7079 (x-frob-font-weight, x-frob-font-slant)
7080 (internal-frob-font-weight, internal-frob-font-slant)
7081 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7082 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7083 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7085 * emulation/viper-util.el (viper-get-face):
7086 * obsolete/lucid.el (find-face, get-face): Use facep.
7087 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7088 Remove unused functions.
7089 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7091 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7092 delete tempfile if interrupted during compilation.
7094 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7096 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7098 (tls-program): Add --insecure to be consistent with the defaults from
7099 openssl s_client. Now all three commands are insecure.
7101 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7103 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7104 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7105 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7107 2010-10-01 Glenn Morris <rgm@gnu.org>
7109 * obsolete/sc.el: Remove file.
7111 * files.el (temporary-file-directory): On darwin, also try
7112 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7114 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7116 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7117 Let's not break compatibility gratuitously, shall we?
7119 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7121 * net/tls.el (tls-starttls-switches): New variable.
7122 (tls-find-starttls-argument): Use it.
7123 (open-tls-stream): Ditto.
7125 * net/netrc.el (netrc-credentials): Return the value of the "default"
7127 (netrc-machine): Ditto.
7129 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7131 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7133 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7135 * server.el (server-start): Don't write pid to the authentication file.
7136 (server-create-tty-frame): Don't send pid.
7137 (server-process-filter): Send pid at the start of every connection.
7139 2010-09-30 Glenn Morris <rgm@gnu.org>
7141 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7142 (show-all-diary-entries): Remove obsolete function aliases.
7144 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7145 Remove options, obsolete since 22.1.
7146 (appt-display-format, appt-display-message):
7147 Remove backwards-compatibility code.
7148 (appt-check): No longer check appt-issue-message.
7149 (appt-make-list): No longer autoload it. Doc fix. No longer
7150 activate the package.
7152 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7154 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7155 (starttls-negotiate): Just call boot, and let the handshake be
7156 triggered from the read loop.
7158 2010-09-29 Glenn Morris <rgm@gnu.org>
7160 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7161 not displaying the diary.
7162 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7163 * calendar/appt.el (appt-check): No longer need to kill diary.
7165 * calendar/diary-lib.el (diary-list-entries): Move the
7166 "Preparing..." message entirely here.
7167 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7168 messages to diary-list-entries.
7169 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7170 diary-display-function.
7172 * calendar/diary-lib.el (diary-include-other-diary-files):
7173 Trap some recursive includes.
7175 * calendar/appt.el (appt-activate): Check diary file.
7177 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7179 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7182 * calendar/time-date.el: No need to require cl for Emacs 21.
7184 2010-09-28 Glenn Morris <rgm@gnu.org>
7186 * calendar/appt.el (appt-check): Minor simplification.
7188 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7190 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7193 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7195 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7196 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7198 2010-09-27 Kenichi Handa <handa@m17n.org>
7200 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7203 2010-09-27 Kenichi Handa <handa@m17n.org>
7205 * international/mule.el (define-coding-system): Docstring fixed.
7207 * international/mule-diag.el (describe-character-set): Use princ
7208 with proper print-length and print-level instead of insert.
7210 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7212 * window.el (walk-windows): Doc fix (bug#7105).
7214 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * emacs-lisp/float-sup.el (e): Remove.
7218 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7220 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7222 (starttls-negotiate): Use it.
7224 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7226 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7229 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7233 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7237 * net/netrc.el (netrc-store-data): New function.
7239 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7241 * net/gnutls.el: GnuTLS glue code to set up a connection.
7243 2010-09-25 Julien Danjou <julien@danjou.info>
7245 * notifications.el: Call dbus-register-signal only if it is bound.
7247 2010-09-25 Glenn Morris <rgm@gnu.org>
7249 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7250 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7251 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7252 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7253 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7254 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7255 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7256 * eshell/esh-util.el, eshell/esh-var.el:
7257 Remove leading `*' from docs of faces and defcustoms.
7259 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7261 * eshell/em-ls.el (eshell-ls-archive-regexp):
7262 * eshell/esh-util.el (eshell-tar-regexp):
7263 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7264 * info.el (Info-suffix-list):
7265 * international/mule.el (auto-coding-alist):
7266 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7267 * progmodes/etags.el (tags-compression-info-list):
7268 Support xz compression.
7270 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7272 * files.el (get-free-disk-space): Don't assume the "df" output
7273 columns line up (Bug#6995).
7275 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7277 * finder.el (finder-unknown-keywords):
7278 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7279 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7281 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7283 * server.el (server-start): Revert part of 2010-08-08 change. Using
7284 address 127.0.0.1 for local host is now done in Fmake_network_process.
7286 2010-09-24 Glenn Morris <rgm@gnu.org>
7288 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7289 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7290 * textmodes/css-mode.el, textmodes/dns-mode.el:
7291 Move autoloaded auto-mode-alist entries to files.el.
7292 * files.el (auto-mode-alist): Move entries here.
7294 2010-09-23 Glenn Morris <rgm@gnu.org>
7296 * isearch.el (isearch-lazy-highlight-cleanup)
7297 (isearch-lazy-highlight-initial-delay)
7298 (isearch-lazy-highlight-interval)
7299 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7300 * net/net-utils.el (ipconfig-program-options):
7301 Move aliases to options before the associated definitions.
7303 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7305 * newcomment.el (comment-normalize-vars): Better test validity of
7308 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7311 (float-e): New name for `e'.
7312 (degrees-to-radians, radians-to-degrees):
7313 * calendar/solar.el (solar-longitude):
7314 * calculator.el (calculator-registers, calculator-funcall):
7315 * textmodes/artist.el (artist-spray-random-points):
7316 * play/bubbles.el (bubbles--initialize-images): Use new names.
7318 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7320 Update to CEDET 1.0's version of EIEIO.
7322 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7324 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7325 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7326 (class-precedence-list): If class is nil, return nil.
7327 (eieio-generic-call): If class of first input arg is nil, don't
7328 look up static methods, and do check for primary methods.
7329 (initialize-instance): See if the default needs to be evaluated
7330 during the constructor.
7331 (eieio-perform-slot-validation-for-default): Don't do the check
7332 for values that will eventually be evaluated.
7333 (eieio-eval-default-p): New function.
7334 (eieio-default-eval-maybe): Use it.
7336 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7338 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7339 method-invocation-order.
7340 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7341 (eieio-class-precedence-dfs): Compute class precedence list using
7343 (eieio-class-precedence-bfs): Compute class precedence list using
7345 (eieio-class-precedence-c3): Compute class precedence list using
7347 (class-precedence-list): New function.
7348 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7349 (inconsistent-class-hierarchy): New error symbol.
7350 (call-next-method): Stow the replacement argument list for future
7351 call-next-method invocations.
7353 2010-09-23 Glenn Morris <rgm@gnu.org>
7355 * calendar/appt.el (appt-check): If not displaying the diary,
7356 use (diary 1) to only get the entries we need.
7357 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7358 that it is in day order. (Bug#7019)
7360 * calendar/appt.el (appt-check): Rather than showing the diary,
7361 just turn off invisible display, and only if needed.
7363 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7365 2010-09-23 Glenn Morris <rgm@gnu.org>
7367 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7368 (byte-compile-defvar, byte-compile-cl-warn):
7369 Start warnings with lower-case, like the majority.
7371 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7373 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7375 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7376 * files.el (auto-mode-alist): Move ld-script entries here, further down
7379 * vc/add-log.el: Don't require timezone when compiling.
7380 (timezone-make-date-sortable): Autoload it.
7381 (change-log-sortable-date-at): Don't require timezone.
7382 Use `ignore-errors'.
7384 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7385 Move alias before definition, so it does not need autoloading.
7387 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7388 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7389 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7390 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7391 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7392 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7393 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7394 * textmodes/tex-mode.el, textmodes/two-column.el:
7395 Remove leading `*' from docs of defcustoms etc.
7397 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7399 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7401 2010-09-22 Dan Christensen <jdc@uwo.ca>
7403 * calendar/time-date.el (date-to-time): Try using parse-time-string
7404 first before using the slower timezone-make-date-arpa-standard.
7406 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7408 * calendar/time-date.el (format-seconds): Comment fix.
7410 2010-09-22 Glenn Morris <rgm@gnu.org>
7412 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7413 is not automatically buffer-local.
7415 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7418 (smie-indent-comment): Be more careful with comment-start-skip.
7419 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7420 (smie-indent-functions): Use them.
7422 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7424 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7426 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7428 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7429 tool-bar-position. Don't modify frame parameters here.
7430 (menu-bar-options-save): Add tool-bar-position.
7432 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7434 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7436 * textmodes/reftex-parse.el (reftex-what-macro)
7437 (reftex-context-substring): Let-bind forward-sexp-function to nil
7438 since we don't need/want to treat \begin...\end as a block (bug#7053).
7440 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7442 * simple.el (blink-matching-open): Use syntax-class.
7444 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7445 Set invisibility spec for pascal's outline mode.
7446 (pascal-outline-change): Clean up calling convention.
7447 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7449 * progmodes/prolog.el (prolog-smie-forward-token)
7450 (prolog-smie-backward-token): New functions.
7451 (prolog-mode-variables): Use them to parse "!," correctly.
7452 Set up smie-blink-matching for ".".
7454 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7456 (ispell-region, ispell-process-line): Update users.
7458 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7461 * textmodes/ispell.el: Fix commenting convention.
7462 (ispell-parse-output): Simplify, use push.
7463 (ispell-region): Use match-string-no-properties.
7464 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7465 (ispell-minor-mode): Use define-minor-mode.
7466 (ispell-message): Remove unused var `skip-regexp'.
7467 (ispell-add-per-file-word-list): Use dynamic let-binding.
7468 Try and use the proper comment marker.
7470 * mail/sendmail.el: Fix commenting convention.
7471 (sendmail-send-it): Use line-beginning-position.
7473 * help-fns.el (describe-variable): Add original value, if applicable.
7475 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7477 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7479 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7481 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7483 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7484 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7485 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7486 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7487 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7488 something like "." can also be a closer.
7489 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7490 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7491 Rename internal functions to use "--". Update callers.
7493 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7495 * fringe.el (fringe-styles): New var.
7496 (fringe-mode, fringe-query-style): Use it.
7498 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7500 * progmodes/sql.el: Version 2.8
7501 (sql-login-params): Update widget structure; changes still needed.
7502 (sql-product-alist): Add :list-all and :list-table features for
7503 SQLite, Postgres and MySQL products.
7504 (sql-redirect): Handle default value.
7505 (sql-execute, sql-execute-feature): New functions.
7506 (sql-read-table-name): New function.
7507 (sql-list-all, sql-list-table): New functions. User API.
7508 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7509 for above functions.
7510 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7511 for above functions.
7512 (sql-postgres-login-params): Add user and database defaults.
7513 (sql-buffer-live-p): Bug fix.
7514 (sql-product-history): New variable.
7515 (sql-read-product): New function. Use it.
7516 (sql-set-product, sql-product-interactive): Use it.
7517 (sql-connection-history): New variable.
7518 (sql-read-connection): New function. Use it.
7519 (sql-connect): New function.
7520 (sql-for-each-login): Redesign function interface.
7521 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7522 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7523 (sql-comint): Check for program. Existing live buffer.
7524 (sql-comint-postgres): Add port parameter.
7526 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7528 * emacs-lisp/warnings.el: Fix commenting convention.
7529 (display-warning): Use special mode and make the buffer read-only.
7531 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7533 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7534 empty string when it follows a repeated or optional pattern.
7536 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7539 (indent-region): Use indent-according-to-mode.
7541 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7543 * fringe.el (fringe-mode): Doc fix.
7545 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7547 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7548 refreshing the preview buffer.
7550 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7552 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7553 (latex-syntax-propertize-rules): New consts; replace
7554 tex-font-lock-syntactic-keywords.
7555 (tex-env-mark, latex-env-before-change): New functions.
7556 (latex-electric-env-pair-mode): New minor mode.
7557 (tex-font-lock-verb): Change arguments; do move point.
7558 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7559 representation as a form of comment.
7560 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7561 (doctex-syntax-propertize-rules): New const; replaces
7562 doctex-font-lock-syntactic-keywords.
7563 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7565 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7566 (fortran-make-syntax-propertize-function): New function; replaces
7567 fortran-font-lock-syntactic-keywords.
7568 (fortran-mode): Use it.
7569 (fortran-line-length): Use it. Improve interactive spec.
7571 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7572 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7573 when adding surrounding \(..\).
7575 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7577 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7580 Use with-current-buffer.
7582 * isearch.el (isearch-face): Rename from `isearch'.
7583 (isearch-highlight): Use new name.
7585 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7587 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7588 5, for `half' width fringes. (Bug#6933)
7590 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7593 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7595 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7597 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7599 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7600 in calculating new frame position. Add more space between new and
7601 parent on the left (Bug#7048).
7603 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7605 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7608 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7610 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7612 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7613 obsolete alias for x-selection-value.
7615 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7617 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7619 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7622 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7624 * net/tramp-compat.el (tramp-compat-with-temp-message)
7625 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7626 (tramp-compat-process-put): New defuns.
7628 * net/tramp.el (top):
7629 * net/tramp-gvfs.el (top):
7630 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7632 * net/tramp.el (tramp-progress-reporter-update):
7633 Use `tramp-compat-funcall'.
7635 * net/tramp.el (tramp-process-actions):
7636 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7637 * net/tramp-sh.el (tramp-handle-vc-registered)
7638 (tramp-get-remote-stat, tramp-get-remote-readlink):
7639 Use `tramp-compat-with-temp-message'.
7641 * net/tramp-sh.el (top): Require 'cl.
7642 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7643 (tramp-open-connection-setup-interactive-shell):
7644 Use `tramp-compat-process-put'.
7646 2010-09-15 Alan Mackenzie <acm@muc.de>
7648 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7650 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7652 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7654 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7655 `lexical' for warnings related to lexical scoping.
7656 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7657 global vars which don't have a prefix and could hence affect lexical
7658 scoping in unrelated files.
7660 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7662 * net/imap.el: Revert back to version
7663 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7666 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7668 * obsolete/old-whitespace.el (whitespace-unload-function):
7669 Explicitly pass `obarray' to `unintern' to avoid a warning.
7671 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7674 Add `when' argument. Update callers.
7676 * subr.el (unintern): Declare the obarray arg mandatory.
7678 2010-09-14 Glenn Morris <rgm@gnu.org>
7680 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7683 * calendar/diary-lib.el (diary-included-files): New variable.
7684 (diary-list-entries): Maybe initialize diary-included-files.
7685 (diary-include-other-diary-files): Append to diary-included-files.
7686 * calendar/appt.el (appt-update-list): Also check the members of
7687 diary-included-files. (Bug#6999)
7688 (appt-check): Doc fix.
7690 2010-09-14 David Reitter <david.reitter@gmail.com>
7692 * simple.el (line-move-visual): Do not truncate goal column to
7693 integer size. (Bug#7020)
7695 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * repeat.el (repeat): Allow repeating when the last event is a click.
7698 Suggested by Drew Adams (bug#6256).
7700 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7702 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7703 Replace setting HGRCPATH to "" by some less invasive --config options.
7705 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * font-lock.el (font-lock-beginning-of-syntax-function):
7710 2010-09-14 Glenn Morris <rgm@gnu.org>
7712 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7713 and tool-bar modes. (Bug#6211)
7714 (menu-bar-mode): Move setting of standard-value after the
7715 minor-mode definition, otherwise it seems to have no effect.
7717 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7719 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7720 Fix typo. (Bug#6976)
7722 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7724 * whitespace.el: Allow cleaning up blanks without blank
7725 visualization (Bug#6651). Adjust help window for
7726 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7727 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7728 (whitespace-style): Add new value 'face. Adjust docstring.
7729 (whitespace-space, whitespace-hspace, whitespace-tab):
7730 Adjust foreground property face.
7731 (whitespace-line-column): Adjust docstring and type declaration.
7732 (whitespace-style-value-list, whitespace-toggle-option-alist)
7733 (whitespace-help-text): Adjust const initialization.
7734 (whitespace-toggle-options, global-whitespace-toggle-options):
7736 (whitespace-display-window, whitespace-interactive-char)
7737 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7738 (whitespace-help-scroll): New fun.
7740 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7742 * calendar/time-date.el (format-seconds): Comment fix.
7744 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7746 * progmodes/sql.el: Version 2.7.
7747 (sql-buffer-live-p): Improve detection.
7748 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7749 (sql-set-sqli-buffer): Use it.
7750 (sql-product-interactive): Run `sql-set-sqli-hook'.
7751 (sql-rename-buffer): Code cleanup.
7752 (sql-redirect, sql-redirect-value): New functions. More to come.
7754 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7756 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.
7757 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7758 (TRAMP_SRC): New macro.
7759 ($(lisp)/net/tramp-loaddefs.el): New target.
7761 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7763 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7765 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7767 * net/tramp.el (top): Don't show loading message. Require just
7768 'tramp-compat, everything else is required there.
7769 Use `ignore-errors' where appropriate.
7770 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7771 (tramp-terminal-type, tramp-end-of-output)
7772 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7773 (tramp-completion-function-alist-ssh)
7774 (tramp-completion-function-alist-telnet)
7775 (tramp-completion-function-alist-su)
7776 (tramp-completion-function-alist-putty, tramp-remote-path)
7777 (tramp-remote-process-environment, tramp-sh-extra-args)
7778 (tramp-actions-before-shell, tramp-uudecode)
7779 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7780 (tramp-perl-file-attributes)
7781 (tramp-perl-directory-files-and-attributes)
7782 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7783 (tramp-perl-encode, tramp-perl-decode)
7784 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7785 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7786 (tramp-handle-make-symbolic-link, tramp-handle-load)
7787 (tramp-handle-file-name-as-directory)
7788 (tramp-handle-file-name-directory)
7789 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7790 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7791 (tramp-do-file-attributes-with-ls)
7792 (tramp-do-file-attributes-with-perl)
7793 (tramp-do-file-attributes-with-stat)
7794 (tramp-handle-set-visited-file-modtime)
7795 (tramp-handle-verify-visited-file-modtime)
7796 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7797 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7798 (tramp-handle-file-selinux-context)
7799 (tramp-handle-set-file-selinux-context)
7800 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7801 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7802 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7803 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7804 (tramp-handle-file-ownership-preserved-p)
7805 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7806 (tramp-handle-directory-files-and-attributes)
7807 (tramp-do-directory-files-and-attributes-with-perl)
7808 (tramp-do-directory-files-and-attributes-with-stat)
7809 (tramp-handle-file-name-all-completions)
7810 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7811 (tramp-handle-copy-file, tramp-handle-copy-directory)
7812 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7813 (tramp-do-copy-or-rename-file-via-buffer)
7814 (tramp-do-copy-or-rename-file-directly)
7815 (tramp-do-copy-or-rename-file-out-of-band)
7816 (tramp-handle-make-directory, tramp-handle-delete-directory)
7817 (tramp-handle-delete-file)
7818 (tramp-handle-dired-recursive-delete-directory)
7819 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7820 (tramp-handle-insert-directory)
7821 (tramp-handle-unhandled-file-name-directory)
7822 (tramp-handle-expand-file-name)
7823 (tramp-handle-substitute-in-file-name)
7824 (tramp-handle-executable-find, tramp-process-sentinel)
7825 (tramp-handle-start-file-process, tramp-handle-process-file)
7826 (tramp-handle-call-process-region, tramp-handle-shell-command)
7827 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7828 (tramp-handle-insert-file-contents)
7829 (tramp-handle-insert-file-contents-literally)
7830 (tramp-handle-find-backup-file-name)
7831 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7832 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7833 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7834 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7835 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7836 (tramp-find-file-exists-command, tramp-open-shell)
7837 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7838 (tramp-open-connection-setup-interactive-shell)
7839 (tramp-local-coding-commands, tramp-remote-coding-commands)
7840 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7841 (tramp-inline-compress-commands, tramp-find-inline-compress)
7842 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7843 (tramp-send-command, tramp-wait-for-output)
7844 (tramp-send-command-and-check, tramp-barf-unless-okay)
7845 (tramp-send-command-and-read, tramp-mode-string-to-int)
7846 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7847 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7848 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7849 (tramp-method-out-of-band-p, tramp-local-host-p)
7850 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7851 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7852 (tramp-get-test-command, tramp-get-test-nt-command)
7853 (tramp-get-file-exists-command, tramp-get-remote-ln)
7854 (tramp-get-remote-perl, tramp-get-remote-stat)
7855 (tramp-get-remote-readlink, tramp-get-remote-trash)
7856 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7857 (tramp-get-local-uid, tramp-get-local-gid)
7858 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7860 (tramp-methods, tramp-default-method-alist)
7861 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7862 Move initialization to tramp-sh.el.
7863 (tramp-temp-name-prefix): Make it a defconst.
7864 (tramp-dissect-file-name): Don't check anymore for multi-hop
7866 (tramp-debug-outline-regexp): Add a docstring.
7867 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7868 (tramp-get-debug-buffer): Use it.
7870 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7871 initialization forms.
7872 (tramp-set-connection-property): Don't protect `tramp-message'
7873 call, it isn't necessary any longer.
7874 (tramp-dump-connection-properties): Use `ignore-errors'.
7876 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7877 'password-cache and 'auth-source.
7879 * net/tramp-gvfs.el (top):
7880 * net/tramp-smb.el (top): Require 'tramp-sh.
7882 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7884 * net/tramp-sh.el: New file, derived from tramp.el.
7885 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7886 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7887 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7888 Use `ignore-errors' where appropriate.
7889 (tramp-sh-file-name-handler-alist): Rename from
7890 `tramp-file-name-handler-alist'.
7891 (tramp-send-command-and-check): Return t or nil. Remove all
7892 `zerop' checks, where called.
7893 (tramp-handle-set-file-modes)
7894 (tramp-do-copy-or-rename-file-directly)
7895 (tramp-handle-delete-directory, tramp-handle-delete-file)
7896 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7897 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7898 (tramp-get-remote-ln): Set tramp-autoload cookie.
7900 * net/tramp-fish.el: Remove file.
7902 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7904 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7905 buffer-file-name to avoid file-locking. (Bug#7026)
7907 2010-09-13 Julien Danjou <julien@danjou.info>
7909 * notifications.el (notifications-notify): Add support for
7910 image-path and sound-name.
7911 (notifications-specification-version): Add this variable.
7913 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7915 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7917 2010-09-12 Leo <sdl.web@gmail.com>
7919 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7920 (rcirc-completion-start): New variables.
7921 (rcirc-nick-completions): Rename to rcirc-completions.
7922 (rcirc-nick-completion-start-offset): Delete.
7923 (rcirc-completion-at-point): New function for constructing
7924 completion data for both nicks and irc commands. Add to
7925 completion-at-point-functions in rcirc mode.
7926 (rcirc-complete): Rename from rcirc-nick-complete; use
7927 rcirc-completion-at-point.
7928 (defun-rcirc-command): Update rcirc-client-commands.
7930 2010-09-11 Glenn Morris <rgm@gnu.org>
7932 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7933 atomically, to avoid parallel build errors. (Bug#4196)
7935 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7937 * progmodes/sql.el: Version 2.6
7938 (sql-dialect): Synonym for "sql-product".
7939 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7940 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7941 Set "sql-buffer" to buffer name not buffer object so multiple sql
7942 interactive buffers work properly. Reverts misguided changes in
7944 (sql-comint): Make sure different buffer name is used if "*SQL*"
7945 buffer is for a different product.
7946 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7948 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7949 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7950 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7951 Accept new buffer name or prompt for one.
7952 (sql-port): Default to zero.
7953 (sql-comint-mysql): Handle "sql-port" as a numeric.
7954 (sql-port-history): Delete unused variable.
7955 (sql-get-login): Default "sql-port" to a number.
7956 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7957 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7958 "sqlite3" executables.
7959 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7960 (sql-buffer-live-p): New function.
7961 (sql-mode-menu, sql-send-string): Use it.
7962 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7964 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7965 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7967 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969 * net/netrc.el (netrc-credentials): New convenience function.
7971 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7973 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7974 to replace texinfo-font-lock-syntactic-keywords.
7975 (texinfo-mode): Use it.
7977 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7978 Use syntax-propertize-function.
7980 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7981 replace sgml-font-lock-syntactic-keywords.
7982 (sgml-mode): Use it.
7984 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7985 since we don't use it.
7987 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7989 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7991 (vhdl-fontify-buffer): Adjust.
7993 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7994 replace tcl-font-lock-syntactic-keywords.
7997 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7998 replace simula-font-lock-syntactic-keywords.
7999 (simula-mode): Use it.
8001 * progmodes/sh-script.el (sh-st-symbol): Remove.
8002 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
8003 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
8004 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
8005 (sh-font-lock-paren): Set syntax-multiline.
8006 (sh-font-lock-syntactic-keywords): Remove.
8007 (sh-syntax-propertize-function): New function to replace it.
8010 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
8011 Define while compiling.
8012 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8013 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
8014 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
8015 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8016 (ruby-here-doc-end-syntax): Only define when
8017 syntax-propertize is not available.
8018 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
8020 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
8021 (electric-indent-chars): Silence bytecompiler.
8022 (ruby-mode): Use prog-mode, syntax-propertize-function, and
8023 electric-indent-chars.
8025 * progmodes/python.el (python-syntax-propertize-function): New var to
8026 replace python-font-lock-syntactic-keywords.
8027 (python-mode): Use it.
8028 (python-quote-syntax): Simplify and adjust to new use.
8030 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8031 replace perl-font-lock-syntactic-keywords.
8032 (perl-syntax-propertize-special-constructs): New fun to replace
8033 perl-font-lock-special-syntactic-constructs.
8034 (perl-font-lock-syntactic-face-function): New fun.
8035 (perl-mode): Use it.
8037 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8038 to replace octave-font-lock-close-quotes.
8039 (octave-syntax-propertize-function): New function to replace
8040 octave-font-lock-syntactic-keywords.
8041 (octave-mode): Use it.
8043 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8044 replaces mixal-font-lock-syntactic-keywords.
8045 (mixal-mode): Use it.
8047 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8048 New var; replaces makefile-font-lock-syntactic-keywords.
8049 (makefile-mode): Use it.
8050 (makefile-imake-mode): Adjust.
8052 * progmodes/js.el (js--regexp-literal): Define while compiling.
8053 (js-syntax-propertize-function): New var; replaces
8054 js-font-lock-syntactic-keywords.
8057 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8058 replaces gdb-script-font-lock-syntactic-keywords.
8059 (gdb-script-mode): Use it.
8061 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8062 (fortran--font-lock-syntactic-keywords): New var.
8063 (fortran-line-length): Update syntax-propertize-function and
8064 fortran--font-lock-syntactic-keywords.
8066 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8068 * progmodes/cfengine.el (cfengine-mode):
8069 Use syntax-propertize-function.
8070 (cfengine-font-lock-syntactic-keywords): Remove.
8072 * progmodes/autoconf.el (autoconf-mode):
8073 Use syntax-propertize-function.
8074 (autoconf-font-lock-syntactic-keywords): Remove.
8076 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8077 (ada-after-change-function, ada-initialize-syntax-table-properties)
8078 (ada-handle-syntax-table-properties): Only define when
8079 syntax-propertize is not available.
8080 (ada-mode): Use syntax-propertize-function.
8082 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8083 (font-lock-fontify-syntactic-keywords-region): Move handling of
8084 font-lock-syntactically-fontified to...
8085 (font-lock-default-fontify-region): ...here.
8086 Let syntax-propertize-function take precedence.
8087 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8089 * emacs-lisp/syntax.el (syntax-propertize-function)
8090 (syntax-propertize-chunk-size, syntax-propertize--done)
8091 (syntax-propertize-extend-region-functions): New vars.
8092 (syntax-propertize-wholelines, syntax-propertize-multiline)
8093 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8094 (syntax-propertize): New functions.
8095 (syntax-propertize-rules): New macro.
8096 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8097 (syntax-ppss): Call syntax-propertize.
8099 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8101 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8103 * textmodes/ispell.el (ispell-init-process): Improve comments.
8104 XEmacs compatibility changes regarding (add-hook) 'local option
8105 and (set-process-query-on-exit-flag).
8107 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8109 * net/tramp-cache.el (tramp-parse-connection-properties):
8110 Set tramp-autoload cookie.
8112 2010-09-09 Glenn Morris <rgm@gnu.org>
8114 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8115 (imagemagick-register-types): Doc fix.
8117 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8121 * progmodes/js.el (require): Require is already "eval-and-compile".
8122 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8123 (js--re-search-backward): Use js--re-search-forward.
8125 * progmodes/fortran.el (fortran-line-length): Don't recompute
8126 syntactic keywords redundantly a second time.
8128 * progmodes/ada-mode.el: Replace "(set '" with setq.
8129 (ada-mode): Simplify.
8130 (ada-create-case-exception, ada-adjust-case-interactive)
8131 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8132 (ada-search-ignore-string-comment, ada-move-to-start)
8133 (ada-move-to-end): Use with-syntax-table.
8135 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8136 (font-lock-unfontify-region, font-lock-default-fontify-region):
8137 Update usage correspondingly.
8138 (font-lock-fontify-syntactic-keywords-region):
8139 Set parse-sexp-lookup-properties buffer-locally here.
8140 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8142 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8144 2010-09-08 Glenn Morris <rgm@gnu.org>
8146 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8147 Error if not compiled with -DBYTE_CODE_METER.
8149 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8150 Ignore dir-locals-file.
8152 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8156 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8157 for the `gnu' messages.
8158 (compilation-set-skip-threshold): New command.
8159 (compilation-start): Use \' rather than $.
8160 (compilation-forget-errors): Use clrhash.
8162 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8164 * textmodes/ispell.el (ispell-valid-dictionary-list):
8167 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8169 Migrate to Tramp 2.2. Rearrange load dependencies.
8170 (Bug#1529, Bug#5448, Bug#5705)
8172 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8173 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8174 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8176 * net/tramp.el (top): Remove all other tramp-* loads except
8177 tramp-compat.el. Remove all changes to tramp-unload-hook for
8178 other tramp-* packages. Rearrange defun order. Change calls of
8179 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8180 `tramp-compat-octal-to-decimal' to new function names.
8181 (tramp-terminal-type, tramp-initial-end-of-output)
8182 (tramp-methods, tramp-foreign-file-name-handler-alist)
8183 (tramp-tramp-file-p, tramp-completion-mode-p)
8184 (tramp-send-command-and-check, tramp-get-remote-path)
8185 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8186 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8187 (with-file-property, with-connection-property): Move to
8189 (tramp-local-call-process, tramp-decimal-to-octal)
8190 (tramp-octal-to-decimal): Move to tramp-compat.el.
8191 (tramp-handle-shell-command): Do not require 'shell.
8192 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8194 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8196 * net/tramp-cache.el (top): Require 'tramp. Add to
8197 `tramp-unload-hook'.
8198 (tramp-cache-data, tramp-get-file-property)
8199 (tramp-set-file-property, tramp-flush-file-property)
8200 (tramp-flush-directory-property, tramp-get-connection-property)
8201 (tramp-set-connection-property, tramp-flush-connection-property)
8202 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8204 (with-file-property, with-connection-property): New defuns, moved
8206 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8209 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8210 (tramp-version): Set tramp-autoload cookie.
8212 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8213 changes to tramp-unload-hook for other tramp-* packages. Add to
8214 `tramp-unload-hook'.
8215 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8216 (tramp-compat-call-process): New defuns, moved from tramp.el.
8218 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8219 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8220 Add to `tramp-unload-hook'. Change call of
8221 `tramp-compat-decimal-to-octal' to new function name.
8222 (tramp-fish-method): Make it a defconst.
8223 (tramp-fish-file-name-p): Make it a defsubst.
8224 (tramp-fish-method, tramp-fish-file-name-handler)
8225 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8227 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8228 `tramp-foreign-file-name-handler-alist'. Add to
8229 `tramp-unload-hook'.
8230 (tramp-ftp-method): Make it a defconst.
8231 (tramp-ftp-file-name-p): Make it a defsubst.
8232 (tramp-ftp-method, tramp-ftp-file-name-handler)
8233 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8235 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8236 `tramp-foreign-file-name-handler-alist'. Add to
8237 `tramp-unload-hook'. Change checks, whether package can be
8239 (tramp-gvfs-file-name-p): Make it a defsubst.
8240 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8241 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8242 (tramp-gvfs-handle-file-directory-p): New defun.
8243 (tramp-gvfs-file-name-handler-alist): Use it.
8245 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8246 `tramp-foreign-file-name-handler-alist'. Add to
8247 `tramp-unload-hook'.
8248 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8249 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8251 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8252 (tramp-gw-open-connection): Set tramp-autoload cookie.
8254 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8255 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8256 Add to `tramp-unload-hook'. Change checks, whether package can be
8258 (tramp-imap-file-name-p): Make it a defsubst.
8259 (tramp-imap-method, tramp-imaps-method)
8260 (tramp-imap-file-name-handler)
8261 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8263 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8264 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8265 Add to `tramp-unload-hook'. Change checks, whether package can be
8266 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8268 (tramp-smb-tunnel-method): Make it a defconst.
8269 (tramp-smb-file-name-p): Make it a defsubst.
8270 (tramp-smb-method, tramp-smb-file-name-handler)
8271 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8273 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8274 (tramp-uuencode-region): Set tramp-autoload cookie.
8276 * net/trampver.el (top) Add to `tramp-unload-hook'.
8277 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8278 cookie. Update release number.
8280 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8282 * textmodes/ispell.el (ispell-start-process): Make sure original
8283 arg list is properly initialized (Bug#6993, Bug#6994).
8285 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8287 * files.el (directory-abbrev-alist): Use \` as default regexp.
8289 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8290 chars like - or ] (bug#6984).
8291 (rx-any-condense-range): Explode 2-char ranges.
8293 2010-09-06 Glenn Morris <rgm@gnu.org>
8295 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8297 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8299 * textmodes/bibtex.el:
8300 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8302 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8305 since no callers use it.
8306 (imap-message-get): Ditto.
8307 (imap-message-put): Ditto.
8308 (imap-mailbox-map): Ditto.
8309 (imap-mailbox-put): Ditto.
8310 (imap-mailbox-get): Ditto.
8311 (imap-mailbox-get): Revert last change for this function.
8313 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8316 callers to use `imap-fetch' instead. According to the comments, this
8317 should be safe, since all other IMAP clients use the 1:* syntax.
8318 (imap-enable-exchange-bug-workaround): Remove.
8319 (imap-debug): Remove -- doesn't seem very useful.
8321 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8323 * net/imap.el (imap-log): New convenience function used throughout
8324 instead of repeating the same code all over the place.
8326 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8328 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8329 when mouse-drag-copy-region is non-nil (Bug#6956).
8331 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8333 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8334 Improve regexps (Bug#6987).
8335 (dired-sort-toggle): Search more robustly for -t flag.
8337 * files.el (get-free-disk-space): Search more robustly for
8338 "available" column. Suggested by Ehud Karni
8339 <ehud@unix.mvs.co.il>.
8341 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8343 * international/uni-bidi.el:
8344 * international/uni-category.el:
8345 * international/uni-combining.el:
8346 * international/uni-decimal.el:
8347 * international/uni-mirrored.el:
8348 * international/uni-name.el: Regenerate.
8350 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8352 * electric.el (electric-indent-post-self-insert-function):
8353 Don't reindent with a sloppy indentation function.
8355 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8356 border case in change-log-mode.
8358 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8360 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8361 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8362 Recognize leading tab in gcc-include regexp. Ignore names with
8363 leading "from" or "in" in gnu regexp (Bug#6937).
8365 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8367 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8368 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8369 (ispell-start-process): Avoid setq and simplify logic.
8370 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8371 (kill-buffer-hook): Don't use it globally with code that uses
8372 expand-file-name since that may call kill-buffer via
8373 code_conversion_restore.
8375 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8377 * emacs-lisp/package.el (package-directory-list): Only call
8378 file-name-nondirectory on a string.
8380 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8382 * emacs-lisp/package.el (package--download-one-archive):
8383 Ensure that archive-contents is valid before saving it.
8384 (package-activate-1, package-mark-obsolete, define-package)
8385 (package-compute-transaction, package-list-maybe-add): Use push.
8387 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8389 Use SMIE's blink-paren for octave-mode.
8390 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8391 Backslashes do not escape single-quotes, single-quotes do.
8392 (octave-block-else-regexp, octave-block-end-regexp)
8393 (octave-block-match-alist): Remove.
8394 (octave-smie-bnf-table): New var, with old content.
8395 (octave-smie-op-levels): Use it.
8396 (octave-smie-closer-alist): New var.
8397 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8398 (octave-blink-matching-block-open): Remove.
8399 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8400 (octave-electric-space): Let self-insert-command run expand-abbrev and
8403 * electric.el (electricity): New group.
8404 (electric-indent-chars): New var.
8405 (electric-indent-post-self-insert-function): New fun.
8406 (electric-indent-mode): New minor mode.
8407 (electric-pair-skip-self): New custom.
8408 (electric-pair-post-self-insert-function): New function.
8409 (electric-pair-mode): New minor mode.
8411 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8412 calcAlg-blink-matching-open.
8413 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8414 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8415 Use the new blink-matching-check-function.
8417 Provide blink-matching support to SMIE.
8418 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8419 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8420 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8422 * simple.el (newline): Fix last change to properly remove itself from
8425 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8427 * simple.el (newline): Eliminate optimization.
8428 Use post-self-insert-hook to set hard-newline and things before
8429 running post-self-insert-hook.
8430 (blink-matching-check-mismatch): New function.
8431 (blink-matching-check-function): New variable.
8432 (blink-matching-open): Use them.
8433 Skip back forward over prefix chars skipped by forward-sexp.
8434 Don't check if the parens are backslash escaped.
8435 (blink-paren-post-self-insert-function): Check backslash escaping here.
8437 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8439 * emacs-lisp/package.el (package-menu-mode-map):
8440 Change package-menu-revert bindings to revert-buffer.
8441 (package-menu-mode): Set revert-buffer-function.
8442 (package-menu-revert): Doc fix.
8444 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8446 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8447 `default-directory' unless using Ispell per-directory personal
8448 dictionaries and not in a mini-buffer under XEmacs.
8449 (kill-buffer-hook): Do not kill ispell process on exit when
8450 `ispell-process-directory' is "~/". (Bug#6143)
8452 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8454 * simple.el (kill-new): Call interprogram-cut-function with only
8457 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8458 Remove cut buffer from error message.
8460 * term/x-win.el (x-select-text):
8461 * term/pc-win.el (x-selection-value):
8462 * term/ns-win.el (x-selection-value):
8463 * eshell/em-term.el:
8464 * w32-fns.el (x-get-selection-value):
8465 * mouse-sel.el (mouse-sel-set-selection-function):
8466 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8468 * term/x-win.el: Update documentation for x-last-selected-text-*.
8469 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8470 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8471 (x-select-text): Remove argument PUSH, update documentation.
8472 Remove cut-buffer code.
8473 (x-selection-value-internal): Was previously x-selection-value.
8474 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8475 Update documentation, remove cut-buffer code.
8476 Call x-selection-value-internal.
8477 (x-clipboard-yank): Call x-selection-value-internal.
8478 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8480 * term/pc-win.el (x-last-selected-text):
8481 x-cut-buffer-or-selection-value renamed to x-selection-value
8482 (x-select-text): Remove argument PUSH, update documentation.
8484 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8485 x-cut-buffer-or-selection-value renamed to x-selection-value
8486 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8487 (x-select-text): Remove argument PUSH, update documentation.
8489 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8491 * w32-fns.el (x-last-selected-text):
8492 x-cut-buffer-or-selection-value renamed to x-selection-value.
8493 (x-cut-buffer-max): Remove.
8494 (x-select-text): Remove argument PUSH, update documentation.
8496 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8498 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8500 * mouse-sel.el (mouse-sel-get-selection-function):
8501 x-cut-buffer-or-selection-value renamed to x-selection-value.
8502 (x-select-text): Remove optional push.
8504 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * simple.el (blink-paren-function): Move from C to here.
8507 (blink-paren-post-self-insert-function): New function.
8508 (post-self-insert-hook): Use it.
8510 * emacs-lisp/pcase.el (pcase-split-memq):
8511 Fix overenthusiastic optimisation.
8512 (pcase-u1): Handle the case of a lambda pred.
8514 2010-08-31 Kenichi Handa <handa@m17n.org>
8516 * international/mule-cmds.el (standard-display-european-internal):
8517 Setup standard-display-table for 8-bit characters by storing 8-bit
8518 characters in the element vector.
8520 * disp-table.el (standard-display-8bit):
8521 Setup standard-display-table for 8-bit characters by storing 8-bit
8522 characters in the element vector.
8523 (standard-display-european): Likewise.
8525 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8527 * textmodes/nroff-mode.el (nroff-view): New command.
8528 (nroff-mode-map): Bind it to C-c C-c.
8530 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * emacs-lisp/smie.el (smie-down-list): New command.
8534 Remove old indentation and navigation code on octave-mode.
8535 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8536 smie-down-list rather than add a binding for octave-down-block.
8537 (octave-mark-block, octave-blink-matching-block-open):
8538 Rely on forward-sexp-function.
8539 (octave-fill-paragraph): Don't narrow, so you can use
8540 indent-according-to-mode.
8541 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8542 (octave-in-block-p, octave-re-search-forward-kw)
8543 (octave-re-search-backward-kw, octave-indent-calculate)
8544 (octave-end-as-array-index-p, octave-block-end-offset)
8545 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8546 (octave-down-block, octave-backward-up-block, octave-up-block)
8547 (octave-before-magic-comment-p, octave-indent-line): Remove.
8549 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8551 * emacs-lisp/package.el (package--read-archive-file): Just use
8552 `read', to avoid copying an additional string.
8553 (package-menu-mode): Set header-line-format here.
8554 (package-menu-refresh, package-menu-revert): Signal an error if
8555 not in the Package Menu.
8556 (package-menu-package-list): New var.
8557 (package--generate-package-list): Operate on the current buffer;
8558 don't assume that it is *Packages*, since the user may rename it.
8559 Allow persistent package listings and sort keys using
8560 package-menu-package-list and package-menu-package-sort-key.
8561 (package-menu--version-predicate): Fix version calculation.
8562 (package-menu-sort-by-column): Don't select the window.
8563 (package--list-packages): Create the *Packages* buffer.
8564 Set package-menu-package-list-key.
8565 (list-packages): Sorting by status is now the default.
8566 (package-buffer-info): Use match-string-no-properties.
8567 (define-package): Add a &rest argument for future proofing, but
8569 (package-install-from-buffer, package-install-buffer-internal):
8570 Merge into a single function, package-install-from-buffer.
8571 (package-install-file): Change caller.
8573 * finder.el: Load finder-inf using `require'.
8574 (finder-list-matches): Sorting by status is now the default.
8575 (finder-compile-keywords): Simpify printing.
8577 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8579 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8580 (octave-mode-map): Remove special bindings for forward/backward-block
8581 and octave-backward-up-block. Use smie-close-block.
8582 (octave-continuation-marker-regexp): New var.
8583 (octave-continuation-regexp): Use it.
8584 (octave-operator-table, octave-smie-op-levels)
8585 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8586 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8587 (octave-mode): Use SMIE.
8588 (octave-close-block): Delete.
8590 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8592 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8593 CLIPBOARD, not in PRIMARY. (Bug#6944)
8595 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8599 (smie-indent-column): Allow indirection through variables.
8601 * composite.el (save-buffer-state): Delete, unused.
8602 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8603 (font-lock-default-fontify-region): Use with-syntax-table.
8604 * jit-lock.el (with-buffer-unmodified): Remove.
8605 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8607 Use `declare' in defmacros.
8608 * window.el (save-selected-window):
8609 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8610 * progmodes/python.el (def-python-skeleton):
8611 * net/dbus.el (dbus-ignore-errors):
8612 * jka-cmpr-hook.el (with-auto-compression-mode):
8613 * international/mule.el (with-category-table):
8614 * emacs-lisp/timer.el (with-timeout):
8615 * emacs-lisp/lisp-mnt.el (lm-with-file):
8616 * emacs-lisp/eieio.el (with-slots):
8617 * emacs-lisp/easymenu.el (easy-menu-define):
8618 * emacs-lisp/debug.el (debugger-env-macro):
8619 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8620 (Multiple-value-call, Multiple-value-prog1):
8621 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8622 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8623 edebug rule to definition.
8624 * emacs-lisp/lisp-mode.el (save-selected-window)
8625 (with-current-buffer, combine-after-change-calls)
8626 (with-output-to-string, with-temp-file, with-temp-buffer)
8627 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8628 (dolist, dotimes, when, unless):
8629 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8631 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8633 * finder.el: Require `package'.
8634 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8635 (finder-package-info): Var deleted.
8636 (finder-keywords-hash, finder--builtins-alist): New vars.
8637 (finder-compile-keywords): Compute package--builtins and
8638 finder-keywords-hash instead of finder-keywords-hash, respecting
8639 the "Package" header.
8640 (finder-unknown-keywords, finder-list-matches):
8641 Use finder-keywords-hash and package--list-packages.
8642 (finder-mode): Don't set font-lock-defaults.
8643 (finder-exit): We don't use "*Finder-package*" and "*Finder
8644 Category*" buffers anymore.
8646 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8647 (package--builtins): Set default value to nil.
8648 (package-initialize): Load precomputed value of package--builtins
8650 (package-alist, package-compute-transaction)
8651 (package-download-transaction): Improve docstring.
8652 (package-read-all-archive-contents): Do not change
8653 package--builtins here.
8654 (list-packages): Make package-list-packages an alias for this.
8655 Sort by status by default.
8656 (package--list-packages): Add optional PACKAGES arg.
8657 (describe-package-1): Use font-lock-face property. For built-in
8658 packages, insert file commentary.
8659 (package--generate-package-list): Rename from
8660 package-list-packages-internal; all callers changed. Add optional
8661 PACKAGES arg. Add alphabetical sort fallbacks.
8662 (package-menu--version-predicate, package-menu--status-predicate)
8663 (package-menu--description-predicate)
8664 (package-menu--name-predicate): New functions.
8666 * info.el (Info-finder-find-node): Search package-alist instead of
8667 finder-package-info.
8669 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8671 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8673 (version-to-list): Handle versions like "10.3d".
8675 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8677 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8678 (macroexp-accumulate): Use `declare'.
8680 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8682 * whitespace.el (whitespace-style): Adjust type declaration.
8684 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8686 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8688 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8690 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8693 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8695 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8696 (js-paren-indent-offset, js-square-indent-offset)
8697 (js-curly-indent-offset): New options.
8698 (js--proper-indentation): Use them.
8700 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8702 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8703 instead of inspecting font-lock properties (Bug#6916).
8705 2010-08-26 David Reitter <david.reitter@gmail.com>
8707 * server.el (server-visit-files): Run pre-command-hook and
8708 post-command-hook for each buffer while it is current (Bug#6910).
8709 (server-execute): Do not run hooks here.
8711 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8713 Sync with Tramp 2.1.19.
8715 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8716 Protect deleting tmpfile.
8717 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8719 * net/tramp.el (tramp-handle-expand-file-name)
8720 (tramp-completion-handle-file-name-all-completions)
8721 (tramp-completion-handle-file-name-completion):
8722 Use `tramp-connectable-p'.
8724 * net/trampver.el: Update release number.
8726 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8728 * help.el (help-map): Bind `C-h P' to describe-package.
8730 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8732 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8733 when downloading archives.
8734 (describe-package-1): Add package commentary.
8735 (package-install-button-action): New function.
8736 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8737 (package-menu-view-commentary): Function removed.
8738 (package-list-packages-internal): Hide the `package' package too.
8740 2010-08-25 Kenichi Handa <handa@m17n.org>
8742 * language/misc-lang.el ("Arabic"): New language environment.
8743 Setup composition-function-table for Arabic characters.
8745 * international/fontset.el (setup-default-fontset): Fix typo for
8746 arabic OTF spec (fini->fina).
8748 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8750 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8753 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8755 * whitespace.el: Allow cleaning up blanks without blank
8756 visualization (Bug#6651). Adjust help window for
8757 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8758 instead of whitespace-line-column (from EmacsWiki). New version
8760 (whitespace-style): Add new value 'face. Adjust docstring.
8761 (whitespace-space, whitespace-hspace, whitespace-tab):
8762 Adjust foreground property face.
8763 (whitespace-line-column): Adjust docstring and type declaration.
8764 (whitespace-style-value-list, whitespace-toggle-option-alist)
8765 (whitespace-help-text): Adjust const initialization.
8766 (whitespace-toggle-options, global-whitespace-toggle-options):
8768 (whitespace-display-window, whitespace-interactive-char)
8769 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8770 (whitespace-help-scroll): New fun.
8772 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8774 * emacs-lisp/package.el (list-packages): Alias for
8775 package-list-packages.
8777 2010-08-24 Kevin Ryde <user42@zip.com.au>
8779 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8782 * progmodes/ruby-mode.el (ruby): Add defgroup.
8784 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8786 * progmodes/python.el: Add Ipython support (Bug#5390).
8787 (python-shell-prompt-alist)
8788 (python-shell-continuation-prompt-alist): New options.
8789 (python--set-prompt-regexp): New function.
8790 (inferior-python-mode, run-python, python-shell):
8791 Require ansi-color. Use python--set-prompt-regexp to set the comint
8792 prompt based on the Python interpreter.
8793 (python--prompt-regexp): New var.
8794 (python-check-comint-prompt)
8795 (python-comint-output-filter-function): Use it.
8796 (run-python): Use a pipe (Bug#5694).
8798 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8800 * progmodes/python.el (python-send-region): Send a different
8801 Python command if Ipython is in use.
8802 (python-check-version): Use a Python command to find the version.
8804 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8806 * mouse.el (mouse-yank-primary): Avoid setting primary when
8807 deactivating the mark (Bug#6872).
8809 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8811 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8812 with "else" (Bug#3991).
8814 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8816 * net/dbus.el: Accept UNIX domain sockets as bus address.
8817 (top): Don't initialize `dbus-registered-objects-table' anymore,
8818 this is done in dbusbind.c.
8819 (dbus-check-event): Adapt test for bus.
8820 (dbus-return-values-table, dbus-unregister-service)
8821 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8824 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8826 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8828 2010-08-22 Juri Linkov <juri@jurta.org>
8830 * simple.el (read-extended-command): New function with the logic
8831 for `completing-read' moved to Elisp from `execute-extended-command'.
8832 Use `function-called-at-point' in `minibuffer-default-add-function'
8833 to get a command name for M-n (bug#5364, bug#5214).
8835 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8837 * startup.el (command-line-1): Issue warning for ignored arguments
8838 --unibyte, etc (Bug#6886).
8840 2010-08-22 Leo <sdl.web@gmail.com>
8842 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8843 (ignore, bright, dim, keyword): Split list of nicknames before
8844 passing to rcirc-add-or-remove (Bug#6894).
8846 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8848 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8850 2010-08-22 Leo <sdl.web@gmail.com>
8852 Fix buffer-list rename&refresh after killing a buffer in ido.
8853 * ido.el: Revert Óscar's.
8854 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8855 Remember the buffers at head, rather than their name.
8856 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8858 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8859 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8862 extra backslash added to each line (bug#6890).
8864 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8866 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8868 2010-08-22 Glenn Morris <rgm@gnu.org>
8870 * menu-bar.el (menu-bar-games-menu): Add landmark.
8872 2010-08-22 Glenn Morris <rgm@gnu.org>
8874 * align.el (align-regexp): Make group and spacing arguments
8875 use the interactive defaults when non-interactive. (Bug#6698)
8877 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8878 expansion, so as not to need sendmail.
8879 (mail-text-start): Remove declaration.
8880 (rmail-retry-failure): Require sendmail.
8882 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8884 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8886 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8888 * progmodes/flymake.el (flymake-start-syntax-check-process):
8889 Use `start-file-process' in order to let it run also on remote hosts.
8891 2010-08-22 Kenichi Handa <handa@m17n.org>
8893 * files.el: Add `word-wrap' as safe local variable.
8895 2010-08-22 Glenn Morris <rgm@gnu.org>
8897 * woman.el (woman-translate): Case matters. (Bug#6849)
8899 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8901 * simple.el (kill-region): Doc fix (Bug#6787).
8903 2010-08-22 Glenn Morris <rgm@gnu.org>
8905 * calendar/diary-lib.el (diary-header-line-format):
8906 Fit it to the window, not the frame.
8908 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8910 * subr.el (ignore-errors): Add debug declaration.
8912 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8914 * whitespace.el (whitespace-color-off): Remove post-command-hook
8917 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8921 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8923 * cus-edit.el (custom-group-value-create): Add extra newline
8924 before end line (Bug#6876).
8926 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8928 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8929 when extending it. Before killing on the second click, check if
8930 the buffer is the correct one. Doc fix.
8931 (mouse-secondary-save-then-kill): Allow usage without first
8932 calling mouse-start-secondary, by defaulting to point. Don't save
8933 an empty secondary selection. Doc fix.
8935 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8937 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8938 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8940 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8941 Adjust initialization.
8942 (whitespace-bob-marker, whitespace-eob-marker)
8943 (whitespace-buffer-changed): New vars.
8944 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8945 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8946 (whitespace-post-command-hook, whitespace-display-char-on):
8948 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8949 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8951 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * files.el (locate-file-completion-table): Only list the .el and .elc
8954 extensions if there's no other choice (bug#5955).
8956 * facemenu.el (facemenu-self-insert-data): New var.
8957 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8959 (facemenu-add-face): Use them.
8961 * simple.el (blink-matching-open): Obey forward-sexp-function.
8963 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * simple.el (prog-mode-map): New var.
8966 (prog-indent-sexp): New command.
8968 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8970 * progmodes/prolog.el (smie): Require.
8972 * emacs-lisp/smie.el (smie-default-backward-token)
8973 (smie-default-forward-token): Strip properties.
8974 (smie-next-sexp): Be more careful with associative operators.
8975 (smie-forward-sexp-command): Generalize.
8976 (smie-backward-sexp-command): Simplify.
8977 (smie-closer-alist): New var.
8978 (smie-close-block): New command.
8979 (smie-indent-debug-log): New var.
8980 (smie-indent-offset-rule): Add a few more cases.
8981 (smie-indent-column): New function.
8982 (smie-indent-after-keyword): Use it.
8983 (smie-indent-keyword): Use it.
8984 Fix up the opener code's point position.
8985 (smie-indent-comment): Only applies at BOL.
8986 (smie-indent-debug): New command.
8988 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8989 declarations that are useful before running the macro.
8991 2010-08-18 Joakim Verona <joakim@verona.se>
8993 * image.el (imagemagick-types-inhibit): New variable.
8994 (imagemagick-register-types): New function.
8995 * image-mode.el (image-transform-properties): New function.
8996 (image-transform-set-scale, image-transform-fit-to-height)
8997 (image-transform-set-rotation, image-transform-set-resize)
8998 (image-transform-fit-to-width, image-transform-fit-to-height):
9000 (image-toggle-display-image): Support image transforms.
9002 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
9004 * image.el (create-animated-image): Don't add heuristic mask to image
9007 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
9009 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
9010 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
9012 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
9016 Font-lock '...' strings, plus various simplifications and fixes.
9017 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
9018 (octave-font-lock-close-quotes): New function.
9019 (octave-font-lock-syntactic-keywords): New var.
9020 (octave-mode): Use it. Set beginning-of-defun-function.
9021 (octave-mode-map): Don't override the <foo>-defun commands.
9022 (octave-mode-menu): Pass it directly to easy-menu-define;
9023 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
9024 (octave-block-match-alist): Fix up last change so that
9025 octave-close-block uses the more specific keyword.
9026 (info-lookup-mode): Silence byte-compiler.
9027 (octave-beginning-of-defun): Not interactive any more.
9029 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9030 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9031 (octave-completion-at-point-function): Make sure point is within
9033 (octave-reindent-then-newline-and-indent):
9034 Use reindent-then-newline-and-indent.
9035 (octave-add-octave-menu): Remove.
9037 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9039 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9040 (report-emacs-bug-can-use-xdg-email): New functions.
9041 (report-emacs-bug): Set can-xdg-email to result of
9042 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9043 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9046 * net/browse-url.el (browse-url-default-browser): Add cond
9047 for browse-url-xdg-open.
9048 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9050 2010-08-17 Glenn Morris <rgm@gnu.org>
9052 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9053 (c-fontify-recorded-types-and-refs): Define for compiler.
9054 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9057 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9060 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9062 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9064 (tramp-handle-process-file): Call the program in a subshell, in
9065 order to preserve working directory.
9066 (tramp-action-password): Hide password prompt before next run.
9067 (tramp-process-actions): Widen connection buffer for the trace.
9069 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9071 * net/rcirc.el (rcirc-log-process-buffers): New option.
9072 (rcirc-print): Use it.
9073 (rcirc-generate-log-filename): New function.
9074 (rcirc-log-filename-function): Change default to
9075 rcirc-generate-log-filename (Bug#6828).
9077 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9079 * simple.el (deactivate-mark): If select-active-regions is `only',
9080 only set selection for temporarily active regions.
9082 * cus-start.el: Change defcustom for select-active-regions.
9084 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9086 * mouse.el (mouse--drag-set-mark-and-point): New function.
9087 (mouse-drag-track): Use LOCATION arg to push-mark.
9088 Use mouse--drag-set-mark-and-point to take click-count into
9089 consideration when updating point and mark (Bug#6840).
9091 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9093 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9094 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9096 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9098 * font-lock.el (lisp-font-lock-keywords-2):
9099 Add combine-after-change-calls, condition-case-no-debug,
9100 with-demoted-errors, and with-silent-modifications (Bug#6025).
9102 2010-08-14 Kevin Ryde <user42@zip.com.au>
9104 * emacs-lisp/copyright.el (copyright-update-year)
9105 (copyright-update): Temporary switch-to-buffer to ensure the
9106 buffer change being queried is visible (Bug#5394).
9108 2010-08-14 Tom Tromey <tromey@redhat.com>
9110 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9113 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9115 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9118 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9120 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9121 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9122 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9123 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9124 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9125 Call menu-bar-set-tool-bar-position.
9127 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9129 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9130 comment style (bug#6834).
9131 * progmodes/scheme.el (scheme-mode-syntax-table):
9132 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9133 "b" flag in "' 14b" syntax.
9135 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9136 for (un)commenting the region and performing completion.
9137 (octave-mode-menu): Use standard commands for help and completion.
9138 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9139 (octave-mode): Use define-derived-mode.
9140 Set completion-at-point-functions and don't set columns.
9141 Don't disable adaptive-fill-regexp.
9142 (octave-describe-major-mode, octave-comment-region)
9143 (octave-uncomment-region, octave-comment-indent)
9144 (octave-indent-for-comment): Remove.
9145 (octave-indent-calculate): Rename from calculate-octave-indent.
9146 (octave-indent-line, octave-fill-paragraph): Update caller.
9147 (octave-initialize-completions): No need to make an alist.
9148 (octave-completion-at-point-function): New function.
9149 (octave-complete-symbol): Use it.
9150 (octave-insert-defun): Use define-skeleton.
9152 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9153 (octave-mode-map): Use comment-dwim (bug#6829).
9155 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9157 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9158 indentation of inserted comment.
9160 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9162 * faces.el (region): Add type gtk that uses gtk colors.
9164 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9165 Handle theme-name change.
9167 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9169 * progmodes/sql.el: Version 2.5
9170 (sql-product-alist): Add :prompt-cont-regexp property for several
9172 (sql-prompt-cont-regexp): New variable.
9173 (sql-output-newline-count, sql-output-by-send):
9174 New variables. Record number of newlines in input text.
9175 (sql-send-string): Handle multiple filters and count newlines.
9176 (sql-send-magic-terminator): Count terminator newline.
9177 (sql-interactive-remove-continuation-prompt): Filters output to
9178 remove continuation prompts; one for each newline.
9179 (sql-interactive-mode): Set up new variables, prompt regexp and
9181 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9182 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9184 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * emacs-lisp/pcase.el: New file.
9188 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9190 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9191 as here-document, otherwise the command could exceed maximum
9192 length of command line.
9193 (tramp-handle-vc-registered): Call script accordingly.
9194 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9196 2010-08-10 Kenichi Handa <handa@m17n.org>
9198 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9201 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9203 * emacs-lisp/package.el (package-version-split)
9204 (package--version-first-nonzero, package-version-compare):
9206 (package-directory-list, package-load-all-descriptors)
9207 (package--built-in, package-activate, define-package)
9208 (package-installed-p, package-compute-transaction)
9209 (package-read-all-archive-contents)
9210 (package--add-to-archive-contents, package-buffer-info)
9211 (package-tar-file-info, package-list-packages-internal):
9212 Use version-to-list and version-list-*.
9214 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9215 Use version-to-list.
9216 (package-upload-buffer-internal): Use version-list-<=.
9218 2010-08-09 Kenichi Handa <handa@m17n.org>
9220 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9223 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9225 * tutorial.el (tutorial--default-keys): C-d is now bound to
9226 delete-forward-char (Bug#6826).
9228 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9229 for `double' value of mouse-1-click-follows-link (Bug#6807).
9231 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9233 * replace.el (replace-highlight): Bind isearch-forward and
9234 isearch-error, ensuring that highlighting is updated if the user
9235 switches the search direction (Bug#6808).
9237 * isearch.el (isearch-lazy-highlight-forward): New var.
9238 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9239 (isearch-lazy-highlight-update): Use it.
9241 2010-08-08 Kenichi Handa <handa@m17n.org>
9243 * international/mule.el (define-charset): Store NAME as :base property.
9244 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9245 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9246 current priority. Force using the designation of the specific
9247 charset by adding `charset' text property. Improve the whole algorithm.
9249 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9251 * emulation/pc-select.el (pc-selection-mode-hook)
9252 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9253 (pc-selection-mode): Fix typos in docstrings.
9255 2010-08-08 Kenichi Handa <handa@m17n.org>
9257 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9258 ctext-non-standard-encodings-alist here.
9260 * international/mule.el (ctext-non-standard-encodings-alist):
9261 Add "koi8-r" and "microsoft-cp1251".
9262 (ctext-standard-encodings): New variable.
9263 (ctext-non-standard-encodings-table): List only elements for
9264 non-standard encodings.
9265 (ctext-pre-write-conversion): Adjust for the above change.
9266 Check ctext-standard-encodings.
9268 * international/mule-conf.el (compound-text): Doc fix.
9269 (ctext-no-compositions): Doc fix.
9270 (compound-text-with-extensions): Doc fix.
9272 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9276 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9278 * progmodes/which-func.el (which-func-format): Split help-echo text
9279 into lines, like other mode-line tooltips.
9281 * server.el (server-start): When using TCP sockets, force IPv4
9282 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9284 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9286 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9288 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9290 * term.el (term-delimiter-argument-list): Reflow docstring.
9291 (term-read-input-ring, term-write-input-ring, term-send-input)
9292 (term-bol, term-erase-in-display, serial-supported-or-barf):
9293 Fix typos in docstrings.
9295 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9297 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9299 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9301 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9303 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9305 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9306 Fix typo in docstring (bug#6747).
9308 2010-08-08 Leo <sdl.web@gmail.com>
9310 * eshell/esh-io.el (eshell-get-target): Better detection of
9311 read-only file (Bug#6762).
9313 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9315 * align.el (align-default-spacing): Doc fix.
9316 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9318 2010-08-08 Stephen Peters <speters@itasoftware.com>
9320 * calendar/icalendar.el
9321 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9322 (icalendar--get-weekday-numbers): New.
9323 (icalendar--convert-recurring-to-diary): Handle multiple byday
9324 values in weekly rules. (Bug#6766)
9326 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9328 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9329 (icalendar--create-uid, icalendar-export-region)
9330 (icalendar--parse-summary-and-rest): Code formatting.
9332 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9334 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9335 to italicize headers.
9336 (calc-highlight-selections-with-faces): New variable.
9337 (calc-selected-face, calc-nonselected-face): New faces.
9339 * calc/calccomp.el (math-comp-highlight-string): Use
9340 `calc-highlight-selections-with-faces' to determine how to highlight
9343 * calc/calc-sel.el (calc-show-selections): Change message to when
9344 using faces to highlight selections.
9346 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9348 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9349 Add SQLite 3 keywords, functions and datatypes.
9350 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9353 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9355 * simple.el (select-active-regions): Move to keyboard.c.
9356 (deactivate-mark): Used saved-region-selection.
9357 (select-active-region): Function removed.
9358 (activate-mark, set-mark, push-mark-command)
9359 (handle-shift-selection): Don't call it.
9360 (keyboard-quit): Avoid adding the region to the window selection.
9362 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9363 select-active-regions implementation.
9364 (mouse-yank-at-click): Doc fix.
9366 * cus-start.el: Add custom declaration for select-active-regions.
9368 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9370 * simple.el (delete-forward-char): Doc fix.
9372 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9373 after reading the tutorial.
9375 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9377 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9378 Fix for the case that a C style comment has its delimiters alone on
9379 their respective lines. (Bug#193)
9381 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9383 * net/tramp.el (tramp-handle-start-file-process): Set connection
9385 (tramp-process-sentinel): Use it for flushing the cache.
9386 We cannot do it via the process buffer, the buffer could be deleted
9387 already when running the sentinel.
9389 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9391 * comint.el (comint-mode): Make directory tracking functions
9392 functional on remote files. (Bug#6764)
9394 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9396 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9398 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9400 * emacs-lisp/find-gc.el (find-gc-source-files):
9401 Rename unexec.c => unexcoff.c.
9403 * emacs-lisp/authors.el (authors-fixed-entries):
9404 Rename unexec.c => unexcoff.c.
9406 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9408 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9409 cache, not only file cache.
9410 (tramp-process-sentinel): New defun.
9411 (tramp-handle-start-file-process): Use it, in order to invalidate
9414 2010-08-03 Leo <sdl.web@gmail.com>
9416 * server.el (server-start): Simplify loop.
9418 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * frame.el (screen-height, screen-width, set-screen-width)
9421 (set-screen-height): Remove ancient compatibility aliases.
9423 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9424 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9426 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9427 that change current buffer.
9429 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9431 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9432 beginning of the string. Use `string-match-p'. (Bug#6765)
9434 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9436 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9438 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9440 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9441 (package--builtins): Tweak descriptions.
9442 (package-print-package): Upcase descriptions if necessary.
9443 Show all built-in packages in font-lock-builtin-face.
9444 (package-list-packages-internal): Omit "emacs" package.
9445 Show status of built-in packages as "built-in".
9447 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9449 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9450 before killing to preserve the primary selection (Bug#6701).
9452 * term/x-win.el (x-select-text): Doc fix.
9454 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9456 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9457 (objc-font-lock-extra-types):
9458 * progmodes/cc-mode.el (c-basic-common-init):
9459 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9460 (c++-make-template-syntax-table)
9461 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9462 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9463 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9464 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9465 * progmodes/cc-fonts.el (c-make-inverse-face)
9466 (c-basic-matchers-after):
9467 * progmodes/cc-engine.el (c-forward-keyword-clause)
9468 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9469 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9470 (c-guess-continued-construct, c-guess-basic-syntax):
9471 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9472 The above functions were modified or created.
9474 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9476 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9478 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9480 * files.el (bidi-paragraph-direction): Define safe local values.
9482 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9483 language-info-alist. Remove outdated FIXME in a comment.
9485 2010-07-31 Alan Mackenzie <acm@muc.de>
9487 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9488 Auto-fill broken in C/C++ modes.
9490 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9492 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9493 (menu-bar-showhide-tool-bar-menu-customize-disable)
9494 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9495 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9496 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9497 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9498 make a menu for Options => toolbar that can move it.
9500 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9502 * emacs-lisp/package-x.el (package--make-rss-entry):
9503 (package-maint-add-news-item, package--update-news)
9504 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9506 * emacs-lisp/package.el (package-archive-url): Rename from
9508 (package-install): Doc fix.
9509 (package-download-single, package-download-tar, package-install)
9510 (package-menu-view-commentary): Callers changed.
9512 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9514 * net/tramp.el (tramp-handle-start-file-process): Check only for
9515 `remote-tty' process property.
9516 (tramp-open-shell): Don't check for tty.
9517 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9520 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9523 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9525 * emacs-lisp/package.el (package-load-list, package-archives)
9526 (package-archive-contents, package-user-dir)
9527 (package-directory-list, package--builtins, package-alist)
9528 (package-activated-list, package-obsolete-alist): Mark as risky.
9530 2010-07-28 Phil Hagelberg <phil@evri.com>
9532 Add support for non-default package repositories.
9533 * emacs-lisp/package.el (package-archive-base): Var deleted.
9534 (package-archives): New variable.
9535 (package-archive-contents): Doc fix.
9536 (package-load-descriptor): Do nothing if descriptor file is missing.
9537 (package--write-file-no-coding): New function.
9538 (package-unpack-single): Use it.
9539 (package-archive-id): New function.
9540 (package-download-single, package-download-tar)
9541 (package-menu-view-commentary): Use it.
9542 (package-installed-p): Make second argument optional.
9543 (package-read-all-archive-contents): New function.
9544 (package-initialize): Use it.
9545 (package-read-archive-contents): Add ARCHIVE argument.
9546 (package--add-to-archive-contents): New function.
9547 (package-install): Don't call package-read-archive-contents.
9548 (package--download-one-archive): Store archive file in a
9549 subdirectory of package-user-dir.
9550 (package-menu-execute): Remove spurious line movement.
9552 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9554 * cus-start.el (tool-bar-style): Add text-image-horiz.
9556 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9558 * progmodes/gud.el (gud-common-init): Check for remoteness of
9559 `file', and not of `default-directory'.
9561 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9563 * net/tramp.el (tramp-methods): Move hostname to the end in all
9564 ssh `tramp-login-args'.
9565 (tramp-verbose): Describe verbose level 9.
9566 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9567 (tramp-open-connection-setup-interactive-shell): Trace stty
9568 settings if `tramp-verbose' >= 9.
9569 (tramp-handle-start-file-process): Implement tty setting.
9570 (Bug#4604, Bug#6360)
9572 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9573 `tramp-verbose' to 9.
9575 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9577 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9578 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9579 Remove references to package `lisp-re' (bug#4369).
9581 2010-07-27 Tom Tromey <tromey@redhat.com>
9583 * progmodes/js.el (js-mode):
9584 * progmodes/make-mode.el (makefile-mode):
9585 * progmodes/simula.el (simula-mode):
9586 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9588 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9590 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9592 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9593 (display-time-world-buffer-name, display-time-world-mode-map):
9594 Fix typos in docstrings.
9596 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9598 * image-mode.el (image-display-size): New function.
9599 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9600 (image-mode-fit-frame): Use it (Bug#6639).
9602 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9604 * dired.el (dired-buffers-for-dir): Handle list values of
9605 dired-directory (Bug#6636).
9607 2010-07-26 Sam Steingold <sds@gnu.org>
9609 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9610 Do not call `x-get-selection' the second time, reuse the value.
9612 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9614 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9615 which consist of control chars only. Suggested by Richard Stallman.
9617 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9619 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9620 exists before passing an error to find-file-not-found-functions
9623 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9625 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9626 Remove leading nil element, adjust values.
9627 (tetris-shapes, tetris-shape-scores):
9628 Change representation of shapes and remove some redundancy.
9629 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9630 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9631 Adjust for working with new representation of shapes.
9632 (tetris-shape-rotations): New function.
9633 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9634 (tetris-rotate-prev, tetris-rotate-next):
9635 Adjust for working with the new version of tetris-test-shape.
9637 2010-07-23 Markus Triska <markus.triska@gmx.at>
9639 * progmodes/ps-mode.el: Use comint (bug#5954).
9640 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9641 (ps-mode-other-newline): Simplify.
9642 (ps-run-mode): Derive from comint-mode instead of
9643 fundamental-mode, yielding input history etc.
9644 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9645 (ps-run-send-string): Adapt for comint-mode.
9646 (ps-run-newline): Remove now unneeded function.
9648 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9650 * net/tramp.el (tramp-methods): Move hostname to the end in all
9651 plink `tramp-login-args'.
9653 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9655 * net/tramp.el (tramp-open-shell): New defun.
9656 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9659 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9661 * net/tramp.el (tramp-file-name-regexp-unified)
9662 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9663 not regard the volume letter as remote filename. (Bug#5447)
9665 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9667 * custom.el (custom-declare-variable): Give a clearer error message
9668 when the docstring is missing (bug#6476).
9670 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9672 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9673 (sql-login-params): New widget definition.
9674 (sql-oracle-login-params, sql-mysql-login-params)
9675 (sql-solid-login-params, sql-sybase-login-params)
9676 (sql-informix-login-params, sql-ingres-login-params)
9677 (sql-ms-login-params, sql-postgres-login-params)
9678 (sql-interbase-login-params, sql-db2-login-params)
9679 (sql-linter-login-params): Use it.
9680 (sql-sqlite-login-params): Use it; Define "database" parameter as
9682 (sql-sqlite-program): Change to "sqlite3".
9683 (sql-comint-sqlite): Make sure database name is complete.
9684 (sql-for-each-login): New function.
9685 (sql-connect, sql-save-connection): Use it.
9686 (sql-get-login-ext): New function.
9687 (sql-get-login): Use it.
9688 (sql-make-alternate-buffer-name): Handle :file parameters.
9690 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9692 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9693 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9695 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9697 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9699 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9701 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9703 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9705 * net/tramp.el (tramp-get-ls-command)
9706 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9709 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9711 * progmodes/sql.el: Version 2.3.
9712 (sql-connection-alist): Change keys from symbols to strings;
9713 enhanced the widget definition.
9714 (sql-mode-menu): Add submenu to select connections.
9715 (sql-interactive-mode-menu): Add "Save Connection" item.
9716 (sql-add-product): Fix menu item.
9717 (sql-get-product-feature): Improved error handling.
9718 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9719 (sql-make-alternate-buffer-name): Simplified.
9720 (sql-product-interactive): Handle missing product.
9721 (sql-connect): Support string keys, minor improvements.
9722 (sql-save-connection): New function.
9723 (sql-connection-menu-filter): New function.
9725 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9727 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9728 (tramp-open-connection-setup-interactive-shell):
9729 Apply workaround for IRIX64 bug. Move argument of last
9730 `tramp-send-command' where it belongs to.
9732 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9734 * net/tramp.el (tramp-perl-file-attributes)
9735 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9736 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9737 front of `login-args'.
9739 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9741 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9742 Set `show-trailing-whitespace' to nil.
9743 (display-time-world-display): Simplify.
9745 2010-07-18 Alan Mackenzie <acm@muc.de>
9747 Enhance `c-file-style' in file/directory local variables.
9748 * progmodes/cc-mode.el (c-count-cfss): New function.
9749 (c-before-hack-hook): Call `c-set-style' differently according to
9750 whether c-file-style was set in file or directory local
9753 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9755 * progmodes/sql.el: Version 2.2.
9756 (sql-product, sql-user, sql-database, sql-server, sql-port):
9757 Use defcustom :safe keyword rather than putting safe-local-variable
9759 (sql-password): Use defcustom :risky keyword rather than putting
9760 risky-local-variable property.
9761 (sql-oracle-login-params, sql-sqlite-login-params)
9762 (sql-solid-login-params, sql-sybase-login-params)
9763 (sql-informix-login-params, sql-ingres-login-params)
9764 (sql-ms-login-params, sql-postgres-login-params)
9765 (sql-interbase-login-params, sql-db2-login-params)
9766 (sql-linter-login-params): Add `port' option.
9767 (sql-get-product-feature): Add NO-INDIRECT parameter.
9768 (sql-comint-oracle, sql-comint-sybase)
9769 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9770 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9771 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9772 (sql-comint-linter): Rename sql-connect-* functions to
9774 (sql-product-alist, sql-mode-menu): Rename as above and
9775 :sqli-connect-func to :sqli-comint-func.
9776 (sql-connection): New variable.
9777 (sql-interactive-mode): Set it.
9778 (sql-connection-alist): New variable.
9779 (sql-connect): New function.
9780 (sql--alt-buffer-part, sql--alt-if-not-empty)
9781 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9783 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9785 * image-mode.el (image-bookmark-make-record): Do not set context
9786 in an image (Bug#6650).
9788 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9790 * simple.el (select-active-region): New function.
9791 (push-mark-command, set-mark, activate-mark)
9792 (handle-shift-selection): Use it.
9793 (deactivate-mark): Don't check for size of region.
9795 * mouse.el (mouse-drag-track): Use select-active-region.
9797 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9799 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9802 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9804 * term/x-win.el (x-select-enable-primary): Change default to nil.
9805 (x-select-enable-clipboard): Add :version keyword.
9807 * mouse.el (mouse-drag-copy-region):
9808 * simple.el (select-active-regions): Likewise.
9810 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9812 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9813 (vc-coding-system-for-diff): Use it to decide whether to inherit
9814 from the file the EOL format for reading the diffs of that file.
9817 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9819 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9820 unibyte, so compressed attachments are not compressed again.
9822 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9824 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9825 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9826 (tramp-find-shell): Simplify setting connection property.
9827 (tramp-get-ls-command): Make test for "--color=never" stronger.
9829 2010-07-15 Simon South <ssouth@member.fsf.org>
9831 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9832 blocks within record declarations (i.e. variant parts) correctly.
9834 2010-07-15 Simon South <ssouth@member.fsf.org>
9836 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9837 over literal tokens when parsing so newlines aren't "absorbed" by
9838 single-line comments. Corrects the indentation of case blocks
9839 that have a comment on the first line.
9841 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9843 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9844 by Drew Adams (Bug#5504).
9846 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9848 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9849 now that Unicode is used (Bug#6594).
9851 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9853 * term/x-win.el (x-select-enable-clipboard): Default to t.
9854 (x-initialize-window-system): Don't overwrite Paste menu item.
9856 * simple.el (select-active-regions): Default to t.
9857 (push-mark-command): Don't overwrite primary with empty string.
9859 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9860 (mouse-drag-copy-region): Default to nil.
9862 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9863 Cut/Copy/Paste menu bar items.
9865 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9867 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9868 Patch applied by Karl Fogel.
9870 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9871 and `bookmark-current-buffer' if they have been already set in
9872 another buffer (e.g gnus-art).
9874 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9875 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9877 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9879 * bookmark.el (bookmark-make-record-default): Allow unneeded
9880 information to be omitted from the record.
9882 Adjust declarations and calls:
9884 * info.el (bookmark-make-record-default): Adjust declaration.
9885 (Info-bookmark-make-record): Adjust call.
9887 * woman.el (bookmark-make-record-default): Adjust declaration.
9888 (woman-bookmark-make-record): Adjust call.
9890 * man.el (bookmark-make-record-default): Adjust declaration.
9891 (Man-bookmark-make-record): Adjust call.
9893 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9895 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9897 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9899 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9900 This is also from Thierry Volpiatto's patch in bug #6444. However,
9901 because it was extraneous to the functional change in that patch,
9902 and causes a re-indendation, I am committing it separately.
9904 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9906 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9907 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9908 Patch applied by Karl Fogel (Bug#6444).
9910 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9912 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9914 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9916 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9917 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9918 (ns-alternatives-map): Change S-tab binding to backtab
9921 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9924 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9926 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9929 * language/tv-util.el (tai-viet-re): Remove format.
9931 2010-07-12 Kenichi Handa <handa@m17n.org>
9933 * language/hebrew.el: Remove no-byte-compile declaration.
9934 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9935 composition-function-table for 3-character looking back.
9936 (hebrew-font-get-precomposed): New function.
9937 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9939 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9941 * mouse.el (mouse-drag-track): Handle select-active-regions
9944 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9946 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9947 empty argument to gvfs-copy.
9949 2010-07-10 Glenn Morris <rgm@gnu.org>
9951 * calendar/calendar.el (calendar-week-end-day): New function.
9952 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9953 Respect calendar-week-start-day. (Bug#6606)
9954 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9955 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9956 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9957 respect calendar-week-start-day.
9959 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9961 * simple.el (use-region-p): Doc fix (Bug#6607).
9963 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9966 Add regexps for cucumber and ruby.
9968 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9970 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9971 (epa-file-insert-file-contents): Hack to prevent
9972 find-file from opening empty buffer when decryption failed
9975 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9977 * textmodes/ispell.el (ispell-alternate-dictionary):
9978 Use file-readable-p.
9979 Return nil if no word-list is found at default locations.
9980 (ispell-complete-word-dict): Default to nil.
9981 (ispell-command-loop): Use 'word-list' when using lookup-words.
9982 (lookup-words): Use ispell-complete-word-dict or
9983 ispell-alternate-dictionary. Check for word-list availability
9984 and handle errors if needed with better messages (Bug#6539).
9985 (ispell-complete-word): Use ispell-complete-word-dict or
9986 ispell-alternate-dictionary.
9988 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9990 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9991 builtins (BufferError, BytesWarning, WindowsError; callables
9992 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9994 2010-07-07 Glenn Morris <rgm@gnu.org>
9996 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9997 (zone-shift-left): Ignore intangibility, and any errors from
9999 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
10000 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
10001 deleting, and copying text properties.
10002 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
10003 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
10004 to point-max is hard.
10005 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
10006 (zone-fill-out-screen): Ignore intangibility.
10008 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
10010 * menu-bar.el (menu-bar-mode):
10011 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
10012 if it has been set.
10014 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
10015 word/line selection (Bug#6565).
10017 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
10019 * net/dbus.el (dbus-send-signal): Declare function.
10021 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
10023 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
10024 (dbus-register-property): New optional argument EMITS-SIGNAL.
10025 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
10027 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
10029 * mouse.el (mouse-drag-overlay): Variable deleted.
10030 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10031 (mouse--remap-link-click-p): New function.
10032 (mouse-drag-track): Handle dragging by using temporary Transient
10033 Mark mode, instead of a special overlay.
10034 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10037 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10040 2010-07-02 Juri Linkov <juri@jurta.org>
10042 * autoinsert.el (auto-insert-alist): Fix readability
10043 by using dotted pair notation for lambda.
10045 2010-07-02 Juri Linkov <juri@jurta.org>
10047 * faces.el (read-face-name): Rename arg `string-describing-default'
10048 to `default'. Doc fix. Display the default value in quotes
10049 in the prompt. With empty input, return the `default' arg,
10050 unless the default value is a string (in which case return nil).
10051 (describe-face): Replace the string `default' arg of `read-face-name'
10052 with the symbol `default'.
10054 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10056 * emulation/viper-cmd.el (viper-delete-backward-char)
10057 (viper-del-backward-char-in-insert)
10058 (viper-del-backward-char-in-replace, viper-change)
10059 (viper-backward-indent): Replace delete-backward-char with
10060 delete-char (Bug#6552).
10062 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10064 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10066 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10068 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10069 argument passed to frame-creation-function (Bug#5378).
10071 * faces.el (x-handle-named-frame-geometry)
10072 (x-handle-reverse-video, x-create-frame-with-faces)
10073 (face-set-after-frame-default, tty-create-frame-with-faces):
10074 Don't separately consult default-frame-alist. It is now passed as the
10075 PARAMETER argument.
10077 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10079 * startup.el (command-line): Don't call tool-bar-setup in a
10082 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10084 * ruler-mode.el (ruler--save-header-line-format): New fun.
10085 (ruler-mode): Use it as a setter function, so as not to overwrite
10086 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10088 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10090 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10091 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10092 (vc-log-outgoing): Use it.
10093 (vc-diff-internal): Set diff-vc-backend.
10095 * vc/diff-mode.el (diff-vc-backend): New var.
10097 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10099 * dynamic-setting.el (font-setting-change-default-font):
10100 Remove call to message.
10102 2010-06-28 Kenichi Handa <handa@m17n.org>
10104 * international/quail.el (quail-insert-kbd-layout): Fix the
10105 showing of untranslated characters.
10107 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10109 * simple.el (delete-active-region): New option.
10110 (delete-backward-char): Implement in Lisp.
10111 (delete-forward-char): New command.
10113 * mouse.el (mouse-region-delete-keys): Delete.
10114 (mouse-show-mark): Simplify.
10116 * bindings.el (global-map): Bind delete and DEL, the former to
10117 delete-forward-char.
10119 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10121 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10122 (ruby-mode): Bind indent-line-function (Bug#5119).
10124 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10126 * startup.el (command-line): Recognize "0" X resource value.
10128 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10130 * startup.el (command-line): Use X resources to set the value of
10131 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10133 * menu-bar.el (menu-bar-mode):
10134 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10135 Set init-value to t.
10137 * frame.el (frame-notice-user-settings): Don't change
10138 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10139 vice versa (Bug#2249).
10141 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10143 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10145 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10147 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10148 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10150 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10151 default directories are expanded (Bug#6143).
10153 2010-06-24 Juri Linkov <juri@jurta.org>
10155 * minibuffer.el (completions-format): Change default from nil to
10156 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10158 2010-06-24 Juri Linkov <juri@jurta.org>
10160 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10161 buffer-locally to lambda that re-runs the vc diff command.
10164 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10166 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10167 echo area is in use (Bug#3412).
10169 2010-06-22 Glenn Morris <rgm@gnu.org>
10171 * textmodes/texinfmt.el (texinfo-format-region)
10172 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10173 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10174 (texinfo-format-option, texinfo-noindent):
10175 Use line-beginning-position and line-end-position.
10177 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10178 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10179 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10182 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10184 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10185 forward-line fallout.
10187 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10189 * mouse.el (mouse-appearance-menu): Add docstring.
10191 * help.el (describe-key): Print up-event using key-description.
10193 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10195 * net/zeroconf.el (zeroconf-resolve-service)
10196 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10197 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10199 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10201 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10203 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10205 Avoid displaying files with a nil state in vc-dir.
10206 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10207 cases that cause insertion.
10208 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10211 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10213 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10215 2010-06-29 Leo <sdl.web@gmail.com>
10217 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10219 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10221 * generic-x.el (bat-generic-mode): Fix regexp for command line
10222 switches (Bug#5719).
10224 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10226 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10227 of nconc to avoid pure storage error (Bug#6239).
10229 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10231 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10232 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10233 bindings of bookmark-automatically-show-annotations (Bug#6515).
10235 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10237 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10238 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10240 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10242 * comint.el (make-comint, make-comint-in-buffer): Mention return
10243 value in the docstrings. (Bug#6498)
10245 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10247 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10248 since it is not present when using some non-default switches.
10250 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10252 * simple.el (compose-mail): Fix doc string to refer to
10253 `compose-mail-user-agent-warnings', instead of to the
10254 nonexistent `compose-mail-check-user-agent'.
10256 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10258 Fix an indentation bug:
10260 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10261 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10262 of existing values.
10264 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10265 (c-clear->-pair-props-if-match-before): now return t when they've
10266 cleared properties, nil otherwise.
10267 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10268 by taking account of the existing value.
10270 * progmodes/cc-defs.el
10271 (c-clear-char-property-with-value-function): Fix this to clear the
10272 property rather than overwriting it with nil.
10274 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10276 * emacs-lisp/package.el (package-print-package): Add link to
10277 package description via describe-package.
10278 (describe-package-1): List package requirements. Add button to
10279 perform installation.
10280 (package-menu-describe-package): New command.
10282 * help-mode.el (help-package): New button type.
10284 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10286 * emacs-lisp/package.el: Move package-list-packages binding to
10288 (describe-package, describe-package-1, package--dir): New funs.
10289 (package-activate-1): Use package--dir.
10291 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10293 * help-mode.el (help-package-def): New button type.
10295 * menu-bar.el: Move package-list-packages binding here from
10298 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10300 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10302 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * emacs-lisp/edebug.el (edebug-read-list):
10305 Phase out old-style backquotes.
10307 2010-06-17 Juri Linkov <juri@jurta.org>
10309 * help-mode.el (help-mode): Set buffer-local variable
10310 revert-buffer-function to help-mode-revert-buffer.
10311 (help-mode-revert-buffer): New function.
10313 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10314 before popping to "*info*" (like in other Info functions).
10315 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10316 old-history-forward. Pop to old-buffer-name or "*info*" to
10317 recreate the killed buffer. Set Info-history-forward from
10318 old-history-forward.
10319 (Info-breadcrumbs-depth): Add :group and :version.
10321 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10323 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10325 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10327 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10328 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10330 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10332 * emacs-lisp/package.el (package-menu-mode-map):
10333 Move initialization into declaration.
10335 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10337 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10339 * emacs-lisp/package.el (package-archive-base): Point to
10341 (package-enable, package-load-list): New defcustoms.
10342 (package-user-dir, package-directory-list): Turn into defcustoms.
10343 Don't include package-user-dir in package-directory-list.
10344 (package--builtins-base): Don't include Emacs as a "package".
10345 (package-subdirectory-regexp): New var.
10346 (package-load-all-descriptors, package-compute-transaction)
10347 (package-download-transaction): Obey package-load-list.
10348 (package-activate-1): Rename from package-do-activate.
10349 (package-list-packages-internal): Check package-load-list.
10350 (package-load-descriptor, package-generate-autoloads)
10351 (package-unpack, package-unpack-single)
10352 (package--read-archive-file, package-delete):
10353 Use expand-file-name.
10355 * emacs-lisp/package-x.el: New file. Package uploading
10356 functionality split out from package.el.
10358 * startup.el (command-line): Load packages after reading init file.
10360 2010-06-17 Tom Tromey <tromey@redhat.com>
10362 * emacs-lisp/package.el: New file.
10364 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10366 Fix vc-annotate for renamed files when using Git.
10367 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10368 ls-files. Doe not pass the object as a file name to cat-file, it
10369 is not a file name.
10370 (vc-git-annotate-command): Pass the file name using -- to avoid
10371 ambiguity with the revision.
10372 (vc-git-previous-revision): Pass a relative file name.
10374 2010-06-22 Glenn Morris <rgm@gnu.org>
10376 * progmodes/js.el (js-mode-map): Use standard capitalization and
10377 ellipses for menu entries.
10379 * wid-edit.el (widget-complete): Doc fix.
10381 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10383 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10385 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10387 Fix annotating other revisions for renamed files in vc-annotate.
10388 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10389 VC backend. Use it when non-nil.
10390 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10393 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10394 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10395 Do not pass the file name to the 'previous-revision call when we
10396 don't want a file diff. (Bug#6489)
10398 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10400 Fix finding revisions for renamed files in vc-annotate.
10401 * vc/vc.el (vc-find-revision): Add an optional argument for
10402 the VC backend. Use it when non-nil.
10403 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10404 backend to vc-find-revision. (Bug#6487)
10406 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10408 Fix reading file names in Git annotate buffers.
10409 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10410 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10412 2010-06-20 Alan Mackenzie <acm@muc.de>
10414 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10415 in file local variables, set it first.
10417 2010-06-19 Glenn Morris <rgm@gnu.org>
10419 * descr-text.el (describe-char-unicode-data): Insert separating
10420 space when needed. (Bug#6422)
10422 * progmodes/idlwave.el (idlwave-action-and-binding):
10423 Fix typo in 2009-12-03 change. (Bug#6450)
10425 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10428 handling for `lambda' (misunderstanding).
10430 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10432 * calc/calc-poly.el (math-accum-factors): Make sure that
10433 constants aren't distributed after they are factored out.
10435 2010-06-16 Juri Linkov <juri@jurta.org>
10437 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10438 `list-colors-print'. (Bug#6332)
10440 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10442 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10445 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10447 * font-lock.el (font-lock-major-mode): Rename from
10448 font-lock-mode-major-mode to distinguish it from
10449 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10450 (font-lock-set-defaults):
10451 * font-core.el (font-lock-default-function): Adjust users.
10452 (font-lock-mode): Don't set it at all.
10454 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10458 2010-06-16 Glenn Morris <rgm@gnu.org>
10460 * calendar/appt.el (appt-time-msg-list): Doc fix.
10461 (appt-check): Let-bind appt-warn-time.
10462 (appt-add): Make the 3rd argument optional.
10463 Simplify argument names. Doc fix. Check for integer WARNTIME.
10464 Only add WARNTIME to the output list if non-nil.
10466 2010-06-16 Ivan Kanis <apple@kanis.eu>
10468 * calendar/appt.el (appt-check): Let the 3rd element of
10469 appt-time-msg-list specify the warning time.
10470 (appt-add): Add new argument with the warning time. (Bug#5176)
10472 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10474 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10475 older than version 1.6. (Bug#6361)
10477 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10479 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10480 used by cl-do-arglist. (Bug#6408)
10482 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10484 * textmodes/ispell.el (ispell-dictionary-base-alist):
10485 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10486 Suggested by Rolando Pereira (bug#6434).
10488 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10490 * facemenu.el (list-colors-sort): Doc fix.
10492 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10494 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10496 2010-06-14 Juri Linkov <juri@jurta.org>
10498 Add sort option `list-colors-sort'. (Bug#6332)
10499 * facemenu.el (color-rgb-to-hsv): New function.
10500 (list-colors-sort): New defcustom.
10501 (list-colors-sort-key): New function.
10502 (list-colors-display): Doc fix. Sort list according to the option
10503 `list-colors-sort'.
10504 (list-colors-print): Add HSV values to `help-echo' property of
10507 2010-06-14 Juri Linkov <juri@jurta.org>
10509 * compare-w.el: Move to the "vc" subdirectory.
10511 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10513 * image-mode.el (image-mode-map): Remap left-char and right-char.
10515 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10517 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10519 * term/common-win.el (x-colors): Add all the color names defined
10520 in rgb.txt (Bug#6332).
10522 * facemenu.el (list-colors-print): Don't print extra names if it
10523 will overflow the window width.
10525 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10528 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10530 * files.el (make-directory): Doc fix (bug#6396).
10532 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10534 * net/tramp.el (tramp-remote-process-environment): Protect version
10535 string by apostroph.
10536 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10538 (tramp-file-name-for-operation): Add `call-process-region'.
10539 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10541 * net/tramp-compat.el (top): Do not autoload
10542 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10543 only when `start-file-process' is not bound.
10544 (tramp-advice-file-expand-wildcards): Do not use
10545 `tramp-handle-file-remote-p'.
10546 (tramp-compat-make-temp-file): Handle the case, that
10547 `make-temp-file' has no third argument EXTENSION.
10549 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10551 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10553 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10555 2010-06-11 Juri Linkov <juri@jurta.org>
10557 * finder.el (finder-known-keywords): Add keyword "vc"
10558 for version control.
10560 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10561 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10562 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10563 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10565 2010-06-11 Juri Linkov <juri@jurta.org>
10567 Move version control related files to the "vc" subdirectory.
10568 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10569 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10570 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10571 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10572 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10573 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10574 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10575 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10576 Move files to the "vc" subdirectory.
10578 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10580 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10583 2010-06-11 Stephen Eglen <stephen@gnu.org>
10585 * shell.el: Bind `shell-resync-dirs' to M-RET.
10587 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10589 * notifications.el: Move file from lisp/net, because it is
10590 supposed to talk locally to the user.
10592 2010-06-10 Julien Danjou <julien@danjou.info>
10594 * net/notifications.el (notifications-on-action-signal)
10595 (notifications-on-closed-signal): Pass notification id as first
10596 argument to the callback functions. Add docstrings.
10597 (notifications-notify): Fix docstring.
10599 2010-06-10 Glenn Morris <rgm@gnu.org>
10601 * emacs-lisp/authors.el (authors-ignored-files)
10602 (authors-valid-file-names): Add some files.
10604 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10607 merge conflict, giving preference to the emacs-23 version of the code.
10609 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * emacs-lisp/advice.el (ad-compile-function):
10612 Define warning-suppress-types before we let-bind it (bug#6275).
10614 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10615 declare it, make it buffer-local and permanent-local (bug#6324).
10616 (vc-resynch-window): Adjust name.
10617 * vc-hooks.el (vc-find-file-hook): Adjust name.
10619 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10621 * net/notifications.el (notifications-notify): Fix docstring.
10623 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10625 Update to Unicode 6.0.0 beta.
10626 * international/charprop.el: Update copyright.
10627 * international/mule-cmds.el (ucs-names): Update character ranges.
10628 * international/uni-bidi.el:
10629 * international/uni-category.el:
10630 * international/uni-combining.el:
10631 * international/uni-comment.el:
10632 * international/uni-decimal.el:
10633 * international/uni-decomposition.el:
10634 * international/uni-digit.el:
10635 * international/uni-lowercase.el:
10636 * international/uni-mirrored.el:
10637 * international/uni-name.el:
10638 * international/uni-numeric.el:
10639 * international/uni-old-name.el:
10640 * international/uni-titlecase.el:
10641 * international/uni-uppercase.el: Regenerate.
10643 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10645 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10646 (smie-precs-precedence-table): Fix typo in docstring.
10648 * vc-mtn.el (log-edit-extract-headers): Declare function.
10650 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10652 * net/notifications.el (dbus-register-signal): Declare function.
10653 (notifications-notify): Fix typos and reflow docstring.
10655 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10657 Improve VC create/retrieve tag/branch.
10658 * vc.el (vc-create-tag): Do not read the directory name for VCs
10659 with repository revision granularity. Adjust the tag/branch
10660 prompt. Reset VC properties.
10661 (vc-retrieve-tag): Do not read the directory name for VCs
10662 with repository revision granularity. Reset VC properties.
10664 2010-06-09 Julien Danjou <julien@danjou.info>
10666 * net/notifications.el: New file.
10668 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10670 Add optional support for resetting VC properties.
10671 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10672 call vc-file-clearprops when true.
10673 (vc-resynch-buffer): Add new optional argument, pass it down.
10674 (vc-resynch-buffers-in-directory): Likewise.
10676 Improve support for special markup in the VC commit message.
10677 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10678 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10679 * vc-git.el (vc-git-checkin):
10680 * vc-bzr.el (vc-bzr-checkin): Likewise.
10682 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10685 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10687 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10689 * iimage.el: Remove images as soon as the underlying text is modified.
10690 (iimage-modification-hook): New function.
10691 (iimage-mode-buffer): Use it.
10693 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10696 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10697 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10698 (smie-indent-keyword): Add handling of open-paren keywords.
10699 (smie-indent-comment-continue): Don't assume comment-continue.
10701 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10703 * window.el (pop-to-buffer): Remove the conditional that
10704 compares new-window and old-window, so it will reselect
10705 the selected window unconditionally.
10706 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10708 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10710 * emacs-lisp/smie.el (smie-indent-offset-after)
10711 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10712 (smie-indent-after-keyword): Use them.
10713 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10714 (smie-indent-keyword): Tweak the black magic.
10715 (smie-indent-comment-continue): Strip comment-continue before use.
10716 (smie-indent-functions): Indent comments before keywords.
10718 2010-06-06 Juri Linkov <juri@jurta.org>
10720 * isearch.el (isearch-lazy-highlight-search): Fix looping
10721 by checking for empty match. This syncs this loop with the
10722 similar loop in `isearch-search'. (Bug#6362)
10724 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10726 * net/dbus.el (dbus-register-method): Declare function.
10727 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10728 (dbus-introspect): Doc fix.
10729 (dbus-event-bus-name, dbus-introspect-get-interface)
10730 (dbus-introspect-get-argument): Reflow docstrings.
10732 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10734 vc-log-incoming/vc-log-outgoing fixes for Git.
10735 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10736 incoming/outgoing logs.
10737 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10738 instead of vc-git-compute-remote.
10739 (vc-git-compute-remote): Remove.
10741 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10743 * term/common-win.el (x-colors): Add "dark green" and "dark
10744 turquoise" (Bug#6332).
10746 2010-06-04 Juri Linkov <juri@jurta.org>
10748 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10749 Instead of setting `replace' to t and replacing the same string
10750 with itself, don't do certain actions when
10751 kill-do-not-save-duplicates is non-nil and string is equal to car
10752 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10753 interprogram-paste strings to kill-ring, and don't push the input
10754 argument `string' to kill-ring.
10755 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10757 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10759 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10761 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10763 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10764 (tramp-gvfs-handler-mounted-unmounted)
10765 (tramp-gvfs-connection-mounted-p): Handle default-location.
10767 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10768 move files to trash.
10770 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10772 * international/mule-cmds.el (nonascii-insert-offset)
10773 (nonascii-translation-table): Add obsolescence information.
10775 * international/mule.el (make-translation-table-from-vector): Doc fix.
10777 2010-06-03 Glenn Morris <rgm@gnu.org>
10779 * desktop.el (desktop-clear-preserve-buffers):
10780 Add "*Warnings*" buffer. (Bug#6336)
10782 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10784 vc-log-incoming/vc-log-outgoing improvements for Git.
10785 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10787 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10789 Add bindings for vc-log-incoming and vc-log-outgoing.
10790 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10791 and vc-log-outgoing.
10792 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10793 and vc-log-outgoing.
10795 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10797 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10798 (rcirc-handler-366): Always sort nicknames.
10800 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10802 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10804 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10806 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10808 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10811 (rcirc-sort-nicknames-join): Avoid setq.
10813 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10815 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10816 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10817 (rcirc-handler-366): Use them.
10819 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10821 Split smie-indent-calculate into more manageable chunks.
10822 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10823 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10824 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10825 (smie-indent-exps): Extract from smie-indent-calculate.
10826 (smie-indent-functions): New var.
10827 (smie-indent-functions): Use them.
10829 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10832 (smie-indent-calculate): Simplify and cleanup.
10834 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10836 * net/tramp-gvfs.el (top): Require url-util.
10837 (tramp-gvfs-mount-point): Remove.
10838 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10840 (with-tramp-dbus-call-method): Format trace message.
10841 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10842 Implement backup call, when operation on local files fails.
10843 Use progress reporter. Flush properties of changed files.
10844 (tramp-gvfs-handle-make-directory): Make more traces.
10845 (tramp-gvfs-url-file-name): Hexify file name in url.
10846 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10847 into account for the resulting file name.
10848 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10849 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10850 (tramp-gvfs-handler-mounted-unmounted)
10851 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10852 attribute "default_location". Set "prefix" property.
10853 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10854 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10855 exists. Raise an error, if not (due to a corresponding answer
10856 "no" in interactive questions, for example).
10858 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10860 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10862 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10864 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10865 right-*. (Bug#6265)
10867 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10869 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10870 * vc-git.el (vc-git-compute-remote): New function.
10871 (vc-git-log-outgoing): Use it instead of hard coding a value.
10872 (vc-git-log-incoming): New function.
10874 Improve state updating for VC tag commands.
10875 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10876 to update the state of all buffers in the directory.
10878 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10880 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10883 `file-directory-p' to the filename part rather than to the whole text.
10885 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10887 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10889 2010-05-31 Drew Adams <drew.adams@oracle.com>
10891 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10893 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10895 * subr.el (momentary-string-display): Just use read-event to read
10896 the exit event (Bug#6238).
10898 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10900 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10902 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10904 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10905 Suggested by Eli Zaretskii <eliz@gnu.org>.
10907 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10909 * minibuffer.el (completion-file-name-table): Don't return a boundary
10910 past the end of `string' (bug#6299).
10911 (completion--file-name-table): Delegate to completion-file-name-table
10912 for the `boundaries' case.
10914 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10916 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10919 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10920 `path-separator', but maintain compatibility with Emacs 20.2.
10922 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10924 * server.el (server-process-filter): Receive parent-id argument
10926 (server-create-window-system-frame): New arg. Pass parent-id as
10929 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10931 Bidi-sensitive word movement with arrow keys.
10932 * subr.el (right-arrow-command, left-arrow-command): Move to
10935 * bindings.el (right-char, left-char): Move from subr.el and
10936 rename from right-arrow-command and left-arrow-command.
10937 (right-word, left-word): New functions.
10938 (global-map) <right>: Bind to right-char.
10939 (global-map) <left>: Bind to left-char.
10940 (global-map) <C-right>: Bind to right-word.
10941 (global-map) <C-left>: Bind to left-word.
10943 * ls-lisp.el (ls-lisp-classify-file): New function.
10944 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10945 (ls-lisp-classify): Call ls-lisp-classify-file.
10946 (insert-directory): Remove blanks from switches.
10948 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10950 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10951 (ansi-color-drop-regexp): New constant.
10952 (ansi-color-apply, ansi-color-filter-region)
10953 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10954 (ansi-color-apply): Build string list before calling concat.
10956 2010-05-28 Juri Linkov <juri@jurta.org>
10958 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10959 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10962 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10964 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10965 to ignored backtrace functions.
10966 (with-progress-reporter): Expand docstring.
10967 (tramp-handle-delete-file): Implement TRASH argument.
10968 (tramp-get-remote-trash): New defun.
10970 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10972 * net/tramp-compat.el (tramp-compat-delete-file):
10973 Use `symbol-value' for backward compatibility.
10975 * net/tramp.el (tramp-handle-make-symbolic-link)
10976 (tramp-handle-load)
10977 (tramp-do-copy-or-rename-file-via-buffer)
10978 (tramp-do-copy-or-rename-file-directly)
10979 (tramp-do-copy-or-rename-file-out-of-band)
10980 (tramp-handle-process-file, tramp-handle-call-process-region)
10981 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10982 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10983 (tramp-delete-temp-file-function): Use `delete-file' instead
10984 of `tramp-compat-delete-file'.
10986 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10987 (tramp-fish-handle-make-symbolic-link)
10988 (tramp-fish-handle-process-file): Use `delete-file' instead
10989 of `tramp-compat-delete-file'.
10991 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10992 Use `delete-file' instead of `tramp-compat-delete-file'.
10994 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10995 Use `delete-file' instead of `tramp-compat-delete-file'.
10997 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10998 Use `delete-file' instead of `tramp-compat-delete-file'.
11000 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11001 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11002 (tramp-smb-handle-write-region): Use `delete-file' instead of
11003 `tramp-compat-delete-file'.
11004 (tramp-smb-handle-delete-directory): Use 'trash as arg.
11006 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11008 * dired.el (dired-delete-file): New arg TRASH.
11009 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
11010 (dired-do-flagged-delete, dired-do-delete): Use trash.
11012 * speedbar.el (speedbar-item-delete): Allow trashing.
11014 * files.el (delete-directory): New arg TRASH.
11016 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
11017 (ange-ftp-rename-remote-to-remote)
11018 (ange-ftp-rename-local-to-remote)
11019 (ange-ftp-rename-remote-to-local, ange-ftp-load)
11020 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
11022 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
11025 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
11026 handle new TRASH arg of `delete-file'.
11028 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11029 (tramp-handle-make-symbolic-link, tramp-handle-load)
11030 (tramp-do-copy-or-rename-file-via-buffer)
11031 (tramp-do-copy-or-rename-file-directly)
11032 (tramp-do-copy-or-rename-file-out-of-band)
11033 (tramp-handle-process-file, tramp-handle-call-process-region)
11034 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11035 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11036 (tramp-delete-temp-file-function): Use null TRASH arg in
11037 tramp-compat-delete-file call.
11039 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11040 (tramp-fish-handle-delete-file)
11041 (tramp-fish-handle-make-symbolic-link)
11042 (tramp-fish-handle-process-file): Use null TRASH arg in
11043 `tramp-compat-delete-file' call.
11045 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11046 arg in `tramp-compat-delete-file' call.
11048 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11049 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11050 `tramp-compat-delete-file' call.
11052 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11053 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11054 `tramp-compat-delete-file' call.
11056 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11057 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11058 (tramp-smb-handle-write-region): Use null TRASH arg in
11059 tramp-compat-delete-file call.
11060 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11061 (tramp-smb-handle-delete-file): Rename arg.
11063 * diff.el (diff-sentinel):
11064 * epg.el (epg--make-temp-file, epg-decrypt-string)
11065 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11066 * jka-compr.el (jka-compr-partial-uncompress)
11067 (jka-compr-call-process, jka-compr-write-region):
11068 * server.el (server-sentinel): Remove optional arg from
11069 delete-file, reverting 2010-05-03 change.
11071 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11073 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11074 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11076 2010-05-27 Kenichi Handa <handa@m17n.org>
11078 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11079 element of GSTRING is nil.
11081 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11083 * emacs-lisp/smie.el (smie-forward-token-function)
11084 (smie-backward-token-function): New vars.
11085 (smie-backward-sexp, smie-forward-sexp)
11086 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11087 (smie-default-backward-token): Rename from smie-backward-token and
11089 (smie-default-forward-token): Rename from smie-forward-token and
11091 (smie-next-sexp): Handle nil results from next-token.
11092 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11094 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11096 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11097 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11099 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11101 * htmlfontify.el (hfy-face-resolve-face): New function.
11102 (hfy-face-to-style): Use it (Bug#6279).
11104 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11107 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11109 2010-05-26 Glenn Morris <rgm@gnu.org>
11111 * emulation/edt.el (edt-load-keys): Use locate-library.
11113 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11115 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11116 (log-edit-changelog-entries): Doc fix.
11117 (log-edit-changelog-insert-entries): Args changed.
11118 Rename relative filenames in ChangeLog entries. Delete tabs.
11119 (log-edit-insert-changelog-entries): Reorganize return value of
11120 `log-edit-changelog-entries' to pass filenames to
11121 log-edit-changelog-insert-entries.
11123 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11125 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11126 `image-dired-dired-insert-marked-thumbs' to
11127 `image-dired-dired-toggle-marked-thumbs'.
11129 * image-dired.el: Require cl when compiling.
11130 (image-dired-dired-toggle-marked-thumbs): Rename from
11131 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11132 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11133 to 'no-dir. Skip files whose names don't match
11134 `image-file-name-regexp'. When file has a thumbnail overlay,
11135 delete it. (Bug#5270)
11137 2010-05-25 Juri Linkov <juri@jurta.org>
11139 * image-mode.el (image-mode): Add image-after-revert-hook to
11141 (image-after-revert-hook): New function. (Bug#5669)
11143 2010-05-25 Juri Linkov <juri@jurta.org>
11145 * image.el (image-animated-p): When delay between animated images
11146 is 0, set it to 10 (0.1 sec). (Bug#6258)
11148 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11150 * net/tramp.el (tramp-handle-insert-directory): Don't use
11151 `forward-word', its default syntax could be changed.
11153 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11155 * net/tramp.el (tramp-progress-reporter-update): New defun.
11156 (with-progress-reporter): Use it.
11157 (tramp-process-actions):
11158 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11159 Preserve current message, in order to let progress reporter continue
11160 afterwards. (Bug#6257)
11162 2010-05-25 Glenn Morris <rgm@gnu.org>
11164 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11167 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11169 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11170 (rcirc-default-full-name): Change to "unknown".
11171 (rcirc-user-name-history): Add variable.
11173 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11174 Jonathan Rockway <jon@jrock.us>
11176 * net/rcirc.el (rcirc-server-alist): Add :pass.
11177 (rcirc): When prompting for connection parameters, also prompt for
11178 username and password.
11179 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11180 value to server when connecting.
11182 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11185 (smie-merge-prec2s): Pass the tables as separate args.
11186 (smie-bnf-precedence-table): Adjust call accordingly.
11187 (smie-prec2-levels): Set levels at the end.
11189 Replace Lisp calls to delete-backward-char by delete-char.
11190 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11191 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11192 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11193 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11194 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11195 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11196 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11197 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11198 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11199 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11200 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11201 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11202 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11203 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11204 delete-backward-char by calls to delete-char.
11206 2010-05-25 Kenichi Handa <handa@m17n.org>
11208 * language/hebrew.el (hebrew-shape-gstring): New function.
11209 Register it in composition-function-table for all Hebrew combining
11212 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11214 * epa.el (epa--select-keys): Don't explicitly delete the window since
11215 that can fail (e.g. sole window in frame). Use dedication instead.
11217 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11219 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11221 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11223 * image.el (image-refresh): Define as an alias for image-flush.
11225 * image-mode.el (image-toggle-display-image): Caller changed.
11227 2010-05-21 Juri Linkov <juri@jurta.org>
11229 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11230 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11231 whitespace, call wildcard-to-regexp on substrings and concat them
11232 with "\\|". (Bug#6114)
11234 2010-05-21 Alan Mackenzie <acm@muc.de>
11236 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11237 Replace parameter `here' with `here-' and `here-plus', which sandwich
11238 any pertinent CPP construct.
11239 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11240 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11241 CPP construct from taking part in the scanning.
11243 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11245 * net/tramp.el (tramp-do-copy-or-rename-file)
11246 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11247 Tune `with-progress-reporter' messages.
11248 (tramp-handle-vc-registered):
11249 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11250 (tramp-fish-handle-insert-file-contents)
11251 (tramp-fish-maybe-open-connection):
11252 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11253 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11254 (tramp-imap-handle-insert-file-contents)
11255 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11257 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11259 * add-log.el (change-log-font-lock-keywords):
11260 Highlight all authors in multi-author entries.
11262 * smerge-mode.el (smerge-refine-ignore-whitespace)
11263 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11264 Fix typos in docstrings.
11265 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11267 2010-05-21 Glenn Morris <rgm@gnu.org>
11269 * progmodes/fortran.el (fortran-mode):
11270 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11272 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11273 having a relative path in src/Makefile.in.
11275 2010-05-20 Kevin Ryde <user42@zip.com.au>
11277 * help-mode.el (help-make-xrefs): For Info node links turn
11278 newlines into spaces. Link node names with newlines are matched
11279 by help-xref-info-regexp and buttonized, this change ensures they
11280 can be followed successfully with RET. (Bug#6206)
11282 2010-05-20 Juri Linkov <juri@jurta.org>
11284 * locate.el (locate): Use pop-to-buffer instead of
11285 switch-to-buffer-other-window. (Bug#6204)
11287 2010-05-20 Juri Linkov <juri@jurta.org>
11289 * replace.el (replace-highlight): Fix lazy-highlighting
11290 for `M-s w str M-% str RET'.
11292 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11294 * isearch.el (isearch-yank-word-or-char): Pull next subword
11295 when `subword-mode' is activated. (Bug#6220)
11297 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11299 * isearch.el (isearch-update-post-hook): New hook.
11300 (isearch-update): Use the new hook. (Bug#6225)
11302 2010-05-20 Juri Linkov <juri@jurta.org>
11304 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11305 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11308 2010-05-20 Juri Linkov <juri@jurta.org>
11310 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11313 2010-05-20 Juri Linkov <juri@jurta.org>
11315 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11316 FILE-NAME to read from the minibuffer when called interactively
11317 with prefix argument instead of using buffer-file-name.
11318 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11320 * dired.el: Update autoloads.
11322 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11324 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11325 nxml-finish-element, for consistency with SGML mode.
11327 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11328 octave-close-block.
11330 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11332 * composite.el: Require cl when compiling.
11333 (reference-point-alist, compose-gstring-for-graphic)
11334 (compose-gstring-for-terminal): Fix typos in docstrings.
11336 2010-05-19 Juri Linkov <juri@jurta.org>
11338 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11339 set-window-parameter.
11341 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11343 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11345 (tramp-maybe-open-connection): Use it.
11347 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11349 * simple.el (move-end-of-line): Make sure we are at line beginning
11350 before backing up to end of previous line.
11352 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11354 * password-cache.el (password-cache-remove): Fix docstring.
11356 * net/secrets.el: Autoload the widget functions.
11357 (secrets-search-items, secrets-create-item)
11358 (secrets-get-attributes, secrets-expand-item): Attributes will be
11359 stored on the password database without leading ":", as all other
11360 clients do as well.
11361 (secrets-mode): Fix docstring.
11362 (secrets-show-secrets): Provide it as autoloaded command only when
11363 D-Bus support is available. Check existence of Secret Service API.
11365 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11367 * indent.el (indent-region): Deactivate region (bug#6200).
11369 2010-05-19 Glenn Morris <rgm@gnu.org>
11371 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11373 2010-05-19 Kenichi Handa <handa@m17n.org>
11375 * composite.el: Register compose-gstring-for-graphic in
11376 composition-function-table only for combining characters (Mn, Mc, Me).
11378 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11380 * calc/calc-trail.el (calc-trail-isearch-forward)
11381 (calc-trail-isearch-backward): Ensure that the new window
11382 point is set correctly.
11384 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * subr.el (read-quoted-char): Resolve modifiers after key
11387 remapping (bug#6212).
11389 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11391 Add visualization code for secrets.
11392 * net/secrets.el (secrets-mode): New major mode.
11393 (secrets-show-secrets, secrets-show-collections)
11394 (secrets-expand-collection, secrets-expand-item)
11395 (secrets-tree-widget-after-toggle-function)
11396 (secrets-tree-widget-show-password): New defuns.
11398 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11401 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11402 handled in smie-next-sexp.
11403 (smie-indent-calculate): Provide a starting indentation (so the
11404 recursion is well-founded ;-).
11406 Fix handling of non-associative equal levels.
11407 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11408 when it's not needed.
11409 (smie-op-left, smie-op-right): New functions.
11410 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11411 Better handle equal levels to distinguish the associative case from
11412 the "multi-keyword construct" case.
11413 (smie-backward-sexp, smie-forward-sexp): Use it.
11415 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11417 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11419 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11420 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11422 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11424 Provide a simple generic indentation engine and use it for Prolog.
11425 * emacs-lisp/smie.el: New file.
11426 * progmodes/prolog.el (prolog-smie-op-levels)
11427 (prolog-smie-indent-rules): New var.
11428 (prolog-mode-variables): Use them to configure SMIE.
11429 (prolog-indent-line, prolog-indent-level): Remove.
11431 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11433 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11434 order before computing the averages.
11436 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11438 * calc/calc-vec.el (calc-histogram):
11439 (calcFunc-histogram): Allow vectors as inputs.
11440 (math-vector-avg): New function.
11442 * calc/calc-ext.el (math-group-float): Have the number of digits
11443 being grouped depend on the radix (Bug#6189).
11445 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11447 * version.el (emacs-copyright, emacs-version): Don't define here,
11448 now that emacs.c defines it.
11450 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11452 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11453 "Describe Language Environment" menu item.
11455 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11457 Bidi-sensitive movement with arrow keys.
11458 * subr.el (right-arrow-command, left-arrow-command): New functions.
11460 * bindings.el (global-map): Bind them to right and left arrow keys.
11462 Don't override standard definition of convert-standard-filename.
11463 * files.el (convert-standard-filename):
11464 Call w32-convert-standard-filename and dos-convert-standard-filename on
11465 the corresponding systems.
11467 * w32-fns.el (w32-convert-standard-filename): Rename from
11468 convert-standard-filename. Doc fix.
11470 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11471 (convert-standard-filename): Don't defalias.
11472 (register-name-alist, make-register, register-value)
11473 (set-register-value, intdos): Obsolete aliases for the
11474 corresponding dos-* functions and variables.
11475 (dos-intdos): Add a doc string.
11477 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11479 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11480 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11481 (math-compose-tex-func):
11482 * calc/calccomp.el (math-compose-expr):
11483 * calc/calc-ext.el (math-format-flat-expr-fancy):
11484 * calc/calc-store.el (calc-read-var-name):
11485 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11487 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11488 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11489 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11490 (math-standard-units): Add units.
11492 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11494 * progmodes/asm-mode.el (asm-mode):
11495 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11497 * pcomplete.el (pcomplete-completions-at-point): New function,
11498 extracted from pcomplete-std-complete.
11499 (pcomplete-std-complete): Use it.
11501 2010-05-15 Glenn Morris <rgm@gnu.org>
11503 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11504 Remove references to CVS, RCS and Old directories.
11506 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11508 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11511 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11514 (sh-mode-syntax-table): Give it a default value instead.
11515 (sh-header-marker): Make buffer-local.
11516 (sh-mode): Move make-local-variable to the corresponding setq.
11517 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11518 Use complete-with-action.
11520 * simple.el (prog-mode): New (abstract) major mode.
11521 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11522 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11524 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11526 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11527 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11528 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11529 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11530 (sql-escape-newlines-filter, sql-input-sender)
11531 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11533 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11535 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11537 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11538 latex-open-block and C-c / to latex-close-block.
11540 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11541 and C-c C-e to sgml-close-tag.
11543 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11545 * net/tramp.el (with-progress-reporter): Create reporter object
11546 only when the message would be displayed. Handle nested calls.
11547 (tramp-handle-load, tramp-handle-file-local-copy)
11548 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11549 (tramp-maybe-send-script, tramp-find-shell):
11550 Use `with-progress-reporter'.
11551 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11554 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11555 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11556 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11557 Use `with-progress-reporter'.
11559 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11561 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11562 process everytime when spellchecking from the minibuffer (bug#6143).
11564 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11568 * dos-fns.el: Add "dos-" prefix for namespace control.
11569 (convert-standard-filename): Define as alias for
11570 dos-convert-standard-filename but only if applicable.
11572 2010-05-12 Alan Mackenzie <acm@muc.de>
11574 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11575 Push the mark at the start of these functions when appropriate.
11577 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11579 * minibuffer.el (completion-cycle-threshold): New custom var.
11580 (completion--do-completion): Use it.
11581 (minibuffer-complete): Use cycling if appropriate.
11583 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11585 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11586 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11588 2010-05-11 Juri Linkov <juri@jurta.org>
11590 * scroll-all.el (scroll-all-check-to-scroll):
11591 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11593 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11595 * iimage.el (iimage-mode-map): Move initialization into declaration.
11596 (iimage-mode-buffer): Use with-silent-modifications.
11597 Simplify calling convention. Adjust callers.
11598 (iimage-mode): Don't run hook redundantly.
11600 * minibuffer.el (completion-pcm--pattern->regex):
11601 Fix last change (bug#6160).
11603 2010-05-10 Juri Linkov <juri@jurta.org>
11605 Remove nodes visited during Isearch from the Info history.
11606 * info.el (Info-isearch-initial-history)
11607 (Info-isearch-initial-history-list): New variables.
11608 (Info-isearch-start): Record initial values of
11609 Info-isearch-initial-history and Info-isearch-initial-history-list.
11610 Add Info-isearch-end to isearch-mode-end-hook.
11611 (Info-isearch-end): New function.
11613 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11615 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11616 format string, in order to work around a bug in pdksh.
11617 Reported by Gilles Pion <gpion@lfdj.com>.
11618 (tramp-handle-verify-visited-file-modtime): Do not send a command
11619 when the connection is not established.
11620 (tramp-handle-set-file-times): Simplify the check for utc.
11622 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11624 Fix use of `filter-buffer-substring' (rework previous change).
11625 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11626 (cua-repeat-replace-region):
11627 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11628 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11629 (cua-cut-region-to-global-mark): Use it.
11631 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11633 * progmodes/sql.el: Version 2.1.
11634 (sql-product-alist): Redesign structure of product info.
11635 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11636 (sql-port, sql-port-history): New variables.
11637 (sql-interactive-product): New variable.
11638 (sql-send-terminator): New variable.
11639 (sql-imenu-generic-expression): Add "Types" imenu entry.
11640 (sql-oracle-login-params, sql-sqlite-login-params)
11641 (sql-mysql-login-params, sql-solid-login-params)
11642 (sql-sybase-login-params, sql-informix-login-params)
11643 (sql-ingres-login-params, sql-ms-login-params)
11644 (sql-postgres-login-params, sql-interbase-login-params)
11645 (sql-db2-login-params, sql-linter-login-params)
11646 (sql-oracle-scan-on): New variables.
11647 (sql-mode-map): Add C-c C-i to start interactive mode.
11648 (sql-mode-menu): Update existing menu entries.
11649 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11650 (sql-mode-oracle-font-lock-keywords)
11651 (sql-mode-postgres-font-lock-keywords)
11652 (sql-mode-ms-font-lock-keywords)
11653 (sql-mode-sybase-font-lock-keywords)
11654 (sql-mode-informix-font-lock-keywords)
11655 (sql-mode-interbase-font-lock-keywords)
11656 (sql-mode-ingres-font-lock-keywords)
11657 (sql-mode-solid-font-lock-keywords)
11658 (sql-mode-mysql-font-lock-keywords)
11659 (sql-mode-sqlite-font-lock-keywords)
11660 (sql-mode-db2-font-lock-keywords)
11661 (sql-mode-linter-font-lock-keywords): Update initialization to
11662 reduce run-time complexity.
11663 (sql-add-product, sql-del-product): New functions.
11664 (sql-set-product-feature, sql-get-product-feature): New functions.
11665 (sql-product-font-lock): Update product API.
11666 (sql-add-product-keywords): New function.
11667 (sql-highlight-product): Update product API.
11668 (sql-help-list-products): New function.
11669 (sql-help): Dynamically lists free and non-free products.
11670 (sql-get-login): Correct bug in handling history and added
11672 (sql-copy-column): Copy without properties.
11673 (sqli-input-sender): Apply filters to SQLi input.
11674 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11675 Implement as a filter.
11676 (sql-escape-newlines-filter): Implement as a filter.
11677 (sql-remove-tabs-filter): New function.
11678 (sql-send-magic-terminator): New function.
11679 (sql-send-string): Implement magic terminator.
11680 (sql-send-region): Use `sql-send-string'.
11681 (sql-interactive-mode): Use product API.
11682 (sql-product-interactive): Use product API.
11683 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11684 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11685 (sql-db2, sql-linter): Use `sql-product-interactive'.
11686 (sql-connect): New function.
11687 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11688 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11689 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11690 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11693 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11695 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11696 New custom variable.
11697 (completion-pcm--string->pattern): Use it.
11698 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11699 Make it handle any symbol as `any'.
11700 (completion-pcm--merge-completions): Extract common suffix for the new
11701 `prefix' symbol as well.
11702 (completion-substring--all-completions): Use the new `prefix' symbol.
11704 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11706 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11708 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11709 (tramp-compat-funcall): New defmacro.
11710 (tramp-compat-line-beginning-position)
11711 (tramp-compat-line-end-position)
11712 (tramp-compat-temporary-file-directory)
11713 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11714 (tramp-compat-copy-file, tramp-compat-copy-directory)
11715 (tramp-compat-delete-file, tramp-compat-delete-directory)
11716 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11717 * net/tramp.el (top, with-progress-reporter)
11718 (tramp-rfn-eshadow-setup-minibuffer)
11719 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11720 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11721 (tramp-completion-mode-p, tramp-check-for-regexp)
11722 (tramp-open-connection-setup-interactive-shell)
11723 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11724 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11725 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11726 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11727 (tramp-reporter-dump-variable, tramp-load-report-modules)
11728 (tramp-append-tramp-buffers)
11729 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11731 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11733 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11735 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11736 buffer-modtime. Adjust users.
11738 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11740 * international/mule.el (auto-coding-alist): Only purecopy
11741 car of each item, not the whole list (Bug#6083).
11743 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11745 * progmodes/js.el (js-mode): Make paragraph variables local before
11746 calling c-setup-paragraph-variables (Bug#6071).
11748 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11750 * composite.el (compose-region, reference-point-alist): Fix typos
11751 in the doc strings.
11753 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11755 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11756 gnuplot's "set" command.
11758 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11760 * abbrev.el (last-abbrev-text): Doc fix.
11761 (abbrev-prefix-mark): Don't escape parenthesis.
11763 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11765 * composite.el (find-composition): Doc fix.
11767 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11769 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11770 (sql-oracle-program, sql-sqlite-options)
11771 (sql-query-placeholders-and-send): Doc fixes.
11772 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11773 (sql-imenu-generic-expression, sql-buffer)
11774 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11775 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11776 (sql-mode-sybase-font-lock-keywords)
11777 (sql-mode-informix-font-lock-keywords)
11778 (sql-mode-interbase-font-lock-keywords)
11779 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11780 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11781 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11782 (sql-product-feature, sql-highlight-product)
11783 (comint-line-beginning-position, sql-rename-buffer)
11784 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11785 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11786 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11787 Fix typos in docstrings.
11789 2010-05-08 Juri Linkov <juri@jurta.org>
11791 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11792 property instead of `invisible' and `after-string' (bug#5998).
11794 2010-05-08 Juri Linkov <juri@jurta.org>
11796 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11798 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11800 * filecache.el (file-cache-add-directory-list)
11801 (file-cache-add-directory-recursively): Fix typos in docstrings.
11803 2010-05-08 Kenichi Handa <handa@m17n.org>
11805 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11806 (gujarati-composable-pattern): Fix typo.
11808 2010-05-08 Kenichi Handa <handa@m17n.org>
11810 * language/indian.el (oriya-composable-pattern)
11811 (tamil-composable-pattern, malayalam-composable-pattern):
11812 Add two-part vowels to "v" (vowel sign).
11814 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11816 * files.el (copy-directory): Handle symlinks (Bug#5982).
11818 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11820 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11821 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11824 2010-05-08 Glenn Morris <rgm@gnu.org>
11826 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11828 * minibuffer.el (completion-at-point): Doc fix.
11830 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11832 * electric.el (Electric-command-loop): Minor tweak.
11834 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11835 better with dedicated windows.
11837 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11839 * Version 23.2 released.
11841 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11842 Stefan Monnier <monnier@iro.umontreal.ca>
11844 Highlight vendor specific properties.
11845 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11846 (css-proprietary-property): New face.
11847 (css-font-lock-keywords): Use them.
11849 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11851 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11853 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11856 * files.el (auto-mode-alist): Remove redundant entries.
11858 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11859 * simple.el (auto-save-mode): Move from files.el.
11860 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11862 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11864 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11866 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11868 * mail/binhex.el (binhex-decode-region-internal)
11869 * mail/uudecode.el (uudecode-decode-region-internal)
11870 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11871 (dns-read-type, dns-query)
11872 * pgg-parse.el (pgg-parse-armor)
11873 * pgg.el (pgg-verify-region)
11874 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11877 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11879 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11881 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11883 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11884 * emulation/cua-base.el (cua-repeat-replace-region):
11885 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11886 (cua-cut-region-to-global-mark):
11887 Remove text properties with `set-text-properties'.
11889 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11891 * net/tramp.el (top, with-progress-reporter):
11892 Use `symbol-function' inside `funcall'.
11894 * net/tramp-compat.el (tramp-compat-file-attributes)
11895 (tramp-compat-delete-file, tramp-compat-delete-directory):
11896 Handle only `wrong-number-of-arguments' error.
11898 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11899 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11902 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * minibuffer.el (completion--sreverse, completion--common-suffix):
11906 (completion-pcm--merge-completions): Extract common suffix when safe.
11908 * emacs-lisp/easy-mmode.el (define-minor-mode):
11909 Make :variable more flexible.
11910 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11912 2010-05-05 Juri Linkov <juri@jurta.org>
11914 Add `slow' and `history' tags to the desktop data.
11916 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11917 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11918 (Info-finder-find-node): Require `finder.el' to be able
11919 to restore node from the desktop.
11920 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11921 data `Info-history' and `slow' tag in the assoc list.
11922 (Info-restore-desktop-buffer): Don't restore nodes with the
11923 `slow' tag. Restore `Info-history'.
11925 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11927 Add FORCE argument to `delete-file'.
11929 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11930 forcing to delete the temporary file.
11931 (ange-ftp-delete-file): Add FORCE arg.
11932 (ange-ftp-rename-remote-to-remote)
11933 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11934 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11935 Force file deletion.
11937 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11939 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11940 (tramp-handle-make-symbolic-link, tramp-handle-load)
11941 (tramp-do-copy-or-rename-file-via-buffer)
11942 (tramp-do-copy-or-rename-file-directly)
11943 (tramp-do-copy-or-rename-file-out-of-band)
11944 (tramp-handle-process-file, tramp-handle-call-process-region)
11945 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11946 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11947 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11949 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11950 (tramp-fish-handle-make-symbolic-link)
11951 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11953 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11954 Use `tramp-compat-delete-file'.
11956 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11957 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11959 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11960 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11962 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11963 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11964 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11965 Use `tramp-compat-delete-file'.
11967 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * subr.el (add-minor-mode): Use push.
11971 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11972 * emulation/edt.el (edt-select-mode): Simplify.
11974 Use define-minor-mode in more cases.
11975 * term/tvi970.el (tvi970-set-keypad-mode):
11976 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11977 (normal-erase-is-backspace-mode):
11978 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11979 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11980 (get-scroll-bar-mode): New function.
11981 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11983 Use define-minor-mode for less obvious cases.
11984 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11985 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11986 * international/iso-ascii.el (iso-ascii-mode):
11987 * frame.el (auto-raise-mode, auto-lower-mode):
11988 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11990 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11992 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11993 in order to see error messages for failed logins.
11995 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11997 * diff.el (diff-sentinel):
11999 * epg.el (epg--make-temp-file, epg-decrypt-string)
12000 (epg-verify-string, epg-sign-string, epg-encrypt-string):
12002 * jka-compr.el (jka-compr-partial-uncompress)
12003 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
12005 * server.el (server-sentinel): Use delete-file's new FORCE arg
12008 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12010 Use define-minor-mode where applicable.
12011 * view.el (view-mode):
12012 * type-break.el (type-break-query-mode)
12013 (type-break-mode-line-message-mode):
12014 * textmodes/reftex.el (reftex-mode):
12015 * term/vt100.el (vt100-wide-mode):
12016 * tar-mode.el (tar-subfile-mode):
12017 * savehist.el (savehist-mode):
12018 * ibuf-ext.el (ibuffer-auto-mode):
12019 * composite.el (auto-composition-mode):
12020 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12021 Use define-minor-mode.
12022 (vhdl-mode): Use static mode-line format.
12023 (vhdl-mode-line-update): Delete.
12024 (vhdl-create-mode-menu, vhdl-activate-customizations)
12025 (vhdl-hs-minor-mode): Don't bother calling it.
12027 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12029 * simple.el (with-wrapper-hook): Move.
12030 (buffer-substring-filters): Mark obsolete.
12031 (filter-buffer-substring-functions): New variable.
12032 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12034 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12035 Michael Albinus <michael.albinus@gmx.de>
12037 Implement compression for inline methods.
12039 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12040 (tramp-copy-size-limit): Allow also nil.
12041 (tramp-inline-compress-commands): New defconst.
12042 (tramp-find-inline-compress, tramp-get-inline-compress)
12043 (tramp-get-inline-coding): New defuns.
12044 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12045 replaced by `tramp-get-inline-coding'.
12046 (tramp-handle-file-local-copy, tramp-handle-write-region)
12047 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12049 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12051 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12052 Remove unused functions.
12054 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12055 Set find-tag-default-function as a variable rather than a property.
12057 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12058 * progmodes/etags.el (tags-completion-at-point-function):
12059 Remove left over interactive spec. Add autoloading stub.
12060 (complete-tag): Use tags-completion-at-point-function.
12062 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12064 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12066 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12068 * ido.el (ido-init-completion-maps): Remove C-v binding.
12069 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12071 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12073 * minibuffer.el (tags-completion-at-point-function): New function.
12074 (completion-at-point-functions): Use it.
12076 * progmodes/etags.el (complete-tag): Revert last change.
12078 2010-04-29 Alan Mackenzie <acm@muc.de>
12080 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12081 off-by-one error (in end of macro position).
12083 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12085 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12086 firefox is absent. Don't autoload.
12087 (browse-url-galeon-program): Don't autoload.
12089 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12091 * bindings.el (complete-symbol): Move into minibuffer.el.
12093 * minibuffer.el (complete-tag): Move from etags.el. If tags
12094 completion cannot be performed, return nil instead of signalling
12096 (completion-at-point): Make it an alias for complete-symbol.
12097 (complete-symbol): Move from bindings.el, and replace with the
12098 body of completion-at-point.
12100 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12102 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12104 * net/tramp.el (tramp-remote-selinux-p): New defun.
12105 (tramp-handle-file-selinux-context)
12106 (tramp-handle-set-file-selinux-context): Use it.
12108 2010-04-28 Sam Steingold <sds@gnu.org>
12110 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12111 `safe-local-variable' if the value is a string or a symbol with
12112 the property `bug-reference-url-format'.
12114 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12116 * progmodes/bug-reference.el (bug-reference-url-format):
12117 Revert 2010-04-27 change due to security risk.
12119 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12121 Make it possible to locally disable a globally enabled mode.
12122 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12123 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12124 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12125 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12126 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12127 that subsequent hooks get a chance to disable it.
12129 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12132 Avoid re-enabling a minor mode after the user turned the minor mode
12133 off if MODE-enable-in-buffers is run twice (typically once from
12134 fundamental-mode's after-change-major-mode-hook and a second time from
12135 run-mode-hook's own after-change-major-mode-hook).
12137 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12139 2010-04-27 Sam Steingold <sds@gnu.org>
12141 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12142 `safe-local-variable' if the value is a string or a function, as
12143 documented and implemented on 2010-04-02.
12145 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12147 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12148 when method is 'kill.
12150 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12152 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12153 condition in default directory check.
12154 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12155 Kill ispell process when killing its associated buffer.
12157 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12159 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12160 but we aren't using it.
12162 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12164 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12165 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12167 2010-04-24 Glenn Morris <rgm@gnu.org>
12169 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12170 Ignore VCS-ignore files, and deleted nextstep preferences files.
12171 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12172 (authors-ambiguous-files): New list.
12173 (authors-valid-file-names): Add some deleted files.
12174 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12175 (authors-disambiguate-file-name): New function. (Bug#5501)
12176 (authors-canonical-file-name): Doc fix.
12177 Don't warn about obsolete files.
12178 (authors-canonical-file-name, authors-scan-el):
12179 Use authors-disambiguate-file-name.
12181 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12182 Add autoload cookies.
12183 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12184 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12185 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12186 They have definitions / compiler macros in cl.el.
12187 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12188 Replace manual autoloads with generated ones.
12189 (htmlfontify-unload-rgb-file): Remove autoload.
12190 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12192 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12194 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12195 (byte-compile-setq-default): Optimize for the
12196 single-var case and don't call byte-compile-form in this case to avoid
12197 inf-loop with byte-compile-set-default.
12199 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12201 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12203 Implement SELINUX backends.
12205 * net/tramp.el (tramp-file-name-handler-alist):
12206 Add `file-selinux-context' and `set-file-selinux-context'.
12207 (tramp-handle-file-selinux-context)
12208 (tramp-handle-set-file-selinux-context): New defuns.
12209 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12210 Handle PRESERVE-SELINUX-CONTEXT.
12212 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12213 Add `file-selinux-context' and `set-file-selinux-context'.
12214 (tramp-gvfs-handle-file-selinux-context)
12215 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12216 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12218 * net/ange-ftp.el (ange-ftp-copy-file):
12219 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12220 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12221 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12222 Add PRESERVE-SELINUX-CONTEXT.
12224 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12226 Synchronize with Tramp repository.
12228 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12229 (tramp-action-process-alive, tramp-action-out-of-band)
12230 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12231 (tramp-exists-file-name-handler): Fix docstring.
12232 (with-progress-reporter): New defmacro.
12233 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12234 (tramp-maybe-open-connection): Use it.
12236 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12238 Detect ssh 'ControlMaster' argument automatically in some cases.
12240 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12241 (tramp-default-method): Use it.
12243 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12245 * net/tramp.el (tramp-handle-copy-file): Add new optional
12246 parameter `preserve-selinux-context'.
12247 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12249 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12251 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12252 Ensure, that non remote files are still checked. Oops.
12254 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12258 * icomplete.el (icomplete-completions): Use `non-essential'.
12260 * net/tramp.el (tramp-connectable-p): New defun.
12261 (tramp-handle-expand-file-name)
12262 (tramp-completion-handle-file-name-all-completions)
12263 (tramp-completion-handle-file-name-completion): Use it.
12265 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12269 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12271 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12273 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12275 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12278 * info.el (info-tool-bar-map): Add labels.
12280 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12282 * cus-edit.el (custom-commands): Add labels for tool bar.
12283 (custom-buffer-create-internal, Custom-mode): Adjust for
12284 labels in custom-commands.
12286 * dynamic-setting.el: Renamed from font-setting.el.
12288 2010-04-21 John Wiegley <jwiegley@gmail.com>
12290 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12291 toggles the use of virtual buffers.
12292 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12293 (ido-toggle-virtual-buffers): New function.
12295 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12297 Use `define-derived-mode'; fix window selection; doc fixes.
12298 * play/tetris.el (tetris, tetris-update-speed-function)
12299 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12300 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12301 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12302 (tetris-pause-game): Fix typos in docstrings.
12303 (tetris-mode-map, tetris-null-map):
12304 Move initialization into declaration.
12305 (tetris-mode): Define with `define-derived-mode';
12306 set show-trailing-whitespace to nil.
12307 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12309 2010-04-21 Karel Klíč <kklic@redhat.com>
12311 * files.el (backup-buffer): Handle SELinux context, and return it
12312 if a backup was made by renaming.
12313 (backup-buffer-copy): Set SELinux context to the target file.
12314 (basic-save-buffer): Set SELinux context of the newly written file.
12315 (basic-save-buffer-1): Now it also returns any SELinux context.
12316 (basic-save-buffer-2): Set SELinux context of the newly created file,
12318 * net/tramp.el (tramp-file-name-for-operation):
12319 Add file-selinux-context.
12321 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12323 Make the log-edit comments use RFC822 format throughout.
12325 * vc.el (vc-checkin, vc-modify-change-comment):
12326 Adjust to new vc-start/finish-logentry.
12327 (vc-find-conflicted-file): New command.
12328 (vc-transfer-file): Adjust to new vc-checkin.
12329 (vc-next-action): Improve scoping.
12331 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12332 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12334 * vc-git.el (vc-git-log-edit-mode): Remove.
12335 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12336 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12338 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12339 (vc-start-logentry): Remove argument `extra'.
12340 (vc-finish-logentry): Remove extra args.
12342 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12343 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12344 (vc-bzr-conflicted-files): New function.
12346 * log-edit.el (log-edit-extra-flags)
12347 (log-edit-before-checkin-process): Remove.
12348 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12349 (log-edit-headers-alist): New var.
12350 (log-edit-header-contents-regexp): New const.
12351 (log-edit-match-to-eoh): New function.
12352 (log-edit-font-lock-keywords): Use them.
12353 (log-edit): Insert a "Summary:" header as default.
12354 (log-edit-mode): Mark font-lock rules as case-insensitive.
12355 (log-edit-done): Cleanup headers.
12356 (log-view-process-buffer): Remove.
12357 (log-edit-extract-headers): New function to replace it.
12359 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12361 * subr.el (default-direction-reversed): Remove obsolescence info.
12363 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12368 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12369 I.e. include text after point in the completion region.
12370 Also, return nil when we're not after/in a symbol.
12372 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12373 default enable-multibyte-characters.
12375 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12377 * international/mule.el: Help the user choose a valid coding-system.
12378 (read-buffer-file-coding-system): New function.
12379 (set-buffer-file-coding-system): Use it. Prompt the user if the
12380 coding-system cannot encode all the chars.
12382 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12383 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12384 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12385 Don't use *vc-bzr-shelve*.
12387 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12389 Fix the version number for added files.
12390 * vc-hg.el (vc-hg-working-revision): Check if the file is
12391 registered after hg parent fails (Bug#5961).
12393 2010-04-19 Glenn Morris <rgm@gnu.org>
12395 * htmlfontify.el (htmlfontify-buffer)
12396 (htmlfontify-copy-and-link-dir): Autoload entry points.
12398 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12400 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12401 name relative to the project root (Bug#5960).
12403 2010-04-19 Glenn Morris <rgm@gnu.org>
12405 * vc-git.el (vc-git-print-log): Doc fix.
12407 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12409 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12411 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12413 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12414 default settings (Bug#5928).
12416 2010-04-19 Glenn Morris <rgm@gnu.org>
12418 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12420 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12422 2010-04-19 Kenichi Handa <handa@m17n.org>
12424 * language/indian.el (malayalam-composable-pattern): Fix previous
12425 change (add U+0D4D "SIGN VIRAMA").
12426 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12427 (tamil-composable-pattern): Fix typo in the regexp.
12428 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12429 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12430 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12432 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12434 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12435 paragraph-separate (Bug#5821).
12437 2010-04-19 Juri Linkov <juri@jurta.org>
12439 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12441 * info.el (Info-find-node-2): Comment out code that skips
12443 (Info-mouse-follow-link): New command.
12444 (Info-link-keymap): New keymap.
12445 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12446 Return a string with links instead of inserting breadcrumbs
12447 to the Info buffer.
12448 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12449 Instead of putting the `invisible' text property over the Info
12450 header, make an overlay over the Info header with the `invisible'
12451 property and `after-string' set to the string returned by
12452 `Info-breadcrumbs'.
12454 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12456 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12457 Reported by monkey@sandpframing.com.
12459 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12462 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12463 available in the "keyseq cache" any more.
12465 * custom.el (defcustom): Add edebug spec.
12467 2010-04-18 Juri Linkov <juri@jurta.org>
12469 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12471 * view.el (view-file, view-buffer): Move test for special mode-class
12472 from view-file to view-buffer.
12474 * tar-mode.el (tar-extract): Turn if's into one cond
12475 like in arc-mode.el.
12477 2010-04-18 Juri Linkov <juri@jurta.org>
12479 Add 7z archive format support (bug#5475).
12481 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12482 (archive-7z-extract): New defcustom.
12483 (archive-find-type): Add magic string for 7z.
12484 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12485 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12486 `buffer' arg of `call-process'.
12487 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12488 call the function `archive-7z-extract' with the variable
12489 `archive-7z-extract' let-bound to `archive-zip-extract'.
12490 (archive-7z-summarize, archive-7z-extract): New functions.
12492 * international/mule.el (auto-coding-alist):
12493 * files.el (auto-mode-alist): Add 7z file extension.
12495 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12497 * loadup.el: Setup hash-cons for pure data.
12499 Fix duplicate entries in cedet's loaddefs.el files.
12500 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12501 Should make most file-local generated-autoload-file unnecessary.
12502 (print-readably): Silence warnings.
12503 (autoload-find-destination): Take load-name as an arg to make sure
12504 it's the same as the one that will be in the file.
12505 (autoload-generate-file-autoloads): Adjust to above changes.
12506 Try to make the dataflow a bit simpler.
12508 * cvs-status.el (cvs-refontify): Remove unused.
12510 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12512 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12514 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12515 twos-complement mode.
12517 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12519 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12520 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12521 (calc-inverse): Add "Option" to message, as appropriate.
12522 (calc-hyperbolic): Add "Option" to message, as appropriate.
12523 (calc-option, calc-is-option): New functions.
12525 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12526 (calc-option-prefix-help): New function.
12528 * calc/calc-misc.el (calc-help): Add "Option" entry.
12530 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12531 (calc-option-flag): New variable.
12532 (calc-do): Set `calc-option-flag to nil.
12533 (calc-set-mode-line): Add "Opt " as appropriate.
12535 2010-04-16 Juri Linkov <juri@jurta.org>
12537 Move scrolling commands from simple.el to window.el
12538 because their primitives are implemented in window.c.
12540 * simple.el (scroll-error-top-bottom)
12541 (scroll-up-command, scroll-down-command, scroll-up-line)
12542 (scroll-down-line, scroll-other-window-down)
12543 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12544 * window.el (scroll-error-top-bottom)
12545 (scroll-up-command, scroll-down-command, scroll-up-line)
12546 (scroll-down-line, scroll-other-window-down)
12547 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12548 Move from simple.el to window.el because their primitives are
12549 implemented in window.c.
12551 2010-04-16 Juri Linkov <juri@jurta.org>
12553 * isearch.el (isearch-lookup-scroll-key): Check both
12554 `isearch-scroll' and `scroll-command' properties.
12555 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12557 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12559 * simple.el (scroll-up-command, scroll-down-command)
12560 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12562 2010-04-15 Juri Linkov <juri@jurta.org>
12564 * simple.el (scroll-up-command, scroll-down-command)
12565 (scroll-up-line, scroll-down-line): Put `scroll-command'
12566 property on the these symbols. Remove them from
12567 `scroll-preserve-screen-position-commands'.
12569 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12570 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12571 Remove it from `scroll-preserve-screen-position-commands'.
12573 * isearch.el (isearch-allow-scroll): Doc fix.
12575 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12577 * net/tramp.el (tramp-error-with-buffer): Don't show the
12578 connection buffer when we are in completion mode.
12579 (tramp-file-name-handler): Catch the error for some operations
12580 when we are in completion mode. This gives the user the chance to
12581 correct the file name in the minibuffer.
12583 2010-04-15 Glenn Morris <rgm@gnu.org>
12585 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12587 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12589 Simplify by using `define-derived-mode'.
12590 * info.el (Info-mode):
12591 * calendar/todo-mode.el (todo-mode):
12592 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12593 (gomoku-mode-map): Move initialization into declaration.
12595 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12598 * ido.el (ido-file-name-all-completions-1):
12599 * minibuffer.el (minibuffer-completion-help):
12600 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12602 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12604 * simple.el (non-essential): New var.
12606 Add a new field `location' to bookmarks for non-file bookmarks.
12607 * bookmark.el (bookmark-location): Use the new field, if present.
12608 (bookmark-insert-location): Undo last change, not needed any more.
12609 * man.el (Man-bookmark-make-record):
12610 * woman.el (woman-bookmark-make-record): Add `location' field.
12612 2010-04-14 Juri Linkov <juri@jurta.org>
12614 * simple.el (scroll-error-top-bottom): New defcustom.
12615 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12617 * emulation/pc-select.el (pc-select-override-scroll-error):
12618 Obsolete in favor of `scroll-error-top-bottom'.
12620 2010-04-14 Juri Linkov <juri@jurta.org>
12622 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12623 `scroll-up-command' and `M-v' to `scroll-down-command'.
12625 * emulation/cua-rect.el (cua--init-rectangles):
12626 * forms.el (forms--change-commands):
12627 * image-mode.el (image-mode-map):
12628 Remap scroll-down-command and scroll-up-command
12629 in addition to scroll-down and scroll-up.
12631 2010-04-14 Juri Linkov <juri@jurta.org>
12633 * mwheel.el (scroll-preserve-screen-position-commands):
12634 Add mwheel-scroll to this list of commands.
12636 * simple.el (scroll-preserve-screen-position-commands):
12637 Add scroll-up-command, scroll-down-command, scroll-up-line,
12638 scroll-down-line to this list of commands.
12640 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * obsolete/complete.el: Move from lisp/complete.el.
12644 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12646 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12647 to the minor mode function now turns the mode ON unconditionally.
12649 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * vc-dir.el (vc-dir-kill-line): New command.
12652 (vc-dir-mode-map): Bind it to C-k.
12654 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12656 * woman.el: Add bookmark declarations to silence the compiler.
12657 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12658 step to compatibility between man and woman bookmarks.
12659 Adjust for Man-default-bookmark-title renaming.
12660 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12662 * man.el: Add bookmark declarations to silence the compiler.
12663 (Man-name-local-regexp): Make it match NAME as well.
12664 (Man-getpage-in-background): Return the buffer.
12665 (Man-notify-when-ready): Use `case'.
12666 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12667 Don't hardcode "NAME". Simplify.
12668 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12669 Rename from Man-bookmark-make-record.
12670 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12671 we have the actual man-args. Use Man-getpage-in-background rather
12672 than `man' since the arg is already processed. Let bookmark.el do the
12673 window handling. Only wait for the relevant process.
12674 Don't forget to autoload.
12676 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12678 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12680 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12682 (woman-mode): Setup bookmark support.
12684 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12685 (man-bookmark-jump): New functions.
12686 (Man-mode): Setup bookmark support.
12688 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12690 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12691 recognize ssh-keygen prompt (Bug#2817).
12693 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12695 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12697 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12699 Synchronize with Tramp repository.
12701 * net/tramp.el (tramp-completion-function-alist)
12702 (tramp-file-name-regexp, tramp-chunksize)
12703 (tramp-local-coding-commands, tramp-remote-coding-commands):
12705 (tramp-remote-process-environment): Use `format' instead of `concat'.
12706 (tramp-handle-directory-files-and-attributes)
12707 (tramp-get-remote-path): Use `copy-tree'.
12708 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12709 compatibility: Use `completion-ignore-case' if
12710 `read-file-name-completion-ignore-case' does not exist.
12711 (tramp-do-copy-or-rename-file-directly): Do not use
12712 `tramp-handle-file-remote-p'.
12713 (tramp-do-copy-or-rename-file-out-of-band):
12714 Use `tramp-compat-delete-directory'.
12715 (tramp-do-copy-or-rename-file-out-of-band)
12716 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12717 Use `format-spec-make'.
12718 (tramp-find-foreign-file-name-handler)
12719 (tramp-advice-make-auto-save-file-name)
12720 (tramp-set-auto-save-file-modes): Remove superfluous check for
12721 `stringp'. This is done inside `tramp-tramp-file-p'.
12722 (tramp-debug-outline-regexp): New defconst.
12723 (tramp-get-debug-buffer): Use it.
12724 (tramp-check-for-regexp): Use (forward-line 1).
12725 (tramp-set-auto-save-file-modes): Adapt version check.
12727 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12728 Wrap call of `featurep' for 2nd argument.
12729 (tramp-compat-make-temp-file): Simplify fallback implementation.
12730 (tramp-compat-copy-tree): Remove function.
12731 (tramp-compat-delete-directory): Provide implementation for older
12734 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12735 Do not use `tramp-fish-handle-file-attributes.
12737 * net/trampver.el: Update release number.
12739 2010-04-10 Glenn Morris <rgm@gnu.org>
12741 * progmodes/compile.el (compilation-save-buffers-predicate):
12742 Add missing :version tag.
12744 2010-04-09 Sam Steingold <sds@gnu.org>
12746 * progmodes/compile.el (compilation-save-buffers-predicate):
12747 Remove the "autoload" cookie.
12749 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12750 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12751 and `bug-reference-prog-mode' can be used in hooks directly.
12753 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12755 Add --author support to git commit.
12756 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12757 (vc-git-log-edit-mode): New minor mode.
12758 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12761 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12763 * vc-hooks.el, vc-git.el: Improve documentation comments.
12765 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12767 Fix some of the problems in defsubst* (bug#5728).
12768 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12769 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12771 2010-04-07 Sam Steingold <sds@gnu.org>
12773 * progmodes/compile.el (compilation-save-buffers-predicate):
12774 New custom variable.
12775 (compile, recompile): Pass it to `save-some-buffers'.
12777 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12779 * wid-edit.el (widget-choose): Move cursor to the second line of
12780 the buffer (Bug#5695).
12782 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12784 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12785 * vc.el (vc-print-log-setup-buttons): New function split out from
12786 vc-print-log-internal.
12787 (vc-log-internal-common): New function, a parametrized version of
12788 vc-print-log-internal.
12789 (vc-print-log-internal): Just call vc-log-internal-common with the
12791 (vc-incoming-outgoing-internal):
12792 (vc-log-incoming, vc-log-outgoing): New functions.
12793 (vc-log-view-type): New permanent local variable.
12795 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12797 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12798 of the dynamic bound vc-short-log.
12799 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12801 * vc-git.el (vc-git-log-outgoing): New function.
12802 (vc-git-log-view-mode): Use vc-log-view-type instead
12803 of the dynamic bound vc-short-log.
12805 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12806 of the dynamic bound vc-short-log. Highlight the tag.
12807 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12808 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12809 (vc-hg-incoming-mode): Remove.
12810 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12812 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12814 Fix default-directory for vc-root-diff.
12815 * vc.el (vc-root-diff): Bind default-directory to the root
12816 directory for the diff command.
12818 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12820 * progmodes/verilog-mode.el (verilog-forward-sexp):
12821 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12822 word keywords, suggested by Steve Pearlmutter.
12823 (verilog-pretty-declarations): Support lineup of declarations in
12825 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12826 fix bug for /* / comments.
12827 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12828 Speed up and simplfy as this is never called with a bound.
12829 (verilog-pretty-declarations): Enhance to line up declarations
12830 inside a parameter list, suggested by Alan Morgan.
12831 (verilog-pretty-expr): Tune assignment regular expression match
12832 string for corner cases; also use markers instead of character
12833 number as indent changes the later.
12835 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12837 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12838 as missing keyword.
12839 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12840 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12841 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12842 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12844 (verilog-keywords):
12845 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12846 1800-2009 keywords, including "global.".
12848 2010-04-06 John Wiegley <jwiegley@gmail.com>
12850 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12851 appearing in buffer list (if a live buffer name matched a recentf
12852 file basename). Should use uniquify to offer a real solution.
12854 2010-04-06 John Wiegley <jwiegley@gmail.com>
12856 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12857 comment to code, and add a :version tag.
12858 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12860 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12862 Enable recentf-mode if using virtual buffers.
12863 * ido.el (recentf-list): Declare for byte-compiler.
12864 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12865 (ido-make-buffer-list): Simplify.
12866 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12868 2010-04-05 Juri Linkov <juri@jurta.org>
12870 Scrolling commands which scroll a line instead of full screen.
12871 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12873 * simple.el (scroll-up-line, scroll-down-line): New commands.
12874 Put property isearch-scroll=t on them.
12876 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12879 2010-04-05 Juri Linkov <juri@jurta.org>
12881 Scrolling commands which do not signal errors at top/bottom.
12882 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12884 * simple.el (scroll-up-command, scroll-down-command): New commands.
12885 Put property isearch-scroll=t on them.
12887 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12888 `scroll-down-command' and [next] from `scroll-up' to
12889 `scroll-up-command'.
12891 * emulation/cua-base.el: Put property CUA=move on
12892 `scroll-up-command' and `scroll-down-command'.
12893 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12894 and `scroll-down-command' to `cua-scroll-down'.
12896 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12898 * help.el (describe-mode): Return nil.
12900 2010-04-04 John Wiegley <jwiegley@gmail.com>
12902 * ido.el (ido-use-virtual-buffers): New variable to indicate
12903 whether "virtual buffer" support is enabled for IDO.
12904 (ido-virtual): Face used to indicate virtual buffers in the list.
12905 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12906 exists, but a virtual buffer of that name does (which would be why
12907 it was in the list), recreate the buffer by reopening the file.
12908 (ido-make-buffer-list): If virtual buffers are being used, call
12909 `ido-add-virtual-buffers-to-list' before the make list hook.
12910 (ido-virtual-buffers): New variable which contains a copy of the
12911 current contents of the `recentf-list', albeit pared down for the
12912 sake of speed, and with proper faces applied.
12913 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12914 create a list of "virtual buffers" to present to the user in
12915 addition to the currently open set. Note that this logic could
12916 get rather slow if that list is too large. With the default
12917 `recentf-max-saved-items' of 200, there is little speed penalty.
12919 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12921 * font-lock.el: Require CL when compiling.
12922 (font-lock-turn-on-thing-lock): Use `case'.
12924 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12926 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12929 2010-04-02 Juri Linkov <juri@jurta.org>
12931 * ehelp.el (electric-help-orig-major-mode):
12932 New buffer-local variable.
12933 (electric-help-mode): Set it to original major-mode. Doc fix.
12934 (with-electric-help): Use `electric-help-orig-major-mode' instead
12935 of (default-value 'major-mode). Doc fix.
12936 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12938 2010-04-02 Sam Steingold <sds@gnu.org>
12940 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12941 `vc-hg-command' with a list of flags.
12943 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12944 Also accept "patch" and "RFE".
12945 (bug-reference-fontify): `bug-reference-url-format' can also be a
12946 function to be able to handle the bug kind.
12947 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12949 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12951 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12952 value to fboundp, it may not be a symbol.
12954 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12956 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12958 2010-03-31 Juri Linkov <juri@jurta.org>
12960 * simple.el (next-line, previous-line): Re-throw a signal
12961 with `signal' instead of using `ding'.
12962 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12964 2010-03-31 Juri Linkov <juri@jurta.org>
12966 * simple.el (keyboard-escape-quit): Raise deselecting the active
12967 region higher than exiting the minibuffer.
12968 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12970 2010-03-31 Juri Linkov <juri@jurta.org>
12972 * image.el (image-animated-p): Use `image-metadata' instead of
12973 `image-extension-data'. Get GIF extenstion data from metadata
12974 property `extension-data'.
12976 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12978 * simple.el (append-to-buffer): Simplify.
12980 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12982 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12983 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12985 2010-03-31 Kenichi Handa <handa@m17n.org>
12987 * language/sinhala.el (composition-function-table): Fix regexp for
12988 the new Unicode specification.
12990 * language/indian.el (devanagari-composable-pattern)
12991 (tamil-composable-pattern, kannada-composable-pattern)
12992 (malayalam-composable-pattern): Adjust for the new Unicode
12994 (bengali-composable-pattern, gurmukhi-composable-pattern)
12995 (gujarati-composable-pattern, oriya-composable-pattern)
12996 (telugu-composable-pattern): New variables to cope with the new
12997 Unicode specification. Use them in composition-function-table.
12999 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13001 Make tmm-menubar work for the Buffers menu again (bug#5726).
13002 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
13003 vectors rather than cons cells, as used in menu-bar-update-buffers.
13005 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13007 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
13008 (js-insert-and-indent): Revert 2009-08-15 change, restoring
13009 electric punctuation for "{}();,:" (Bug#5586).
13011 * mail/sendmail.el (mail-default-directory): Doc fix.
13013 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13015 * mail/sendmail.el (mail-default-directory): Doc fix.
13017 2010-03-31 Eli Zaretskii <eliz@gnu.org>
13019 * subr.el (version-regexp-alist, version-to-list)
13020 (version-list-<, version-list-=, version-list-<=)
13021 (version-list-not-zero, version<, version<=, version=): Doc fix.
13024 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
13026 * vc.el (vc-root-diff): Doc fix.
13028 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13030 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13032 * simple.el (append-to-buffer): Fix last change.
13034 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13036 * simple.el (append-to-buffer): Ensure that point is preserved if
13037 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13040 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * files.el (auto-mode-case-fold): Change default to t.
13044 2010-03-30 Juri Linkov <juri@jurta.org>
13046 * dired-x.el (dired-omit-mode): Doc fix.
13048 2010-03-30 Juri Linkov <juri@jurta.org>
13050 * replace.el (occur-accumulate-lines): Move occur-engine related
13051 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13052 to be located after `occur-engine'.
13054 2010-03-30 Juri Linkov <juri@jurta.org>
13056 Make occur handle multi-line matches cleanly with context.
13057 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13059 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13060 (occur-engine): Add local variables `ret', `prev-after-lines',
13061 `prev-lines'. Use more arguments for `occur-context-lines'.
13062 Set first elem of its returned list to `data', and the second elem
13063 to `prev-after-lines'. Don't print the separator line.
13064 In the end, print remaining context after-lines.
13065 (occur-context-lines): Add new arguments `begpt', `endpt',
13066 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13067 after-lines of the previous match with before-lines of the
13068 current match and not overlap them. Return a list with two
13069 values: the output line and the list of context after-lines.
13071 2010-03-30 Juri Linkov <juri@jurta.org>
13073 * replace.el (occur-accumulate-lines): Fix a bug where the first
13074 context line at the beginning of the buffer was missing.
13076 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13078 * files.el: Make bidi-display-reordering safe variable for boolean
13081 2010-03-29 Phil Hagelberg <phil@evri.com>
13082 Chong Yidong <cyd@stupidchicken.com>
13084 * subr.el: Extend progress reporters to perform "spinning".
13085 (progress-reporter-update, progress-reporter-do-update):
13086 Handle non-numeric value arguments.
13087 (progress-reporter--pulse-characters): New var.
13089 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13091 * progmodes/compile.el (compilation-start): Fix regexp detection
13092 of initial cd command (Bug#5771).
13094 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13096 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13098 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13100 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13101 * progmodes/gdb-mi.el: Restore.
13102 * progmodes/gdb-ui.el: Remove.
13103 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13105 2010-03-25 Glenn Morris <rgm@gnu.org>
13107 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13108 all dired buffers, even tramp ones. (Bug#5755)
13110 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13112 Add "union tags" in mpc.el.
13113 * mpc.el: Remove backward compatibility code.
13114 (mpc-browser-tags): Change default.
13115 (mpc--find-memoize-union-tags): New var.
13116 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13117 (mpc-cmd-find): Handle the case where the playlist does not exist.
13119 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13120 (mpc-cmd-add): Use mpc-cmd-flush.
13121 (mpc-tagbrowser-tag-name): New fun.
13122 (mpc-tagbrowser-buf): Use it.
13123 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13125 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13128 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13129 Use replace-regexp-in-string.
13130 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13131 (makefile-imake-mode-syntax-table): Move init into defvar.
13132 (makefile-mode): Use define-derived-mode.
13134 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13135 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13136 not be present any more.
13138 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13140 * faces.el (set-face-attribute): Fix typo in docstring.
13141 (face-valid-attribute-values): Reflow docstring.
13143 2010-03-24 Glenn Morris <rgm@gnu.org>
13145 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13147 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13149 * indent.el (indent-for-tab-command): Doc fix.
13151 2010-03-24 Alan Mackenzie <acm@muc.de>
13153 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13154 Fix off-by-one error. Fixes bug #5747.
13156 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13158 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13159 (image-dired-read-comment): Doc fix.
13161 * json.el (json-object-type, json-array-type, json-key-type)
13162 (json-false, json-null, json-read-number):
13163 * minibuffer.el (completion-in-region-functions):
13164 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13165 (cal-tex-cursor-week):
13166 * emacs-lisp/trace.el (trace-function):
13167 * eshell/em-basic.el (eshell/printnl):
13168 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13169 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13170 * obsolete/levents.el (allocate-event, event-key, event-object)
13171 (event-point, event-process, event-timestamp, event-to-character)
13172 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13173 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13174 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13175 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13176 (reftex-highlight-selection): Fix typos in docstrings.
13178 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13180 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13182 2010-03-24 Glenn Morris <rgm@gnu.org>
13184 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13185 2008-02-13 without comment; mark it obsolete.
13186 (rmail-highlight-headers): Use rmail-highlight-face once more.
13188 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13190 * woman.el (woman2-process-escapes): Only consume the newline if
13191 the filler character is on a line by itself (Bug#5729).
13193 2010-03-24 Kenichi Handa <handa@m17n.org>
13195 * language/indian.el (devanagari-composable-pattern): Add more
13198 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13200 * net/trampver.el: Update release number.
13202 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13204 * net/tramp.el (tramp-find-executable):
13205 Use `tramp-get-connection-buffer'. Make the regexp for checking
13206 output of "wc -l" more robust.
13207 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13208 (tramp-open-connection-setup-interactive-shell): Remove workaround
13209 for OpenSolaris bug, it is not needed anymore.
13211 2010-03-24 Glenn Morris <rgm@gnu.org>
13213 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13215 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13217 * files.el (auto-mode-alist): Accept more verilog file patterns.
13219 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13223 2010-03-24 Glenn Morris <rgm@gnu.org>
13225 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13226 log-edit-before-checkin-process.
13228 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13230 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13232 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13233 (log-view-process-buffer, log-edit-extra-flags): Declare.
13235 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13237 2010-03-23 Sam Steingold <sds@gnu.org>
13239 Fix bug#5620: recalculate all markers on compilation buffer
13240 modifications, not on file modifications.
13241 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13242 variable: the buffer modification time, for buffers not associated with
13244 (compilation-mode): Create it.
13245 (compilation-filter): Update it.
13246 (compilation-next-error-function): Use it instead of
13247 `visited-file-modtime' for timestamp.
13249 2010-03-23 Juri Linkov <juri@jurta.org>
13251 Implement Occur multi-line matches.
13252 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13254 * replace.el (occur): Doc fix.
13255 (occur-engine): Set `begpt' to the beginning of the first line.
13256 Set `endpt' to the end of the last match line. At first, count
13257 line numbers between `origpt' and `begpt'. Split out code from
13258 `out-line' variable to new let-bindings `match-prefix' and
13259 `match-str'. In `out-line' add non-numeric prefix to all
13260 non-first lines of multi-line matches. Finally, count lines
13261 between `begpt' and `endpt' and add to `lines'.
13263 2010-03-23 Juri Linkov <juri@jurta.org>
13265 * replace.el (occur-accumulate-lines, occur-engine):
13266 Use `occur-engine-line' instead of duplicate code.
13267 (occur-engine-line): New function created from duplicate code
13268 in `occur-accumulate-lines' and `occur-engine'.
13270 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13271 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13273 2010-03-23 Juri Linkov <juri@jurta.org>
13275 * finder.el: Remove TODO tasks.
13277 * info.el (Info-finder-find-node): Add node "all"
13278 with all package info. Handle a list of multiple keywords
13279 separated by comma.
13280 (info-finder): In interactive use with a prefix argument,
13281 use `completing-read-multiple' to read a list of keywords
13282 separated by comma.
13284 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13286 Add a new completion style `substring'.
13287 * minibuffer.el (completion-basic--pattern): New function.
13288 (completion-basic-try-completion, completion-basic-all-completions):
13290 (completion-substring--all-completions)
13291 (completion-substring-try-completion)
13292 (completion-substring-all-completions): New functions.
13293 (completion-styles-alist): New style `substring'.
13295 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13297 Get rid of .elc files after removal of the corresponding .el.
13298 * Makefile.in (compile-clean): New target.
13299 (compile-main): Use it.
13301 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13303 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13304 don't do make there. When compiling with separate object dir, there
13305 is no Makefile there.
13307 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13309 Get rid of the ELCFILES abomination, again.
13310 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13311 (all, compile): Don't call compile-last.
13312 (compile-main): Build the "elcfiles" list dynamically.
13313 (compile-targets): New (internal) target.
13315 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13317 * Makefile.in (top_srcdir): Define.
13318 (abs_top_builddir): Define.
13319 (srcdir): Don't append `/..'.
13320 (EMACS): Use ${abs_top_builddir}.
13321 (all, compile, compile-always, compile-last): Don't set emacswd.
13322 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13324 (lisp): Use $(srcdir) instead of @srcdir@.
13326 2010-03-21 Juri Linkov <juri@jurta.org>
13328 Fix message of multi-line occur regexps and multi-buffer header lines.
13329 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13331 * replace.el (occur-1): Don't display regexp if it is longer
13332 than window-width. Use `query-replace-descr' to display regexp.
13333 (occur-engine): Don't display regexp in the buffer header for
13334 multi-buffer occur. Display a separate header line with total
13335 match count and regexp for multi-buffer occur.
13336 Use `query-replace-descr' to display regexp.
13338 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13340 * net/secrets.el: Fix parenthesis.
13341 (secrets-enabled): Fix parenthesis.
13343 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13345 Use more relative file and directory names.
13346 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13347 (setwins, setwins_almost, setwins_for_subdirs):
13348 Don't `cd'; output relative names.
13349 (all, compile, compile-always, compile-last): Set emacswd.
13350 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13351 Just cd to the lisp source dir so we can use relative file names.
13353 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13355 2010-03-20 Glenn Morris <rgm@gnu.org>
13357 * textmodes/rst.el: Use faces for font-lock customization, and make the
13358 old -face variables obsolete.
13359 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13360 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13361 (rst-block-face, rst-external-face, rst-definition-face)
13362 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13363 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13365 (rst-font-lock-keywords-function): Update for above changes.
13367 2010-03-20 Juri Linkov <juri@jurta.org>
13370 * obsolete/s-region.el: Move to obsolete.
13372 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13374 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13376 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13378 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13380 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13382 Add special markup processing for commit logs.
13383 * log-edit.el (log-edit-extra-flags): New variable.
13384 (log-edit): Add new argument MODE. Use that mode when non-nil
13385 instead of the log-view-mode.
13386 (log-view-process-buffer): New function.
13388 * vc.el: Document that the checkin method takes optional
13389 arguments. Document new backend specific method: log-view-mode.
13390 (vc-default-log-edit-mode): New function.
13391 (vc-checkin): Use a backend specific log-view-mode.
13392 Pass extra arguments to the checkin method.
13393 (vc-modify-change-comment): Pass a dummy extra argument.
13395 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13397 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13398 (vc-finish-logentry): Process the log buffer before passing it
13399 down. Pass log-edit-extra-flags.
13401 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13403 (log-edit-extra-flags, log-edit-before-checkin-process):
13406 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13408 (log-edit-extra-flags, log-edit-before-checkin-process):
13410 (vc-hg-log-edit-mode): New derived mode.
13412 * vc-arch.el (vc-arch-checkin):
13413 * vc-cvs.el (vc-cvs-checkin):
13414 * vc-git.el (vc-git-checkin):
13415 * vc-mtn.el (vc-mtn-checkin):
13416 * vc-rcs.el (vc-rcs-checkin):
13417 * vc-sccs.el (vc-sccs-checkin):
13418 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13420 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13422 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13425 2010-03-19 Glenn Morris <rgm@gnu.org>
13427 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13429 2010-03-18 Glenn Morris <rgm@gnu.org>
13431 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13433 * replace.el (query-replace-history): Give it a doc string.
13434 (map-query-replace-regexp): Use query-replace-from-history-variable
13435 and query-replace-to-history-variable.
13437 * mail/hashcash.el (declare-function): Remove duplicate definition.
13439 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13440 Make it an obsolete alias for report-emacs-bug-address.
13441 (message-strip-special-text-properties): Declare.
13442 (report-emacs-bug): Remove test for a pretest bug address.
13443 Combine message-mode-specific code.
13445 * mail/supercite.el: Don't require sendmail.
13446 (mh-in-header-p): Declare rather than using with-no-warnings.
13447 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13448 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13450 * calendar/cal-french.el: Convert to utf-8.
13452 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13455 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13457 * net/secrets.el (secrets-enabled): New variable. Use it instead
13460 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13462 * net/secrets.el (top): Register the D-Bus signals only when the
13463 service "org.freedesktop.secrets" can be pinged.
13464 Provide subfeature `enabled'.
13466 2010-03-14 Juri Linkov <juri@jurta.org>
13468 Add finder unknown keywords.
13470 * finder.el (finder-unknown-keywords): New function.
13472 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13473 to create a Finder node with unknown keywords.
13475 2010-03-14 Juri Linkov <juri@jurta.org>
13477 * finder.el (finder-compile-keywords): Replace `princ' with
13478 `prin1' on a list of symbols interned from keyword strings.
13480 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13481 a comma, then split keywords using a comma and optional whitespace.
13482 Otherwise, split by whitespace.
13490 * progmodes/mixal-mode.el: Fix keywords.
13492 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13494 * Makefile.in (ELCFILES): Add net/secrets.elc.
13496 * net/secrets.el: New file.
13498 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13500 * facemenu.el (list-colors-display, list-colors-print): New arg
13501 callback. Use it to allow selecting colors.
13503 * wid-edit.el (widget-image-insert): Insert image prop even if the
13504 current display is non-graphic.
13505 (widget-field-value-set): New fun.
13506 (editable-field): Use it.
13507 (widget-field-value-get): Clean up unused var.
13508 (widget-color-value-create, widget-color--choose-action):
13509 New funs. Allow using list-colors-display to choose color.
13511 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13513 * cus-edit.el: Resort topmost custom groups.
13514 (custom-buffer-sort-alphabetically): Default to t.
13515 (customize-apropos): Use apropos-parse-pattern.
13516 (custom-search-field): New var.
13517 (custom-buffer-create-internal): Add custom-apropos search field.
13518 (custom-add-parent-links): Don't display parent doc.
13519 (custom-group-value-create): Don't sort top-level custom group.
13520 (custom-magic-value-create): Show visibility button before option name.
13522 (custom-variable-state): New fun, from custom-variable-state-set.
13523 (custom-variable-state-set): Use it.
13524 (custom-group-value-create): Hide options with standard values
13525 using the :hidden-states property. Use progress reporter.
13527 (custom-show): Simplify.
13528 (custom-visibility): Disable images by default.
13529 (custom-variable): New property :hidden-states.
13530 (custom-variable-value-create): Enable images for
13531 custom-visibility widgets. Use :hidden-states property to
13532 determine initial visibility.
13534 * wid-edit.el (widget-image-find): Give images center ascent.
13535 (visibility): Add :on-image and :off-image properties.
13536 (widget-visibility-value-create): Use them.
13538 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13540 * cus-edit.el (processes): Remove from development group.
13541 (oop, hypermedia): Delete group.
13542 (comm): Promote to top-level group.
13544 * net/browse-url.el (browse-url):
13545 * net/xesam.el (xesam):
13546 * net/tramp.el (tramp):
13547 * net/goto-addr.el (goto-address):
13548 * net/ange-ftp.el (ange-ftp): Put in comm group.
13550 * view.el (view): Remove from editing group.
13552 * uniquify.el (uniquify): Put in files group.
13554 * net/browse-url.el (browse-url):
13555 * ps-print.el (postscript): Put in external group.
13557 * cus-edit.el (outlines):
13558 * textmodes/text-mode.el (text-mode-hook):
13559 * textmodes/table.el (table):
13560 * textmodes/picture.el (picture):
13561 * outline.el (outlines): Put in wp group.
13563 * nxml/nxml-mode.el (nxml): Remove from wp group.
13565 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13567 * mail/metamail.el (metamail): Remove from hypermedia group.
13569 * cus-edit.el (abbrev):
13570 * whitespace.el (whitespace):
13571 * vcursor.el (vcursor):
13572 * reveal.el (reveal):
13573 * hl-line.el (hl-line): Put in convenience group.
13575 * epg-config.el (epg): Put in data group.
13577 * emulation/pc-select.el (pc-select): Put in emulations group.
13579 * calculator.el (calculator): Put in applications group.
13581 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13583 Add .dir-locals.el support for file-less buffers.
13584 * files.el (hack-local-variables): Split out code to apply local
13585 variable settings ...
13586 (hack-local-variables-apply): ... here. New function.
13587 (hack-dir-local-variables): Use the default directory for when the
13588 buffer does not have an associated file.
13589 (hack-dir-local-variables-non-file-buffer): New function.
13590 * diff-mode.el (diff-mode):
13591 * vc-annotate.el (vc-annotate-mode):
13592 * vc-dir.el (vc-dir-mode):
13593 * log-edit.el (log-edit-mode):
13594 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13596 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13598 Add support for shelving snapshots and for showing shelves.
13599 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13600 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13602 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13603 (vc-bzr-extra-menu-map): Map them.
13605 2010-03-11 Glenn Morris <rgm@gnu.org>
13607 * cus-edit.el (customize-changed-options-previous-release):
13610 * image.el (image-animate-max-time): Fix :version tag.
13612 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13616 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13618 * vc-git.el (vc-git-revision-table): Include remote branches.
13620 2010-03-10 Kim F. Storm <storm@cua.dk>
13622 Animated image API.
13623 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13625 * image.el (image-animate-max-time): New defcustom.
13626 (image-animated-types): New defconst.
13627 (create-animated-image, image-animate-timer)
13628 (image-animate-start, image-animate-stop, image-animate-timeout)
13629 (image-animated-p): New functions.
13631 * image-mode.el (image-toggle-display-image):
13632 Replace `create-image' with `create-animated-image'.
13634 2010-03-09 Miles Bader <miles@gnu.org>
13636 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13637 instead of "format:"; this ensures that the output is
13638 newline-terminated.
13640 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13642 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13643 that all errors are caught, and that the return value is always a
13646 2010-03-08 Kenichi Handa <handa@m17n.org>
13648 * language/misc-lang.el (windows-1256): New coding system.
13649 (cp1256): New alias of windows-1256 (bug#5690).
13651 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13653 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13654 call to rfc822-bad-address. (Bug#5692)
13656 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13658 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13659 Use vc-git-root as default directory for revision path (Bug#5657).
13661 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13663 * calculator.el (calculator): Don't bind split-window-keep-point
13666 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13668 * vc-git.el: Re-flow to fit into 80 columns.
13669 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13670 Remove spurious `quote' element in each case alternative.
13671 (vc-git-show-log-entry): Use prog1.
13672 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13674 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13678 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13680 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13681 definition, not the name (Bug#5481).
13683 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13685 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13686 argument with a local variable. (Bug#5670)
13688 2010-03-02 Juri Linkov <juri@jurta.org>
13690 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13692 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13694 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13695 error when FILENAME and NEWNAME are existing remote directories.
13697 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13698 parameter DIR-FLAG.
13700 2010-03-02 Glenn Morris <rgm@gnu.org>
13702 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13703 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13705 2010-03-01 Kenichi Handa <handa@m17n.org>
13707 * language/burmese.el (burmese-composable-pattern): Rename from
13708 myanmar-composable-pattern.
13710 * international/characters.el (script-list):
13711 * international/fontset.el (script-representative-chars):
13712 Change myanmar to burmese.
13713 (otf-script-alist): Likewise.
13714 (setup-default-fontset): Likewise. Re-fix :otf spec.
13716 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13718 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13720 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13722 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13724 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13726 * net/tramp.el (tramp-handle-write-region): START can be a string.
13727 Take care in the checks. Reported by Dan Davison
13728 <davison@stats.ox.ac.uk>.
13730 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13732 * net/dbus.el (dbus-introspect, dbus-get-property)
13733 (dbus-set-property, dbus-get-all-properties):
13734 Use `dbus-call-method' when noninteractive. (Bug#5645)
13736 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13738 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13739 * emacs-lisp/elint.el (elint-add-required-env):
13740 * calendar/icalendar.el (icalendar--add-diary-entry):
13741 * calc/calcalg2.el (math-tracing-integral):
13742 * files.el (recover-session-finish): Use with-current-buffer
13743 instead of save-excursion.
13745 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13747 Fix in-buffer completion when after-change-functions modify the buffer.
13748 * minibuffer.el (completion--replace): New function.
13749 (completion--do-completion): Use it and use relative movement.
13751 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13753 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13755 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13757 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13758 Allow the characters _<> in the stack entry (Bug#5653).
13760 2010-02-26 Kenichi Handa <handa@m17n.org>
13762 * language/burmese.el: Fix entries in composition-function-table.
13763 (myanmar-composable-pattern): New variable.
13765 * international/fontset.el (setup-default-fontset): Add an entry
13768 * international/characters.el (script-list): Add Myanmar
13771 2010-02-26 Glenn Morris <rgm@gnu.org>
13773 * custom.el (custom-initialize-delay): Doc fix.
13775 * mail/sendmail.el (send-mail-function): Autoload the call
13776 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13778 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13780 * files.el (hack-local-variables-filter): For eval forms, also
13781 check safe-local-variable-p (Bug#5636).
13783 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13785 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13786 setting the modes by `ignore-errors'. It might fail, for example
13787 if the file is not owned by the user but the group.
13788 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13790 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13792 * files.el (directory-listing-before-filename-regexp):
13793 Use stricter matching for iso-style dates, to avoid false matches with
13794 date-like filenames (Bug#5597).
13796 * htmlfontify.el (htmlfontify): Doc fix.
13798 * eshell/eshell.el (eshell): Doc fix.
13800 * startup.el (fancy-about-screen): In mode-line, apply
13801 mode-line-buffer-id face only to the buffer name (Bug#5613).
13803 2010-02-20 Kevin Ryde <user42@zip.com.au>
13805 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13806 In `watcom' anchor regexp to start of line, to avoid slowness
13809 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13811 * subr.el (remove-yank-excluded-properties): Explain in a comment
13812 why `category' property is removed.
13814 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13816 * isearch.el (isearch-update-post-hook, isearch-update):
13817 Revert 2010-02-17 change.
13819 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13821 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13822 (icalendar--convert-weekly-to-ical)
13823 (icalendar--convert-yearly-to-ical)
13824 (icalendar--convert-block-to-ical)
13825 (icalendar--convert-cyclic-to-ical)
13826 (icalendar--convert-anniversary-to-ical): Take care of time
13827 specifications where hour has 1-digit only (Bug#5549).
13829 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13831 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13832 of disassemble output in GDB 7.1.
13834 2010-02-19 Glenn Morris <rgm@gnu.org>
13836 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13837 property. (Bug#5593)
13839 2010-02-18 Sam Steingold <sds@gnu.org>
13841 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13843 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13845 Use abbreviated file names in bookmarks (bug#5591).
13846 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13847 calls to expand-file-name.
13848 (bookmark-relocate): Use abbreviated file names in bookmarks.
13849 (bookmark-load): Use abbreviated file names in messages.
13851 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13853 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13854 expand "." and "..". Reported by Thierry Volpiatto
13855 <thierry.volpiatto@gmail.com>.
13857 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13859 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13860 permissions of the temporary file to "0600". In case the remote
13861 file has no read permissions for the owner, there might be
13862 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13864 22010-02-18 Glenn Morris <rgm@gnu.org>
13866 * emacs-lisp/authors.el (authors-renamed-files-alist):
13867 Add entries for INSTALL.CVS.
13869 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13871 * vc-bzr.el: Fix typo in Known Bugs section.
13873 * isearch.el (isearch-update-post-hook): New hook.
13874 (isearch-update): Use the new hook.
13876 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13878 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13879 Fix errors in copying directories.
13880 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13881 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13882 (tramp-handle-delete-file)
13883 (tramp-handle-dired-recursive-delete-directory)
13884 (tramp-handle-write-region): Flush also the cache for the upper
13887 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13889 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13891 * cus-edit.el (hardware): Doc fix.
13893 * man.el (man): Add to external custom group.
13895 * delim-col.el (columns): Move to wp custom group.
13897 * doc-view.el (doc-view): Add to data custom group.
13899 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13901 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13902 by ispell-parse-output (Bug#5575).
13904 2010-02-16 Kenichi Handa <handa@m17n.org>
13906 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13907 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13908 (skkdic-convert): Use `euc-japan' coding system for writing.
13910 2010-02-16 Glenn Morris <rgm@gnu.org>
13912 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13913 tex-main-file before using it. (Bug#5562)
13915 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13917 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13918 warnings, since it is annoying for the user to see them each time he
13921 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13923 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13924 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13925 instead of PROC for caching "first-password-request". Otherwise,
13926 new processes would not profit from passwords already entered.
13928 * net/tramp-cache.el (tramp-dump-connection-properties):
13929 Don't save "first-password-request" property.
13931 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13933 * outline.el (outline-head-from-level):
13934 * simple.el (with-wrapper-hook):
13935 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13936 (elint-defun, elint-buffer-env, elint-top-form-logged)
13937 (elint-unbound-variable):
13938 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13939 Fix typos in docstrings.
13941 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13943 * files.el (insert-directory): When WILDCARD-REGEXP and
13944 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13945 whole directory. (Bug#5551)
13947 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13948 dired's alignment sanity. (Bug#5516)
13950 2010-02-14 Juri Linkov <juri@jurta.org>
13952 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13953 Remove remaining ^H with their preceding chars. (Bug#5566)
13955 2010-02-13 Glenn Morris <rgm@gnu.org>
13957 * simple.el (transpose-subr): Give it a doc-string.
13959 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13962 2010-02-12 Juri Linkov <juri@jurta.org>
13964 * arc-mode.el (archive-unique-fname): Make directories for nested
13965 archives. (Bug#5540)
13967 2010-02-12 Juri Linkov <juri@jurta.org>
13969 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13971 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13973 * subr.el (copy-overlay): Handle deleted overlays.
13975 * man.el (Man-completion-table): Don't signal an error if we can't run
13976 manual-program (bug#4056).
13978 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13980 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13982 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13984 * info.el (Info-bookmark-jump): Simplify.
13986 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13987 (bookmark-default-handler): Accept new bookmark field `buffer'.
13989 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13991 * iswitchb.el (iswitchb-completions): Revert last change.
13993 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13995 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13996 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13997 This prevents file names like "~/" being listed literally.
13999 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
14001 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14002 Remove dead code. (Bug#5546)
14004 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
14006 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
14007 correctly (Bug#5548).
14009 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
14011 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
14012 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
14014 2010-02-08 Kenichi Handa <handa@m17n.org>
14016 * international/mule-util.el (with-coding-priority): Add autoload
14017 cookie for putting `lisp-indent-function'.
14019 2010-02-07 Glenn Morris <rgm@gnu.org>
14021 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
14022 Move F2003 named interfaces from keywords-2 to keywords-1, and
14023 use function-name-face rather than constant-face.
14024 Simplify "abstract interface" regexp.
14026 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
14028 * eshell/esh-util.el (eshell-file-attributes): New optional arg
14029 ID-FORMAT. Pass it to `file-attributes'.
14031 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14033 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14035 * faces.el (set-face-attribute): Allow calling
14036 internal-set-lisp-face-attribute with 'unspecified family and
14037 foundry argument (Bug#5536).
14039 2010-02-07 Glenn Morris <rgm@gnu.org>
14041 * progmodes/f90.el (f90-font-lock-keywords-2)
14042 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14043 Handle F2003 named interfaces.
14045 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14047 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14048 beg and end before calling c-get-state-before-change-functions.
14050 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14052 * vc-bzr.el (vc-bzr-dir-extra-headers):
14053 Disable the pending merges header.
14055 2010-02-05 Juri Linkov <juri@jurta.org>
14057 * doc-view.el (doc-view-mode):
14058 * image-mode.el (image-mode): Put property mode-class=special.
14061 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14063 * vc-svn.el (vc-svn-revision-table): New function.
14065 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14067 * net/ange-ftp.el (ange-ftp-insert-directory):
14068 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14069 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14070 Handle also directories. (Bug#5478)
14072 2010-02-05 Glenn Morris <rgm@gnu.org>
14074 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14076 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14078 * startup.el (command-line-1): Convert options beginning with a
14079 single dash as well (Bug#5519).
14081 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14083 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14084 * minibuffer.el (completion-initials-expand): Only check the presence
14085 of delims *within* the boundaries, since otherwise the / delim is
14086 always found for files.
14088 Fix up various corner case problems.
14089 * doc-view.el (doc-view-last-page-number): New function.
14090 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14091 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14092 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14093 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14094 (doc-view-convert-current-doc): Don't create the resolution.el file
14096 (doc-view-pdf/ps->png): Do it here instead.
14097 (doc-view-already-converted-p): Check that resolution.el is present.
14098 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14099 windows that are not yet showing images.
14101 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14103 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14104 `dired-uncache' for every elemnt which is an absolute file name.
14106 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14107 directory, handle its directory component.
14108 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14109 function is called permanently and creates noise, otherwise.
14111 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14112 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14113 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14115 2010-02-04 David Burger <dburger@google.com> (tiny change)
14117 * macros.el (apply-macro-to-region-lines):
14118 Minor simplification. (Bug#5485)
14120 2010-02-04 Glenn Morris <rgm@gnu.org>
14122 * mail/rmail.el (rmail-show-message-1): Handle malformed
14123 quoted-printable text. (Bug#5441)
14125 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14127 * simple.el (visual-line-mode): Capitalize lighter.
14129 2010-02-03 John Wiegley <jwiegley@gmail.com>
14131 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14132 list of files considered for "virtual buffer" completions.
14134 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14136 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14137 also in case of (and (not full) (not wildcard)). This is needed
14138 when dired is called with a list of files, which are not in
14139 `default-directory'. (Bug#5478)
14141 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14143 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14145 2010-02-02 Juri Linkov <juri@jurta.org>
14147 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14148 from unidiff to allow function-line after @@.
14150 2010-02-02 Juri Linkov <juri@jurta.org>
14152 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14153 '(RCS SCCS) with inverted condition.
14155 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14157 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14160 2010-02-01 Juri Linkov <juri@jurta.org>
14162 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14163 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14164 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14165 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14167 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14169 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14170 (doc-view-revert-buffer): New command.
14171 (doc-view-mode-map): Use it.
14173 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14175 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14176 pending merge is detected.
14178 2010-01-31 Juri Linkov <juri@jurta.org>
14180 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14181 beginning of interactive spec like all other grep commands do.
14182 Put "all" in front of "gz". (Bug#5260)
14184 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14186 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14188 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14190 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14191 regexp is incorrect (Bug#5476).
14193 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14195 * net/tramp.el (tramp-handle-insert-directory): Handle also
14196 symlinks, when FILENAME is not in `default-directory'.
14198 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14200 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14201 FILE is not in `default-directory'. (Bug#5478)
14203 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14204 of SWITCHES. Handle the case, FILENAME is not in
14205 `default-directory'. (Bug#5478)
14206 (tramp-register-file-name-handlers): Add safe-magic property.
14208 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14210 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14213 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14215 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14216 (flymake-master-make-header-init): Add other C++ filename masks.
14217 (flymake-find-possible-master-files)
14218 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14220 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14222 Fix some busybox annoyances.
14224 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14225 not responding." string.
14226 (tramp-open-connection-setup-interactive-shell): Dump stty
14227 settings. Enable "neveropen" arg for all `tramp-send-command'
14228 calls. Handle "=" in variable values properly.
14229 (tramp-find-inline-encoding): Raise an error, when no encoding is
14231 (tramp-wait-for-output): Check, whether PROC buffer is available.
14232 Remove spurious " ^H" sequences, sent by busybox.
14233 (tramp-get-ls-command): Suppress coloring, if possible.
14235 2010-01-28 Glenn Morris <rgm@gnu.org>
14237 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14239 * log-edit.el (log-edit-strip-single-file-name): Add missing
14240 :safe, :group, and :version tags.
14242 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14244 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14245 buffers. (Bug#5477)
14247 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14249 * files.el (delete-directory): Handle moving to trash without
14250 first doing recursion (Bug#5436).
14252 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14254 * vc-hooks.el (vc-path): Mark as obsolete.
14256 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14258 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14261 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14263 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14265 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14267 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14269 * vc-bzr.el (vc-bzr-revision-table): New function.
14271 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14273 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14274 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14276 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14278 Remove support for adding --signoff on commit.
14279 Future support will use an incompatible generic mechanism.
14280 * vc-git.el (vc-git-add-signoff): Remove variable.
14281 (vc-git-toggle-signoff): Remove function.
14282 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14284 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14285 Rename from xterm-set-background-mode. Return t if the background mode
14287 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14288 earlier, call it again in case the background mode has changed.
14290 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14292 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14295 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14297 * emacs-lisp/assoc.el (aelement): Doc fix.
14298 (aput, adelete, amake): Use lexical-let (Bug#5450).
14300 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14302 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14303 is the same as subprogram call, not declaration. (Bug#5435).
14305 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14307 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14308 (tramp-smb-maybe-open-connection): Use it.
14310 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14312 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14314 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14316 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14317 just because we see "encoding: 8bit".
14318 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14320 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14322 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14324 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14326 * jka-compr.el (jka-compr-load): If load-file is not in
14327 load-history, try its file-truename version. (bug#5447)
14329 2010-01-21 Alan Mackenzie <acm@muc.de>
14331 Fix a situation where deletion of a cpp construct throws an error.
14332 * progmodes/cc-engine.el (c-invalidate-state-cache):
14333 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14334 special cpp construct is still in the buffer.
14335 (c-parse-state): Record the special cpp with markers, not numbers.
14337 2010-01-21 Kenichi Handa <handa@m17n.org>
14339 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14340 process last-command-event, as it is now decoded first (Bug#5380).
14342 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14344 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14346 2010-01-20 Glenn Morris <rgm@gnu.org>
14348 * indent.el (tab-always-indent): Fix custom-type.
14350 2010-01-19 Alan Mackenzie <acm@muc.de>
14352 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14353 buffer throws "args out of range".
14354 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14355 playing the role of delimiter.
14357 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14359 * progmodes/ada-mode.el: Fix bug#5400.
14360 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14361 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14362 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14363 Improve comments in "is" portion. Handle null procedure declaration.
14364 (ada-move-to-end): Improve doc string.
14366 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14368 * ido.el (ido-cur-list): Initialize to nil.
14369 Remove obsolete information from commentary.
14370 (ido-choice-list): Initialize to nil.
14371 (ido-get-bufname): Reject minibuffers.
14372 (ido-make-buffer-list): If "default" is a nonexistent
14373 buffer, ignore it, as per the function's comment.
14374 (ido-kill-buffer-internal): New function.
14375 (ido-kill-buffer-at-head): Use it.
14376 (ido-visit-buffer): Likewise.
14378 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14380 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14382 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14384 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14385 Fix typos in chart titles.
14387 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14388 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14389 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14390 (describe-class, eieio-describe-generic, describe-generic):
14391 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14392 (eieio-speedbar-expand):
14393 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14394 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14395 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14396 (viper-del-backward-char-in-replace, viper-backward-indent)
14397 (viper-brac-function, viper-register-to-point, viper-submit-report):
14398 * net/tramp.el (tramp-remote-coding-commands):
14399 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14400 Fix typos in docstrings.
14402 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14404 * mail/sendmail.el (mail-yank-original): Set the mark if the
14405 specified function for yanking does not do it.
14407 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14409 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14411 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14412 resyncing a directory.
14414 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14416 * progmodes/ada-mode.el: Fix bug#1920.
14417 (ada-ident-re): Delete ., allow multibyte characters.
14418 (ada-goto-label-re): New; matches goto labels.
14419 (ada-block-label-re): New; matches block labels.
14420 (ada-label-re): New; matches both.
14421 (ada-named-block-re): Delete; callers changed to use
14422 `ada-block-label-re' instead.
14423 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14424 Use `ada-block-label-re'.
14425 (ada-indent-on-previous-lines): Improve handling of goto labels.
14426 (ada-get-indent-block-start): Special-case block label.
14427 (ada-get-indent-label): Split into `ada-indent-block-label' and
14428 `ada-indent-goto-label'.
14429 (ada-goto-stmt-start, ada-goto-next-non-ws):
14430 Optionally ignore goto labels.
14431 (ada-goto-next-word): Simplify.
14432 (ada-indent-newline-indent-conditional): Insert newline before
14433 trying to fix indentation; doc fix.
14435 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14437 * calc/calc.el (calc-command-flags): Give it an initial value.
14439 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14441 * files.el (minibuffer-with-setup-hook):
14442 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14443 (artist-key-draw-continously, artist-key-do-continously-continously)
14444 (artist-key-set-point-continously, artist-mouse-draw-continously):
14445 Fix typos in docstrings.
14447 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14449 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14450 Never return t (Bug#3898).
14452 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14454 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14455 can parse the output of the external commands (Bug#5279).
14457 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14459 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14461 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14463 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14465 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14467 * startup.el (command-line): Remove unused --icon-type arg.
14468 Handle --display arg, passing it to command-line-1 (Bug#5392).
14470 2010-01-16 Mario Lang <mlang@delysid.org>
14472 * emacs-lisp/chart.el (chart-translate-namezone):
14473 * textmodes/artist.el (artist-compute-popup-menu-table):
14474 Remove duplicated words in doc-strings.
14476 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14478 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14479 to mairix-search to suppress threading (Bug#5342).
14481 2010-01-15 Kenichi Handa <handa@m17n.org>
14483 * international/mule-cmds.el (canonicalize-coding-system-name):
14484 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14486 2010-01-15 Glenn Morris <rgm@gnu.org>
14488 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14490 * wid-edit.el (widget-keymap): Doc fix.
14492 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14493 former seems to be more widely accepted by various svn versions.
14495 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14497 * find-cmd.el (find-constituents):
14498 * vc-arch.el (vc-arch-root):
14499 * window.el (window-body-height, pop-up-frames):
14500 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14501 * progmodes/ada-stmt.el (ada-if):
14502 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14503 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14504 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14505 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14507 * progmodes/flymake.el (flymake-post-syntax-check):
14508 Fix typo in error message.
14510 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14512 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14513 which is always a string. (Bug#5313)
14515 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14517 * progmodes/ada-xref.el (ada-default-prj-properties):
14518 Simplify previous change.
14520 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14522 * progmodes/ada-xref.el (ada-default-prj-properties):
14523 Default ada_project_path to $ADA_PROJECT_PATH.
14525 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14527 * progmodes/ada-mode.el (ada-create-keymap):
14528 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14530 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14532 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14533 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14534 (ada-get-current-indent, ada-imenu-generic-expression)
14535 (ada-which-function): Check for it.
14537 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14539 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14540 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14542 2010-01-14 Glenn Morris <rgm@gnu.org>
14544 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14546 2010-01-14 Kenichi Handa <handa@m17n.org>
14548 * composite.el (auto-composition-mode): Make it a buffer local
14549 variable (permanent-local).
14550 (auto-composition-function): Set the default value to
14551 auto-compose-chars.
14552 (auto-composition-mode): Make it a simple function, not a minor mode.
14553 (global-auto-composition-mode): Likewise.
14554 (turn-on-auto-composition-if-enabled): Delete it.
14556 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14558 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14560 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14562 * files.el (copy-directory): Compute target for recursive
14563 directories with identical names. (Bug#5343)
14565 2010-01-12 Glenn Morris <rgm@gnu.org>
14567 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14568 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14570 2010-01-11 Sam Steingold <sds@gnu.org>
14572 * imenu.el (imenu-default-create-index-function): Detect infinite
14573 loops caused by imenu-prev-index-position-function.
14575 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14577 * htmlfontify.el (htmlfontify-load-rgb-file)
14578 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14579 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14580 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14581 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14582 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14583 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14584 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14585 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14586 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14587 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14588 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14589 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14590 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14591 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14592 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14593 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14594 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14595 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14596 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14597 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14598 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14599 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14600 backslash-quoting from parentheses, etc.
14602 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14604 * progmodes/js.el: Autoload javascript-mode alias.
14606 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14608 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14609 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14610 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14611 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14612 Fix typos in docstrings.
14613 (ffap-url-regexp): Doc fix.
14614 (ffap-at-mouse): Fix typo in message.
14616 2010-01-11 Glenn Morris <rgm@gnu.org>
14618 * version.el (emacs-copyright): Set copyright year to 2010.
14620 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14622 * format.el (format-annotate-function): Only set
14623 write-region-post-annotation-function after running to-fn so as not to
14624 affect nested write-region calls (bug#5273).
14626 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14628 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14631 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14633 * man.el (Man-goto-section): Signal error if the section is not
14636 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14638 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14639 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14641 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14643 * progmodes/compile.el: Don't treat compile-command as safe if
14644 compilation-read-command might be nil (Bug#4218).
14646 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14648 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14651 2010-01-08 Kenichi Handa <handa@m17n.org>
14653 * international/fontset.el (build-default-fontset-data):
14654 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14656 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14658 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14659 to `create-file-buffer' as it expects, not just a buffer name.
14660 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14661 to help uniquify. (Bug#3224)
14663 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14665 * font-setting.el (font-setting-change-default-font): Use user-spec
14668 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14670 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14672 2010-01-05 Tom Tromey <tromey@redhat.com>
14674 * progmodes/python.el (python-font-lock-keywords):
14675 Handle qualified decorators (Bug#881).
14677 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14679 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14680 in a lightweight checkout.
14682 2010-01-05 Kenichi Handa <handa@m17n.org>
14684 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14686 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14688 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14690 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14692 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14693 checkouts. (Bug#618)
14694 (vc-bzr-log-view-mode): Also highlight the author.
14695 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14696 (vc-bzr-shelve-menu-map):
14697 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14698 (vc-bzr-shelve-apply): Make prompt more explicit.
14700 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14702 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14703 They are valid characters in URL paths (rfc3986), and at least
14704 Firefox does not understand the encoded version (Bug#3166).
14706 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14708 * progmodes/octave-mod.el (octave-end-keywords)
14709 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14710 Add "end" keyword (Bug#3061).
14711 (octave-end-as-array-index-p): New function.
14712 (calculate-octave-indent): Use it.
14714 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14716 * bookmark.el: Consistently put the text property on the bookmark name.
14717 (bookmark-bmenu-marks-width): Bump back to 2, to include
14719 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14720 property on the bookmark name, instead of not putting it at all.
14721 (bookmark-bmenu-list): Fix where we put the text property.
14723 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14725 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14726 for showing buffer modified state (as added in the previous change).
14728 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14730 * bookmark.el: Show modified state of bookmark buffer more accurately.
14731 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14732 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14733 (with-buffer-modified-unmodified): New macro.
14734 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14735 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14736 Use new macro to preserve the buffer modified state.
14738 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14740 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14741 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14742 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14743 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14744 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14745 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14746 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14748 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14750 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14751 Make the lines in the generated doc string shorter. (Bug#4668)
14753 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14755 * net/rcirc.el: Add follow-link binding (Bug#4738).
14757 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14759 * Makefile.in (bzr-update): Rename from cvs-update.
14760 (cvs-update): New target for backward compatibility.
14762 * makefile.w32-in (bzr-update): Rename from cvs-update.
14763 (cvs-update): New target for backward compatibility.
14765 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14767 * bookmark.el: Remove gratuitous gratitude.
14769 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14771 * bookmark.el (bookmark-bmenu-any-marks): New function.
14772 (bookmark-bmenu-save): Clear buffer modification if no marks.
14774 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14776 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14777 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14778 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14779 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14781 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14782 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14783 To: emacs-devel {_AT_} gnu.org
14784 Subject: bookmark.el bug report
14785 Date: Mon, 28 Dec 2009 14:19:16 +0800
14786 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14788 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14790 * bookmark.el: Improvements suggested by Drew Adams:
14791 (bookmark-bmenu-ensure-position): New name for
14792 `bookmark-bmenu-check-position'. Just ensure the position,
14793 don't return any meaningful value.
14794 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14797 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14799 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14800 (bookmark-yank-point, bookmark-bmenu-check-position):
14801 Fix typos in docstrings.
14802 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14803 (bookmark-name-from-full-record, bookmark-get-position)
14804 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14805 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14806 Remove useless quoting of parenthesis, etc. in docstrings.
14808 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14809 (ediff-append-custom-diff): Fix typo in error message.
14810 (ediff-meta-mark-equal-files): Fix typos in messages.
14812 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14814 * net/imap-hash.el (imap-hash-make): Doc fix.
14815 (imap-hash-test): Fix typo in error message; reflow docstring.
14816 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14817 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14818 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14819 Fix typos in docstrings.
14820 (imap-hash-open-connection): Fix typo in error message.
14822 * play/gomoku.el (gomoku): Fix typos in docstring.
14824 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14825 (gdb-jsonify-buffer): Fix typos in docstring.
14826 (gdb-goto-breakpoint): Fix typo in error message.
14827 ("Display Other Windows"): Fix typo in help message.
14828 (gdb-speedbar-expand-node): Fix typo in question.
14830 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14831 (idlwave-html-system-help-location, idlwave-html-help-location)
14832 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14833 (idlwave-help-browser-generic-args, idlwave-help-directory)
14834 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14835 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14836 (idlwave-online-help, idlwave-help-html-link)
14837 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14838 Fix typos in docstrings.
14839 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14841 (idlwave-help-assistant-start): Fix typo in error message.
14843 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14844 (octave-electric-space): Fix typos in docstrings.
14846 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14848 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14850 2010-01-01 Juri Linkov <juri@jurta.org>
14852 * comint.el (comint-input-ring-size): Make it a defcustom and
14853 increase the default to 500 (Bug#5148).
14855 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14857 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14858 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14859 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14861 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14863 Show working revision correctly for mercurial.
14864 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14865 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14867 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14869 Declare some functions for the byte-compiler.
14870 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14871 (speedbar-timer-fn, speedbar-change-expand-button-char)
14872 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14874 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14876 This changeset reverts GDB Graphical Interface to use annotations.
14877 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14879 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14881 Make vc-dir work on subdirectories of the bzr root.
14882 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14883 Return file names relative to it.
14884 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14885 relative directory to vc-bzr-after-dir-status.
14887 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14889 * font-lock.el (font-lock-refresh-defaults): New function, which
14890 can be used to let font-lock react to external changes in
14891 variables like font-lock-defaults and keywords.
14892 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14894 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14896 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14898 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14900 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14902 Supersede color.diff settings in git log (bug#5211).
14904 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14905 escape chars in its output when the user has color.diff set to `always'.
14906 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14908 2009-12-26 Kevin Ryde <user42@zip.com.au>
14910 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14911 node. Keep previous "Index" name to work with past coreutils too.
14913 * man.el (man): Revise docstring a bit to show -a and -l as
14914 examples. Add -k description since support for it has otherwise
14915 been a secret. (Further to bug#3717.)
14916 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14917 "no matches" rather than "Can't find manpage", as the latter reads
14918 like -k was interpreted as a page name, which is not so. (Bug#5431)
14920 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14922 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14923 switches. Check also for //SUBDIRED// line.
14925 2009-12-25 Kenichi Handa <handa@m17n.org>
14927 * language/indian.el (devanagari-composable-pattern): Fix to
14928 handle ZWNJ and ZWJ. Use it in composition-function-table for
14930 (malayalam-composable-pattern): Fix previous change.
14932 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14934 * ps-print.el (ps-face-attributes): It was not returning the
14935 attribute face for faces specified as string. Reported by harven
14936 <harven@free.fr>. (Bug#5254)
14937 (ps-print-version): New version 7.3.5.
14939 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14941 * calendar/icalendar.el (icalendar--convert-tz-offset):
14942 Fix timezone names.
14943 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14944 (icalendar--add-diary-entry): Remove the trailing blank that
14945 diary-make-entry inserts.
14947 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14949 Make `file-expand-wildcards' work for remote files.
14951 * files.el (file-expand-wildcards): In case of remote files, check
14952 only local file name part for wildcards. Provide feature 'files
14953 and subfeature 'remote-wildcards. (Bug#5198)
14955 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14956 if there is already an established connection.
14957 (tramp-advice-file-expand-wildcards): Remove it.
14959 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14960 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14961 Activate advice for older GNU Emacs versions. (Bug#5237)
14963 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14965 Some doc fixes (more needed).
14967 * find-cmd.el (find-constituents): Reflow docstring.
14968 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14969 (find-generic): Doc fix.
14971 2009-12-17 Juri Linkov <juri@jurta.org>
14973 Fix regression from 23.1 to allow multiple modes in Local Variables.
14975 * files.el (hack-local-variables-filter): While ignoring duplicates,
14976 don't take `mode' into account.
14977 (hack-local-variables-filter, hack-dir-local-variables):
14978 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14980 2009-12-17 Juri Linkov <juri@jurta.org>
14982 Make `dired-diff' safer. (Bug#5225)
14984 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14985 `current' or when `file' is a directory of the `current' file.
14987 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14989 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14990 unconditionally preloaded files.
14992 2009-12-16 Juri Linkov <juri@jurta.org>
14994 Revert to old 23.1 logic of using the file at the mark as default.
14995 * dired-aux.el (dired-diff): Use the file at the mark as default
14996 if it's not the same as the current file, and the target dir is
14997 the current dir or the mark is active. Add the current file
14998 as the arg of `dired-dwim-target-defaults'. Use the default file
14999 in the prompt. (Bug#5225)
15001 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
15003 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
15004 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
15005 (tramp-check-for-regexp): Check also, when an echoing shell stops
15006 to echo sent commands.
15008 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15010 * Makefile.in: Revert last change (Bug#5191).
15012 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
15014 * vc-hg.el (vc-hg-print-log): Fix argument order.
15015 (vc-hg-working-revision): Make sure the command is executed in a
15016 known environment so that we can parse the output. (Bug#4417)
15018 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15020 * progmodes/python.el (python-symbol-completions): Remove text
15021 properties from symbol string before calling python-send-receive.
15023 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
15025 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
15026 when there are values for both file and line. (Bug#5060)
15028 2009-12-14 Juri Linkov <juri@jurta.org>
15030 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15031 whitespace after the file name of the first line of unified format,
15032 because git-diff doesn't output whitespace and file modification time
15033 after the file name.
15035 2009-12-14 David Kastrup <dak@gnu.org>
15037 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15038 check if it already has the `display' property added by
15039 `Info-display-images-node', and not put the `invisible' property
15042 2009-12-13 Glenn Morris <rgm@gnu.org>
15044 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15045 (report-emacs-bug): In message-mode, sort manually before storing
15046 original report text. (Bug#5178)
15047 Remove superfluous save-excursion.
15049 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15051 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15052 when responding to "GetAll" properties.
15054 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15056 * simple.el (compose-mail): Remove mail-setup-with-from from
15057 customization checks.
15059 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15061 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15062 RAR archives created on Unix systems.
15064 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15066 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15067 the varalias that was accidentally removed by the 2009-11-19 change
15070 2009-12-12 Kenichi Handa <handa@m17n.org>
15072 * language/indian.el (indian-compose-regexp): New function.
15073 (malayalam-composable-pattern): Fix the pattern.
15074 (composition-function-table): Set malayalam-composable-pattern for
15075 Malayalam characters.
15077 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15079 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15080 rather than down-mouse-1, based on follow-link conventions.
15082 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15085 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15087 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15088 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15089 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15090 (verilog-leap-to-head, verilog-backward-token):
15091 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15093 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15095 * progmodes/verilog-mode.el (verilog-auto-lineup)
15096 (verilog-nameable-item-re): Cleanup user-visible spelling and
15097 documentation errors. One reported by Gary Delp.
15098 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15099 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15100 package, bug195. Reported by Pierre-David Pfister.
15102 2009-12-11 Glenn Morris <rgm@gnu.org>
15104 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15106 * mail/emacsbug.el: No longer require sendmail.
15107 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15108 (report-emacs-bug-orig-text): Doc fix.
15109 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15110 New local variables, to adapt to different mail-user-agents.
15111 (report-emacs-bug): Fix test for a gnu.org address.
15112 Use overlays for emphasis, since font-lock defeats 'face property.
15113 Pretest bugs also end up at the newsgroup these days.
15114 Stop message-mode stripping text properties.
15115 Set and use the new buffer-local variables.
15116 (report-emacs-bug-hook): Add doc-string.
15117 Remove some unnecessary save-excursions and simplify.
15118 Use the appropriate hook and send-command.
15120 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15121 capitalization of some menu entries.
15123 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15125 * whitespace.el (whitespace-display-char-on):
15126 Ensure `buffer-display-table' is unique when two or more windows are
15127 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15130 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15132 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15133 characters in the Attribute field.
15135 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15137 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15139 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15141 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15142 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15143 Disregard autoload-excludes.
15144 (update-directory-autoloads): Obey autoload-excludes here instead.
15145 But don't store its contents in no-autoloads and remove entries that
15146 refer to excludes files.
15148 2009-12-10 Glenn Morris <rgm@gnu.org>
15150 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15151 (expand-mail-aliases): Define for compiler.
15153 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15154 Define for compiler.
15156 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15157 appropriate for the mail-user-agent in use.
15159 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15161 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15163 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15165 Fix short log parsing and fontification.
15166 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15167 Fix fontification for the [merge] label.
15169 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15171 Drop some properties to avoid surprises (bug#5002).
15172 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15173 (hfy-fontify-buffer): Use it.
15175 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15178 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15179 Adjust all callers.
15180 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15181 args compulsory. Adjust callers.
15182 (ffap-gopher-at-point): Remove unused var `name'.
15184 Get rid of the ELCFILES abomination.
15185 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15186 (compile-elcfiles): New phony target.
15187 (compile-main): Compute ELCFILES dynamically.
15188 (compile-clean): New target to remove left-over elc files.
15189 (compile, all): Use it.
15191 2009-12-09 Kenichi Handa <handa@etlken>
15193 * international/mule-diag.el: Require help-mode instead of help-fns.
15195 2009-12-09 Kenichi Handa <handa@m17n.org>
15197 * international/mule-cmds.el (ucs-names): Supply sufficiently
15198 fine ranges instead of pre-calculating accurate ranges.
15199 Iterate with bigger gc-cons-threshold.
15201 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15203 Add support for stashing a snapshot of the current tree.
15204 * vc-git.el (vc-git-stash-snapshot): New function.
15205 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15207 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15209 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15210 instead of `(beginning|end)-of-line'.
15212 2009-12-08 Glenn Morris <rgm@gnu.org>
15214 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15216 * Makefile.in (ELCFILES): Regenerate.
15218 2009-12-07 Juri Linkov <juri@jurta.org>
15220 Don't lazy-highlight the comint output in history Isearch mode.
15222 * comint.el (comint-history-isearch-search): Instead of
15223 `comint-line-beginning-position', use `comint-after-pmark-p'
15224 to check if point if before the process mark, and go to
15225 `process-mark' in this case.
15227 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15229 * textmodes/tex-mode.el (latex-complete)
15230 (latex-indent-or-complete): Remove.
15231 (latex-mode): Set completion-at-point-functions instead.
15233 Provide a standard completion command and hook it into TAB.
15234 * minibuffer.el (completion-at-point-functions): New var.
15235 (completion-at-point): New command.
15236 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15237 * progmodes/python.el (python-mode-map): Use completion-at-point.
15238 (python-completion-at-point): Rename from python-partial-symbol and
15239 adjust for use in completion-at-point-functions.
15240 (python-mode): Setup completion-at-point for Python completion.
15241 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15242 extracted from lisp-complete-symbol.
15243 (lisp-complete-symbol): Use it.
15244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15245 setup completion-at-point for Elisp completion.
15246 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15247 Use completion-at-point.
15248 * ielm.el (ielm-map): Use completion-at-point.
15249 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15250 * progmodes/sym-comp.el: Move to...
15251 * obsolete/sym-comp.el: Move from progmodes.
15253 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15255 Prevent save-buffer in Rmail buffers from using the coding-system
15256 of the current message, and from clobbering the encoding mnemonics
15257 in the mode line (Bug#4623).
15259 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15261 (rmail-message-encoding): New variable.
15262 (rmail-write-region-annotate): Record the encoding of the current
15263 message in rmail-message-encoding.
15264 (rmail-after-save-hook): New function, restores the encoding of
15265 the current message after the message collection is saved.
15267 2009-12-07 Juri Linkov <juri@jurta.org>
15269 * progmodes/grep.el (grep-read-files): Use `completing-read'
15270 instead of `read-string'. Set its `collection' arg to
15271 `read-file-name-internal'. (Bug#4301)
15273 2009-12-07 Juri Linkov <juri@jurta.org>
15275 Correctly restore original Isearch point. (Bug#4994)
15277 * isearch.el (isearch-mode): Move `isearch-push-state' after
15278 `(run-hooks 'isearch-mode-hook)'.
15279 (isearch-cancel): When `isearch-push-state-function' is defined,
15280 let-bind `isearch-cmds' to the first state (the last element of
15281 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15282 function and restores the original point). Otherwise, move point
15283 to `isearch-opoint'.
15285 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15287 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15288 chars that don't have names, so the table can be built much faster at
15291 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15293 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15294 change. Suggested by David Kastrup.
15296 * simple.el (compose-mail): Check for incompatibilities and warn.
15297 (compose-mail-user-agent-warnings): New option.
15299 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15301 Support showing a single log entry from vc-annotate.
15302 * vc.el (print-log): Add a new argument: START-REVISION.
15303 (vc-print-log-internal): Add a new optional argument and
15304 pass it to the backend.
15305 (vc-print-log, vc-print-root-log): Adjust callers.
15306 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15307 buffer already displays the requested log entry, use it.
15308 Otherwise display only the log entry in question.
15309 * vc-svn.el (vc-svn-print-log):
15310 * vc-mtn.el (vc-mtn-print-log):
15311 * vc-hg.el (vc-hg-state):
15312 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15313 (vc-git-show-log-entry): Return t on success.
15314 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15315 (vc-bzr-show-log-entry): Return t on success.
15316 * vc-rcs.el (vc-rcs-print-log):
15317 * vc-sccs.el (vc-sccs-print-log):
15318 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15320 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15322 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15323 Add menus to the meta mode. (Bug#5043)
15325 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15327 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15330 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15332 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15334 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15335 Berbain <raphael.berbain@gmail.com>.
15337 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15339 (tramp-initial-end-of-output): New defconst.
15340 (tramp-methods, tramp-find-shell)
15341 (tramp-open-connection-setup-interactive-shell)
15342 (tramp-maybe-open-connection): Use it.
15343 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15344 Handle existence of `#' and `$'.
15346 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15347 Use `tramp-initial-end-of-output'.
15349 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15351 Get the background mode from the terminal for xterm, and set
15353 * term/xterm.el (xterm-set-background-mode): New function.
15354 (terminal-init-xterm): Use it in case xterm supports background
15355 color queries. Recompute faces after getting the background
15358 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15360 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15361 number comment back on its own line, for easier parsing.
15363 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15365 Make it work for non-file buffers (bug#5102).
15366 * doc-view.el (doc-view-current-cache-dir):
15367 Use doc-view-buffer-file-name rather than buffer-file-name.
15368 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15370 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15372 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15373 author field is too short.
15375 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15377 * vc-git.el (vc-git-print-log): Handle a limit argument.
15378 Display the short log in graph form and with labels.
15379 (vc-git-log-view-mode): Handle labels.
15381 Make vc-revert change VC state from 'added to 'unregistered.
15382 * vc-git.el (vc-git-revert): Call git reset first.
15384 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15386 * net/newst-backend.el, net/newst-plainview.el:
15387 * net/newst-reader.el, net/newst-ticker.el:
15388 * net/newst-treeview.el, net/newsticker.el:
15389 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15391 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15393 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15395 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15396 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15397 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15398 Update annotation regexp.
15400 * simple.el (beginning-of-visual-line): Constrain to field
15401 boundaries (Bug#5106).
15403 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15405 * xml.el (xml-substitute-numeric-entities):
15406 Move newsticker--decode-numeric-entities in newst-backend.el to
15407 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15408 * net/newst-backend.el (newsticker--parse-generic-feed)
15409 (newsticker--parse-generic-items)
15410 (newsticker--decode-numeric-entities):
15411 Move newsticker--decode-numeric-entities in newst-backend.el to
15412 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15414 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15416 * progmodes/js.el (js--js-not): Add null to the list of values.
15418 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15420 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15422 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15424 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15425 delimiter if it is at the end of the current line.
15426 (bibtex-generate-url-list): Fix docstring.
15428 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15430 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15431 minibuffer's content with itself.
15432 Fold the confirm-after-completion case into the `confirm' case.
15433 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15435 2009-12-06 Kevin Ryde <user42@zip.com.au>
15437 * ffap.el (ffap-rfc-path): Make this a defcustom since
15438 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15440 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15441 manuals, similar to existing setup for help-mode. (Bug#3913.)
15443 2009-12-05 Juri Linkov <juri@jurta.org>
15445 Save and restore dired buffer's point positions too. (Bug#4880)
15447 * dired.el (dired-save-positions): Return in the first element
15448 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15450 (dired-restore-positions): First restore buffer's position.
15451 While restoring window's positions, check if window still displays
15452 the original buffer.
15454 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15456 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15459 * shell.el (shell): Require ansi-color (Bug#5113).
15461 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15463 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15465 2009-12-05 Alan Mackenzie <acm@muc.de>
15467 * progmodes/cc-mode.el (c-before-hack-hook)
15468 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15469 `c-file-style' to work again. This reversion restores the current
15470 software to its state in Emacs 23.1. (Bug#4146)
15472 2009-12-05 Kevin Ryde <user42@zip.com.au>
15474 * textmodes/sgml-mode.el (sgml-lexical-context):
15475 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15477 2009-12-05 Juri Linkov <juri@jurta.org>
15479 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15480 for virtual nodes. (Bug#4147)
15481 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15482 when moving from a virtual node.
15483 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15484 (Info-mode): Add `Info-virtual-index' to the docstring.
15486 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15488 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15489 track of the buffer position of the end of a BibTeX entry as this
15490 position may change during reformatting.
15491 (bibtex-format-entry): Remove whitespace before processing
15492 numerical fields so that we recognize the latter properly.
15493 (bibtex-reformat): Do not use push which changes the global value
15494 of bibtex-entry-format.
15495 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15496 (bibtex-field-re-init): Replace only space characters by regexp
15498 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15499 (bibtex-initialize): Also update bibtex-strings.
15500 (bibtex-kill-field): Preserve white space at end of entry.
15501 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15502 Update bibtex-reference-keys.
15504 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15506 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15507 point after a star, if that's the only place where modifications can
15510 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15512 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15515 2009-12-04 Juri Linkov <juri@jurta.org>
15517 * proced.el (proced): Call `(proced-update t)' to update process
15518 information instead of only running proced-post-display-hook.
15519 (proced-send-signal): Add a leading space to the buffer name
15520 " *Marked Processes*" to make this buffer ephemeral.
15522 2009-12-04 Juri Linkov <juri@jurta.org>
15524 * dired.el (dired-auto-revert-buffer): New defcustom.
15525 (dired-internal-noselect): Use it.
15527 2009-12-04 Juri Linkov <juri@jurta.org>
15529 Change roles of modes and functions in image-mode.el (Bug#5062).
15531 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15532 in `auto-mode-alist'.
15533 (image-mode-previous-major-mode): New variable.
15534 (image-minor-mode-map): Rename from `image-mode-text-map'.
15535 (image-mode): Move graceful error-handling code from
15536 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15537 (image-minor-mode): Remove all image-handling code.
15538 Replace `image-mode-text-map' with `image-minor-mode-map'.
15539 Check for `image-type' in mode-line format string.
15540 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15541 (image-mode-as-text): New function with most code from
15542 `image-mode-maybe'.
15543 (image-toggle-display-text): Move code that removes image
15544 properties from `image-toggle-display' to here.
15545 (image-toggle-display-image): New function with code that adds
15546 image properties copied from `image-toggle-display'.
15547 (image-toggle-display): Remove most code with leaving only code
15548 that toggles between `image-mode-as-text' and `image-mode'.
15550 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15552 * net/newst-treeview.el
15553 (newsticker--treeview-list-highlight-start): Restored call to
15554 save-excursion: Selected item was stuck.
15555 (newsticker--treeview-list-select): New.
15556 (newsticker--treeview-item-show-text)
15557 (newsticker--treeview-item-show)
15558 (newsticker--treeview-item-update): Use new
15559 newsticker-treeview-item-mode.
15560 (newsticker-treeview-update): Keep current item.
15561 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15562 (newsticker--treeview-first-feed): Doc change.
15563 (newsticker-treeview-list-menu)
15564 (newsticker-treeview-item-menu): Add menu entries.
15565 (newsticker-treeview-item-mode): New.
15567 * net/newst-backend.el (newsticker-customize): Delete other
15570 2009-12-04 Sam Steingold <sds@gnu.org>
15572 * log-view.el (log-view-mode-map): "q" calls quit-window,
15573 like in all the other non-self-insert buffers.
15575 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15578 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15579 key decoding rather than do it manually via last-input-event +
15581 (term-exec): Use delete-and-extract-region.
15582 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15583 (term-process-pager): Remove unused var `i'.
15584 (term-dynamic-simple-complete): Make obsolete.
15585 (serial-update-config-menu): Remove unused vars `y' and `str'.
15586 (term-update-mode-line): Remove unused var `temp'.
15588 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15590 Limit the number of log entries displayed by default.
15591 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15592 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15593 using a prefix argument.
15595 2009-12-03 Glenn Morris <rgm@gnu.org>
15597 * progmodes/idlwave.el (class): Restore still useful declaration.
15599 2009-12-03 Alan Mackenzie <acm@muc.de>
15601 Enhance `c-parse-state' to run efficiently in "brace deserts".
15603 * progmodes/cc-mode.el (c-basic-common-init):
15604 Call c-state-cache-init.
15605 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15606 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15607 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15609 * progmodes/cc-langs.el (c-before-font-lock-function):
15610 c-extend-and-neutralize-syntax-in-CPP has been renamed
15611 c-neutralize-syntax-in-and-mark-CPP.
15613 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15614 with `category' properties now, not `syntax-table' ones.
15616 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15617 enhanced (but slower) version of c-end-of-macro that won't land
15618 inside a literal or on another awkward character.
15619 (c-state-cache-too-far, c-state-cache-start)
15620 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15621 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15622 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15623 (c-state-min-scan-pos, c-state-brace-pair-desert)
15624 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15625 buffer local variables.
15626 (c-state-literal-at, c-state-lit-beg)
15627 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15628 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15629 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15630 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15631 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15632 (c-renarrow-state-cache)
15633 (c-append-lower-brace-pair-to-state-cache)
15634 (c-state-push-any-brace-pair, c-append-to-state-cache)
15635 (c-remove-stale-state-cache)
15636 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15637 (c-invalidate-state-cache-1, c-parse-state-1)
15638 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15639 (c-parse-state): Enhance and refactor.
15640 (c-debug-parse-state): Amend to deal with all the new variables.
15642 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15643 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15644 modify to use category text properties rather than syntax-table ones.
15645 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15646 to switch off/on the syntactic paren property of C++ template
15647 delimiters using the category property.
15648 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15649 template delims suppressed.
15650 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15651 New constant/macros which apply category properties to the start
15652 and end of preprocessor constructs.
15653 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15654 "comment out" the syntactic value of characters in preprocessor
15656 (c-with-cpps-commented-out)
15657 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15658 with characters in all or all but one preprocessor constructs
15661 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15663 * proced.el (proced-filter-alist): Use regexp-quote.
15665 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15668 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15669 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15670 arguments. Expand `default-directory'.
15672 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15673 the benefit of returning an expanded localname.
15674 (tramp-tramp-file-p): Handle the case NAME is not a string.
15676 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15678 Add support for bzr shelve/unshelve.
15679 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15680 (vc-bzr-extra-menu-map): New variables.
15681 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15682 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15683 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15684 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15685 (vc-bzr-dir-extra-headers): Display shelves.
15687 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15689 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * textmodes/bibtex.el (bibtex-complete-internal):
15692 Use completion-in-region.
15693 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15695 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15697 Support applying stashes. Improve UI.
15698 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15699 (vc-git-stash-apply, vc-git-stash-pop)
15700 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15701 (vc-git-stash-menu): New functions.
15702 (vc-git-stash-menu-map): New variable.
15703 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15705 2009-12-03 Glenn Morris <rgm@gnu.org>
15707 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15708 (vc-print-log-internal): Fix previous change.
15709 (vc-revert): Correct pluralization.
15711 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15713 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15714 it to be an alist any more.
15715 (makefile-complete): Use completion-in-region.
15717 * progmodes/octave-mod.el (octave-complete-symbol):
15718 Use completion-in-region.
15721 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15722 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15723 (idlwave-complete-class): Don't quote lambda.
15724 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15725 (idlwave-mode-map): Move initialization into declaration.
15726 (idlwave-action-and-binding): Use backquotes.
15727 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15729 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15730 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15731 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15732 `parts', and `all-parts'.
15733 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15734 (idlwave-convert-xml-system-routine-info): Remove unused string
15736 (idlwave-display-user-catalog-widget): Use dolist.
15737 (idlwave-scanning-lib): Declare dynamically-scoped var.
15738 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15739 (completion-highlight-first-word-only): Declare to silence bytecomp.
15740 (idlwave-popup-select): Tighten scope of `resp'.
15741 (idlwave-find-struct-tag): Remove unused var `beg'.
15742 (idlwave-after-load-rinfo-hook): Declare.
15743 (idlwave-sintern-class-info): Remove unused var `taglist'.
15744 (idlwave-find-class-definition): Remove unused var `list'.
15745 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15746 (idlwave-what-module-find-class): Remove unused var `classes'.
15748 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15750 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15752 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15754 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15755 buffers visited. Remove redundant current-buffer-saving.
15757 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15759 Use completion-in-buffer and remove uses of dynamic scoping.
15760 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15761 (pascal-buffer-to-use, pascal-flag): Don't declare.
15762 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15763 (pascal-get-completion-decl, pascal-keyword-completion):
15764 Add `pascal-str' argument, save-excursion,
15765 return the found completions, and don't filter with pascal-pred.
15766 (pascal-completion-cache): New var.
15767 (pascal-completion): Don't switch buffer any more (it was never
15768 necessary). Don't save-excursion any more (it's done by the called
15769 subroutines). Use a cache to avoid redundant computations.
15770 Use complete-with-action rather than pascal-completion-response and
15771 let it apply the predicate as well.
15772 (pascal-complete-word): Use completion-in-buffer when
15773 pascal-toggle-completions is nil.
15774 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15776 (pascal-comp-defun): Don't change buffer any more.
15777 Use complete-with-action rather than pascal-completion-response and
15778 let it apply the predicate as well.
15779 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15782 2009-12-02 Kenichi Handa <handa@m17n.org>
15784 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15785 shape for all Indic scripts.
15787 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15789 Use completion-in-buffer.
15790 * wid-edit.el (widget-field-text-end): New function.
15791 (widget-field-value-get): Use it.
15792 (widget-string-complete, widget-file-complete)
15793 (widget-color-complete): Use it and completion-in-region.
15794 (widget-complete): Don't narrow the buffer.
15796 2009-12-02 Glenn Morris <rgm@gnu.org>
15798 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15799 (rmail-select-summary): Use rmail-pop-to-buffer.
15800 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15801 rmail-pop-to-buffer, to prevent horizontal splits.
15803 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15804 save-excursion with save-current-buffer.
15805 Widen before searching. (Bug#5093)
15806 (diary-list-sexp-entries): Remove superfluous save-excursion.
15808 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15810 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15813 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15815 * ido.el (ido-file-internal): Handle filenames at point that do
15816 not have a directory part. (Bug#5049)
15818 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15820 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15821 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15823 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15825 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15826 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15829 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15831 * comint.el (comint-insert-input): Ignore clicks to the right of
15832 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15834 * vc.el (vc-print-log-internal): Don't wait for the process to
15835 terminate before setting up the major mode.
15837 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15840 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15843 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15845 2009-12-01 Glenn Morris <rgm@gnu.org>
15847 * window.el (window--display-buffer-2): Fix previous changes.
15849 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15851 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15853 2009-12-01 Glenn Morris <rgm@gnu.org>
15855 * Makefile.in (ELCFILES): Add mpc.elc.
15857 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15859 * mpc.el: New file.
15861 2009-12-01 Glenn Morris <rgm@gnu.org>
15863 * window.el (window-to-use): Define for compiler.
15865 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15866 consistent with others (no final period).
15868 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15869 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15871 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15873 Make vc-print-log buttons work.
15874 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15876 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15878 * savehist.el (savehist-autosave-interval): Allow setting to nil
15879 through customize. (Bug#5056)
15881 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15883 Fix references to jit-lock properties.
15884 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15885 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15886 (perl-font-lock-special-syntactic-constructs):
15887 Quote jit-lock-defer-multiline property.
15889 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15891 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15893 2009-11-30 Juri Linkov <juri@jurta.org>
15895 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15896 value `buffer' of `multi-isearch-next-buffer-current-function'.
15897 Use `(current-buffer)' when `buffer' is nil.
15898 (multi-isearch-next-buffer-from-list): Don't fallback to
15899 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15901 2009-11-30 Juri Linkov <juri@jurta.org>
15903 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15904 of buffers with `get-buffer' to `multi-isearch-buffers'.
15905 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15906 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15907 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15908 FILES with `expand-file-name' converting relative file names
15909 to absolute. Doc fix. (Bug#4727)
15911 2009-11-30 Juri Linkov <juri@jurta.org>
15913 * misearch.el (multi-isearch-read-buffers)
15914 (multi-isearch-read-matching-buffers): New functions.
15915 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15916 Use them in the `interactive' spec. Doc fix.
15917 (multi-isearch-read-files, multi-isearch-read-matching-files):
15919 (multi-isearch-files, multi-isearch-files-regexp):
15920 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15922 2009-11-30 Juri Linkov <juri@jurta.org>
15924 * doc-view.el (doc-view-continuous):
15925 Rename from `doc-view-continuous-mode'.
15926 (doc-view-menu): Move "Toggle display" to the top.
15927 Add submenu "Continuous" with radio buttons "Off"/"On"
15928 and "Save as Default".
15929 (doc-view-scroll-up-or-next-page)
15930 (doc-view-scroll-down-or-previous-page)
15931 (doc-view-next-line-or-next-page)
15932 (doc-view-previous-line-or-previous-page):
15933 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15935 2009-11-30 Juri Linkov <juri@jurta.org>
15937 * comint.el (comint-mode-map): Rebind `M-r' from
15938 `comint-previous-matching-input' to
15939 `comint-history-isearch-backward-regexp'.
15940 Unbind `M-s' to allow global key binding `M-s'.
15941 Add menu items for `comint-history-isearch-backward' and
15942 `comint-history-isearch-backward-regexp'. (Bug#3746)
15944 2009-11-30 Juri Linkov <juri@jurta.org>
15946 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15947 For def=recenter, replace `recenter' with `recenter-top-bottom'
15948 that is called with `this-command' and `last-command' let-bound
15949 to `recenter-top-bottom'. When the last `def' was not `recenter',
15950 set `recenter-last-op' to nil. (Bug#4981)
15952 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15954 Minor cleanup and simplification.
15955 * filecache.el (file-cache-add-directory)
15956 (file-cache-add-directory-recursively)
15957 (file-cache-add-from-file-cache-buffer)
15958 (file-cache-delete-file-regexp, file-cache-delete-directory)
15959 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15960 (file-cache-temp-minibuffer-message): Delete function.
15961 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15963 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15964 Don't signal an error when bumping into EOB in tr, s, or y.
15966 2009-11-29 Juri Linkov <juri@jurta.org>
15968 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15971 * descr-text.el (describe-char-unidata-list): Use lowercase name
15972 for "Unicode name" like in other tags.
15974 2009-11-29 Juri Linkov <juri@jurta.org>
15976 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15977 New compatibility macro.
15978 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15980 2009-11-29 Juri Linkov <juri@jurta.org>
15982 Add defcustom to define the cycling order of `recenter-top-bottom'.
15985 * window.el (recenter-last-op): Doc fix.
15986 (recenter-positions): New defcustom.
15987 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15988 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15990 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15992 Improve integration of Tramp and ange-ftp in eshell.
15994 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15995 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15996 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15998 * eshell/esh-util.el (top): Require also Tramp when compiling.
15999 (eshell-directory-files-and-attributes): Check for FTP remote
16001 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
16002 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
16003 (eshell-file-attributes): Handle ".". Return `entry'.
16005 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
16006 (ange-ftp-directory-files-and-attributes)
16007 (ange-ftp-real-directory-files-and-attributes): New defuns.
16009 * net/tramp.el (tramp-maybe-open-connection): Open the remote
16010 shell with "exec" when possible. This prevents trailing prompts
16011 in `start-file-process'.
16013 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16015 Try and remove assumptions about point-min==1.
16016 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
16017 (rng-compute-mode-line-string): Show the validation percentage in
16018 terms of the narrowed text, not the widened text.
16019 (rng-do-some-validation): Don't catch internal errors when debugging.
16020 (rng-first-error): Simplify.
16021 (rng-after-change-function): Remove work around. AFAIK the bug has
16022 been fixed a while ago.
16024 * image-mode.el (image-minor-mode): Exit more gracefully when the image
16025 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
16027 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16029 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16030 `cd' doesn't always do it for us (bug#5067).
16032 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16033 on 2009-10-25 as part of some other change (bug#5067).
16035 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16039 (byte-compile-warnings): Use byte-compile-warning-types.
16040 (byte-compile-save-excursion): Warn about use of set-buffer right
16041 after save-excursion.
16043 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16044 the excursion as well.
16046 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16048 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16049 providing a Tramp related implementation of "su" and "sudo".
16050 (eshell-unix-initialize): Add "su" and "sudo".
16052 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16054 * net/socks.el (socks-send-command): Convert binary request to
16055 unibyte before sending. This fixes mishandling of some port
16056 numbers such as 129.
16058 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16060 * help.el (describe-bindings-internal): Remove `interactive'.
16062 * man.el (Man-completion-table): Trim a terminating "(".
16063 Remove the space between name page a section.
16064 Add the command's description on the `help-echo' property.
16065 Remove `process-connection-type' binding since it's unused by
16067 Provide completion for the "<section> <name>" format as well.
16068 (Man-default-man-entry): Remove spurious var shadowing the argument.
16070 2009-11-26 Kevin Ryde <user42@zip.com.au>
16072 * log-view.el: Add "Keywords: tools", since its other keywords
16073 aren't in finder-known-keywords, and following vc.el.
16075 * sha1.el (sha1-string-external): default-directory "/" in case
16076 otherwise non-existent. process-connection-type pipe for touch of
16077 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16079 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16081 Misc coding convention cleanups.
16082 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16083 hfy-init-kludge-hooks.
16084 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16085 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16086 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16088 (hfy-slant, hfy-weight): Use tables rather than code.
16089 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16090 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16091 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16092 (hfy-face-to-css): Remove `nconc' with single arg.
16093 (hfy-p-to-face-lennart): Use `or'.
16094 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16095 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16096 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16097 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16098 (hfy-force-fontification): Use run-hooks.
16100 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16102 Various minor fixes.
16103 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16104 Javascript belongs in the header, not the body.
16105 (hfy-javascript): Remove.
16106 (hfy-fontify-buffer): Don't insert it any more.
16107 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16108 Fix bug in invis handling when there were no invis props in a chunk.
16110 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16112 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16114 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16116 * finder.el (finder-mode-map): Add a menu.
16118 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16120 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16121 "unsigned" structs.
16123 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16124 fork" statement better.
16126 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16128 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16129 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16130 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16131 Reported by Clay Douglass.
16133 (verilog-auto-inst, verilog-auto-star-safe)
16134 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16135 Fix removing "// Interfaces" when saving .* expansions.
16136 Reported by Pierre-David Pfister.
16138 2009-11-26 Glenn Morris <rgm@gnu.org>
16140 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16143 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16145 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16146 Really use previous revision.
16148 2009-11-25 Kevin Ryde <user42@zip.com.au>
16150 * man.el (Man-completion-table): default-directory "/" in case
16151 doesn't otherwise exist. process-environment COLUMNS=999 so as
16152 not to truncate long names. process-connection-type pipe to avoid
16153 any chance of hitting the pseudo-tty TIOCGWINSZ.
16154 (man): completion-ignore-case t for friendliness and since man
16155 itself is case-insensitive on the command line.
16156 Further to Bug#3717.
16158 * arc-mode.el: Add "Keywords: files", so the details in its
16159 commentary can be reached from finder-by-keyword.
16160 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16161 editing mode, but it's comms related and sgml-mode.el has "comm"
16163 * textmodes/bibtex-style.el: Add "Keywords: tex".
16164 * international/isearch-x.el, international/ja-dic-cnv.el:
16165 * international/ja-dic-utl.el, international/kkc.el:
16166 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16168 2009-11-25 Juri Linkov <juri@jurta.org>
16170 * man.el (Man-completion-table): Modify regexp to include
16171 section names to completion strings. (Bug#3717)
16173 2009-11-25 Juri Linkov <juri@jurta.org>
16175 Search recursively in gzipped files. (Bug#4982)
16177 * progmodes/grep.el (grep-highlight-matches): Add new options
16178 `always' and `auto'. Doc fix.
16179 (grep-process-setup): Check `grep-highlight-matches' for
16180 `auto-detect' to determine the need to compute grep defaults.
16181 Move Windows/DOS specific --colors settings handling
16182 to `grep-compute-defaults'. Check `grep-highlight-matches'
16183 to get the value of "--color=".
16184 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16185 has the value `auto-detect'. Move Windows/DOS specific settings
16186 from `grep-process-setup'.
16187 (zrgrep): New command with alias `rzgrep'.
16189 2009-11-25 Juri Linkov <juri@jurta.org>
16191 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16192 to nil instead of switching off view-mode. (Bug#4896)
16194 2009-11-25 Juri Linkov <juri@jurta.org>
16196 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16198 * mwheel.el (mwheel-scroll-up-function)
16199 (mwheel-scroll-down-function): New defvars.
16200 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16201 `scroll-up', and `mwheel-scroll-down-function' instead of
16204 * doc-view.el (doc-view-scroll-up-or-next-page)
16205 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16206 Use this ARG in the call to image-scroll-up/image-scroll-down.
16207 Change `interactive' spec to "P". Goto next/previous page only
16208 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16209 SPC/DEL case). Doc fix.
16210 (doc-view-next-line-or-next-page)
16211 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16213 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16214 `doc-view-scroll-up-or-next-page', and buffer-local
16215 `mwheel-scroll-down-function' to
16216 `doc-view-scroll-down-or-previous-page'.
16218 2009-11-25 Juri Linkov <juri@jurta.org>
16220 Provide additional default values (directories at other Dired
16221 windows) via M-n in the minibuffer of some Dired commands.
16223 * dired-aux.el (dired-diff, dired-compare-directories)
16224 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16225 `minibuffer-default' in `minibuffer-with-setup-hook'.
16226 (dired-dwim-target-directory): Find a window that displays Dired
16227 buffer instead of failing when the next window is not Dired.
16228 Use `get-window-with-predicate' to find for the next Dired window.
16229 (dired-dwim-target-defaults): New function.
16231 * ediff-util.el (ediff-read-file-name):
16232 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16233 in `minibuffer-with-setup-hook'.
16235 2009-11-25 Juri Linkov <juri@jurta.org>
16237 Provide additional default values (file name at point or at the
16238 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16240 * minibuffer.el (read-file-name-defaults): New function.
16241 (read-file-name): Reset `minibuffer-default' to nil when
16242 it duplicates initial input `insdef'.
16243 Bind `minibuffer-default-add-function' to lambda that
16244 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16245 (minibuffer-insert-file-name-at-point): New command.
16247 * files.el (file-name-at-point-functions): New defcustom.
16248 (find-file-default): Remove defvar.
16249 (find-file-read-args): Don't use `find-file-default'.
16250 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16251 to `read-file-name'.
16252 (find-file-literally): Use `read-file-name' with
16253 `confirm-nonexistent-file-or-buffer'.
16255 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16257 * dired.el (dired-read-dir-and-switches):
16258 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16259 to `read-file-name'.
16260 (dired-file-name-at-point): New function.
16261 (dired-mode): Add hook `dired-file-name-at-point' to
16262 `file-name-at-point-functions'.
16264 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16266 Really make the *Completions* window soft-dedicated (bug#5030).
16267 * window.el (window--display-buffer-2): Add `dedicated' argument.
16268 (display-buffer): Pass it when needed so the dedicated flag is set
16269 after calling set-window-buffer, which would otherwise reset it.
16271 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16273 * progmodes/meta-mode.el (meta-complete-symbol):
16274 * progmodes/etags.el (complete-tag):
16275 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16276 Use completion-in-region.
16278 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16279 (dabbrev-completion): Use completion-in-region.
16280 (dabbrev--abbrev-at-point): Simplify regexp.
16282 * abbrev.el (abbrev--before-point): Use word-motion functions
16283 if :regexp is not specified (bug#5031).
16285 * subr.el (string-prefix-p): New function.
16287 * man.el (Man-completion-cache): New var.
16288 (Man-completion-table): Use it.
16290 * vc.el (vc-print-log-internal): Make `limit' optional for better
16291 compatibility (e.g. with vc-annotate.el).
16293 2009-11-24 Kevin Ryde <user42@zip.com.au>
16295 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16296 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16298 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16299 when .el source file not found or other error.
16301 2009-11-24 Markus Triska <markus.triska@gmx.at>
16303 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16305 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16307 Handle the [back] button properly (bug#4979).
16308 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16309 Use help-setup-xref, help-buffer, and with-help-window.
16310 (describe-char): Add `buffer' argument.
16311 Pass proper command to help-setup-xref. Don't meddle with
16312 help-xref-stack-item directly.
16313 (describe-text-category): Use with-help-window and help-buffer.
16315 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16316 for the displayed buffer (bug#4887).
16318 * man.el (Man-completion-table): New function.
16321 2009-11-24 David Reitter <david.reitter@gmail.com>
16323 * vc-git.el (vc-git-registered): Use checkout directory (where
16324 .git is) rather than the file's directory and a relative path spec
16325 to work around a bug in git.
16327 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16329 Improve handling of processes on remote hosts.
16331 * eshell/esh-util.el (eshell-path-env): New defvar.
16332 (eshell-parse-colon-path): New defun.
16333 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16335 * eshell/esh-ext.el (eshell-search-path):
16336 Use `eshell-parse-colon-path'.
16337 (eshell-remote-command): Remove argument HANDLER.
16338 (eshell-external-command): Check for FTP remote connection.
16340 * eshell/esh-proc.el (eshell-gather-process-output):
16341 Use `file-truename', in order to start also symlinked files.
16342 Apply `start-file-process' instead of `start-process'.
16343 Shorten `command' to the local file name part.
16345 * eshell/em-cmpl.el (eshell-complete-commands-list):
16346 Use `eshell-parse-colon-path'.
16348 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16350 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16351 to `eshell-directory-change-hook'.
16353 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16355 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16356 because it could be enabled automatically if view-read-only is non-nil.
16358 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16360 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16361 made on 2009-11-22.
16363 2009-11-24 Glenn Morris <rgm@gnu.org>
16365 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16366 deleted variable bookmark-bmenu-bookmark-column.
16368 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16370 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16372 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16374 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16375 two slashes to the "file:" prefix.
16376 (browse-url-file-url): De-munge Cygwin filenames before passing
16377 them to Windows browser.
16378 (browse-url-default-windows-browser): Use call-process.
16380 2009-11-23 Juri Linkov <juri@jurta.org>
16382 Implement DocView Continuous mode. (Bug#4896)
16383 * doc-view.el (doc-view-continuous-mode): New defcustom.
16384 (doc-view-mode-map): Bind C-n/<down> to
16385 `doc-view-next-line-or-next-page', C-p/<up> to
16386 `doc-view-previous-line-or-previous-page'.
16387 (doc-view-next-line-or-next-page)
16388 (doc-view-previous-line-or-previous-page): New commands.
16390 2009-11-23 Juri Linkov <juri@jurta.org>
16392 Implement Isearch in comint input history. (Bug#3746)
16393 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16394 `isearch-mode-hook'.
16395 (comint-history-isearch): New defcustom.
16396 (comint-history-isearch-backward)
16397 (comint-history-isearch-backward-regexp): New commands.
16398 (comint-history-isearch-message-overlay): New buffer-local variable.
16399 (comint-history-isearch-setup, comint-history-isearch-end)
16400 (comint-goto-input, comint-history-isearch-search)
16401 (comint-history-isearch-message, comint-history-isearch-wrap)
16402 (comint-history-isearch-push-state)
16403 (comint-history-isearch-pop-state): New functions.
16405 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16407 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16409 (tramp-handle-make-symbolic-link)
16410 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16412 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16413 (tramp-handle-process-file): Use it.
16415 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16417 * window.el (move-to-window-line-last-op): Remove.
16418 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16420 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16422 Make M-r mirror the new cycling behavior of C-l.
16423 * window.el (move-to-window-line-last-op): New var.
16424 (move-to-window-line-top-bottom): New command.
16425 (global-map): Bind M-r move-to-window-line-top-bottom.
16427 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16429 * dired-x.el (dired-guess-shell-alist-default):
16430 Support xz format. (Bug#4953)
16432 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16434 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16435 last-command-char/last-command-event.
16436 (viper-prefix-arg-value): Do correct conversion of event-char for
16439 * emulation/viper-util.el, emulation/viper.el:
16440 Use viper-last-command-char instead of
16441 last-command-char/last-command-event.
16443 * ediff-init.el, ediff-mult.el, ediff-util.el:
16444 Replace last-command-char and last-command-event
16445 with (ediff-last-command-char) everywhere.
16447 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16448 created in fundamental mode.
16450 * ediff.el (ediff-version): Revert the change of interactive-p to
16451 called-interactively-p.
16453 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16455 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16456 generation from word-movement command names.
16458 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16460 * cus-start.el (all): Add native condition for font-use-system-font.
16462 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16464 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16465 Correct the patch from 2009-11-18. (Bug#3910)
16467 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16469 * progmodes/subword.el: Rename from lisp/subword.el.
16471 * subword.el: Rename to progmodes/subword.el.
16473 * Makefile.in (ELCFILES): Adapt to subword.el move.
16475 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16476 Stefan Monnier <monnier@iro.umontreal.ca>
16478 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16479 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16480 (bookmark-bmenu-show-filenames): Use push.
16481 (bookmark-bmenu-hide-filenames): Use local var instead of
16482 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16483 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16484 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16485 filenames now that the bookmark names are always available.
16487 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16490 (bookmark-search-pattern): Move and leave unbound.
16491 (bookmark-bmenu-mode-map): Change binding.
16492 (bookmark-read-search-input): Simplify.
16493 Don't use text-char-description. Don't error on non-char events.
16494 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16495 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16496 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16497 Use a local var for the timer.
16498 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16499 (i.e. bookmark-bmenu-search).
16501 2009-11-21 Glenn Morris <rgm@gnu.org>
16503 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16505 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16507 * net/browse-url.el (browse-url-default-windows-browser):
16508 Use cygstart for cygwin.
16510 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16512 * bookmark.el: Formatting and doc fixes only:
16513 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16514 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16515 Minor grammar and punctuation fixes in doc string.
16516 (bookmark-read-search-input): Adjust to fit within 80 columns.
16518 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16520 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16521 (c-backward-into-nomenclature): Adapt to subword renaming.
16523 * subword.el (subword-forward, subword-backward, subword-mark)
16524 (subword-kill, subword-backward-kill, subword-transpose)
16525 (subword-downcase, subword-upcase, subword-capitalize)
16526 (subword-forward-internal, subword-backward-internal):
16527 Rename from forward-subword, backward-subword, mark-subword,
16528 kill-subword, backward-kill-subword, transpose-subwords,
16529 downcase-subword, upcase-subword, capitalize-subword,
16530 forward-subword-internal, backward-subword-internal.
16532 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16534 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16536 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16538 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16539 (bookmark-bmenu-filter-alist-by-regexp)
16540 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16541 (bookmark-bmenu-search): New command.
16542 (bookmark-bmenu-mode-map): Bind it.
16544 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16546 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16547 backward-subword to quit the byte-compiler.
16549 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16551 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16553 * progmodes/cc-cmds.el (c-update-modeline)
16554 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16555 Refer to subword.el functions instead of cc-subword.el.
16557 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16558 subword.el functions instead of cc-subword.el.
16560 * progmodes/cc-subword.el: Rename to subword.el.
16561 * subword.el: Rename from progmodes/cc-subword.el.
16562 (subword-mode-map): Rename from c-subword-mode-map.
16563 (subword-mode): Rename from c-subword-mode.
16564 (global-subword-mode): New global minor mode.
16565 (forward-subword): Rename from c-forward-subword.
16566 (backward-subword): Rename from c-backward-subword.
16567 (mark-subword): Rename from c-mark-subword.
16568 (kill-subword): Rename from c-kill-subword.
16569 (backward-kill-subword): Rename from c-backward-kill-subword.
16570 (transpose-subwords): Rename from c-tranpose-subword.
16571 (downcase-subword): Rename from c-downcase-subword.
16572 (capitalize-subword): Rename from c-capitalize-subword.
16573 (forward-subword-internal): Rename from c-forward-subword-internal.
16574 (backward-subword-internal): Rename from c-backward-subword-internal.
16576 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16578 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16579 from a dired buffer.
16580 (vc-dired-deduce-fileset): New function.
16581 (vc-root-diff, vc-print-root-log): Use it.
16583 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16584 nil LIMIT argument to vc-print-log-internal.
16586 2009-11-20 Glenn Morris <rgm@gnu.org>
16588 * Makefile.in (ELCFILES): Regenerate.
16590 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16592 * calc/calc.el (calc-set-mode-line):
16593 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16594 (math-format-number): Rename `math-format-complement-signed' to
16595 `math-format-twos-complement'.
16597 * calc/calc-bin.el (math-format-twos-complement): Rename from
16598 math-format-complement-signed.
16599 (calc-radix): Rename `calc-complement-signed-mode' to
16600 `calc-twos-complement-mode'.
16601 (calc-octal-radix, calc-hex-radix): Add an argument for
16604 * calc/calc-embed.el (calc-embedded-mode-vars):
16605 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16607 * calc/calc-ext.el (calc-init-extensions):
16608 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16609 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16611 * calc/calc-units.el (math-build-units-table-buffer):
16612 Let `calc-twos-complement-mode' be nil.
16614 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16617 * calc/calc-vec.el (calcFunc-vunpack):
16618 * calc/calc-aent.el (calc-do-calc-eval):
16619 * calc/calc-forms.el (math-format-date):
16620 * calc/calc-graph.el (calc-graph-plot):
16621 * calc/calc-math.el (math-use-emacs-fn):
16622 * calc/calccomp.el (math-compose-expr):
16623 Let `calc-twos-complement-mode' be nil.
16625 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16627 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16628 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16629 * minibuffer.el (completion-in-region-functions): New hook.
16630 (completion-in-region): New function.
16631 * emacs-lisp/lisp.el (lisp-complete-symbol):
16632 * pcomplete.el (pcomplete-std-complete): Use it.
16634 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16636 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16637 (latex-complete-alist): New vars.
16638 (latex-string-prefix-p, latex-complete-bibtex-keys)
16639 (latex-complete-envnames, latex-complete-refkeys)
16640 (latex-complete-data): New functions.
16641 (latex-complete, latex-indent-or-complete): New commands.
16643 * window.el (display-buffer-mark-dedicated): New var.
16644 (display-buffer): Obey it.
16645 * minibuffer.el (minibuffer-completion-help): Use it.
16647 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16649 * filecache.el (file-cache-add-file): Use push and cons.
16650 (file-cache-delete-file-regexp): Use push.
16651 (file-cache-complete): Use completion-in-region.
16653 * simple.el (with-wrapper-hook): Fix thinko.
16655 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16656 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16657 Use with-current-buffer and string-to-number.
16658 (hfy-fallback-colour-values): Use assoc-string.
16659 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16660 (hfy-face-at): Remove unused var `found-face'.
16661 (hfy-compile-stylesheet): Remove unused var `css'.
16662 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16664 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16665 Use with-current-buffer.
16666 (hfy-text-p): Use expand-file-name and fewer setq.
16668 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16670 * htmlfontify.el, hfy-cmap.el: New files.
16672 2009-11-19 Juri Linkov <juri@jurta.org>
16674 * minibuffer.el (completions-format): New defcustom.
16675 (completion--insert-strings): Implement vertical format.
16677 * simple.el (switch-to-completions): Move point to the first
16678 completion when point was at the beginning of the buffer.
16680 2009-11-19 Juri Linkov <juri@jurta.org>
16682 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16684 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16686 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16688 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16689 (mail-signature): Change default to t.
16690 (mail-from-style): Deprecate `system-default' value.
16691 (mail-insert-from-field): For default value of mail-from-style,
16692 default to `angles' unless `angles' needs quoting and `parens'
16694 (mail-citation-prefix-regexp): Use citation regexp from
16697 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16699 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16700 Set variables for computing the prompt for reading password.
16702 2009-11-19 Glenn Morris <rgm@gnu.org>
16704 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16706 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16708 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16709 (newsticker-treeview-listwindow-height): Fix custom type.
16711 2009-11-19 Kenichi Handa <handa@m17n.org>
16713 * descr-text.el (describe-char-padded-string): Compose with TAB
16714 only if there's a font for CH.
16715 (describe-char): Fix the condition for detecting a trivial composition.
16717 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16719 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16720 more accurate version of the regexp. (Bug#3910)
16722 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16724 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16726 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16728 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16729 (font-setting-change-default-font): Fix typo in docstring.
16731 2009-11-18 Alan Mackenzie <acm@muc.de>
16733 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16735 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16737 * font-setting.el (font-use-system-font): Move ...
16739 * cus-start.el (all): ... to here.
16741 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16743 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16744 Don't set `ad-return-value' if `ad-do-it' doesn't.
16746 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16749 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16751 * menu-bar.el: Put "Use system font" in Option-menu.
16752 (menu-bar-options-save): Add font-use-system-font.
16754 * loadup.el: If feature system-font-setting or font-render-setting is
16755 there, load font-setting.
16757 * Makefile.in (ELCFILES): Add font-settings.el.
16758 * font-setting.el: New file.
16760 2009-11-17 Glenn Morris <rgm@gnu.org>
16762 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16764 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16765 Preserve point in the list buffer. (Bug#4939)
16767 (newsticker--treeview-list-update-highlight)
16768 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16770 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16772 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16775 * calc/calc-ext.el (calc-init-extensions): Remove references to
16778 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16780 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16781 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16784 2009-11-16 Kevin Ryde <user42@zip.com.au>
16786 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16787 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16789 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16790 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16791 Ignore trailing spaces by omit-nulls to split-string (fixing
16792 regression from Emacs 21 due to the incompatible split-string
16793 change). (Bug #4928.)
16795 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16797 * vc.el (vc-log-show-limit): Default to 2000.
16798 (vc-print-log-internal): Insert buttons to request more entries
16799 when limiting the output.
16801 * vc-sccs.el (vc-sccs-print-log):
16802 * vc-rcs.el (vc-rcs-print-log):
16803 * vc-cvs.el (vc-cvs-print-log):
16804 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16807 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16809 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16810 error when `tramp-gvfs-dbus-event-vector' is set.
16811 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16813 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16815 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16817 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16819 * net/dbus.el (dbus-unregister-service): New defun.
16820 (dbus-register-property): Register the handlers of
16821 "org.freedesktop.DBus.Properties" for SERVICE.
16822 (dbus-property-handler): Fix docstring.
16824 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16826 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16827 Quote doc string reference in defvaralias as it is not in special form.
16828 (byte-compile-output-docform): Doc fix.
16830 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16832 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16833 (calc-complement-signed-mode): New variables.
16834 (calc-set-mode-line): Add indicator for twos-complements.
16835 (math-format-number): Format twos-complement notation.
16837 * calc/calc-bin.el (calc-word-size): Reset the variables
16838 `math-2-word-size' and `math-half-2-word-size'.
16839 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16840 (calc-symclip): New functions.
16842 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16844 * calc/calc-embed.el (calc-embedded-mode-vars):
16845 Add `calc-complement-signed-mode' to the list of modes.
16847 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16848 (calc-b-oper-keys): Add `calc-symclip' to list.
16850 * calc/calc-ext.el (math-read-number-fancy): Read complement
16852 (calc-init-extensions): Add binding for `calc-symclip'.
16853 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16855 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16857 (calc-modes-menu): Add item for twos complement mode.
16859 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16861 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16863 * register.el (jump-to-register, insert-register): Handle Semantic
16864 tags. From commented-out advice in semantic/senator.el.
16866 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16868 * vc.el (vc-log-show-limit): New variable.
16869 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16870 when using a prefix argument.
16871 (vc-print-log-internal): Add new argument LIMIT.
16873 * vc-svn.el (vc-svn-print-log):
16874 * vc-mtn.el (vc-mtn-print-log):
16875 * vc-hg.el (vc-hg-print-log):
16876 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16877 pass it to the log command when set. Make the BUFFER argument
16880 * vc-sccs.el (vc-sccs-print-log):
16881 * vc-rcs.el (vc-rcs-print-log):
16882 * vc-git.el (vc-git-print-log):
16883 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16884 ignore it. Make the BUFFER argument non-optional.
16886 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16888 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16890 * dired.el (dired-mode-map): Move encryption items to "Operate"
16893 * strokes.el (strokes-update-window-configuration): Make strokes
16894 buffer current before erasing (Bug#4906).
16896 2009-11-15 Juri Linkov <juri@jurta.org>
16898 * simple.el (set-mark-default-inactive): Add :type, :group
16899 and :version. (Bug#4876)
16901 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16903 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16904 (archive-unique-fname): ... here. (Bug#4929)
16906 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16911 * novice.el (disabled-command-function): Add useful args.
16912 Setup the help buffer so that [back] works.
16913 Remove redundant call to help-mode.
16914 (disabled-command-function): Use `case'.
16915 (en/disable-command): New function extracted from enable-command.
16916 (enable-command, disable-command): Use it.
16918 2009-11-14 Glenn Morris <rgm@gnu.org>
16920 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16921 constants. (Bug#4913)
16923 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16925 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16927 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16928 defined in C that have no doc-strings. (Bug#1063)
16930 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16932 * cus-edit.el (data, files):
16933 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16935 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16937 * simple.el (shell-command): Doc fix (Bug#4891).
16939 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16941 2009-11-14 Glenn Morris <rgm@gnu.org>
16943 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16944 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16945 If they are already loaded, eval-after-load will do the right thing.
16947 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16950 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16952 * simple.el (x-selection-owner-p): Declare.
16953 (read-mail-command): Use custom radio type rather than choice.
16954 (completion-no-auto-exit): Doc fix.
16956 * custom.el (defgroup):
16957 * epg-config.el (epg): Doc fixes.
16959 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16961 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16962 * international/ccl.el (define-ccl-program): Do not purecopy the
16963 docstring, defconst does it anyway.
16965 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16967 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16970 * x-dnd.el (x-dnd-maybe-call-test-function):
16971 * window.el (split-window-vertically):
16972 * whitespace.el (whitespace-help-on):
16973 * vc-rcs.el (vc-rcs-consult-headers):
16974 * userlock.el (ask-user-about-lock-help)
16975 (ask-user-about-supersession-help):
16976 * type-break.el (type-break-force-mode-line-update):
16977 * time-stamp.el (time-stamp-conv-warn):
16978 * terminal.el (te-set-output-log, te-more-break, te-filter)
16979 (te-sentinel, terminal-emulator):
16980 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16981 (term-write-input-ring, term-check-source, term-start-output-log):
16982 (term-display-buffer-line, term-dynamic-list-completions):
16983 (term-ansi-make-term, serial-term):
16984 * subr.el (selective-display):
16985 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16986 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16987 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16988 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16989 (speedbar-remove-localized-speedbar-support)
16990 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16991 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16992 (speedbar-buffers-line-directory):
16993 * simple.el (shell-command-on-region, append-to-buffer)
16994 (prepend-to-buffer):
16995 * shadowfile.el (shadow-save-todo-file):
16996 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16997 (scroll-bar-maybe-set-window-start):
16998 * sb-image.el (speedbar-image-dump):
16999 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
17000 (load-save-place-alist-from-file):
17001 * ps-samp.el (ps-print-message-from-summary):
17002 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
17003 (ps-background-image, ps-begin-job, ps-do-despool):
17004 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
17005 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
17006 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
17007 (pr-call-process, pr-file-list, pr-interface-save):
17008 * novice.el (disabled-command-function)
17009 (enable-command, disable-command):
17010 * mouse.el (mouse-buffer-menu-alist):
17011 * mouse-copy.el (mouse-kill-preserving-secondary):
17012 * macros.el (kbd-macro-query):
17013 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
17014 * informat.el (batch-info-validate):
17015 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
17016 * hippie-exp.el (try-expand-dabbrev-visible):
17017 * help-mode.el (help-make-xrefs):
17018 * help-fns.el (describe-variable):
17019 * generic-x.el (bat-generic-mode-run-as-comint):
17020 * finder.el (finder-mouse-select):
17021 * find-dired.el (find-dired-sentinel):
17022 * filesets.el (filesets-file-close):
17023 * files.el (list-directory):
17024 * faces.el (list-faces-display, describe-face):
17025 * facemenu.el (list-colors-display):
17026 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
17027 * epg.el (epg--process-filter, epg-cancel):
17028 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17029 (epa--read-signature-type):
17030 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17031 (emerge-file-names):
17032 * ehelp.el (electric-helpify):
17033 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17034 * ediff-vers.el (rcs-ediff-view-revision):
17035 * ediff-util.el (ediff-setup):
17036 * ediff-mult.el (ediff-append-custom-diff):
17037 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17039 * echistory.el (Electric-command-history-redo-expression):
17040 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17041 * disp-table.el (describe-display-table):
17042 * dired.el (dired-find-buffer-nocreate):
17043 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17044 * dabbrev.el (dabbrev--same-major-mode-p):
17045 * chistory.el (list-command-history):
17046 * apropos.el (apropos-documentation):
17047 * allout.el (allout-obtain-passphrase):
17048 (allout-copy-exposed-to-buffer):
17049 (allout-verify-passphrase): Use with-current-buffer.
17051 2009-11-13 Glenn Morris <rgm@gnu.org>
17053 * Makefile.in (ELCFILES): Regenerate.
17055 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17057 * net/dbus.el (dbus-registered-objects-table): Rename from
17058 `dbus-registered-functions-table', because it contains also properties.
17059 (dbus-unregister-object): Unregister also properties.
17060 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17061 Use a timeout of 500 msec, in order to not block.
17062 (dbus-register-property, dbus-property-handler): New defuns.
17064 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17066 * simple.el (minibuffer-default-add-completions): Drop deprecated
17069 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17071 * textmodes/artist.el (artist-mouse-choose-operation):
17072 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17073 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17074 (artist-compute-up-event-key): New function.
17075 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17077 2009-11-13 Kenichi Handa <handa@m17n.org>
17079 * language/japan-util.el: Make sure that the value of jisx0208
17080 property is jisx0208 character.
17082 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17084 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17085 car or each item, not the whole list.
17087 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17089 * minibuffer.el (minibuffer-completion-help):
17090 Use minibuffer-hide-completions.
17092 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17094 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17095 (dired-revert): Use them (bug#4880).
17097 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17099 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17101 2009-11-12 Juri Linkov <juri@jurta.org>
17103 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17105 (find-file-literally-at-point): Alias of `ffap-literally'.
17107 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17109 * textmodes/ispell.el (ispell-skip-region-alist):
17110 * textmodes/css-mode.el (auto-mode-alist):
17111 * progmodes/compile.el (auto-mode-alist):
17112 * international/mule.el (ctext-non-standard-encodings-alist)
17113 (ctext-non-standard-encodings-regexp):
17114 * simple.el (shell-command-switch, text-read-only):
17115 * replace.el (occur-mode-map):
17116 * paths.el (rmail-file-name):
17117 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17118 * find-file.el (ff-special-constructs):
17119 * files.el (file-name-handler-alist):
17120 * composite.el: Purecopy strings.
17122 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17124 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17126 * widget.el (define-widget): Purecopy the docstring.
17127 * international/mule-cmds.el (charset): Do not purecopy the
17128 docstring here, define-widget does it.
17130 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17131 * textmodes/bibtex-style.el (auto-mode-alist):
17132 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17133 * progmodes/compile.el (compile-command):
17134 * language/korea-util.el (default-korean-keyboard):
17135 * international/mule-conf.el (file-coding-system-alist):
17136 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17137 * tooltip.el (tooltip-frame-parameters):
17138 * newcomment.el (comment-end, comment-padding):
17139 * dired.el (dired-trivial-filenames):
17140 * comint.el (comint-file-name-prefix): Purecopy initial values.
17142 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17144 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17145 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17147 (tramp-advice-make-auto-save-file-name)
17148 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17149 after removing the advice.
17151 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17153 * progmodes/grep.el (grep-regexp-alist):
17154 * international/mule-cmds.el (iso-2022-control-alist):
17155 * emacs-lisp/timer.el (timer-duration-words):
17156 * subr.el (version-separator, version-regexp-alist):
17157 * minibuffer.el (completion-styles-alist):
17158 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17159 Change defvars to defconsts.
17161 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17162 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17163 * international/mule-conf.el: Allow to be byte compiled.
17165 * international/mule.el (define-charset): Purecopy props.
17166 (load-with-code-conversion): Purecopy doc string and file name.
17167 (put-charset-property): Purecopy strings.
17168 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17170 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17171 (define-char-code-property): Correctly purecopy the table.
17173 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17175 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17177 * subr.el (add-hook): Purecopy strings.
17178 (eval-after-load): Purecopy load-history-regexp and the form.
17180 * custom.el (custom-declare-group): Purecopy load-file-name.
17182 * subr.el (menu-bar-separator): New defconst.
17183 * net/eudc.el (eudc-tools-menu):
17184 * international/mule-cmds.el (set-coding-system-map)
17185 (mule-menu-keymap):
17186 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17187 * vc-hooks.el (vc-menu-map):
17188 * replace.el (occur-mode-map):
17189 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17190 (menu-bar-edit-menu, menu-bar-goto-menu)
17191 (menu-bar-custom-menu, menu-bar-showhide-menu)
17192 (menu-bar-options-menu, menu-bar-tools-menu)
17193 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17194 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17195 (menu-bar-help-menu):
17196 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17197 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17199 * term/x-win.el (x-gtk-stock-map):
17200 * progmodes/vera-mode.el (auto-mode-alist):
17201 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17202 (inferior-lisp-program, inferior-lisp-load-command):
17203 * progmodes/hideshow.el (hs-special-modes-alist):
17204 * progmodes/gud.el (same-window-regexps):
17205 * progmodes/grep.el (grep-program, find-program, xargs-program):
17206 * net/telnet.el (same-window-regexps):
17207 * net/rlogin.el (same-window-regexps):
17208 * language/ethiopic.el (font-ccl-encoder-alist):
17209 * vc-sccs.el (vc-sccs-master-templates):
17210 * vc-rcs.el (vc-rcs-master-templates):
17211 * subr.el (cl-assertion-failed):
17212 * simple.el (next-error-overlay-arrow-position):
17213 * lpr.el (lpr-command):
17214 * locate.el (locate-ls-subdir-switches):
17215 * info.el (same-window-regexps, info)
17216 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17217 * image-mode.el (image-mode, auto-mode-alist):
17218 * hippie-exp.el (hippie-expand-ignore-buffers):
17219 * format.el (format-alist):
17220 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17222 * facemenu.el (facemenu-keybindings):
17223 * dired.el (dired-listing-switches, dired-chown-program):
17224 * diff.el (diff-switches, diff-command):
17225 * cus-edit.el (same-window-regexps):
17226 * bindings.el (mode-line-mule-info)
17227 (mode-line-buffer-identification): Purecopy strings.
17229 2009-11-11 Juri Linkov <juri@jurta.org>
17231 * simple.el (dired-get-filename) <declare-function>:
17232 Tell the byte-compiler about dired-get-filename.
17233 (shell-command): In Dired mode, get filename from the current line
17234 as the default value.
17236 2009-11-10 Glenn Morris <rgm@gnu.org>
17238 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17239 * calendar/holidays.el, progmodes/cperl-mode.el:
17240 Update x-popup-menu declarations.
17242 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17243 (list-load-path-shadows): Use dolist.
17244 (list-load-path-shadows): Use with-current-buffer.
17246 2009-11-10 Juri Linkov <juri@jurta.org>
17248 * minibuffer.el (read-file-name): Support a list of default values
17249 in `default-filename'. Use the first file name where only one
17250 element is required. Doc fix.
17252 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17254 * net/dbus.el (dbus-unregister-object): Release service, if no
17255 other method is registered for it.
17257 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17259 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17260 bookmark-sort-flag is non-nil (Bug#4653).
17262 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17264 * emulation/cua-base.el: Add CUA property to some CC mode commands
17267 2009-11-08 Kevin Ryde <user42@zip.com.au>
17269 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17270 at end of sentence (Bug#4818).
17272 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17275 Handle "see declaration of" MSFT statements (Bug#4100).
17277 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17279 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17280 (tramp-advice-file-expand-wildcards): Unload via
17281 `ad-remove-advice'.
17283 * net/trampver.el: Update release number.
17285 2009-11-08 Kevin Ryde <user42@zip.com.au>
17287 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17290 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17292 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17293 in order to keep context in SELinux.
17295 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17297 * dired-aux.el (dired-query): Place cursor in echo area and allow
17300 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17301 menu item if not on a directory (Bug#4701).
17303 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17305 Sync with Tramp 2.1.17.
17307 * net/tramp.el (tramp-handle-copy-directory): Don't use
17308 `file-remote-p' (due to compatibility).
17310 * net/tramp-compat.el (tramp-compat-copy-directory)
17311 (tramp-compat-delete-directory): New defuns.
17313 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17314 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17315 Use `tramp-compat-delete-directory'.
17317 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17318 (tramp-smb-handle-delete-directory):
17319 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17321 * net/trampver.el: Update release number.
17323 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17325 * tar-mode.el (tar-copy): Call write-region on the right buffer
17328 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17329 by hand, if necessary (Bug#4878).
17331 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17333 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17334 align size column (Bug#4839).
17336 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17339 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17341 * progmodes/ld-script.el (auto-mode-alist):
17342 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17344 * cus-face.el (custom-declare-face): Purecopy face spec.
17346 2009-11-06 Kenichi Handa <handa@m17n.org>
17348 * international/uni-bidi.el: Re-generated.
17349 * international/uni-category.el: Re-generated.
17350 * international/uni-combining.el: Re-generated.
17351 * international/uni-mirrored.el: Re-generated.
17353 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17355 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17356 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17357 (tex-start-options, slitex-run-command, latex-run-command)
17358 (tex-run-command, tex-directory):
17359 * textmodes/ispell.el (ispell-html-skip-alists)
17360 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17361 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17362 (adaptive-fill-regexp):
17363 * textmodes/dns-mode.el (auto-mode-alist):
17364 * progmodes/python.el (interpreter-mode-alist):
17365 * progmodes/etags.el (tags-compression-info-list):
17366 * progmodes/etags.el (tags-file-name):
17367 * net/browse-url.el (browse-url-galeon-program)
17368 (browse-url-firefox-program):
17369 * mail/sendmail.el (mail-signature-file)
17370 (mail-citation-prefix-regexp):
17371 * international/mule-conf.el (eight-bit):
17372 * international/latexenc.el (latex-inputenc-coding-alist):
17373 * international/fontset.el (x-pixel-size-width-font-regexp):
17374 * emacs-lisp/warnings.el (warning-type-format):
17375 * emacs-lisp/trace.el (trace-buffer):
17376 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17377 (emacs-lisp-mode-map):
17378 * calendar/holidays.el (holiday-solar-holidays)
17379 (holiday-bahai-holidays, holiday-islamic-holidays)
17380 (holiday-christian-holidays, holiday-hebrew-holidays)
17381 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17382 (hebrew-holidays-1, holiday-oriental-holidays)
17383 (holiday-general-holidays):
17384 * x-dnd.el (x-dnd-known-types):
17385 * tool-bar.el (tool-bar):
17386 * startup.el (site-run-file):
17387 * shell.el (shell-dumb-shell-regexp):
17388 * rfn-eshadow.el (file-name-shadow-tty-properties)
17389 (file-name-shadow-properties):
17390 * paths.el (remote-shell-program, news-directory):
17391 * mouse.el ([C-down-mouse-3]):
17392 * menu-bar.el (menu-bar-tools-menu):
17393 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17394 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17395 (jka-compr-compression-info-list):
17396 * isearch.el (search-whitespace-regexp):
17397 * image-file.el (image-file-name-extensions):
17398 * find-dired.el (find-ls-option):
17399 * files.el (directory-listing-before-filename-regexp)
17400 (directory-free-space-args, insert-directory-program)
17401 (list-directory-brief-switches, magic-fallback-mode-alist)
17402 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17403 (automount-dir-prefix):
17404 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17405 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17406 (face-font-registry-alternatives, face-font-registry-alternatives)
17407 (face-font-family-alternatives):
17408 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17409 (facemenu-foreground-menu, facemenu-face-menu):
17410 * epa-hook.el (epa-file-name-regexp):
17411 * dnd.el (dnd-protocol-alist):
17412 * textmodes/rst.el (auto-mode-alist):
17413 * button.el (default-button): Purecopy strings.
17415 2009-11-06 Glenn Morris <rgm@gnu.org>
17417 * Makefile.in (ELCFILES): Update.
17419 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17421 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17422 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17424 * nxml/xsd-regexp.el (xsdre-gen-categories):
17425 * nxml/xmltok.el (xmltok-parse-entity):
17426 * nxml/rng-parse.el (rng-parse-validate-file):
17427 * nxml/rng-maint.el (rng-format-manual)
17428 (rng-manual-output-force-new-line):
17429 * nxml/rng-loc.el (rng-save-schema-location-1):
17430 * nxml/rng-cmpct.el (rng-c-parse-file):
17431 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17432 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17434 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17436 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17437 Remove extra save-excursions and make-variable-buffer-local's.
17438 Suggested by Stefan Monnier.
17440 (verilog-getopt-file, verilog-module-inside-filename-p)
17441 (verilog-set-define): Merge GNU 1.35 and repair changes from
17442 switching to using with-current-buffer.
17444 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17445 being treated as a number and confusing AUTORESET.
17446 Reported by Dan Dever.
17448 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17449 Add verilog-auto-ignore-concat to fix backward compatibility with
17450 older verilog-modes. Reported by Dan Katz.
17452 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17453 containing closing anchors "...$".
17455 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17456 Reported by Wade Smith.
17458 (verilog-batch-execute-func): Comment on function usage.
17460 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17462 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17465 (verilog-label-re, verilog-calc-1): Support proper indent of named
17468 (verilog-backward-token, verilog-basic-complete-re)
17469 (verilog-beg-of-statement, verilog-indent-re): Support proper
17470 indent of the assert statement at the beginning of a block of text.
17472 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17473 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17476 2009-11-05 Glenn Morris <rgm@gnu.org>
17478 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17479 Emacs 19. (Bug#1531)
17480 (byte-compile-fix-header): Update for the above change.
17481 Drop test for epoch::version.
17483 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17484 * cus-dep.el (custom-make-dependencies):
17485 * finder.el (finder-compile-keywords):
17486 Use autoload-rubric's feature argument.
17488 * calendar/diary-lib.el (top-level): Make load behave more like require.
17490 * vc-git.el (vc-git-stash-map): Move definition before use.
17492 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17494 * custom.el (custom-declare-group): Purecopy standard-value.
17495 (custom-declare-group): Purecopy custom-prefix.
17497 * international/mule.el (load-with-code-conversion):
17498 Call do-after-load-evaluation unconditionally.
17500 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17502 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17504 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17506 2009-11-04 Glenn Morris <rgm@gnu.org>
17508 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17509 (byte-compile-compatibility): Remove option.
17510 (byte-compile-close-variables, byte-compile-fix-header)
17511 (byte-compile-insert-header, byte-compile-output-docform)
17512 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17513 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17514 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17515 (byte-compile-insert, byte-compile-defun):
17516 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17517 (byte-defop-compiler19): Remove.
17518 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17519 used by anything. Replace all calls with byte-defop-compiler.
17521 2009-11-04 Juri Linkov <juri@jurta.org>
17523 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17524 (menu-bar-options-menu): Don't quote the `prop' arg of
17525 `menu-bar-make-mm-toggle'.
17527 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17529 * calendar/calendar.el (cal-loaddefs):
17530 * calendar/diary-lib.el (diary-loaddefs):
17531 * calendar/holidays.el (hol-loaddefs):
17532 * eshell/esh-module.el (esh-groups): Load rather than require.
17534 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17536 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17538 (todo-top-priorities): Only display-buffer when called interactively.
17539 (todo-item-start): Don't save excursion point.
17540 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17541 (todo-insert-item-here, todo-file-item, todo-remove-item):
17542 Adjust uses of todo-item-start and todo-item-end.
17544 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17545 (autoload-rubric): Don't use any more.
17547 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17548 and only put a prop if it is non-nil.
17550 2009-11-03 Juri Linkov <juri@jurta.org>
17552 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17553 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17555 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17556 and "Menu" to make top-level menu item visually one unit (like
17557 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17558 multi-word menu items). Fix :help string for quit-window.
17560 2009-11-03 Glenn Morris <rgm@gnu.org>
17562 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17563 (byte-compile-file-form-define-abbrev-table)
17564 (byte-compile-file-form-custom-declare-variable)
17565 (byte-compile-variable-ref, byte-compile-defvar):
17566 Whether or not a warning is enabled should only affect whether we issue
17567 the warning, not whether or not we collect the relevant data.
17568 Eg warnings can be turned on and off throughout the course of a file.
17570 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17571 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17573 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17575 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17576 * play/mpuz.el (mpuz-create-buffer):
17577 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17578 (lm-print-y,s,noise, lm-print-w0, lm-init):
17579 * play/gomoku.el (gomoku-prompt-for-move):
17580 * play/fortune.el (fortune-in-buffer):
17581 * play/dissociate.el (dissociated-press):
17582 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17583 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17584 * mail/supercite.el (sc-eref-show):
17585 * mail/smtpmail.el (smtpmail-send-it):
17586 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17587 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17588 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17589 (rmail-summary-goto-msg, rmail-summary-expunge)
17590 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17591 (rmail-summary-add-label, rmail-summary-output-menu)
17592 (rmail-summary-output-body):
17593 * mail/rfc822.el (rfc822-addresses):
17594 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17595 * mail/mailpost.el (post-mail-send-it):
17596 * mail/hashcash.el (hashcash-generate-payment):
17597 * mail/feedmail.el (feedmail-run-the-queue)
17598 (feedmail-queue-send-edit-prompt-help-first)
17599 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17600 (feedmail-deduce-address-list):
17601 * eshell/esh-ext.el (eshell-remote-command):
17602 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17603 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17604 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17605 (viper-save-string-in-file, viper-valid-marker):
17606 * emulation/viper-keym.el (viper-toggle-key):
17607 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17608 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17609 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17610 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17611 (viper-exec-form-in-emacs, viper-brac-function):
17612 * emulation/viper.el (viper-delocalize-var):
17613 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17614 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17615 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17616 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17617 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17618 * emulation/edt.el (edt-electric-helpify):
17619 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17620 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17621 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17622 (cua-indent-to-global-mark-column):
17623 * calendar/diary-lib.el (calendar-mark-1):
17624 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17625 Use with-current-buffer.
17626 * emulation/viper.el (viper-delocalize-var): Use dolist.
17628 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17630 * comint.el (comint-replace-by-expanded-history-before-point):
17631 Replace !! with the previous input string literally (Bug#1795).
17633 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17635 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17636 to be made up of whitespace.
17638 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17640 * minibuffer.el (read-file-name): Don't use file dialogs for
17641 remote directories (Bug#99).
17643 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17645 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17647 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17649 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17650 instead of deleting the window or frame.
17652 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17654 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17655 Support face colors.
17657 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17658 New function. Support face colors (Bug#1168).
17659 (tex-common-initialization): Use it.
17661 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17662 mode allows it (Bug#1168).
17664 2009-10-31 Juri Linkov <juri@jurta.org>
17666 * facemenu.el (list-colors-display): Don't mark buffer as
17667 modified (Bug#3948).
17669 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17671 * international/mule-diag.el (list-character-sets-1):
17672 Minor message fix (Bug#3526).
17674 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17675 Fix face property (Bug#4834).
17676 (etags-list-tags, etags-tags-apropos-additional)
17677 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17680 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17683 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17685 * textmodes/two-column.el (2C-split):
17686 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17687 * textmodes/tex-mode.el (tex-set-buffer-directory):
17688 * textmodes/spell.el (spell-region, spell-string):
17689 * textmodes/reftex.el (reftex-erase-buffer):
17690 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17691 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17692 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17693 (reftex-select-item):
17694 * textmodes/reftex-ref.el (reftex-label-info-update)
17695 (reftex-offer-label-menu):
17696 * textmodes/reftex-index.el (reftex-index-change-entry)
17697 (reftex-index-phrases-info):
17698 * textmodes/reftex-global.el (reftex-create-tags-file)
17699 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17700 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17701 (reftex-view-crossref-from-bibtex):
17702 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17703 (reftex-extract-bib-entries-from-thebibliography)
17704 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17705 * textmodes/refbib.el (r2b-capitalize-title):
17706 (r2b-convert-buffer, r2b-help):
17707 * textmodes/page-ext.el (pages-directory)
17708 (pages-directory-goto-with-mouse):
17709 * textmodes/bibtex.el (bibtex-validate-globally):
17710 * textmodes/bib-mode.el (bib-capitalize-title):
17711 * textmodes/artist.el (artist-clear-buffer, artist-system):
17712 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17713 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17714 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17715 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17716 (xscheme-send-control-g-interrupt, xscheme-start-process)
17717 (xscheme-process-sentinel, xscheme-cd):
17718 * progmodes/verilog-mode.el (verilog-read-always-signals)
17719 (verilog-set-define, verilog-getopt-file)
17720 (verilog-module-inside-filename-p):
17721 * progmodes/sh-script.el:
17722 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17723 (python-pdbtrack-grub-for-buffer, python-execute-file):
17724 * progmodes/octave-inf.el (inferior-octave):
17725 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17726 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17727 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17728 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17729 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17730 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17731 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17732 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17733 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17734 (idlwave-shell-examine-display, idlwave-shell-run-region)
17735 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17736 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17737 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17738 (idlwave-help-get-help-buffer):
17739 * progmodes/gud.el (gud-basic-call, gud-find-class)
17740 (gud-tooltip-activate-mouse-motions-if-enabled):
17741 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17742 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17743 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17744 (ebrowse-tags-next-file):
17745 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17746 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17747 (ebnf-eps-finish-and-write):
17748 * progmodes/cpp.el (cpp-edit-save):
17749 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17750 * progmodes/cc-defs.el (c-emacs-features):
17751 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17752 (antlr-directory-dependencies):
17753 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17754 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17755 (ada-find-any-references, ada-make-filename-from-adaname)
17756 (ada-make-body-gnatstub):
17757 * obsolete/rnews.el (news-list-news-groups):
17758 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17759 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17760 * net/rcirc.el (rcirc-debug):
17761 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17762 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17763 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17764 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17765 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17766 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17767 (newsticker--treeview-list-clear-highlight)
17768 (newsticker--treeview-list-update-highlight)
17769 (newsticker--treeview-list-highlight-start)
17770 (newsticker--treeview-tree-update-highlight)
17771 (newsticker--treeview-get-selected-item)
17772 (newsticker-treeview-mark-list-items-old)
17773 (newsticker--treeview-set-current-node):
17774 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17775 * net/newst-backend.el (newsticker--get-news-by-funcall)
17776 (newsticker--get-news-by-wget, newsticker--image-get)
17777 (newsticker--image-sentinel):
17778 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17779 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17780 (eudc-ph-close-session):
17781 * net/eudc.el (eudc-save-options):
17782 * language/thai-word.el (thai-update-word-table):
17783 * language/japan-util.el (japanese-string-conversion):
17784 * international/titdic-cnv.el (tsang-quick-converter)
17785 (ziranma-converter, ctlau-converter):
17786 * international/mule-cmds.el (describe-language-environment):
17787 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17788 (skkdic-convert-postfix, skkdic-convert-prefix):
17789 (skkdic-convert-okuri-nasi, skkdic-convert):
17790 * emacs-lisp/re-builder.el (reb-update-overlays):
17791 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17792 * emacs-lisp/gulp.el (gulp-send-requests):
17793 * emacs-lisp/find-gc.el (trace-call-tree):
17794 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17795 (eieio-describe-generic):
17796 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17797 * emacs-lisp/edebug.el (edebug-outside-excursion):
17798 * emacs-lisp/debug.el (debugger-make-xrefs):
17799 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17800 * emacs-lisp/chart.el (chart-new-buffer):
17801 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17802 Use with-current-buffer.
17803 * textmodes/artist.el (artist-system): Don't call
17804 copy-sequence on a fresh string.
17805 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17807 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17809 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17810 is no item to edit. (Bug#4820)
17811 (todo-top-priorities): Restore point and restore narrowing in Todo
17814 2009-10-31 Glenn Morris <rgm@gnu.org>
17816 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17817 (comint-last-output-start, comint-last-input-start)
17818 (comint-last-input-end): Don't defvar when compiling.
17819 (ange-ftp-process-file): Use bound-and-true-p.
17821 * pcmpl-rpm.el (top-level): Move provide statement to end.
17822 (pcmpl-rpm): Remove unused custom group.
17824 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17826 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17828 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17829 (byte-compile-warnings): Add `constants' as an option.
17830 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17831 (display-call-tree): Update for byte-compile-fdefinition possibly
17832 returning `(macro lambda ...)'. (Bug#4778)
17833 (byte-compile-variable-ref, byte-compile-setq-default):
17834 Respect `constants' member of byte-compile-warnings.
17836 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17838 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17839 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17842 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17844 * textmodes/ispell.el (ispell-skip-region-alist):
17845 * international/mule-conf.el (eight-bit):
17846 * international/fontset.el (font-encoding-alist):
17847 * startup.el (pure-space-overflow-message):
17848 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17849 * paths.el (gnus-nntp-service, rmail-spool-directory)
17850 (term-file-prefix):
17851 * files.el (save-some-buffers-action-alist):
17852 * cmuscheme.el (same-window-buffer-names):
17853 * ielm.el (same-window-buffer-names):
17854 * shell.el (same-window-buffer-names):
17855 * mail/sendmail.el (same-window-buffer-names):
17856 * progmodes/inf-lisp.el (same-window-buffer-names):
17857 * bindings.el (mode-line-client)
17858 (mode-line-column-line-number-mode-map):
17859 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17860 (tibetan-precomposed-regexp): Purecopy string arguments.
17862 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17864 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17865 (calcDigit-nondigit):
17866 * calc/calc-yank.el (calc-copy-to-buffer):
17867 * calc/calc-units.el (calc-invalidate-units-table):
17868 * calc/calc-trail.el (calc-trail-yank):
17869 * calc/calc-store.el (calc-insert-variables):
17870 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17871 * calc/calc-prog.el (calc-read-parse-table):
17872 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17873 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17874 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17875 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17876 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17877 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17878 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17879 * calc/calc-ext.el (calc-realign):
17880 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17881 (calc-embedded-finish-edit, calc-embedded-make-info)
17882 (calc-embedded-finish-command, calc-embedded-stack-change):
17883 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17885 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17886 shell-dynamic-complete-filename in preference to
17887 comint-dynamic-complete-filename.
17889 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17890 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17891 Don't consider whether the display supports colors.
17892 (bookmark-import-new-list): Use dolist.
17893 (bookmark-bmenu-mode-map): Move initialization into declaration.
17894 (bookmark-bmenu-list): Use dolist, simplify.
17895 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17896 (menu-bar-final-items): Use push.
17898 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17900 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17901 it works on remote files.
17902 (vc-hg-diff): Don't pass any `--cwd' argument.
17904 2009-10-27 Kevin Ryde <user42@zip.com.au>
17906 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17907 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17908 (Further to Bug#3921).
17910 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17912 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17913 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17914 calling `tramp-imap-put-file'. Add file size to the call.
17915 (tramp-imap-get-file-entries): Compute also user name, file size,
17917 (tramp-imap-handle-insert-directory): Insert uid and gid.
17918 (tramp-imap-handle-file-attributes): Transform uid and gid
17919 according to `id-format'.
17920 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17921 size in header X-Size.
17923 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17925 * simple.el (transpose-subr): Give clearer error when the mark
17926 is not set. (Bug#4807)
17928 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17930 * net/tramp.el (tramp-perl-file-truename): New defconst.
17931 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17932 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17933 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17934 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17936 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17937 Ignore `dired-call-process'.
17938 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17940 2009-10-26 Julian Scheid <julians37@gmail.com>
17942 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17943 (tramp-get-remote-readlink): New defun.
17944 (tramp-handle-file-truename): Use it.
17945 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17946 file exists if cache value present.
17947 (tramp-check-cached-permissions): New defun.
17948 (tramp-handle-file-readable-p): Use it.
17949 (tramp-handle-file-writable-p): Likewise.
17950 (tramp-handle-file-executable-p): Likewise.
17951 (tramp-handle-file-name-all-completions): Try using Perl to get
17952 partial completions. When perl not available, combine `cd' and
17953 `ls' into single remote operation and use shell expansion to get
17954 partial remote directory contents. Set `file-exists-p' cache for
17955 directory and any files returned by ls. Change cache handling to
17956 support partial directory contents. Use error message emitted by
17957 remote `cd' or Perl code for local tramp-error.
17958 (tramp-do-copy-or-rename-file-directly): Avoid separate
17959 tramp-send-command-and-check call.
17960 (tramp-handle-process-file): Merge three remote ops into one.
17961 Do not flush all caches when `process-file-side-effects' is set.
17962 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17963 file-attributes shows uid/gid to be set already.
17965 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17967 * textmodes/tex-mode.el (tex-dvi-view-command)
17968 (tex-show-queue-command, tex-open-quote):
17969 * progmodes/ruby-mode.el (auto-mode-alist)
17970 (interpreter-mode-alist): Purecopy strings.
17972 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17974 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17975 string for the hook, keymap and abbrev table.
17977 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17979 * x-dnd.el (x-dnd-xdnd-to-action):
17980 * startup.el (fancy-startup-text, fancy-about-text): Change to
17981 defconst from defvar.
17983 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17985 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17986 Purecopy initialization strings.
17988 * mail/sendmail.el (mail-header-separator)
17989 (mail-personal-alias-file):
17990 * mail/rmail.el (rmail-default-dont-reply-to-names)
17991 (rmail-ignored-headers, rmail-retry-ignored-headers)
17992 (rmail-highlighted-headers, rmail-secondary-file-directory)
17993 (rmail-secondary-file-regexp):
17994 * files.el (null-device, file-name-invalid-regexp)
17995 (locate-dominating-stop-dir-regexp)
17996 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17997 (interpreter-mode-alist): Use mapcar instead of mapc.
17999 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
18001 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
18002 (completion-ignored-extensions):
18003 (debug-ignored-errors): Purecopy strings.
18005 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18007 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
18008 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
18009 (pcomplete--here): Use push.
18011 * subr.el (all-completions): Declare the 4th arg obsolete.
18013 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18015 * pcomplete.el (pcomplete-unquote-argument-function): New var.
18016 (pcomplete-unquote-argument): New function.
18017 (pcomplete--common-suffix): Always pay attention to case.
18018 (pcomplete--table-subvert): Quote and unquote the text.
18019 (pcomplete--common-quoted-suffix): New function.
18020 (pcomplete-std-complete): Use it and pcomplete-begin.
18022 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
18023 we're inside a dedicated or minibuffer window.
18025 2009-10-24 Karl Fogel <kfogel@red-bean.com>
18027 * bookmark.el: Update documentation, especially documentation
18028 of `bookmark-alist' and of the bookmark file format.
18029 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18031 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18033 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18034 keybindings apply to the mail buffer (Bug#4003). Shrink help
18037 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18038 (global-whitespace-mode, global-whitespace-newline-mode)
18039 (whitespace-toggle-options, global-whitespace-toggle-options):
18040 Doc fix (Bug#3660).
18042 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18043 of xmltok-start before the end tag was inserted (Bug#2840).
18045 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18046 patterns that are preceded by an open-paren (Bug#1320).
18048 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18050 * files.el (delete-directory): Delete symlinks to directories with
18051 delete-file (Bug#4739).
18053 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18055 * vc.el (vc-backend-for-registration): Rename from
18056 vc-get-backend-for-registration. Update callers.
18058 * international/mule-cmds.el (set-language-info-alist):
18060 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18061 (charset): Purecopy the name.
18062 (define-char-code-property): Purecopy string arguments.
18064 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18065 Purecopy string arguments.
18067 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18068 * ediff-hook.el (menu-bar-ediff-menu):
18069 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18070 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18072 2009-10-24 Glenn Morris <rgm@gnu.org>
18074 * comint.el (comint-dynamic-list-completions):
18075 * term.el (term-dynamic-list-completions): Use choose-completion rather
18076 than obsolete alias mouse-choose-completion.
18078 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18079 file-cache-choose-completion.
18080 (file-cache-choose-completion): Handle an optional event argument.
18081 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18083 * progmodes/octave-mod.el (octave-complete-symbol):
18084 Use choose-completion if mouse-choose-completion is ever removed.
18086 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18089 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18092 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18094 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18096 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18097 Ignore `pred' now that we receive one.
18098 Handle test-completion specially.
18100 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18102 * vc.el (vc-responsible-backend): Throw an error if not backend is
18103 found. Remove the REGISTER argument. Move the code dealing with
18105 (vc-get-backend-for-registration): ... here. New function.
18106 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18107 of vc-responsible-backend, pass the file name instead of the
18110 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18112 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18114 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18115 (pcomplete-comint-setup): Don't modify a global var via
18116 accidental side-effects.
18117 (pcomplete-shell-setup): Adjust call accordingly.
18118 (pcomplete-parse-comint-arguments): Use push.
18120 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18122 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18123 Allow uncapitalized info node names (Bug#3921).
18125 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18126 to the DEBUG file (Bug#3781).
18128 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18130 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18131 dictionary entry (Bug#4579).
18133 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18135 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18136 from `rfn-eshadow-update-overlay-hook' when unloading.
18137 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18138 "rsyncc". Adjust doc string.
18139 (tramp-temp-buffer-file-name): New buffer-local defvar.
18140 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18141 Keep temporary file when indicated by method ("rsync" and
18143 (tramp-handle-write-region): Handle APPEND.
18144 (tramp-delete-temp-file-function): New defun. Added to
18145 `kill-buffer-hook'.
18147 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18149 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18151 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18153 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18154 (color-name-rgb-alist, tty-standard-colors)
18155 (tty-color-mode-alist): Change to defconst.
18157 * simple.el (mark-inactive): Purecopy message.
18159 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18160 (global-map, yank-menu):
18161 * textmodes/ispell.el (ispell-menu-map):
18162 * net/eudc.el (eudc-tools-menu):
18163 * international/mule-cmds.el (describe-language-environment-map)
18164 (setup-language-environment-map, set-coding-system-map)
18165 (mule-menu-keymap):
18166 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18167 * replace.el (occur-mode-map):
18168 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18170 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18172 * calc/calc.el (math-read-number, math-read-number-simple):
18173 Use `save-match-data'.
18175 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18177 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18178 rather than fiddling with global-map bindings, since it should only
18179 affect per-terminal settings.
18180 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18182 * minibuffer.el (completion-table-with-terminator): Allow to specify
18183 the terminator-regexp.
18185 * simple.el (switch-to-completions): Look for *Completions* in other
18188 * pcomplete.el: Allow the use of completion-tables.
18189 (pcomplete-std-complete): New command.
18190 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18191 (pcomplete--here): Use a function for `form' rather than an expression,
18192 so it can be byte-compiled.
18193 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18194 Add edebug declaration.
18195 (pcomplete-show-completions): Remove unused var `curbuf'.
18196 (pcomplete-do-complete, pcomplete-stub):
18197 Don't assume `completions' is a list of strings any more.
18199 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18201 * find-dired.el (find-name-arg): Fix typo in docstring.
18203 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18205 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18206 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18208 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18211 * comint.el (comint-read-input-ring, comint-write-input-ring)
18212 (comint-substitute-in-file-name)
18213 (comint-dynamic-complete-as-filename)
18214 (comint-dynamic-simple-complete)
18215 (comint-dynamic-list-filename-completions)
18216 (comint-dynamic-list-completions)
18217 (comint-redirect-results-list-from-process): Minor simplifications.
18219 2009-10-21 Kevin Ryde <user42@zip.com.au>
18221 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18222 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18223 the first form. And insert a blank line after ";;; Code" since
18224 that's usual style. (Bug#4612)
18226 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18228 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18230 * minibuffer.el (completion-table-with-terminator): Properly implement
18231 boundaries, in case `terminator' appears in the suffix.
18232 (completion--embedded-envvar-table): Don't return boundaries if
18233 there's no valid completion. Simplify.
18234 (completion-file-name-table): New completion table extracted from
18235 completion--file-name-table.
18236 (completion--file-name-table): Use it.
18237 (read-file-name-predicate): Declare obsolete.
18238 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18239 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18240 completion-file-name-table, and use the `pred' argument.
18241 * files.el (locate-file-completion-table): Use the `pred' arg rather
18242 than read-file-name-predicate.
18243 (abbreviate-file-name): Use \` rather than ^ for BOS.
18245 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18247 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18248 vc-responsible-backend to register, it causes problems.
18250 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18252 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18254 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18256 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18257 (tramp-smb-handle-file-attributes): Use it.
18258 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18259 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18260 `mapcar'. Use `tramp-smb-get-stat-capability'.
18261 Add `dired-filename' text properties.
18262 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18263 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18266 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18268 * subr.el (read-key-delay): Reduce to 0.01.
18269 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18272 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18274 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18276 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18277 (Info-menu): Remove unused vars `last' and `completions'.
18278 (Info-index-nodes): Remove unused var `node'.
18280 * info.el (Info-complete-menu-item): Use complete-with-action.
18282 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18284 Make vc-annotate work through copies and renames.
18285 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18286 Return the file name too.
18287 (vc-annotate-revision-at-line)
18288 (vc-annotate-find-revision-at-line)
18289 (vc-annotate-revision-previous-to-line)
18290 (vc-annotate-show-log-revision-at-line): Update to get the file
18291 name from vc-annotate-extract-revision-at-line.
18292 (vc-annotate-show-diff-revision-at-line-internal): Change the
18293 argument to mean whether to show a file diff or not. Get the file
18294 name from vc-annotate-extract-revision-at-line.
18295 (vc-annotate-show-diff-revision-at-line):
18296 Update vc-annotate-show-diff-revision-at-line call.
18297 (vc-annotate-warp-revision): Add an optional file argument.
18299 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18300 (vc-git-annotate-extract-revision-at-line): Also return the file
18303 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18304 command. Remove unused code.
18305 (vc-hg-annotate-re): Update to match --follow output.
18306 (vc-hg-annotate-extract-revision-at-line): Also return the file
18309 * vc.el: Update annotate-extract-revision-at-line documentation.
18311 2009-10-18 Kevin Ryde <user42@zip.com.au>
18313 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18314 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18316 * net/browse-url.el (browse-url): Identify alist with "consp and
18317 not functionp" and let all other things go down the `apply' leg,
18318 as suggested by Stefan. (Further to bug#4531.)
18320 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18322 * minibuffer.el (read-file-name): Check for repeat before putting
18323 a default argument in file-name-history (Bug#4657).
18325 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18326 read syntax (Bug#4737).
18328 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18330 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18332 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18333 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18334 entries and make note of obsolete tags.
18336 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18338 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18340 2009-10-18 Glenn Morris <rgm@gnu.org>
18342 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18343 grep, so that binary files (eg international/uni-bidi.el) can match.
18344 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18345 now, and in any case the file header format has changed.
18347 2009-10-17 Glenn Morris <rgm@gnu.org>
18349 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18350 (flyspell-get-word, flyspell-large-region)
18351 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18353 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18355 * Makefile.in (ELCFILES): Add ede/shell.
18357 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18359 * term/common-win.el (x-colors): Purecopy it.
18361 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18363 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18364 permissive for when the buffer is empty.
18365 (tar-header-block-tokenize): Decode the username and groupname.
18366 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18368 2009-10-17 Eric Ludlam <zappo@gnu.org>
18370 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18371 contains multibyte characters, choose first applicable coding
18372 system automatically.
18374 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18376 * international/mule-cmds.el (select-safe-coding-system): If the file
18377 has a coding cookie, use it regardless of any other setting (bug#4712).
18379 2009-10-17 Glenn Morris <rgm@gnu.org>
18381 * foldout.el (foldout-mouse-swallow-events):
18382 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18384 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18385 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18386 (dired-keep-marker-symlink, dired-dwim-target)
18387 (dired-copy-preserve-time): Do not autoload these defcustoms.
18389 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18390 messages from messing up the file coding. (Bug#4623)
18392 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18394 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18395 if no match is found for the current dictionary. (Bug#4578)
18397 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18398 optional, since that is how it is documented, and this is often called
18399 with a nil argument. (Bug#4577)
18400 (flyspell-external-point-words, flyspell-auto-correct-word)
18401 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18402 (flyspell-word-search-backward): Remove nil argument in calls to
18403 flyspell-get-word, since it is not needed now.
18405 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18407 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18409 2009-10-16 Glenn Morris <rgm@gnu.org>
18411 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18413 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18415 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18416 (ange-ftp-file-size): New function.
18417 (ange-ftp-file-attributes): Use it.
18419 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18421 * net/tramp-smb.el (tramp-smb-version): New defvar.
18422 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18425 2009-10-16 Glenn Morris <rgm@gnu.org>
18427 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18428 Maybe copy some custom properties from old to new name. (Bug#4706)
18430 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18432 * subr.el (error, sit-for, start-process-shell-command)
18433 (start-file-process-shell-command): Set the calling convention
18434 after the function definition.
18436 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18438 * subr.el (error, sit-for, start-process-shell-command)
18439 (start-file-process-shell-command): Use the new
18440 set-advertised-calling-convention feature.
18442 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18444 * international/ucs-normalize.el (ucs-normalize-version):
18446 (check-range): Adjust for Unicode 5.2.
18448 2009-10-15 Juri Linkov <juri@jurta.org>
18450 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18451 to the `menu-item' format.
18453 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18455 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18456 if the environment variable does not exist.
18458 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18459 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18461 (tramp-smb-handle-add-name-to-file)
18462 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18463 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18464 (tramp-smb-handle-file-attributes)
18465 (tramp-smb-do-file-attributes-with-stat)
18466 (tramp-smb-handle-file-local-copy)
18467 (tramp-smb-handle-insert-directory)
18468 (tramp-smb-handle-make-directory)
18469 (tramp-smb-handle-make-directory-internal)
18470 (tramp-smb-handle-make-symbolic-link)
18471 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18472 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18473 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18474 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18475 Handle long file names.
18476 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18477 process is running.
18478 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18479 Read share names with "-g" option.
18481 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18483 * net/rcirc.el (rcirc-view-log-file): New command.
18484 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18485 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18488 2009-10-15 Glenn Morris <rgm@gnu.org>
18490 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18491 from the second command-line argument.
18492 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18493 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18494 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18495 w32-batch-update-autoloads.
18496 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18497 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18499 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18500 the headers cannot be located. Simplify, subtracting superflous
18503 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18505 Replace completion-base-size by completion-base-position to fix bugs
18506 such as (bug#4699).
18507 * simple.el (completion-base-position): New var.
18508 (completion-base-size): Mark as obsolete.
18509 (choose-completion): Make it work for mouse events as well.
18510 Pass the new base-position to choose-completion-string.
18511 (choose-completion-guess-base-position): New function, extracted from
18512 choose-completion-delete-max-match.
18513 (choose-completion-delete-max-match): Use it. Make obsolete.
18514 (choose-completion-string): Use the new base-position info.
18515 (completion-root-regexp): Delete.
18516 (completion-setup-function): Preserve completion-base-position.
18517 Eliminate obsolete base-size manipulation.
18518 * minibuffer.el (display-completion-list): Don't mess with base-size.
18519 (minibuffer-completion-help): Set completion-base-position instead.
18520 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18522 * textmodes/bibtex.el (bibtex-complete):
18523 * emacs-lisp/crm.el (crm--choose-completion-string):
18524 Adjust to new calling convention.
18525 * complete.el (partial-completion-mode): Use minibufferp to avoid
18526 bumping into incompatible change to choose-completion-string-functions.
18527 * ido.el (ido-choose-completion-string): Make its calling convention
18529 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18530 base-size manipulation.
18531 (comint-dynamic-list-input-ring): Use dotimes and push.
18532 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18533 fundamental-mode. Use `or'.
18535 2009-10-14 Juri Linkov <juri@jurta.org>
18537 * misearch.el (multi-isearch-next-buffer-from-list)
18538 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18540 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18542 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18545 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18546 string we return is all made up of text from the completions rather
18547 than part from the completions and part from the input (bug#4219).
18549 * ido.el (ido-everywhere): Use define-minor-mode.
18551 * buff-menu.el (list-buffers, ctl-x-map):
18552 Mark the entry points with ;;;###autoload cookies.
18554 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18556 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18557 correctly in the detached head case.
18558 (vc-git-print-log): Remove unused binding.
18560 * vc.el (vc-responsible-backend): When a directory is passed for
18561 for registration create a VC repository if no backend is
18562 responsible for the directory argument.
18563 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18565 * vc.el: Move comments about RCS and SCCS ...
18567 * vc-sccs.el: ... here, respectively.
18569 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18571 * minibuffer.el (completion--file-name-table): Return nil if there's
18572 no file completion, even if substitute-in-file-name changed
18573 the string (bug#4708).
18575 2009-10-13 Juri Linkov <juri@jurta.org>
18577 * files-x.el (read-file-local-variable-value): Don't filter out
18578 minor modes from mode name completion (bug#4664).
18580 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18582 * international/mule-cmds.el (ucs-names): Remove exclusion of
18583 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18585 2009-10-13 Kenichi Handa <handa@m17n.org>
18587 * international/uni-name.el: Regenerated.
18589 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18591 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18592 should be automatically buffer-local, but isn't.)
18594 2009-10-12 Sam Steingold <sds@gnu.org>
18596 * progmodes/compile.el (compilation-next-error-function): Fix the
18597 timestamps if the buffer has been visited before.
18598 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18599 non-anchored patterns, like the perl one (bug#3928).
18601 2009-10-12 Glenn Morris <rgm@gnu.org>
18603 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18606 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18608 * proced.el (proced-unload-function): New function.
18610 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18611 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18614 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18616 2009-10-11 Juri Linkov <juri@jurta.org>
18618 * files-x.el (read-file-local-variable-value):
18619 Provide default value only for bound variables (bug#4664).
18621 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18623 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18624 connection methods like smb.
18626 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18629 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18630 (tramp-smb-file-name-handler-alist): Add handlers for
18631 `add-name-to-file', `make-symbolic-link'.
18632 (tramp-smb-handle-add-name-to-file)
18633 (tramp-smb-do-file-attributes-with-stat)
18634 (tramp-smb-handle-make-symbolic-link)
18635 (tramp-smb-get-cifs-capabilities): New defuns.
18636 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18637 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18638 (tramp-smb-handle-file-local-copy)
18639 (tramp-smb-handle-make-directory-internal)
18640 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18641 The file name syntax depends on cifs capabilities.
18642 (tramp-smb-handle-file-attributes):
18643 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18644 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18645 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18647 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18649 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18650 (eieio-defclass): Apply deftype handler and setf-method properties
18652 (eieio-add-new-slot): Avoid union function from cl library.
18653 (eieio--typep): New function.
18654 (eieio-perform-slot-validation): Use it.
18656 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18658 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18659 Update documentation to refer to the variables documented in r1.135.
18662 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18664 * bookmark.el (Info-suffix-list): Remove this unused variable.
18665 (bookmark-current-point): Remove this obsolete variable.
18666 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18667 Adjust for removal of bookmark-current-point.
18669 (bookmarks-already-loaded, bookmark-current-buffer)
18670 (bookmark-yank-point): Document. (Bug#4188)
18672 2009-10-10 Glenn Morris <rgm@gnu.org>
18674 * frame.el (frame-height): Doc fix.
18676 * calendar/calendar.el (calendar-split-width-threshold): New option.
18677 (calendar-basic-setup): Use calendar-split-width-threshold.
18679 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18681 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18682 Ideographic Supplement" range (U+1F200..U+1F2FF).
18684 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18686 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18687 since the list will have been rebuilt anyway. (Bug#4349)
18689 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18691 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18692 (bookmark-bmenu-execute-deletions): Don't save here, as
18693 bookmark-delete will now do so if necessary.
18694 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18697 2009-10-09 Glenn Morris <rgm@gnu.org>
18699 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18701 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18703 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18704 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18705 argument now, so the two function's behaviors will match. (Bug#3645)
18707 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18709 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18710 (tramp-file-name-real-host, tramp-file-name-port):
18711 Apply `save-match-data'.
18713 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18714 case both directories are remote.
18715 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18716 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18718 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18720 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18722 2009-10-07 Glenn Morris <rgm@gnu.org>
18724 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18727 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18729 * files-x.el (read-file-local-variable): Include some
18730 non-user-variables in the completion table (bug#4664).
18732 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18734 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18737 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18738 (tramp-smb-file-name-handler-alist): Add handler for
18739 `copy-directory', `expand-file-name', `set-file-modes'.
18740 (tramp-smb-handle-copy-directory)
18741 (tramp-smb-handle-expand-file-name)
18742 (tramp-smb-handle-set-file-modes): New defuns.
18743 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18744 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18746 (tramp-smb-handle-insert-directory): Don't flush the cache.
18747 (tramp-smb-maybe-open-connection): Check for samba client and
18750 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18752 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18753 to not error out of search for "^lisp=" fails.
18755 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18757 * makefile.w32-in (WINS_UPDATES): New macro.
18758 (custom-deps, finder-data, autoloads): Use it.
18760 2009-10-07 Glenn Morris <rgm@gnu.org>
18762 * Makefile.in (autoloads): Revert previous change.
18763 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18764 the list of preloaded files passed on the command-line, get
18765 it from src/Makefile.
18767 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18768 show the original buffer rather than a random one.
18770 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18772 * help.el (describe-no-warranty): Place point in a slightly better
18773 position in the GPLv3 text.
18775 2009-10-06 Sam Steingold <sds@gnu.org>
18777 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18778 the comm attribute is present before calling regexp-quote.
18780 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18782 * play/animate.el (animate-string): For good effect, make sure
18783 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18785 * play/animate.el (animate-sequence, animate-birthday-present):
18786 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18788 2009-10-06 Glenn Morris <rgm@gnu.org>
18790 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18792 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18793 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18794 (batch-update-autoloads): Process a string value of autoload-excludes,
18795 set during the build process.
18796 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18798 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18799 inside with-parsed... macro so that `v' is defined.
18801 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18802 * progmodes/fortran.el (fortran-end-of-block)
18803 (fortran-beginning-of-block):
18804 Also push mark in the macro case.
18806 * emerge.el (emerge-show-file-name):
18807 * calc/calc.el (calc-quit):
18808 * calc/calc-misc.el (calc-big-or-small):
18809 * calc/calc-graph.el (calc-graph-view):
18810 * calc/calc-ext.el (calc-reset):
18811 * calendar/calendar.el (calendar-basic-setup):
18812 Use window-full-height-p.
18814 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18815 header we don't understand, don't insert another. (Bug#4624)
18816 If changing mime charset, insert the new one in the right place.
18818 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18820 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18821 (cal-tex-cursor-month): Correctly increment the end date for diary and
18822 holiday listing. (Bug#4626)
18824 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18826 * help-fns.el (describe-function-1): Don't burp if the function is not
18829 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18831 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18832 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18833 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18834 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18836 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18837 (eieio-default-superclass): Reflow docstrings.
18838 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18839 (eieio-unbind-method-implementations, defmethod)
18840 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18841 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18842 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18843 (eieio-slot-originating-class-p, eieio-slot-name-index)
18844 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18845 (constructor, initialize-instance, no-next-method, object-print)
18846 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18847 Fix typos in docstrings.
18848 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18849 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18850 (next-method-p): Doc fixes.
18851 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18852 Fix typos in error messages.
18853 (eieio-defmethod): Fix typo in description of generic method.
18855 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18856 (eieio-persistent-save-interactive, slot-missing):
18857 Fix typos in docstrings.
18858 (eieio-instance-inheritor-slot-boundp): Doc fix.
18860 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18861 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18863 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18864 (eieio-custom-object-apply-reset):
18865 Fix typos in docstrings and error messages.
18867 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18868 Fix typo in docstring.
18870 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18871 (eieio-browse-tree): Doc fix.
18872 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18873 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18874 Fix typos in docstrings.
18876 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18877 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18878 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18879 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18882 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18884 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18885 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18886 Set log-view-vc-backend so that diff can work.
18888 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18890 (vc-diff-internal): Autoload this instead of vc-version-diff.
18892 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18894 * simple.el (eval-expression): Doc fix.
18896 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18898 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18900 * files.el (directory-files-no-dot-files-regexp): New defconst.
18901 (delete-directory): Use it.
18902 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18904 * net/tramp.el (tramp-verbose): Fix docstring.
18905 (tramp-methods): Add recursive option to `tramp-copy-args'.
18906 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18907 "scp1_old", "scp2_old", "rsync", "rsyncc".
18908 (tramp-default-method): Check also for `auth-source-user-or-password'.
18909 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18910 Add handler for `copy-directory'.
18911 (tramp-handle-copy-directory): New defun.
18912 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18913 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18914 Optimize sent command.
18916 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18918 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18919 window if necessary.
18921 * calendar/calendar.el (calendar-basic-setup): Don't call
18922 switch-to-buffer in a dedicated window.
18924 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18926 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18927 don't do anything related to relocating, just return nil.
18928 (bookmark-error-no-filename): New error.
18929 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18930 bookmark has no file. Don't even attempt to handle things that
18931 are not files; the whole point of custom handlers is to keep that
18932 knowledge elsewhere anyway. Tighten some comments.
18933 (bookmark-file-or-variation-thereof): Remove now-unused function.
18934 (bookmark-location): Doc string fix.
18937 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18939 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18940 don't use a file dialog, because they usually don't know how to read
18941 a directory target from the user. (Bug#4230)
18942 Also, make sure the prompt can display directories as well as files.
18944 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18946 * bookmark.el (bookmark-set, bookmark-buffer-name):
18947 Improve doc strings. (Bug#1193)
18949 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18951 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18952 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18953 (bookmark-get-annotation, bookmark-set-annotation)
18954 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18955 (bookmark-set-position, bookmark-get-front-context-string)
18956 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18957 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18958 (bookmark-jump-other-window, bookmark-handle-bookmark)
18959 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18960 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18961 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18962 Improve doc strings to say whether bookmark can be a string or
18963 a record or both, and make other consistency and clarity fixes.
18964 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18965 (bookmark-default-annotation-text, bookmark-yank-word)
18966 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18967 (bookmark-import-new-list, bookmark-maybe-rename)
18968 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18969 (bookmark-bmenu-bookmark): Give these doc strings.
18970 (bookmark-bmenu-check-position): Give this a doc string, but also
18971 add a FIXME comment about how the function may be pointless.
18972 (bookmark-default-handler): Rework doc string and change a
18973 parameter name, to clarify that this takes a bookmark record
18974 not a bookmark name.
18975 (bookmark-set): Change a parameter name to indicate its meaning,
18976 and improve the doc string a bit.
18979 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18981 * bookmark.el (bookmark-alist): Document the new `handler' element
18982 in the param alist.
18983 (bookmark-make-record-function): Adjust documentation for above.
18986 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18988 * info.el (Info-bookmark-make-record): Document this function.
18989 (Info-bookmark-jump): Document with a doc string, not just a comment.
18992 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18994 * files.el (copy-directory): New defun.
18996 * dired-aux.el (dired-copy-file-recursive): Use it.
18998 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
19000 * files-x.el (modify-dir-local-variable)
19001 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
19004 * recentf.el (recentf-unload-function): New function.
19006 2009-10-04 Glenn Morris <rgm@gnu.org>
19008 * window.el (window-full-height-p): Add doc string.
19010 2009-10-04 Martin Rudalics <rudalics@gmx.at>
19012 * window.el (window-full-height-p): New function. (Bug#4543)
19014 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
19016 * vc.el: Remove commented out code.
19017 (vc-derived-from-dir-mode): Remove, unused.
19018 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
19020 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
19022 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
19023 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
19024 there could be recursive loading when `default-directory' is a
19025 remote file name. (Bug#4614)
19027 2009-10-03 Glenn Morris <rgm@gnu.org>
19029 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19031 (calendar-generate-window): Test for shrinkability rather than width.
19033 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19034 reusing existing buffers, in case we happen to visit two files with the
19035 same basename. (Bug#4593)
19037 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19039 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19040 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19041 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19042 subdirs of cedet as well.
19043 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19045 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19047 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19048 Obey advertised-signature-table.
19050 * help-fns.el (help-function-arglist): Don't check
19051 advertised-signature-table.
19052 (describe-function-1): Do it here instead so it also applies to subrs.
19054 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19056 * simple.el (start-file-process): Say in the doc-string, that file
19057 handlers might not support pty association, if PROGRAM is nil.
19059 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19060 HOST and USER are strings. They are nil, when there are
19061 incomplete entries in ~/.netrc, for example.
19062 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19063 root directory ("device busy" error otherwise).
19065 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19066 Flush file properties of created directory.
19068 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19070 * makefile.w32-in (WINS_BASIC): Remove cedet.
19071 (WINS_CEDET): Add cedet.
19072 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19074 2009-10-02 Kevin Ryde <user42@zip.com.au>
19076 * net/browse-url.el (browse-url): Pass any symbol in
19077 browse-url-browser-function to `apply', since if you've mistakenly put
19078 an unbound symbol then the error is clearer. (Bug#4531)
19080 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19082 * allout.el (allout-init, allout-back-to-current-heading)
19083 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19084 (allout-ascend, allout-up-current-level, allout-end-of-level)
19085 (allout-previous-visible-heading, allout-forward-current-level)
19086 (allout-backward-current-level, allout-show-children):
19087 * apropos.el (apropos-describe-plist):
19088 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19089 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19090 * completion.el (add-completion, add-permanent-completion):
19091 * descr-text.el (describe-text-category, describe-char):
19092 * desktop.el (desktop-lazy-abort):
19093 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19094 * dired.el (dired-build-subdir-alist):
19095 * ediff.el (ediff-version):
19096 * elide-head.el (elide-head, elide-head-show):
19097 * emerge.el (emerge-version):
19099 * face-remap.el (variable-pitch-mode):
19100 * faces.el (describe-face):
19101 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19103 * files.el (find-file-existing, auto-save-mode):
19104 * font-lock.el (font-lock-fontify-buffer):
19105 * help-fns.el (describe-function, describe-variable)
19106 (describe-syntax, describe-categories):
19107 * help.el (view-lossage, describe-bindings, describe-key)
19109 * hexl.el (hexl-current-address):
19110 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19111 * info.el (Info-goto-emacs-key-command-node):
19112 * log-edit.el (log-edit-insert-cvs-template)
19113 (log-edit-insert-cvs-rcstemplate):
19114 * menu-bar.el (menu-bar-mode):
19115 * mouse.el (mouse-appearance-menu):
19116 * newcomment.el (comment-indent-new-line):
19117 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19118 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19119 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19120 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19121 * recentf.el (recentf-mode):
19122 * savehist.el (savehist-mode, savehist-save):
19123 * shadowfile.el (shadow-copy-files):
19124 * simple.el (kill-ring-save, next-line, previous-line)
19125 (normal-erase-is-backspace-mode):
19126 * strokes.el (strokes-update-window-configuration)
19127 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19128 (strokes-xpm-for-stroke):
19129 * time.el (emacs-uptime, emacs-init-time):
19130 * tutorial.el (tutorial--describe-nonstandard-key)
19131 (tutorial--detailed-help):
19132 * type-break.el (type-break-mode)
19133 (type-break-mode-line-message-mode, type-break-query-mode)
19134 (type-break-guesstimate-keystroke-threshold):
19135 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19136 * version.el (emacs-version):
19137 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19138 * winner.el (winner-mode):
19139 * calendar/timeclock.el (timeclock-in, timeclock-out)
19140 (timeclock-status-string, timeclock-change)
19141 (timeclock-workday-remaining-string)
19142 (timeclock-workday-elapsed-string)
19143 (timeclock-when-to-leave-string):
19144 * calendar/todo-mode.el (todo-add-category):
19145 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19146 * emacs-lisp/autoload.el (update-file-autoloads):
19147 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19148 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19149 (checkdoc-message-text, checkdoc-defun):
19150 * emacs-lisp/debug.el (debugger-list-functions):
19151 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19152 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19153 (eieio-describe-generic):
19154 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19155 * emacs-lisp/shadow.el (list-load-path-shadows):
19156 * emulation/cua-base.el (cua-mode):
19157 * emulation/edt.el (edt-set-scroll-margins):
19158 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19159 (tpu-toggle-regexp, tpu-toggle-search-direction)
19160 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19161 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19162 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19163 (viper-set-parsing-style-toggling-macro)
19164 (viper-set-emacs-state-searchstyle-macros):
19165 * emulation/viper.el (viper-set-hooks):
19166 * eshell/esh-mode.el (eshell-truncate-buffer):
19167 * international/mule-cmds.el (prefer-coding-system)
19168 (describe-input-method, describe-language-environment):
19169 * international/mule-diag.el (list-character-sets)
19170 (describe-character-set, describe-coding-system)
19171 (describe-fontset, list-fontsets, list-input-methods):
19172 * mail/sendmail.el (mail-signature):
19173 * net/ange-ftp.el (ange-ftp-copy-file):
19174 * net/browse-url.el (browse-url):
19175 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19176 * net/quickurl.el (quickurl-add-url):
19177 * net/rcirc.el (names, topic):
19178 * net/xesam.el (xesam-mode):
19179 * play/5x5.el (5x5-new-game):
19180 * play/yow.el (apropos-zippy):
19181 * progmodes/ada-mode.el (ada-mode-version):
19182 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19184 (f90-beginning-of-block):
19185 * progmodes/fortran.el (fortran-end-of-block)
19186 (fortran-beginning-of-block):
19187 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19188 * progmodes/python.el (python-describe-symbol, python-shell):
19189 * term/ns-win.el (ns-print-buffer):
19190 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19191 * textmodes/flyspell.el (flyspell-mode-on):
19192 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19193 (pages-directory-for-addresses):
19194 * textmodes/table.el (table-recognize-cell)
19195 (table-query-dimension, table-generate-source)
19196 (table-insert-sequence, table--warn-incompatibility):
19197 * textmodes/tex-mode.el (tex-validate-buffer):
19198 * textmodes/texinfmt.el (texinfmt-version)
19199 (texinfo-format-buffer):
19200 Use `called-interactively-p' instead of `interactive-p'.
19202 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19204 * image-mode.el (image-toggle-display):
19205 * emacs-lisp/elp.el (elp-instrument-function):
19206 * emacs-lisp/advice.el (ad-make-advised-definition):
19207 * emacs-lisp/easy-mmode.el (define-minor-mode):
19208 * net/browse-url.el (browse-url-maybe-new-window):
19209 * progmodes/sh-script.el (sh-learn-buffer-indent):
19210 Pass new argument 'any to `called-interactively-p'.
19212 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19214 * international/uni-bidi.el:
19215 * international/uni-category.el:
19216 * international/uni-combining.el:
19217 * international/uni-comment.el:
19218 * international/uni-decimal.el:
19219 * international/uni-decomposition.el:
19220 * international/uni-digit.el:
19221 * international/uni-lowercase.el:
19222 * international/uni-mirrored.el:
19223 * international/uni-name.el:
19224 * international/uni-numeric.el:
19225 * international/uni-old-name.el:
19226 * international/uni-titlecase.el:
19227 * international/uni-uppercase.el:
19228 Regenerate from Unicode 5.2.0 data.
19230 2009-10-01 Glenn Morris <rgm@gnu.org>
19232 * Makefile.in (ELCFILES): Regenerate.
19234 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19236 * subr.el (interactive-p): Mark obsolete.
19237 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19238 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19239 advertised-signature-table for subroutines as well.
19241 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19242 (set-advertised-calling-convention): New function.
19243 (make-obsolete, define-obsolete-function-alias)
19244 (make-obsolete-variable, define-obsolete-variable-alias):
19245 Make the optional-ness of `when' obsolete.
19246 (define-obsolete-face-alias): Make `when' non-optional.
19247 * help-fns.el (help-function-arglist):
19248 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19249 Use advertised-signature-table.
19251 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19253 * files.el (delete-directory): New defun. The original function
19254 in fileio.c has been renamed to `delete-directory-internal'.
19256 * dired.el (dired-delete-file): Call `delete-directory' with
19257 RECURSIVE parameter.
19259 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19260 parameter RECURSIVE. Implementation is missing.
19262 * net/tramp.el (tramp-handle-make-directory): Flush upper
19263 directory's file properties.
19264 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19265 (tramp-handle-dired-recursive-delete-directory): Flush directory
19266 properties after the remove command only.
19268 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19269 Handle optional parameter RECURSIVE.
19271 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19272 Handle optional parameter RECURSIVE.
19274 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19275 connection timeout.
19276 (tramp-smb-handle-delete-directory): Handle optional parameter
19279 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19281 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19282 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19283 (byte-compile-defmacro): Use backquotes.
19285 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19287 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19288 has no associated file.
19289 (vc-resynch-buffer): Use vc-dir-buffers.
19291 2009-10-01 Glenn Morris <rgm@gnu.org>
19293 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19294 (chart-file-count):
19295 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19296 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19297 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19298 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19299 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19300 (eieio-copy-parents-into-subclass, make-instance, class-children)
19301 (eieio-generic-form):
19303 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19304 match-data. (Bug#4555).
19306 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19307 rather than parsing it as a regexp. This relaxes the layout
19308 requirements and makes errors easier to detect.
19309 (check-declare-verify): Check file is regular.
19310 (check-declare-directory): Doc fix.
19311 * subr.el (declare-function): Doc fix.
19313 * ibuffer.el (ibuffer-format-qualifier):
19314 * isearch.el (hi-lock-regexp-okay):
19315 * calc/calc.el (math-zerop):
19316 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19317 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19318 Remove unused declarations.
19320 2009-09-30 Eric Ludlam <zappo@gnu.org>
19322 * emacs-lisp/eieio.el (boolean-p): Delete.
19324 2009-09-30 Glenn Morris <rgm@gnu.org>
19326 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19328 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19329 filename is not a string.
19331 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19333 * files.el (safe-local-eval-forms): Fix typo.
19335 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19337 * vc-hooks.el (vc-dir-buffers): New var.
19338 (vc-state-refresh): New function.
19339 (vc-state): Use it.
19340 (vc-after-save): Always ask the backend to recompute the new state.
19341 Always call vc-dir if necessary, using vc-dir-buffers.
19342 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19343 Use vc-dir-buffers.
19344 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19345 (vc-dir-prepare-status-buffer, vc-dir-update)
19346 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19347 Don't call expand-file-name on default-directory.
19349 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19351 * speedbar.el (speedbar-item-delete):
19352 * calc/calc-prog.el (calc-kbd-if):
19353 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19355 * epa.el (epa-key-list-mode-map):
19356 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19358 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19359 (hs-show-hook): Fix typo in docstring.
19361 2009-09-29 Glenn Morris <rgm@gnu.org>
19363 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19364 file-name-nondirectory call preventing location of cedet files.
19365 (check-declare-verify): Use literal search rather than re-search.
19366 Add basic defmethod and defclass, and define-overloadable-function.
19368 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19369 Use tramp-compat-file-attributes rather than nonexistent
19370 tramp-compat-handle-file-attributes.
19372 * Makefile.in (lisptagsfiles4): New.
19373 (AUTOGENEL): Add cedet loaddefs files.
19374 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19375 (update-elclist, compile-always, backup-compiled-files)
19376 (bootstrap-clean): Add yet another directory level.
19377 (update-elclist): Use LC_COLLATE rather than COLLATE.
19378 (ELCFILES): Update, via `make update-elclist'.
19380 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19382 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19383 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19384 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19386 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19388 * Makefile.in (lisptagsfiles3): Define.
19389 (TAGS, TAGS-LISP): Use it.
19390 (update-elclist): Add third directory level to look for elc files.
19391 (compile-always): Likewise.
19392 (backup-compiled-files): Likewise.
19393 (bootstrap-clean): Likewise.
19394 (ELCFILES): Update.
19396 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19398 * Makefile.in (ELCFILES): Add CEDET files.
19400 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19402 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19404 * net/tramp.el (top): Require tramp-imap.
19406 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19407 Use `tramp-compat-handle-file-attributes'.
19409 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19411 * net/tramp-imap.el: New package.
19413 2009-09-28 Eric Ludlam <zappo@gnu.org>
19415 * emacs-lisp/chart.el:
19416 * emacs-lisp/eieio-base.el:
19417 * emacs-lisp/eieio-comp.el:
19418 * emacs-lisp/eieio-custom.el:
19419 * emacs-lisp/eieio-datadebug.el:
19420 * emacs-lisp/eieio-opt.el:
19421 * emacs-lisp/eieio-speedbar.el:
19422 * emacs-lisp/eieio.el: New files.
19424 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19426 * whitespace.el (whitespace-trailing-regexp)
19427 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19430 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19432 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19435 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19436 menu-bar-ediff-menu.
19438 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19439 define-overloadable-function.
19441 * progmodes/autoconf.el: Provide autoconf as well, so that this
19442 file can be `require'd.
19444 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19446 * emacs-lisp/autoload.el (generated-autoload-feature)
19447 (generated-autoload-load-name): New vars.
19448 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19449 (make-autoload): Recognize define-overloadable-function and
19450 defclass forms (for EIEIO).
19452 * Makefile.in (update-subdirs): Exclude cedet directory.
19454 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19456 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19458 * faces.el: Default light-background background for region face to
19459 ns_selection_color under NS.
19461 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19463 * net/imap-hash.el: New library, see NEWS.
19465 * Makefile.in (ELCFILES): Add imap-hash.el.
19467 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19469 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19470 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19471 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19472 definition where the docstring could be taken for the return value.
19474 2009-09-26 Glenn Morris <rgm@gnu.org>
19476 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19477 Add option to only show images below a certain size.
19478 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19479 save-excursion calls.
19481 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19483 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19484 subdirectories) and eieio.
19486 2009-09-26 Alan Mackenzie <acm@muc.de>
19488 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19489 Correct buggy bracketing. (Bug#4289)
19491 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19492 character constants (as case labels). (Bug#4289)
19494 2009-09-25 Juri Linkov <juri@jurta.org>
19496 * files.el (safe-local-eval-forms): Allow time-stamp in
19497 before-save-hook (Bug#4554).
19499 2009-09-25 Drew Adams <drew.adams@oracle.com>
19501 * menu-bar.el (list-buffers-directory): Doc fix.
19503 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19505 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19506 Try and avoid copying twice the same paragraph.
19507 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19508 Remove save-excursion.
19509 (log-edit-changelog-entry): Do it here instead.
19511 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19513 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19514 when available, instead of hardcoding mode names. Doc fix.
19516 * menu-bar.el (list-buffers-directory): Add docstring.
19517 Make automatically buffer-local.
19519 * dired.el (dired-mode):
19520 * files.el (cd-absolute):
19521 * pcvs.el (cvs-temp-buffer):
19522 * pcvs-util.el (cvs-get-buffer-create):
19523 * shell.el (shell-mode):
19524 * vc-dir.el (vc-dir-mode):
19525 Don't make `list-buffers-directory' buffer local.
19527 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19529 * comint.el (comint-exec, comint-run, make-comint):
19530 Doc fixes (Bug#4542).
19532 2009-09-25 Glenn Morris <rgm@gnu.org>
19534 * mail/rmailmm.el (rmail-mime): New custom group.
19535 Move all defcustoms in this file into this group.
19536 (rmail-mime-media-type-handlers-alist): Revert previous change.
19537 (rmail-mime-show-images): New option.
19538 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19539 references to it, since it wasn't actually used for anything.
19540 (rmail-mime-insert-image): New function.
19541 (rmail-mime-image): Use rmail-mime-insert-image.
19542 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19543 obey the value of `rmail-mime-show-images' option. Print the size of
19546 2009-09-25 David Engster <deng@randomsample.de>
19548 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19550 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19552 * whitespace.el: Does not highlight trailing spaces While point is
19553 at end of line. Does not highligt spaces at beginning of buffer
19554 while point is at beginning of buffer. Does not highlight spaces
19555 at end of buffer while point is at end of buffer. (Bug#4177)
19557 (whitespace-display-mappings): Adjust initialization.
19558 (whitespace-point, whitespace-font-lock-refontify): New vars.
19559 (whitespace-color-on, whitespace-color-off): Adjust code.
19560 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19561 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19562 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19564 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19566 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19568 * textmodes/sgml-mode.el: Remove xml-mode alias.
19570 * files.el (auto-mode-alist, conf-mode-maybe)
19571 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19573 2009-09-24 Alan Mackenzie <acm@muc.de>
19575 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19576 c-forward-conditionals, but it doesn't move point and doesn't set
19578 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19579 (c-down-conditional-with-else, c-backward-conditional)
19580 (c-forward-conditional): Refactor to use c-scan-conditionals.
19582 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19584 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19585 (help-default-arg-highlight): Remove.
19586 (help-highlight-arg): New function.
19587 (help-do-arg-highlight): Use it.
19588 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19590 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19592 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19593 Undo last change, which didn't fix the problem and introduced others.
19595 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19597 * progmodes/gdb-mi.el: Don't require speedbar.
19598 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19600 2009-09-24 Glenn Morris <rgm@gnu.org>
19602 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19604 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19606 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19607 there is no newline after the final mime boundary. (Bug#4539)
19608 Move markers on insertion so that any buttons inserted don't end up in
19609 the next part of a multipart message.
19610 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19611 (rmail-mime-bulk-handler): Optionally handle images.
19612 (rmail-mime-image): New button action.
19613 (rmail-mime-image-handler): New function.
19614 (rmail-mime-mode): New mode.
19615 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19617 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19619 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19620 than just dropping elements from it (bug#4504).
19622 * term.el (term-set-scroll-region): Don't move cursor any more.
19623 (term-handle-ansi-escape): Call term-goto here instead.
19624 Suggested by Ivan Kanis <apple@kanis.eu>.
19626 * term.el: Require CL.
19627 (term-ansi-reset): New function.
19628 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19629 (term-handle-colors-array): Simplify.
19631 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19633 * allout.el (allout-overlay-interior-modification-handler)
19634 (allout-obtain-passphrase):
19635 * epa-file.el (epa-file-write-region):
19636 * ps-print.el (ps-begin-job):
19637 * vc-hooks.el (vc-toggle-read-only):
19638 * vc-rcs.el (vc-rcs-rollback):
19639 * vc-sccs.el (vc-sccs-rollback):
19640 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19641 (vc-version-diff, vc-revert, vc-rollback):
19642 * wdired.el (wdired-check-kill-buffer):
19643 * emacs-lisp/authors.el (authors):
19644 * net/socks.el (socks-open-connection):
19645 * net/zeroconf.el (zeroconf-service-add-hook):
19646 * obsolete/vc-mcvs.el (vc-mcvs-register):
19647 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19648 (gdb-select-frame):
19649 * progmodes/grep.el (lgrep, rgrep):
19650 * progmodes/idlw-help.el (idlwave-help-check-locations)
19651 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19652 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19653 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19654 (reftex-toc-rename-label): Fix typos in error messages.
19656 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19657 (dired-copy-how-to-fn): Doc fix.
19658 (dired-files-attributes, dired-read-shell-command):
19659 Fix typos in docstrings.
19661 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19662 (dired-x-find-file-other-window): Reflow docstrings.
19663 (dired-omit-marker-char, dired-read-shell-command)
19664 (dired-x-submit-report): Fix typos in docstrings.
19666 * shell.el (shell-mode-hook):
19667 * view.el (View-scroll-line-forward):
19668 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19669 Fix typos in docstrings.
19671 * net/dig.el (dig-invoke): Fix typo in docstring.
19672 (query-dig): Reflow docstring.
19674 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19675 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19676 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19677 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19678 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19679 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19680 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19681 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19682 (idlwave-completion-map, idlwave-current-indent)
19683 (idlwave-custom-ampersand-surround, idlwave-customize)
19684 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19685 (idlwave-define-abbrev, idlwave-determine-class-special)
19686 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19687 (idlwave-end-block-reg, idlwave-end-of-statement)
19688 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19689 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19690 (idlwave-explicit-class-listed, idlwave-file-header)
19691 (idlwave-fill-paragraph, idlwave-find-class-definition)
19692 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19693 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19694 (idlwave-in-quote, idlwave-indent-action-table)
19695 (idlwave-indent-expand-table, idlwave-indent-line)
19696 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19697 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19698 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19699 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19700 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19701 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19702 (idlwave-outlawed-buffers, idlwave-popup-select)
19703 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19704 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19705 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19706 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19707 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19708 (idlwave-statement-type, idlwave-struct-skip)
19709 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19710 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19711 (idlwave-what-module-find-class): Fix typos in docstrings.
19712 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19713 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19714 (idlwave-find-module, idlwave-find-structure-definition)
19715 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19716 (idlwave-list-load-path-shadows, idlwave-next-statement)
19717 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19718 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19719 (idlwave-template): Reflow docstrings.
19721 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19722 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19723 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19724 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19725 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19726 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19727 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19728 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19729 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19730 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19731 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19732 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19733 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19734 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19735 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19736 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19737 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19738 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19739 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19740 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19741 Fix typos in docstrings.
19742 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19743 (idlwave-shell-hide-output, idlwave-shell-mode)
19744 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19747 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19749 2009-09-24 Ivan Kanis <apple@kanis.eu>
19751 * term.el (term-bold-attribute): New var.
19752 (term-handle-colors-array): Use it.
19754 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19756 * progmodes/gdb-mi.el (gdb-version): New variable.
19757 (gdb-non-stop-handler): Set gdb-version.
19758 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19759 Condition "--thread" option on gdb-version.
19760 (gdb-invalidate-threads): Remove unused argument.
19762 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19764 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19765 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19767 2009-09-23 Glenn Morris <rgm@gnu.org>
19769 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19770 replying to mail without References or Message-Id. (Bug#4525)
19772 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19774 * term/ns-win.el (ns-reg-to-script): New variable.
19776 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19778 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19780 2009-09-22 Sam Steingold <sds@gnu.org>
19782 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19783 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19784 to 1 because hg returns status 1 when nothing is found.
19785 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19787 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19789 * textmodes/fill.el: Convert to utf-8 encoding.
19790 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19793 * add-log.el (change-log-fill-forward-paragraph): New function.
19794 (change-log-mode): Use it so fill-region DTRT.
19795 Set fill-indent-according-to-mode here rather than in
19796 change-log-fill-paragraph.
19797 (change-log-fill-paragraph): Remove.
19799 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19801 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19802 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19804 2009-09-22 Glenn Morris <rgm@gnu.org>
19806 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19807 the scroll-bar scroll the calendar window rather than the buffer.
19809 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19810 commands that move point (as opposed to scrolling).
19812 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19814 * emacs-lisp/elint.el (elint): New custom group.
19815 (elint-log-buffer): Make it a defcustom.
19816 (elint-scan-preloaded, elint-ignored-warnings)
19817 (elint-directory-skip-re): New options.
19818 (elint-builtin-variables): Doc fix.
19819 (elint-preloaded-env): New variable.
19820 (elint-unknown-builtin-args): Add an entry for encode-time.
19821 (elint-extra-errors): Make it a variable rather than a constant.
19822 (elint-preloaded-skip-re): New constant.
19823 (elint-directory): Skip files matching elint-directory-skip-re.
19824 (elint-features): New variable, local to linted buffers.
19825 (elint-update-env): Initialize elint-features. Possibly add
19826 elint-preloaded-env to the buffer's environment.
19827 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19829 (elint-init-form): New function, extracted from elint-init-env.
19830 Make non-list forms a warning rather than an error.
19831 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19832 easy-menu-define, put that adds an error-condition, and provide.
19833 When requiring cl, also require cl-macs. Really require cl, to handle
19834 some cl macros. Store required libraries in the list elint-features,
19835 so as not to re-load them. Treat cc-require like require.
19836 (elint-init-env): Call elint-init-form to do the work.
19837 Handle eval-and-compile and such like.
19838 (elint-add-required-env): Do not clear messages.
19839 (elint-special-forms): Add handlers for function, defalias, if, when,
19841 (elint-form): Add optional argument to ignore elint-special-forms,
19842 useful to prevent recursive calls from handlers. Doc fix.
19843 Respect elint-ignored-warnings.
19844 (elint-form): Respect elint-ignored-warnings.
19845 (elint-bound-variable, elint-bound-function): New variables.
19846 (elint-unbound-variable): Respect elint-bound-variable.
19847 (elint-get-args): Respect elint-bound-function.
19848 (elint-check-cond-form): Add some simple handling for (f)boundp and
19850 (elint-check-defalias-form): New handler.
19851 (elint-check-let-form): Make an empty let a warning rather than an
19853 (elint-check-setq-form): Make an empty setq a warning rather than an
19854 error. Respect elint-ignored-warnings.
19855 (elint-check-defvar-form): Accept null doc-strings.
19856 (elint-check-conditional-form): New handler. Does some simple-minded
19857 checking of featurep and (f)boundp tests.
19858 (elint-put-function-args): New function.
19859 (elint-initialize): Use elint-scan-doc-file rather than
19860 elint-find-builtin-variables. Use elint-put-function-args.
19861 Possibly scan preloaded-file-list.
19862 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19863 extend to handle functions as well.
19865 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19867 * linum.el (linum-delete-overlays, linum-update-window):
19868 Do not modify the right margin. (Bug#3971)
19870 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19872 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19873 Use nxml-mode instead of xml-mode.
19875 2009-09-21 Kevin Ryde <user42@zip.com.au>
19877 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19879 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19881 * net/dig.el (dig-mode): Use define-derived-mode.
19883 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19885 * vc-dispatcher.el (vc-do-command): Return the process object in
19886 the asynchronous case. Use when instead of if. Do not run
19887 vc-exec-after to display a message if not enabled. (Bug#4463)
19889 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19890 properties to the stash strings.
19891 (vc-git-stash-list): Return a list of strings.
19892 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19893 (vc-git-stash-show-at-point): New functions.
19894 (vc-git-stash-map): New keymap.
19896 * register.el (ctl-x-r-map): Define the keys here instead of
19899 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19901 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19902 list, to workaround performance problem (bug#4485).
19904 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19906 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19908 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19910 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19911 Document that this option is not recommended to use.
19913 2009-09-19 Glenn Morris <rgm@gnu.org>
19915 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19918 * calc/calc-alg.el (var):
19919 * calc/calcalg2.el (var): Define for compiler.
19921 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19923 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19924 Doc fix (Bug#3932).
19926 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19928 * time-stamp.el (time-stamp-month-dd-yyyy)
19929 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19930 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19931 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19932 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19933 Remove functions that have been obsolete since 1995 (Bug#4436).
19935 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19936 indent buffer only if called interactively (Bug#4452).
19938 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19939 Eli Zaretskii <eliz@gnu.org>
19941 This fixes bug#4197 (merged to bug#865, though not identical).
19942 * server.el (server-auth-dir): Add docstring note about FAT32.
19943 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19944 but warn against using them.
19946 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19948 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19949 older GDB where there is no has_more field.
19951 2009-09-19 Glenn Morris <rgm@gnu.org>
19953 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19955 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19957 * files.el (auto-mode-alist): Change default for XML files to nXML
19960 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19962 * server.el (server-ensure-safe-dir): Pass 'integer
19963 to `file-attributes', as suggested.
19965 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19967 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19968 (dired-query): Use read-key.
19970 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19972 * cus-start.el (ns-use-qd-smoothing): Remove.
19974 2009-09-18 Glenn Morris <rgm@gnu.org>
19976 * allout.el (top-level): Remove unnecessary progn.
19978 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19980 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19981 definition of abbrev table.
19983 * speedbar.el (speedbar-track-mouse):
19984 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19985 * net/eudc.el (eudc-expand-inline):
19986 * net/newst-backend.el (newsticker--cache-read-feed):
19987 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19988 condition-case handlers.
19990 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19992 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19993 (gdb-var-list): Add an element for has_more field.
19994 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19995 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19996 (gdb-var-update-handler-1): Parse output of dynamic variable
19997 objects (STL containers).
19998 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19999 (gdb-get-field): Delete alias. Use bindat-get-field directly.
20001 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
20003 (gud-speedbar-buttons): Make node expandable if expression "has more"
20006 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
20008 * startup.el (emacs-quick-startup): Remove variable and all uses.
20009 (command-line): Set `inhibit-x-resources' instead.
20010 (command-line-1): Use `inhibit-x-resources' instead.
20012 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
20014 * subr.el: Fix last change to avoid using the `unless' macro,
20015 which breaks bootstrapping.
20017 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20019 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
20020 extended definitions, in case we reload subr.el after having
20022 (eval-next-after-load): Mark as obsolete.
20024 2009-09-17 Juri Linkov <juri@jurta.org>
20026 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
20027 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
20028 (menu-bar-showhide-menu, menu-bar-tools-menu)
20029 (menu-bar-describe-menu, menu-bar-help-menu)
20030 (minibuffer-local-completion-map, minibuffer-local-map):
20033 2009-09-17 Glenn Morris <rgm@gnu.org>
20035 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20036 arguments, whether or not it has a handler.
20038 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20040 * simple.el (hard-newline): Give it a doc-string.
20042 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20043 (lisp-mode-syntax-table): Give them doc-strings.
20045 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20047 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20048 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20049 (menu-bar-options-menu, menu-bar-showhide-menu)
20050 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20051 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20052 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20053 (menu-bar-options-menu, menu-bar-tools-menu)
20054 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20055 (menu-bar-help-menu):
20056 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20059 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20060 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20061 calls for the menu names and :help.
20063 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20066 to :minor-mode-function (bug#4455).
20068 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20070 * startup.el (command-line): Initialize the window-system after
20071 processing the command-line.
20073 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20074 page-delimiter matches the empty string.
20076 2009-09-16 Glenn Morris <rgm@gnu.org>
20078 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20079 byte-compile-not-obsolete-var. It's a list now.
20080 (byte-compile-not-obsolete-funcs): New variable.
20081 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20082 byte-compile-not-obsolete-funcs.
20083 (byte-compile-variable-ref, byte-compile-defvar): Update for
20084 byte-compile-not-obsolete-vars name-change and list nature.
20085 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20086 and variables behind (f)boundp tests.
20087 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20089 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20091 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20093 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20095 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20096 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20099 2009-09-15 Stephen Eglen <stephen@gnu.org>
20101 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20102 the virtual-buffers, use the name of the buffer specified by
20103 find-file-noselect, as the match may be a symlink. (This was a
20104 problem if the target and the symlink had different names.)
20106 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20108 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20110 * desktop.el (desktop-path): Check user-emacs-directory.
20112 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20114 * loadup.el: Use after-load-functions to GC after loading each file.
20115 Remove the explicit GC calls that used to be sprinkled around.
20117 * subr.el (after-load-functions): New hook.
20118 (do-after-load-evaluation): Run it. Use string-match-p to detect
20119 `obsolete' packages, rather than painfully extracting the relevant
20122 2009-09-15 Glenn Morris <rgm@gnu.org>
20124 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20125 free variable `doc'.
20127 * dired.el (dired-mode-map): Add menu entry for async shell command.
20129 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20130 variables, also consider the .elc files, since the .el files are
20131 normally gzipped (subsequent code locates the .el.gz from the .elc).
20133 * calc/calc-prog.el (arglist): Define for compiler.
20135 * calendar/diary-lib.el (diary-display-function): Change the default to
20137 (body): Define for compiler.
20139 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20140 (byte-compile-file-form, byte-compile-lambda)
20141 (byte-compile-top-level-body, byte-compile-form)
20142 (byte-compile-variable-ref, byte-compile-setq)
20143 (byte-compile-setq-default, byte-compile-body)
20144 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20145 (batch-byte-compile): Give some more local variables with common names
20146 a "bytecomp-" prefix to avoid masking warnings about free variables.
20148 * startup.el (command-line-1): Give local variables with common names a
20149 distinguishing prefix, so as not to hide free variable warnings during
20152 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20153 clever and add a suffix to make a unique name, just let the user decide
20154 whether or not to overwrite it. If the input is a directory, write the
20155 default filename to that directory. (Bug#4388)
20156 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20157 is a filename-as-a-directory.
20159 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20161 * textmodes/page.el (what-page): Don't move to beginning of line.
20162 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20164 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20166 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20168 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20170 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20171 * help.el (help-for-help-internal): Add purecopy calls for text.
20173 * vc.el (top): print-log method now takes an optional SHORTLOG
20174 argument. Add a new method: root.
20175 (vc-root-diff, vc-print-root-log): New functions.
20176 (vc-log-short-style): New variable.
20177 (vc-print-log-internal): Add support for showing short logs.
20179 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20180 vc-print-root-log and vc-print-root-diff.
20182 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20183 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20184 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20187 * vc-cvs.el (vc-cvs-print-log):
20188 * vc-mtn.el (vc-mtn-print-log):
20189 * vc-rcs.el (vc-rcs-print-log):
20190 * vc-sccs.el (vc-sccs-print-log):
20191 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20192 that is ignored for now.
20194 * vc-mtn.el (vc-mtn-annotate-command):
20195 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20197 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20199 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20200 to function-key-map, and give them ascii-character property.
20201 * term/x-win.el (x-alternatives-map):
20202 * term/ns-win.el (ns-alternatives-map):
20203 * term/internal.el (msdos-key-remapping-map):
20204 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20206 2009-09-14 Glenn Morris <rgm@gnu.org>
20208 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20209 temp-buffers (2009-09-12).
20211 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20213 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20214 the new read-key function.
20216 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20218 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20219 is defined (Bug#4405).
20221 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20223 * recentf.el (recentf-cleanup): Use a hash table to find
20224 duplicates (Bug#4407).
20226 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20228 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20229 kp-0 to ascii equivalents (Bug#4325).
20231 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20233 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20235 * eshell/em-hist.el:
20236 * eshell/em-dirs.el (eshell-complete-user-reference):
20237 Declare pcomplete functions and variables to avoid compiler warnings.
20239 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20241 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20242 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20243 * eshell/em-alias.el (eshell-aliases-file):
20244 * eshell/em-hist.el (eshell-history-file-name):
20245 Use expand-file-name instead of concat to make file names (Bug#4308).
20247 2009-09-13 Glenn Morris <rgm@gnu.org>
20249 * ediff-merg.el (ediff-do-merge):
20250 * filesets.el (filesets-run-cmd):
20251 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20252 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20253 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20254 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20255 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20256 Replace empty `let's with `progn'.
20258 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20260 * mail/sendmail.el (send-mail-function):
20261 * tooltip.el (tooltip-mode):
20262 * simple.el (transient-mark-mode):
20263 * rfn-eshadow.el (file-name-shadow-mode):
20264 * frame.el (blink-cursor-mode):
20265 * font-core.el (global-font-lock-mode):
20266 * files.el (temporary-file-directory)
20267 (small-temporary-file-directory, auto-save-file-name-transforms):
20268 * epa-hook.el (auto-encryption-mode):
20269 * composite.el (global-auto-composition-mode):
20270 Use custom-initialize-delay.
20271 * startup.el (command-line): Don't explicitly call
20272 custom-reevaluate-setting for all the above vars.
20273 * custom.el (custom-initialize-safe-set)
20274 (custom-initialize-safe-default): Delete.
20276 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20278 * term/x-win.el (x-initialize-window-system):
20279 * term/w32-win.el (w32-initialize-window-system):
20280 * term/ns-win.el (ns-initialize-window-system): Don't call
20281 mouse-wheel-mode since it's enabled globally by default already.
20283 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20284 actually define the variable, but only silences the byte-compiler.
20285 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20286 before looking it up.
20287 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20290 2009-09-12 Glenn Morris <rgm@gnu.org>
20292 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20294 (elint-add-required-env): Don't beep on error.
20295 (elint-forms): In case of error, return ENV unchanged.
20296 (elint-init-env): Skip non-list forms.
20297 (elint-log): Handle unknown file positions.
20299 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20301 * epg.el (epg-make-context): Add autoload cookie.
20302 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20303 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20304 (epg-verify-string, epg-start-sign, epg-sign-file)
20305 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20306 (epg-encrypt-string, epg-start-export-keys)
20307 (epg-export-keys-to-file, epg-export-keys-to-string)
20308 (epg-start-import-keys, epg-import-keys-from-file)
20309 (epg-import-keys-from-string, epg-start-receive-keys)
20310 (epg-receive-keys, epg-import-keys-from-server)
20311 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20312 (epg-sign-keys, epg-start-generate-key)
20313 (epg-generate-key-from-file, epg-generate-key-from-string):
20314 Remove autoload cookie.
20316 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20318 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20319 reevaluation of trash-directory.
20321 * mwheel.el: Fix last change.
20322 (mouse-wheel-mode): New defvar.
20323 (mouse-wheel-mode): Remove autoload cookie.
20325 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20327 * mwheel.el (mwheel-installed-bindings): New var.
20328 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20329 the bindings we set last time. Use custom-initialize-delay.
20330 * loadup.el: Load mwheel after term/*-win.el.
20331 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20332 and mouse-wheel-up-event now that their first evaluation is done
20333 sufficiently late to be correct.
20335 * startup.el (tutorial-directory): Make it a defcustom.
20336 Use custom-initialize-delay rather than eval-at-startup to set it.
20337 * image.el (image-load-path): Make it a defcustom.
20338 Use custom-initialize-delay rather than eval-at-startup to set it.
20339 * subr.el (eval-at-startup): Remove.
20340 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20342 * subr.el (do-after-load-evaluation): Warn the user after loading an
20345 2009-09-12 Glenn Morris <rgm@gnu.org>
20347 * proced.el (proced-mark-alt): Remove alias.
20348 (proced-mode-map): Remove proced-mark-alt.
20350 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20351 Elint file and directory. Remove initialization entry.
20353 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20355 (elint-current-buffer): Set mode-line-process.
20356 (elint-init-env): Handle define-derived-mode.
20357 Fix declare-function with unspecified arglist. Guard against odd
20358 defalias statements (eg iso-insert's 8859-1-map).
20359 (elint-add-required-env): Use a temp buffer.
20360 (elint-form): Just print the function/macro name, not the whole form.
20361 Return env unchanged if we fail to parse a macro.
20362 (elint-forms): Guard against parse errors.
20363 (elint-output): New function, to handle batch mode.
20364 (elint-log-message): Add optional argument. Use elint-output.
20365 (elint-set-mode-line): New function.
20367 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20369 * emacs-lisp/elp.el (elp-not-profilable): Add more
20370 functions (Bug#4233).
20372 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20374 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20375 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20377 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20379 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20380 (gdb-var-list-children): Use json parsing.
20382 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20384 * progmodes/js.el (js--proper-indentation): Handle the case where
20385 char-before is null. Reported by Deniz Dogan.
20387 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20389 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20391 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20393 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20394 (epg-digest-algorithm-alist): Add SHA224.
20395 (epg-context-set-passphrase-callback)
20396 (epg-context-set-progress-callback): Add description about
20399 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20401 * custom.el (custom-delayed-init-variables): New var.
20402 (custom-initialize-delay): New function.
20403 * startup.el (command-line): "Re"evaluate all vars in
20404 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20405 explicitly any more.
20406 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20407 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20409 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20411 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20413 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20414 (gdb-var-update-handler): Use json parsing.
20416 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20418 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20419 decode annotated text, regardless of language environment. (Bug#2741)
20421 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20423 * Makefile.in (autoloads): Make rmail.el writable as well.
20425 2009-09-11 Glenn Morris <rgm@gnu.org>
20427 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20429 * dired.el: Regenerate with extracted autoloads.
20430 * Makefile.in (autoloads): Make dired.el writable.
20432 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20433 * ibuffer.el: Regenerate with extracted autoloads.
20434 * Makefile.in (autoloads): Make ibuffer.el writable.
20436 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20437 * version.el (emacs-copyright, emacs-major-version)
20438 (emacs-minor-version): Reformat doc-strings for make-docfile.
20440 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20441 functions and variables, since they must be stuff specific to some other
20443 (apropos-print): Make mouse-click message less specific about button.
20445 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20446 that records where a macro was defined.
20447 * help-fns.el (describe-function-1): Mention if a function has a
20449 * help-mode.el (help-function-cmacro): New button.
20451 * locate.el (top-level): Always require dired.
20452 (locate-mode-map): Initialize inside the defvar.
20454 * net/ange-ftp.el (dired-compress-file): Declare.
20455 (ange-ftp-dired-compress-file): Add doc string.
20457 * term/ns-win.el (x-display-name, x-setup-function-keys):
20458 Unify doc-strings with X versions.
20460 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20462 * emulation/crisp.el (crisp-mode-map): Move initialization
20464 (crisp-mode): Use define-minor-mode.
20466 * progmodes/xscheme.el (xscheme-evaluation-commands):
20467 Put a :advertised-binding property rather than using
20468 advertised-xscheme-send-previous-expression.
20469 (advertised-xscheme-send-previous-expression): Declare obsolete.
20470 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20472 (crisp-mode): Add corresponding bindings to
20473 undo's :advertised-binding instead.
20474 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20475 than using dired-advertised-find-file.
20476 (dired-advertised-find-file):
20477 * simple.el (advertised-undo):
20478 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20479 (widget-keymap): Put a :advertised-binding property rather
20480 than using advertised-widget-backward.
20481 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20482 than using advertised-undo.
20483 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20485 2009-09-10 Simon South <ssouth@slowcomputing.org>
20487 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20488 Mark mode is enabled and region is active; otherwise indent or
20489 insert TAB as usual.
20490 (delphi-mode): Update description of TAB-key binding.
20492 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20494 * subr.el (define-key-rebound-commands): Mark obsolete.
20495 * startup.el (precompute-menubar-bindings): Remove.
20496 (normal-top-level): Remove obsolete code that tried to precompute
20498 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20499 define-key-rebound-commands and precompute-menubar-bindings.
20501 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20503 * net/imap.el (imap-interactive-login): Better messages.
20504 (imap-open): Fix bug with renamed buffer on reconnect.
20505 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20506 for easier debugging and cleaner code. On successful (guessed based on
20507 server capabilities) secondary authentication, set imap-state
20509 (imap-last-authenticator): Define imap-last-authenticator as a variable
20512 2009-09-10 Glenn Morris <rgm@gnu.org>
20514 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20516 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20517 (byte-compile-file-form-autoload): Don't warn about unknown functions
20518 where the autoload statement comes after the use.
20519 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20520 that any handlers inside the body (eg require) are in turn respected.
20522 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20525 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20526 and syntax and abbrev tables basic docs, if they don't have any.
20528 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20530 * international/mule-cmds.el (top-level): Require cl when compiling.
20531 (view-hello-file): Use default-value rather than
20532 default-enable-multibyte-characters.
20534 * progmodes/fortran.el: Move all safe and risky properties into the
20537 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20538 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20539 * mail/undigest.el:
20540 Put autoloads in rmail.el rather than loaddefs.el.
20541 * mail/rmail.el: Regenerate with extracted autoloads.
20543 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20544 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20546 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20548 Reported in thread for Bug#4375.
20549 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20550 "-data-evaluate-expression" instead of print.
20551 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20552 (gdb-tooltip-print): Parse output from above MI command.
20553 (gdb): Revert 2009-08-11 change. User should detach inferior
20556 Remove the word "separate" from IO functions as inferior
20557 output is now never displayed in the GUD buffer.
20559 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20561 * startup.el (command-line-normalize-file-name): On Windows and
20562 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20564 2009-09-10 Juri Linkov <juri@jurta.org>
20566 * isearch.el (isearch-text-char-description): Propertize escape
20567 character sequences with the `escape-glyph' face. (Bug#4344)
20569 * simple.el (shell-command): Set asynchronous process filter to
20570 `comint-output-filter'. (Bug#4343)
20572 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20573 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20574 the list. Move "asm" to the bottom.
20575 (grep-find-ignored-directories): Add `choice' with nil value
20576 to empty the list easily.
20577 (grep-find-ignored-files): New option.
20578 (grep-files-history): Set to nil by default instead of '("ch" "el").
20579 (grep-compute-defaults): Add "<X>" to `grep-template'.
20580 (grep-read-files): Bind new local variables `default-alias' and
20581 `default-extension'. Use a list of default values for the file prompt.
20582 (lgrep): Add `--exclude=' command line options composed from
20583 `grep-find-ignored-files'.
20584 (rgrep): Add `-name' command line options composed from
20585 `grep-find-ignored-files'. (Bug#4301)
20587 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20589 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20592 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20594 * calendar/time-date.el (autoload):
20595 Expand define-obsolete-function-alias into defalias and make-obsolete
20596 for old Emacsen that Gnus supports.
20597 (with-no-warnings): Define it for old Emacsen.
20598 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20600 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20601 float-time is available; suppress compile warning for time-to-seconds.
20603 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20605 * net/imap.el (imap-message-map): Docstring fix.
20607 2009-09-09 Glenn Morris <rgm@gnu.org>
20609 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20610 line numbers too. (Bug#4374)
20612 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20614 * smerge-mode.el (smerge-remove-props, smerge-refine):
20615 Use with-silent-modifications (bug#4342).
20617 * subr.el (with-silent-modifications): New macro.
20619 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20621 * files.el (top-level): Require `cl' when compiling.
20623 2009-09-07 Glenn Morris <rgm@gnu.org>
20625 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20627 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20628 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20630 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20632 * vc-git.el (vc-git-annotate-command): Use separator to parse
20633 arguments correctly.
20635 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20637 * proced.el (proced-mode): Doc fix.
20639 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20641 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20643 (tramp-do-file-attributes-with-ls): Check for file existence at
20645 (tramp-do-file-attributes-with-stat): Likewise.
20646 (tramp-convert-file-attributes): Return nil when attr is nil.
20648 2009-09-05 Glenn Morris <rgm@gnu.org>
20650 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20651 properties to this button.
20652 (diary-fancy-display): Don't extend the button to the final newline.
20653 (diary-fancy-display-mode): Continue to define "q" as a local key.
20655 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20658 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20660 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20661 (byte-compile-dest-file-function): New option.
20662 (byte-compile-dest-file): Doc fix.
20663 Obey byte-compile-dest-file-function.
20664 (byte-compile-cl-file-p): New function.
20665 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20666 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20667 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20668 than for file being previously loaded.
20669 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20670 (byte-compile-file-form-require): Handle the case where requiring a file
20671 indirectly causes CL to be loaded.
20673 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20675 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20676 before killing the old buffer, since by the time `kill-buffer' is
20677 run so many buffer variables have been set to nil that it may not
20678 behave as expected. (Bug#4061)
20680 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20682 * files.el (find-alternate-file): If the old buffer is modified
20683 and visiting a file, behave similarly to `kill-buffer' when
20684 killing it, thus reverting to the pre-1.878 behavior; see
20685 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20686 for discussion. Also, consult `buffer-file-name' as a variable
20687 not as a function, for consistency with the rest of the code.
20689 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20691 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20692 also when adding a new directory.
20694 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20697 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20699 * files.el (locate-file-completion-table): Make it provide boundary
20700 information, so partial-completion works better.
20702 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20704 * mail/footnote.el (Footnote-text-under-cursor):
20705 Check footnote-text-marker-alist before using it (bug#4324).
20707 2009-09-04 Glenn Morris <rgm@gnu.org>
20709 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20710 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20711 * play/solitaire.el, play/tetris.el:
20712 Remove leading * from defcustom and defface docs.
20714 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20716 (diary-fancy-overriding-map): New variable.
20717 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20720 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20723 2009-09-03 Glenn Morris <rgm@gnu.org>
20725 * arc-mode.el (archive-mode):
20726 * dos-fns.el (set-default-process-coding-system):
20727 * man.el (Man-getpage-in-background):
20728 * menu-bar.el (menu-bar-describe-menu):
20729 * server.el (server-process-filter):
20730 * startup.el (command-line):
20731 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20732 * w32-fns.el (set-default-process-coding-system):
20733 * x-dnd.el (x-dnd-handle-file-name):
20734 * international/mule-cmds.el (mule-menu-keymap)
20735 (set-default-coding-systems, language-info-alist, set-language-info)
20736 (set-language-environment, standard-display-european-internal)
20737 (set-locale-environment):
20738 * international/mule-diag.el (mule-diag):
20739 * mail/emacsbug.el (report-emacs-bug):
20740 * mail/rmail.el (rmail-mode):
20741 * mail/sendmail.el (mail-setup):
20742 Use default-value rather than default-enable-multibyte-characters.
20744 * progmodes/f90.el: Move all safe properties into the defcustoms.
20745 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20747 * calendar/appt.el (appt-check):
20748 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20749 (diary-check-diary-file, diary-list-entries)
20750 (diary-include-other-diary-files, diary-simple-display)
20751 (diary-fancy-display, diary-print-entries)
20752 (diary-mark-included-diary-files, diary-make-entry):
20753 Don't call substitute-in-file-name on diary-file.
20755 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20756 Stefan Monnier <monnier@iro.umontreal.ca>
20758 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20759 (footnote-mode-map): Move initialization into the declaration.
20760 (footnote-minor-mode-map): Define it rather than changing global-map.
20761 (footnote-mode): Use define-minor-mode.
20763 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20765 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20766 (tramp-do-file-attributes-with-perl)
20767 (tramp-do-file-attributes-with-stat): Rename from
20768 `tramp-handle-file-attributes-with-*'.
20769 (tramp-handle-file-attributes): Use them.
20770 (tramp-do-directory-files-and-attributes-with-perl)
20771 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20772 `tramp-handle-directory-files-and-attributes-with-*'.
20773 (tramp-handle-directory-files-and-attributes): Use them.
20774 (tramp-method-out-of-band-p): Additional parameter SIZE.
20775 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20776 (tramp-handle-write-region): Use it.
20777 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20778 (tramp-handle-vc-registered): Check, whether the first run did
20779 return files to be tested.
20780 (tramp-advice-make-auto-save-file-name): Do not call directly
20781 `tramp-handle-make-auto-save-file-name', because this would bypass
20782 the locking mechanism.
20784 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20785 (file-remote-p, process-file, start-file-process, set-file-times)
20786 (tramp-compat-file-attributes): Compatibility functions shall not
20787 call directly `tramp-handle-*', because this would bypass the
20789 (tramp-compat-number-sequence): New defun.
20791 2009-09-02 Glenn Morris <rgm@gnu.org>
20793 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20794 alias for float-time.
20795 (time-to-number-of-days): In Emacs, use float-time.
20796 * net/newst-backend.el (time-add): Suppress warnings from compat
20798 * time.el (emacs-uptime, emacs-init-time):
20799 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20800 Use float-time rather than time-to-seconds.
20802 * minibuffer.el (completion-initials-expand): Fix typo.
20804 * faces.el (modeline, modeline-inactive, modeline-highlight)
20805 (modeline-buffer-id):
20806 * info.el (info-menu-5): Mark these face aliases as obsolete.
20808 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20810 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20812 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20813 no "--thread" option.
20814 (gdb-stopped): Don't print "Switched to thread" message when it is
20817 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20819 * minibuffer.el (completion-try-completion)
20820 (completion-all-completions): Remove ill-defined (and
20821 mistakenly installed and luckily never used nor documented)
20822 `completion-styles' property.
20823 (completion-initials-expand, completion-initials-all-completions)
20824 (completion-initials-try-completion): New functions.
20825 (completion-styles-alist): Add doc to each entry.
20826 Add new `initials' entry.
20828 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20830 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20831 MI command -var-evaluate-expression.
20832 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20833 and tweak for case of string child.
20834 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20836 2009-09-01 Glenn Morris <rgm@gnu.org>
20838 * add-log.el (change-log-date-face, change-log-name-face)
20839 (change-log-email-face, change-log-file-face, change-log-list-face)
20840 (change-log-conditionals-face, change-log-function-face)
20841 (change-log-acknowledgement-face):
20842 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20843 (custom-modified-face, custom-set-face, custom-changed-face)
20844 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20845 (custom-documentation-face, custom-state-face, custom-comment-face)
20846 (custom-comment-tag-face, custom-variable-tag-face)
20847 (custom-variable-button-face, custom-face-tag-face)
20848 (custom-group-tag-face-1, custom-group-tag-face):
20849 * diff-mode.el (diff-header-face, diff-file-header-face)
20850 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20851 (diff-added-face, diff-changed-face, diff-function-face)
20852 (diff-context-face, diff-nonexistent-face):
20853 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20854 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20855 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20856 (Info-title-4-face):
20857 * isearch.el (isearch-lazy-highlight-face):
20858 * log-view.el (log-view-file-face, log-view-message-face):
20859 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20860 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20861 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20863 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20864 (smerge-base-face, smerge-markers-face):
20865 * wid-edit.el (widget-documentation-face, widget-button-face)
20866 (widget-field-face, widget-single-line-field-face)
20867 (widget-inactive-face, widget-button-pressed-face):
20868 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20869 (woman-addition-face):
20870 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20871 (eshell-ls-executable-face, eshell-ls-readonly-face)
20872 (eshell-ls-unreadable-face, eshell-ls-special-face)
20873 (eshell-ls-missing-face, eshell-ls-archive-face)
20874 (eshell-ls-backup-face, eshell-ls-product-face)
20875 (eshell-ls-clutter-face):
20876 * eshell/em-prompt.el (eshell-prompt-face):
20877 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20878 * obsolete/old-whitespace.el (whitespace-highlight-face):
20879 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20880 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20881 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20882 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20883 (antlr-font-lock-literal-face):
20884 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20885 (ebrowse-root-class-face, ebrowse-file-name-face)
20886 (ebrowse-default-face, ebrowse-member-attribute-face)
20887 (ebrowse-member-class-face, ebrowse-progress-face):
20888 * progmodes/make-mode.el (makefile-space-face):
20889 * progmodes/sh-script.el (sh-heredoc-face):
20890 * textmodes/flyspell.el (flyspell-incorrect-face)
20891 (flyspell-duplicate-face):
20892 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20893 * textmodes/texinfo.el (texinfo-heading-face):
20894 Mark face aliases with "-face" suffix as obsolete.
20896 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20899 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20900 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20901 easy-menu-define wants to modify these.
20903 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20905 * net/browse-url.el (browse-url-file-url):
20906 * term/internal.el (dos-codepage-setup):
20907 Use default-value rather than default-enable-multibyte-characters.
20909 * progmodes/etags.el (etags-goto-tag-location):
20910 * progmodes/flymake.el (flymake-highlight-line)
20911 (flymake-goto-file-and-line, flymake-goto-line):
20912 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20913 (gdb-goto-breakpoint):
20914 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20915 * progmodes/python.el (python-find-function)
20916 (python-pdbtrack-track-stack-file):
20917 * progmodes/verilog-mode.el (verilog-surelint-off):
20918 * term/ns-win.el (ns-open-file-select-line):
20919 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20920 Use forward-line rather than goto-line.
20922 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20923 * textmodes/reftex-index.el (reftex-display-index):
20924 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20925 * textmodes/reftex-toc.el (reftex-toc):
20926 Remove unnecessary bindings of default-major-mode (all are followed by
20927 major-mode check and possible mode switch).
20929 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20931 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20932 Handle watchpoints (bug#4282).
20933 (def-gdb-thread-buffer-command): Enable thread to be selected by
20934 clicking without selecting threads buffer first.
20935 (gdb-current-context-command): Use selected frame so that "up",
20936 "down" etc work in the GUD buffer.
20937 (gdb-update): Find selected frame before rendering stack buffer.
20938 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20940 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20942 * progmodes/sym-comp.el (displayed-completions): Remove.
20943 (symbol-complete): Use minibuffer-complete.
20945 2009-08-31 Glenn Morris <rgm@gnu.org>
20947 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20949 * apropos.el (apropos-symbols-internal):
20950 Handle (obsolete) face aliases.
20952 * faces.el (describe-face): Adjust the output format to be more like
20953 describe-variable, and to mention (obsolete) face aliases.
20954 Adjust the whitespace so that help-setup-xref works.
20956 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20957 * calendar/diary-lib.el (diary-button-face):
20958 Mark these face aliases as obsolete.
20960 * calendar/calendar.el (calendar-today): Doc fix.
20962 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20964 * progmodes/gdb-mi.el (gdb-control-all-threads)
20965 (gdb-control-current-thread): Force tool bar update.
20966 (gdb-non-stop-handler): New function.
20967 (gdb-init-1): Use it to test if non-stop mode is supported.
20968 Remove unused gdbmi buffer type.
20970 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20972 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20973 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20975 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20977 * comint.el (comint-exec-1): Check command is non-null first.
20978 Part of gdb-mi.el change (2009-08-28).
20980 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20982 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20984 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20986 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20987 instead of `dolist' to avoid a recursive require when bootstrapping.
20989 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20991 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20993 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20995 * net/imap.el (imap-send-command): Simplify.
20996 (imap-wait-for-tag): point-max -> buffer-size.
20998 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
21000 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
21001 with constant argument.
21003 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
21005 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
21007 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
21008 Change default, since most of our files don't have a history.
21009 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
21012 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21015 * calc/calc.el: Improve commenting convention.
21016 (calc-digit-map, toplevel): Simplify.
21018 * comint.el (comint-insert-input): Be careful to only set point if we
21019 don't delegate to some other command.
21021 * proced.el (proced-signal-list): Make it an alist.
21022 (proced-grammar-alist): Capitalize names.
21023 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
21024 Disable undo manually and make it read-only.
21025 Use completion-annotate-function.
21027 * minibuffer.el (minibuffer-message): If the current buffer is not
21028 a minibuffer, insert the message in the echo area rather than at the
21030 (completion-annotate-function): New variable.
21031 (minibuffer-completion-help): Use it.
21032 (completion--embedded-envvar-table): Environment vars are
21033 always case-sensitive.
21035 2009-08-30 Glenn Morris <rgm@gnu.org>
21037 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21038 from fortran-current-defun.
21039 (fortran-beginning-of-subprogram): Be more precise about finding the
21040 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21041 (fortran-end-of-subprogram): Simplify.
21042 (fortran-current-defun): Use fortran-start-prog-re.
21044 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21046 * subr.el (do-after-load-evaluation): Simplify.
21048 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21050 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21052 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21053 (vc-rcs-print-log): Use it.
21055 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21057 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21059 * paths.el (abbrev-file-name): Move to abbrev.el.
21060 * abbrev.el (abbrev-file-name): Move from paths.el.
21061 Obey user-emacs-directory.
21062 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21063 user-emacs-directory.
21064 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21065 abbrev-file-name and calc-settings-file any more.
21066 * startup.el (command-line): Recompute abbrev-file-name and
21067 abbreviated-home-dir.
21068 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21069 of the special code for when C-h bindings haven't been changed.
21070 (display-startup-echo-area-message): Use with-current-buffer.
21071 (command-line-1): Use a list of strings, rather than a list of lists
21072 of strings for longopts.
21074 * files.el (get-free-disk-space): Use / for default-directory.
21076 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21077 Use with-current-buffer.
21079 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21080 Recognize immutable variables like most-positive-fixnum.
21081 (byte-compile-setq-default): Check and warn if trying to assign
21082 to an immutable variable, or a non-variable.
21084 * progmodes/cc-vars.el (c-comment-continuation-stars):
21085 * progmodes/cc-engine.el (c-looking-at-bos):
21086 * progmodes/cc-cmds.el (c-toggle-auto-state)
21087 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21088 (c-comment-line-break-function): Add version of obsolescence.
21090 2009-08-28 Juri Linkov <juri@jurta.org>
21092 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21093 associated with `archive-mode'.
21095 * image.el (image-type-header-regexps): Use only JPEG magic number
21096 to determine JPEG images, and don't use `image-jpeg-p' because
21097 Emacs can display non-JFIF non-Exif JPEG images.
21099 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21101 * arc-mode.el (archive-mode):
21102 * emacs-lisp/re-builder.el (re-builder-unload-function):
21103 Protect against the default value of `major-mode' being nil.
21105 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21107 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21108 Fix typos in docstrings.
21110 * progmodes/js.el (js--macro-decl-re): Doc fix.
21111 (js--plain-method-re, js--split-name): Refloc docstring.
21112 (js--class-styles, js--make-merged-item, js--splice-into-items):
21113 Fix typos in docstrings; reflow docstrings.
21114 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21115 (js--variable-decl-matcher, js--inside-pitem-p)
21116 (js--parse-state-at-point, js--get-all-known-symbols)
21117 (js--symbol-history, js-find-symbol, js--js-references)
21118 (js--moz-interactor, js--js-encode-value, js--read-tab):
21119 Fix typos in docstrings.
21121 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21123 * textmodes/reftex.el (reftex-get-file-buffer-force):
21124 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21125 * emulation/viper.el (viper-go-away, viper-set-hooks):
21126 * emacs-lisp/re-builder.el (re-builder-unload-function):
21127 * emacs-lisp/bytecomp.el (byte-compile-file):
21128 * ses.el (ses-unload-function):
21129 * hexl.el (hexl-find-file):
21130 * files.el (normal-mode):
21131 * ehelp.el (with-electric-help):
21132 * autoinsert.el (auto-insert-alist):
21133 * arc-mode.el (archive-mode):
21134 Use (default-value 'major-mode) instead of default-major-mode.
21136 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21137 * international/mule.el (load-with-code-conversion):
21138 * emacs-lisp/debug.el (debug):
21139 * ediff-vers.el (ediff-rcs-get-output-buffer):
21140 * dired.el (dired-internal-noselect): Don't let-bind
21141 default-major-mode around code that doesn't use it.
21142 E.g. buffer creation via get-buffer-create doesn't use it.
21144 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21146 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21147 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21148 when writing the temp file. Otherwise, epa-file gets confused.
21149 (tramp-register-file-name-handlers): Make it a defun. Move also
21150 `epa-file-handler' to the front of `file-name-handler-alist'.
21152 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21154 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21155 start right after a ^M.
21156 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21157 (tramp-completion-file-name-regexp-separate)
21158 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21159 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21160 Don't modify last-coding-system-used by accident.
21161 (tramp-completion-file-name-handler): Apply the checks here,
21162 instead during registration.
21163 (tramp-register-file-name-handlers): Rename from
21164 `tramp-register-file-name-handler'. Register both
21165 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21166 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21168 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21170 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21171 Remove variable ...
21172 (gdb-init-1, gdb-display-separate-io-buffer)
21173 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21175 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21176 (gdb-inferior-filter): Use comint-output-filter to stop
21177 echoing and remove ^M characters.
21179 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21181 * emulation/viper-init.el (viper-restore-cursor-type):
21182 * emulation/cua-base.el (cua--update-indications):
21183 Replace default-cursor-type with (default-value 'cursor-type).
21185 * mail/sendmail.el (mail-recover-1):
21186 * international/mule-diag.el (describe-current-coding-system-briefly)
21187 (describe-current-coding-system):
21188 * international/mule-cmds.el (select-safe-coding-system)
21189 (select-message-coding-system)
21190 (set-language-environment-coding-systems, set-locale-environment):
21191 * hexl.el (hexl-insert-multibyte-char):
21192 * dos-w32.el (find-buffer-file-type-coding-system):
21193 * simple.el (what-cursor-position):
21194 Replace uses of default-buffer-file-coding-system
21195 with (default-value 'buffer-file-coding-system).
21197 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21198 Replace uses of default-cursor-in-non-selected-windows
21199 with (default-value 'cursor-in-non-selected-windows).
21200 Use with-current-buffer.
21202 * mail/feedmail.el: Use CL macros.
21203 (feedmail-run-the-queue, feedmail-send-it-immediately):
21204 * dos-w32.el (find-buffer-file-type): Replace uses of
21205 default-buffer-file-type with (default-value 'buffer-file-type).
21207 2009-08-28 Glenn Morris <rgm@gnu.org>
21209 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21210 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21211 Use default-value of major-mode rather than default-major-mode.
21213 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21215 * Makefile.in (update-elcfiles): Report left over elc files.
21217 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21218 expand-file-name and with-current-buffer.
21219 (mail-get-names, mail-directory): Use with-current-buffer.
21221 * vc.el (vc-read-revision): New function.
21222 (vc-version-diff, vc-merge): Use it.
21224 2009-08-27 Sam Steingold <sds@gnu.org>
21226 * simple.el (kill-do-not-save-duplicates): New user option.
21227 (kill-new): When it is non-nil, and the new string is the same as
21228 the latest kill, set replace to t to avoid duplicates in kill-ring.
21230 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21232 * net/tramp.el (tramp-handle-process-file): Do not flush all
21233 caches when `process-file-side-effects' is set.
21234 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21235 instead of `tramp-find-file-exists-command'.
21236 Unset `process-file-side-effects'.
21238 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21240 * net/tramp.el (tramp-methods): New method "rsyncc".
21241 (top): Add completion function for "rsyncc".
21242 (tramp-message-show-message): New defvar.
21243 (tramp-message, tramp-error): Use it.
21244 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21246 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21247 `tramp-methods' entry `copy-env' of "rsyncc".
21248 (tramp-vc-registered-read-file-names): New defconst.
21249 (tramp-vc-registered-file-names): New defvar.
21250 (tramp-handle-vc-registered): Implement optimization strategy.
21251 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21252 (tramp-vc-file-name-handler): New defun.
21253 (tramp-get-ls-command, tramp-get-test-command)
21254 (tramp-get-file-exists-command, tramp-get-remote-ln)
21255 (tramp-get-remote-perl, tramp-get-remote-stat)
21256 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21258 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21259 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21261 (tramp-get-file-property): Check for timestamps in
21262 `tramp-cache-inhibit-cache'.
21263 (tramp-set-file-property): Write timestamp.
21265 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21267 * language/japan-util.el (japanese-symbol-table): Add entries for
21270 * international/characters.el: Add category `j' to cp932-2-byte.
21272 2009-08-27 Kenichi Handa <handa@m17n.org>
21274 * international/fontset.el (build-default-fontset-data): New macro.
21275 (setup-default-fontset): Use build-default-fontset-data for CJK,
21276 tibetan, ethiopic, and ipa.
21278 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21280 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21281 (enable-multibyte-characters): Not customizable any more.
21283 * subr.el (default-mode-line-format, default-header-line-format)
21284 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21285 (default-direction-reversed, default-truncate-lines)
21286 (default-left-margin, default-tab-width, default-case-fold-search)
21287 (default-left-margin-width, default-right-margin-width)
21288 (default-left-fringe-width, default-right-fringe-width)
21289 (default-fringes-outside-margins, default-scroll-bar-width)
21290 (default-vertical-scroll-bar, default-indicate-empty-lines)
21291 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21292 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21293 (default-scroll-down-aggressively, default-fill-column)
21294 (default-cursor-type, default-buffer-file-type)
21295 (default-cursor-in-non-selected-windows)
21296 (default-buffer-file-coding-system, default-major-mode)
21297 (default-enable-multibyte-characters): Mark as obsolete.
21299 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21301 * vc-dir.el (vc-dir-update): Remove debug helper.
21303 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21305 2009-08-26 Sam Steingold <sds@gnu.org>
21307 * simple.el (save-interprogram-paste-before-kill): New user option.
21308 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21309 save the interprogram-paste into kill-ring before overriding it
21310 with the Emacs kill.
21312 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21314 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21315 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21316 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21317 and move to vc-rcs.el.
21318 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21320 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21321 (vc-rcs-update-changelog): Remove.
21322 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21323 and move to vc-rcs.el.
21325 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21326 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21328 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21329 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21330 vc.el, renamed to be RCS specific.
21332 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21334 (vc-cvs-update-changelog): Move here from vc.el.
21336 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21339 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21341 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21343 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21345 * vc-git.el (vc-git-register): Use "git add" for directories.
21346 (vc-git-stash, vc-git-stash-show): New functions.
21347 (vc-git-extra-menu-map): Bind them.
21349 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21350 directory correctly in case the item is a directory itself.
21352 * vc.el: Document the desired behavior for reverted files in the
21354 (vc-default-prettify-state-info): Remove function, unused.
21356 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21358 2009-08-26 Glenn Morris <rgm@gnu.org>
21360 * bindings.el (standard-mode-line-format): Reposition dashes in
21361 which-func entry. (Bug#4217)
21363 * files.el (enable-local-variables, enable-local-eval)
21364 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21366 (auto-mode-alist, ignored-local-variables)
21367 (save-some-buffers-action-alist): Move risky declarations to the
21369 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21370 (font-lock-defaults, format-alist, imenu--index-alist)
21371 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21372 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21373 (mode-line-modified, mode-line-mule-info, mode-line-position)
21374 (mode-line-process, mode-line-remote, outline-level)
21375 (parse-time-rules, rmail-output-file-alist)
21376 (special-display-buffer-names, vc-mode):
21377 Move risky declarations to the relevant files.
21378 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21379 (mode-line-modified, mode-line-process, mode-line-position)
21380 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21381 * font-core.el (font-lock-defaults):
21382 * format.el (format-alist):
21383 * vc-hooks.el (vc-mode):
21384 * window.el (special-display-buffer-names):
21385 * international/mule-cmds.el (input-method-alist):
21386 Define riskiness here (dumped file) rather than in files.el.
21387 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21388 * imenu.el (imenu-generic-expression, imenu--index-alist):
21389 * outline.el (outline-level):
21390 * time.el (display-time-string):
21391 * calendar/parse-time.el (parse-time-rules):
21392 * mail/rmailout.el (rmail-output-file-alist):
21393 Autoload riskiness here, rather than placing in files.el.
21395 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21397 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21399 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21401 * simple.el (process-file-side-effects): New defvar.
21403 * dired-aux.el (dired-show-file-type):
21404 * vc.el (vc-diff-internal):
21405 * vc-arch.el (vc-arch-diff):
21406 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21407 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21408 * vc-git.el (vc-git-registered, vc-git-working-revision)
21409 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21410 (vc-git--empty-db-p):
21411 * vc-hooks.el (vc-user-login-name):
21412 * vc-svn.el (vc-svn-registered, vc-svn-state)
21413 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21414 * progmodes/grep.el (grep-probe): Let-bind
21415 `process-file-side-effects' with nil.
21417 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21419 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21420 daemon. Replace ping by checking for running service for bluez
21421 and zeroconf. (Bug#4239)
21423 2009-08-25 Kevin Ryde <user42@zip.com.au>
21425 * net/dig.el (dig): Add autoload cookie.
21427 2009-08-25 Glenn Morris <rgm@gnu.org>
21429 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21430 load-history for absolute file-names.
21431 (byte-compile-file-form-require): Warn about use of the cl package.
21433 * format.el (format-alist): Doc fix.
21435 * play/bubbles.el (top-level): Don't require cl at run-time.
21437 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21440 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21442 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21444 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21446 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21448 * calc/calc-alg.el (math-trig-rewrite)
21449 (math-hyperbolic-trig-rewrite): New functions.
21450 (calc-simplify): Simplify trig functions when asked.
21452 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21454 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21456 2009-08-24 Kenichi Handa <handa@m17n.org>
21458 * language/ind-util.el (mapthread): Delete it.
21459 (combinatorial): New function.
21460 (indian--puthash-cv): Use combinatorial instead of mapthread.
21462 2009-08-22 Kevin Ryde <user42@zip.com.au>
21464 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21465 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21466 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21467 Clarify docstring that the value is strings not symbols.
21468 (checkdoc-list-of-strings-p): New function.
21470 2009-08-22 Glenn Morris <rgm@gnu.org>
21472 * files.el (auto-mode-alist):
21473 * hippie-exp.el (he-concat-directory-file-name):
21474 * lpr.el (lpr-windows-system, printer-name):
21475 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21476 * ps-print.el (ps-windows-system):
21477 * startup.el (command-line):
21478 * emulation/viper-ex.el (viper-glob-function):
21479 * international/mule-cmds.el (set-language-environment-coding-systems):
21480 * net/ange-ftp.el (ange-ftp-write-region):
21481 * obsolete/fast-lock.el (fast-lock-cache-name):
21482 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21483 unisoft-unix, vax-vms, win32, w32.
21485 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21486 given name if the pattern is not more specific.
21488 * calendar/lunar.el (lunar-phase-names): New option.
21489 (lunar-phase): Doc fix.
21490 (lunar-cycles-per-year): New constant.
21491 (lunar-index): New function.
21492 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21493 (lunar-phase-name): Use lunar-phase-names.
21494 (calendar-lunar-phases): Use format.
21495 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21497 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21498 Copy imenu-example--name-and-position function here for own use.
21499 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21501 * bs.el (bs--redisplay):
21502 * cus-edit.el (custom-redraw):
21503 * ibuffer.el (ibuffer-bury-buffer):
21504 * server.el (server-goto-line-column):
21505 * startup.el (command-line-1):
21506 * strokes.el (strokes-xpm-for-stroke):
21507 * term.el (term-display-buffer-line):
21508 * view.el (View-goto-line):
21509 * calc/calc.el (calc-do, calc-trail-buffer):
21510 * play/gamegrid.el (gamegrid-add-score-insecure):
21511 * progmodes/ada-mode.el (ada-compile-goto-error):
21512 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21513 (ebrowse-select-1st-to-9nth):
21514 * progmodes/cperl-mode.el (cperl-time-fontification):
21515 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21516 * progmodes/gud.el (gud-display-line):
21517 (idlwave-shell-display-line):
21518 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21519 * progmodes/make-mode.el (makefile-browser-toggle):
21520 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21521 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21522 * textmodes/picture.el (picture-draw-rectangle):
21523 * textmodes/reftex-index.el (reftex-index-goto-letter):
21524 (reftex-select-jump-to-previous):
21525 * textmodes/reftex-sel.el (reftex-find-start-point)
21526 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21527 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21528 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21529 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21530 * textmodes/two-column.el (2C-associated-buffer):
21531 Use forward-line rather than goto-line.
21533 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21536 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21537 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21538 (quick-check-list-to-regexp): Declare.
21540 * progmodes/make-mode.el (makefile-browser-insert-selection):
21541 Use goto-char rather than goto-line.
21543 * progmodes/prolog.el (compilation-error-regexp-alist)
21544 (compilation-forget-errors): Declare.
21546 2009-08-22 Juri Linkov <juri@jurta.org>
21548 * progmodes/grep.el (lgrep, rgrep): At the beginning
21549 set `dir' to `default-directory' unless `dir' is a non-nil
21550 readable directory. (Bug#4052)
21551 (lgrep, rgrep): Change a weird way to report an error
21552 from using `read-string' to using `error'.
21553 Instead of using interactive arguments in the function body,
21554 add new argument `confirm'.
21556 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21558 * textmodes/remember.el (remember-buffer):
21559 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21560 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21561 (icalendar-extract-ical-from-buffer):
21562 * net/newst-treeview.el (newsticker-groups-filename):
21563 * net/newst-backend.el (newsticker-cache-filename):
21564 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21565 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21566 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21567 (speedbar-buffers-line-path, speedbar-path-line)
21568 (speedbar-buffers-line-path):
21569 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21571 * epa.el (epa-display-verify-result):
21572 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21574 2009-08-21 Glenn Morris <rgm@gnu.org>
21576 * progmodes/js.el (inferior-moz-process): Fix declaration.
21578 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21580 * obsolete/rnewspost.el (news-mail-reply):
21581 Use goto-char rather than goto-line.
21583 * term/ns-win.el (ns-open-file-select-line):
21584 Use line-beginning-position rather than goto-line.
21586 * apropos.el (apropos-command):
21587 * ehelp.el (electric-helpify):
21588 * printing.el (pr-show-setup):
21589 * strokes.el (strokes-help):
21590 * tutorial.el (tutorial--describe-nonstandard-key)
21591 (tutorial--detailed-help):
21592 * woman.el (woman-mini-help, woman-display-extended-fonts):
21593 * calc/calc-help.el (calc-describe-key):
21594 * emulation/edt.el (edt-electric-helpify):
21595 * international/mule-diag.el (mule-diag):
21596 * play/yow.el (apropos-zippy):
21597 * progmodes/python.el (python-describe-symbol):
21598 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21599 * textmodes/table.el (*table--cell-describe-mode)
21600 (*table--cell-describe-bindings):
21601 Use help-print-return-message rather than the now obsolete alias.
21603 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21604 (calendar-cursor-to-visible-date):
21605 * play/5x5.el (5x5-position-cursor):
21606 * play/decipher.el (decipher):
21607 * play/gomoku.el (gomoku-goto-xy):
21608 * play/landmark.el (lm-goto-xy):
21609 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21610 (mpuz-paint-digit):
21611 Use forward-line, not goto-line.
21613 * mail/rmail.el (rmail-obsolete): Delete custom group.
21614 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21615 (rmail-remote-password, rmail-remote-password-required):
21616 Remove unneeded :set-after and :set properties.
21618 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21620 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21622 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21624 * loadup.el: Remove leftover macos code.
21626 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21627 Explicitly pass the date format to git blame so that user local
21628 so that the output format can be parsed.
21630 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21632 * net/dbus.el (top): Don't check for (getenv
21633 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21635 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21637 * log-edit.el (log-edit-strip-single-file-name): New var.
21638 (log-edit-insert-changelog): Use it. Bug#3571.
21640 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21642 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21645 * help.el (help-print-return-message): Rename from
21646 print-help-return-message.
21648 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21649 cvs-mode-map parent hack.
21650 (log-view-mode): Derive from special-mode.
21652 * linum.el (linum-mode): window-size-change-functions is redundant.
21653 Adapt to new window-configuration-change-hook behavior.
21654 (linum-after-size, linum-after-config): Remove.
21656 * imenu.el (imenu-example--name-and-position)
21657 (imenu-example--lisp-extract-index-name)
21658 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21661 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21662 (inferior-prolog-mode): Use it.
21663 (inferior-prolog-load-file): Reset list of errors.
21665 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21667 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21669 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21671 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21673 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21674 is running already.
21676 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21678 * subr.el (listify-key-sequence-1): Use normal syntax since those
21679 integers are nowadays always represented by the same (positive) number
21681 (read-key-empty-map): New const.
21682 (read-key-delay): New var.
21683 (read-key): New function.
21684 (force-mode-line-update): Use with-current-buffer.
21685 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21686 (start-process-shell-command, start-file-process-shell-command):
21687 Discourage the use of command-args.
21689 2009-08-19 Glenn Morris <rgm@gnu.org>
21691 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21693 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21695 * simple.el (choose-completion-string): Don't rely on
21696 minibuffer-completing-file-name and ad-hoc checks to decide whether
21697 to continue completion or not.
21699 * minibuffer.el (minibuffer-hide-completions): New function.
21700 (completion--do-completion): Use it.
21701 (completions-annotations): New face.
21702 (completion--insert-strings): Use it.
21703 (completion-pcm--delim-wild-regex): Add docstring.
21704 (completion-pcm--string->pattern): Add support for 0-width delimiters
21705 in completion-pcm--delim-wild-regex.
21707 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21709 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21710 Remove unused var `buffer-modified-p'.
21712 * minibuffer.el (completion--do-completion): Move point for the #b001
21713 case as well (bug#4176).
21714 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21716 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21718 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21719 and :session buses.
21721 2009-08-18 Kenichi Handa <handa@m17n.org>
21723 * international/ucs-normalize.el (ucs-normalize-version):
21725 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21726 (utf-8-hfs): Make it perform normalization on encoding too.
21728 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21729 (sentence-end-without-space): Delete duplicated chars.
21730 (sentence-end-base): Likewise.
21732 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21733 (html-mode): Delete duplicated chars from sentence-end-base.
21735 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21736 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21738 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21740 * files.el (hack-one-local-variable): If the mode function is for
21741 a minor mode, pass it an argument (Bug#4148).
21743 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21745 * net/tramp.el (tramp-register-completion-file-name-handler):
21746 Check also for (member 'partial-completion completion-styles).
21748 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21750 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21753 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21755 * progmodes/cperl-mode.el: Merge upstream 6.2.
21756 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21757 (cperl-forward-re): Check cperl-brace-recursing.
21758 (cperl-highlight-charclass): New function.
21759 (cperl-find-pods-heres): Use it.
21760 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21761 (cperl-beautify-regexp-piece): Fix column calculation.
21762 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21763 (cperl-beautify-level): Don't process entire regexp.
21764 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21766 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21767 (cperl-init-faces): Build a list in the normal way.
21769 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21771 * calendar/parse-time.el (parse-time-string-chars): Save match
21774 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21776 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21777 (sql-product): Use it.
21778 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21779 (sql-set-product): Add completion.
21780 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21781 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21782 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21783 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21784 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21785 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21786 (sql-highlight-db2-keywords): Remove.
21787 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21788 (sql-highlight-product): Use derived-mode-p.
21789 (sql-set-sqli-buffer): Use with-current-buffer.
21790 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21793 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21795 * term.el: Fix commenting convention, turn comments into docstrings.
21797 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21799 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21801 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21803 * calendar/parse-time.el (parse-time-string-chars): Compute using
21804 character classes, to handle non-ascii characters (Bug#3190).
21806 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21808 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21809 another heredoc if the user adds another < (Bug#3226).
21811 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21812 Don't initialize based on window-system (Bug#4124).
21814 * facemenu.el (facemenu-read-color): Use a completion function
21815 that accepts any defined color, such as RGB triplets (Bug#3677).
21817 * files.el (get-free-disk-space): Change fallback default
21818 directory to /. Expand DIR argument before switching to fallback.
21819 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21821 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21823 * files.el (load-library): Doc fix.
21825 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21827 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21828 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21829 incremental search string.
21831 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21834 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21835 (ediff-merge-region-is-non-clash)
21836 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21837 Also check if the job is really a merge job.
21839 * ediff.el (ediff-current-file): New function.
21841 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21843 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21845 (js-insert-and-indent): Delete function.
21846 (js-mode-map): Don't bind keys to js-insert-and-indent.
21847 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21848 (js-end-of-defun): Rename from js--end-of-defun.
21849 (js-auto-indent-flag): Delete variable.
21851 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21853 * progmodes/js.el: Remove proclaim statement.
21854 Defvar which-func-imenu-joiner-function to silence compiler.
21856 * files.el (auto-mode-alist): Use js-mode for .js files.
21858 * progmodes/js2-mode.el: Remove file.
21860 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21862 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21864 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21866 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21867 Karl Landstrom <karl.landstrom@brgeight.se>
21869 * progmodes/js.el: New file.
21871 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21873 * timezone.el (timezone-parse-date): Add ability to understand ISO
21874 basic format (minimal separators) dates in addition to the
21875 already-supported extended format dates.
21877 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21879 * international/ucs-normalize.el: Add a `coding' file variable.
21881 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21883 2009-08-14 Sam Steingold <sds@gnu.org>
21885 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21887 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21889 * faces.el (help-argument-name): Define it here instead of
21890 help-fns.el, because in daemon mode help-fns.el may be loaded when
21891 faces are still uninitialized (Bug#1078).
21893 * help-fns.el (help-argument-name): Move defface to faces.el.
21895 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21897 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21898 create buffer with a pty but no process so that GDB can make the
21899 inferior the controlling process.
21901 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21903 * international/ucs-normalize.el: New file.
21905 2009-08-13 Richard Stallman <rms@gnu.org>
21907 * mail/rmail.el (rmail-get-attr-names):
21908 Accept an attribute header that is too short.
21910 * mail/rmail.el (rmail-forget-messages):
21911 Ignore nil elt in rmail-message-vector. Use dotimes.
21913 * progmodes/compile.el (compilation-goto-locus):
21914 Use next-error-move-function.
21916 * simple.el (next-error-move-function): New variable.
21918 2009-08-12 Juri Linkov <juri@jurta.org>
21920 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21921 always non-nil. (Bug#4052)
21923 * replace.el (read-regexp): Return empty string when
21924 `default-value' is nil.
21925 (keep-lines-read-args): Don't use empty string as the
21926 default value for `read-regexp'. (Bug#2495)
21928 2009-08-12 Juri Linkov <juri@jurta.org>
21930 * international/mule-cmds.el (ucs-insert): Change arguments
21931 from `arg' to `character', `count', `inherit' to be the same
21932 as in `insert-char'. Doc fix. (Bug#4039)
21934 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21936 2009-08-12 Juri Linkov <juri@jurta.org>
21938 * files-x.el: New file.
21940 * files.el: Move code that deals with adding/deleting
21941 file/directory-local variables to files-x.el.
21943 * Makefile.in (ELCFILES): Add files-x.elc.
21945 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21947 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21948 to use `goto-line'.
21949 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21951 (gdb-invalidate-disassembly): Do not refresh upon receiving
21952 'update signal. Instead, update all disassembly buffers only after
21954 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21955 (gdb-starting): Move -data-list-register-names...
21956 (gdb-stopped): ...here so it's sent when first thread stops.
21957 (gdb-registers-handler-custom): Do nothing if register names are
21960 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21961 from `gdb-mi.el' to avoid extra tangling.
21963 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21964 change which breaks `gud-def' definitions used in `gdb'.
21965 (gdb-update-gud-running): No extra fuss for updating frame number.
21967 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21969 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21970 (describe-language-environment-map, setup-language-environment-map)
21971 (set-coding-system-map): Move initialization into declaration.
21972 (set-language-info-alist): Last arg to define-key-after can be skipped.
21974 * international/quail.el (quail-completion-1): Simplify.
21975 (quail-define-rules): Use slightly more compact code.
21976 (quail-insert-decode-map): Propertize keys, compact columns.
21978 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21981 2009-08-10 Miles Bader <miles@gnu.org>
21983 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21984 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21985 (js2-instance-member, js2-private-member, js2-private-function-call)
21986 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21987 (js2-magic-paren, js2-external-variable):
21988 Remove "-face" suffix from face names.
21989 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21990 (js2-highlight-undeclared-vars, js2-peek-token)
21991 (js2-parse-function-params, js2-mode-show-errors)
21992 (js2-mode-show-warnings, js2-make-magic-delimiter)
21993 (js2-mode-highlight-magic-parens): Update to use new face names.
21995 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21997 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21998 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
22000 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
22002 * subr.el: Provide hashtable-print-readable.
22004 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
22005 hs-c-like-adjust-block-beginning.
22006 (hs-hide-block-at-point): Stop hiding at the beginning of
22007 hs-block-end-regexp (Bug#700).
22009 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
22011 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
22013 (gdb-registers-handler-custom): Do not fail when register names
22016 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22018 * progmodes/gdb-mi.el (gdb-control-all-threads)
22019 (gdb-control-current-thread): Interactive setters for
22020 `gdb-gud-control-all-threads' to use in menu.
22021 (gdb-show-run-p): Show «Go» when process is not active.
22022 (gud-tool-bar-map): Add non-stop/A,T indicator.
22023 Uses gud/thread.xpm and gud/all.xpm.
22025 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
22027 * net/net-utils.el (net-utils-font-lock-keywords): New var.
22028 (nslookup-font-lock-keywords): Make it a variable.
22029 (net-utils-mode): New mode for viewing diagnostic network output.
22030 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22031 (net-utils-run-simple): New function.
22032 (ifconfig, iwconfig, netstat, arp, route): Use it.
22034 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22036 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22037 (gdb-memory-set-address, def-gdb-set-positive-number)
22038 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22039 after changing settings.
22040 (gdb-invalidate-disassembly): Update when first shown.
22041 (gdb-edit-locals-value): Fix.
22042 (gdb-registers-handler-custom): Print registers in right order and
22043 allow changing register values (only for current thread yet).
22044 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22045 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22046 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22047 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22048 Thread info in mode name.
22049 (gdb-registers-mode-map): TAB to switch to locals.
22051 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22053 * mail/rmail.el (rmail-add-mbox-headers)
22054 (rmail-set-message-counters-counter): Search for
22055 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22057 2009-08-08 Glenn Morris <rgm@gnu.org>
22059 * Makefile.in (ELCFILES): Update.
22061 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22063 * mail/sendmail.el (mail-yank-original):
22064 Set buffer-file-coding-system from the one used by the message whose
22067 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22068 to "windows" when "pgnuplot" is used.
22069 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22070 Don't call accept-process-output if "pgnuplot" is used.
22071 (calc-graph-init): Don't send -display and -geometry to
22072 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22073 running "pgnuplot -V" with shell-command-to-string.
22075 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22078 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22080 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22083 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22085 * vc-dispatcher.el (vc-resynch-window): Update comment.
22087 * term.el (term-handle-ansi-escape): Add comments with the
22088 terminfo capabilities implemented.
22090 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22092 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22093 (gdb-var-create-handler): Rewritten using JSON parser.
22094 (gdb-propertize-header): Move earlier.
22095 (gdb-set-header): Remove to avoid duplication.
22096 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22097 Refresh disassembly buffers only after threads list have been
22099 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22102 2009-08-04 Juri Linkov <juri@jurta.org>
22104 * files.el: Commands to add/delete file/directory-local variables.
22105 (read-file-local-variable, read-file-local-variable-value)
22106 (read-file-local-variable-mode, modify-file-local-variable)
22107 (modify-file-local-variable-prop-line)
22108 (modify-dir-local-variable): New functions.
22109 (add-file-local-variable, delete-file-local-variable)
22110 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22111 (add-dir-local-variable, delete-dir-local-variable)
22112 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22113 (copy-dir-locals-to-file-locals-prop-line): New commands.
22115 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22117 * abbrev.el (insert-abbrev-table-description): Prettify output.
22118 Suggested by Karl Chen.
22120 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22122 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22123 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22124 (gdb-overlay-arrow-position, gdb-thread-position)
22125 (gdb-disassembly-position): Declare variables.
22126 (gdb-wait-for-pending): Function now.
22127 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22128 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22129 compilation goes smoothly.
22130 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22131 (gdb-non-stop-setting): New customization setting which replaces
22132 `gdb-non-stop' so changing it doesn't break active GDB session.
22133 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22134 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22135 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22136 (gdb-show-threads-by-default): New customization options.
22137 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22139 (gdb-get-buffer-create): Send buffers update signal when they are
22141 (gdb-invalidate-locals, gdb-invalidate-registers)
22142 (gdb-invalidate-breakpoints)
22143 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22144 (gdb-invalidate-memory): Accept update signal.
22145 (gdb-current-context-command): Use --frame option.
22146 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22147 Implement `gdb-frame-number' selection logic.
22148 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22149 whether to show GUD toolbar buttons.
22150 (gdb-thread-exited): Unselect current thread when it exits.
22151 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22152 (gdb-mark-line): Routine which sets overlay arrow or inverses
22153 video on fringeless displays.
22154 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22155 to build aligned columns of data in GDB buffers and set text
22156 properties line-by-line.
22157 (gdb-invalidate-breakpoints)
22158 (gdb-breakpoints-list-handler-custom)
22159 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22160 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22161 (gdb-registers-handler-custom): Align data columns.
22162 (gdb-locals-handler-custom): Now prints data like in variable
22164 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22165 Remove confusing buttons.
22166 (gdb-invalidate-threads): Append --frame.
22167 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22168 between breakpoints/threads buffers.
22169 (gdb-set-window-buffer): Now can ignore dedicated windows.
22170 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22171 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22172 (def-gdb-thread-buffer-gud-command): Replaces
22173 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22174 for fine thread control.
22175 (gdb-preempt-existing-or-display-buffer): New function used to
22176 display bound buffers without breaking window layout.
22177 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22178 (gdb-select-frame): New version of `gdb-frames-select' which now
22179 sets `gdb-frame-number' so commands may use --frame option instead
22180 of inner debugger state.
22181 (gdb-frame-handler): Do not set `gdb-frame-number'.
22182 (gdb-threads-mode-map): Select threads with mouse.
22184 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22185 avoid compilation warning.
22186 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22189 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22190 Argument `key' renamed to `buffer-type'.
22191 (gdb-current-context-buffer-name): Do not add thread info to
22192 buffer name when no thread is selected.
22193 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22194 command (bug 3794).
22195 (gdb-thread-selected): Handle `=thread-selected' notification.
22196 (gdb-wait-for-pending): New macro to deal with congestion problems.
22197 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22199 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22200 This fixes problem similar to one described in bug 3947.
22201 (gud-menu-map): More menu items.
22202 (gdb-init-1): Reset `gdb-thread-number' to nil.
22204 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22207 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22208 (gdb-current-context-command): Do not append --thread if
22209 `gdb-thread-number' is nil.
22210 (gdb-running-threads-count, gdb-stopped-threads-count):
22212 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22213 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22214 New customization options.
22215 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22217 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22218 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22219 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22220 set `gdb-thread-number' and update `gud-running' properly.
22221 (gdb-running): Update threads list when new threads appear.
22222 (gdb-stopped): Support non-stop operation and new thread switching
22224 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22225 (gdb-json-partial-output): New set of JSON routines.
22226 (def-gdb-auto-update-trigger): New `signal-list' optional
22228 (gdb-thread-list-handler-custom): Update `gud-running',
22229 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22230 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22231 (gdb-continue-thread, gdb-step-thread): New commands for fine
22232 thread execution control.
22233 (gud-menu-map): New menu items to switch non-stop options.
22234 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22235 (gdb-send): Mimic RET properly (bug 3794).
22237 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22238 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22240 (def-gdb-auto-update-handler): New nopreserve optional argument.
22241 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22243 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22244 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22245 (gdb-parent-mode): New mode to derive other GDB modes from.
22246 (gdb-display-disassembly-for-thread)
22247 (gdb-frame-disassembly-for-thread): New commands for threads
22250 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22251 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22252 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22253 (gdb-update): We now store all GDB buffers in a list so that they
22254 can be updated by traversing a list instead of calling invalidate
22255 triggers explicitly.
22256 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22257 pair for GDB buffer.
22258 (gdb-stack-buffer-name): Add thread information.
22259 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22260 handle pending triggers.
22261 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22262 (def-gdb-thread-buffer-simple-command)
22263 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22264 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22265 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22266 New commands which show buffers bound to thread.
22267 (gdb-stack-list-locals-regexp): Remove unused regexp.
22269 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22270 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22271 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22272 to (gud-comint-buffer) in *-buffer-name functions
22273 because (gdb-get-target-string) already does that.
22274 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22275 (gdb-changed-registers-handler): Rewritten without regexps.
22277 * progmodes/gdb-mi.el: Basic thread selection support.
22278 (gdb-thread-number): New variable.
22279 (gdb-current-context-command): New macro which adds --thread
22281 (gdb-threads-mode-map): Select thread with SPC.
22282 (gdb-thread-list-handler-custom): Mark current thread with overlay
22283 arrow. Synchronize GDB thread and Emacs thread.
22284 (gdb-select-thread): New command which selects current thread.
22285 (gdb-invalidate-frames, gdb-invalidate-locals)
22286 (gdb-invalidate-registers): Use --thread option.
22288 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22290 * net/tramp.el (top): Make check for tramp-gvfs loading more
22292 (tramp-handle-insert-file-contents): `unwind-protect' must be
22293 inside `with-parsed-tramp-file-name'.
22295 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22298 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22300 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22301 directory if CLASSPATH is not set.
22303 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22305 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22307 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22309 2009-08-02 Kevin Ryde <user42@zip.com.au>
22311 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22312 Update freshmeat link. Delete newsforge.com as it seems gone.
22314 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22316 * select.el (x-set-selection): Doc fix (Bug#4021).
22318 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22320 * help-fns.el (describe-variable): Treat list return values from
22321 dir-locals-find-file properly (Bug#4005).
22323 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22325 * net/tramp.el (tramp-debug-message): Print also microseconds.
22327 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22329 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22331 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22332 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22335 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22336 (tramp-get-file-property): Use it.
22338 * autorevert.el (auto-revert-handler):
22339 Allow `auto-revert-tail-mode' for remote files.
22341 2009-08-02 Jason Rumney <jasonr@gnu.org>
22343 * minibuffer.el (read-file-name): Treat confirm options to
22344 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22346 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22348 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22349 (font-lock-variable-name-face, font-lock-constant-face):
22350 Darken the colors for light backgrounds.
22352 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22354 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22355 month names. (Bug#3987)
22357 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22359 * simple.el (line-move-finish): Pass whole number to
22360 line-move-to-column.
22361 (line-move-visual): Perform hscroll to the recorded position.
22363 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22365 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22367 2009-07-29 Alan Mackenzie <acm@muc.de>
22369 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22371 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22373 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22374 (gdb-place-breakpoints): Use full path when setting breakpoints.
22376 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22378 * calc/calc.el (calc-mode-map): Add keybinding for
22379 `calc-transpose-lines'.
22381 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22383 * calc/calc-misc.el (calc-transpose-lines): New function.
22385 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22387 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22388 Simplify check for out-of-band methods.
22389 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22390 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22392 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22394 * vc-git.el (vc-git-checkin): Fix typo.
22396 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22398 * progmodes/js2-mode.el: New file.
22400 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22402 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22403 (gud-menu-map): Adjust tooltip accordingly.
22405 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22407 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22408 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22410 * add-log.el (change-log-mode-map): Add a menu.
22412 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22414 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22415 function returns nil.
22416 (dbus-handle-event): Handle special return value :ignore.
22417 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22419 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22421 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22424 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22428 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22430 * term/pc-win.el (x-display-name, x-colors)
22431 (x-select-enable-clipboard, x-select-text): Doc fix.
22433 * term/common-win.el (x-display-name, x-colors): Doc fix.
22435 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22436 (xw-defined-colors): Doc fix.
22438 * w32-fns.el (x-select-text, x-setup-function-keys)
22439 (x-get-selection, x-set-selection): Doc fix.
22441 * term/x-win.el (x-select-text, x-setup-function-keys)
22442 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22444 * select.el (x-set-selection): Doc fix.
22446 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22448 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22449 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22450 "IsNSSSupportAvailable" method is not available.
22451 Reported by Steve Youngs <steve@sxemacs.org>.
22453 2009-07-24 Kenichi Handa <handa@m17n.org>
22455 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22456 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22457 (build-unicode-category-table): Fix range checks.
22459 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22461 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22462 the buffer we try to sync is current when calling
22465 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22466 not show up to date files.
22468 2009-07-24 Glenn Morris <rgm@gnu.org>
22470 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22471 Add autoload cookies. If necessary, initialize.
22472 (elint-log): Handle non-file buffers.
22473 (elint-initialize): Add optional argument to reinitialize.
22474 (elint-find-builtin-variables): Save excursion.
22476 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22478 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22481 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22483 * vc.el (vc-print-log-internal): New function, split out from ...
22484 (vc-print-log): ... here.
22485 (vc-dir-move-to-goal-column): Declare.
22487 * vc-git.el (vc-git-add-signoff): New variable.
22488 (vc-git-checkin): Use it.
22489 (vc-git-toggle-signoff): New function.
22490 (vc-git-extra-menu-map): Bind it to menu.
22491 (vc-git--run-command-string): Accept a nil FILE argument.
22492 (vc-git-stash-list): New function.
22493 (vc-git-dir-extra-headers): Use it.
22495 2009-07-23 Glenn Morris <rgm@gnu.org>
22497 * help-fns.el (describe-variable): Describe ignored and risky local
22498 variables in a similar way to that in which we describe safe ones.
22500 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22501 (byte-compile-output-file-form, byte-compile-output-docform)
22502 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22503 Give some more local variables with common names a "bytecomp-" prefix,
22504 so as not to shadow things during compilation.
22505 * emacs-lisp/cl-macs.el (load-time-value)
22506 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22507 `outbuffer' to `bytecomp-outbuffer'.
22509 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22510 since the next two variables cover them automatically now.
22511 (elint-builtin-variables, elint-autoloaded-variables): New.
22512 (elint-unknown-builtin-args): Remove all members, since they can be
22513 parsed automatically now.
22514 (elint-extra-errors): New.
22515 (elint-env-add-env, elint-env-add-macro): Use cadr.
22516 (elint-current-buffer): Use or. Change final message.
22517 (elint-get-top-forms): Use line-end-position.
22518 (elint-init-env): Use cadr. Handle autoload, declare-function,
22520 (elint-add-required-env): Doc fix. Use or. Standardize error.
22521 (regexp-assoc): Remove unused function.
22522 (elint-top-form): Set elint-current-pos, to record the start of the
22523 top-level form, for compilation-mode.
22524 (elint-form): Trap errors in macro expansion. Use dolist.
22525 (elint-unbound-variable): Use elint-builtin-variables and
22526 elint-autoloaded-variables.
22527 (elint-get-args): Use cadr, or.
22528 (elint-check-cond-form): Use dolist, cadr.
22529 (elint-check-condition-case-form): Doc fix. Use cadr.
22530 Use elint-extra-errors.
22531 (elint-log): New function.
22532 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22533 Distinguish errors and warnings.
22534 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22535 Use a bytecomp-style format.
22536 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22537 (elint-get-log-buffer): Use compilation mode. Disable undo.
22538 Don't truncate lines.
22539 (elint-initialize): Set builtin and autoloaded variable lists.
22540 Only process elint-unknown-builtin-args if non-nil.
22541 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22543 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22545 2009-07-22 Kevin Ryde <user42@zip.com.au>
22547 * net/newst-backend.el (newsticker--parse-atom-1.0)
22548 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22549 (newsticker--parse-rss-1.0):
22550 * progmodes/idlwave.el (idlwave-mode):
22551 * progmodes/idlw-shell.el (idlwave-shell-mode):
22552 * progmodes/vera-mode.el (vera-mode):
22553 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22554 * progmodes/vhdl-mode.el (vhdl-mode):
22555 * textmodes/table.el (table-generate-source)
22556 (table--warn-incompatibility):
22557 Hyperlink urls in docstrings with URL `...'.
22559 2009-07-22 Glenn Morris <rgm@gnu.org>
22561 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22562 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22563 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22564 Remove leading * from defcustom docs.
22566 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22568 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22570 (list-load-path-shadows): Optionally, just return shadows as a string.
22572 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22574 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22576 * mail/rmailedit.el (rmail-edit-mode):
22577 Use auto-save-include-big-deletions.
22579 * mail/rmail.el (rmail-variables):
22580 Use auto-save-include-big-deletions.
22582 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22585 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22587 * calc/calc.el (calc-undo-length): New variable.
22588 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22590 2009-07-21 Richard Stallman <rms@gnu.org>
22592 * files.el (auto-save-mode): Handle buffer-save-size = -2
22595 2009-07-21 Glenn Morris <rgm@gnu.org>
22597 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22599 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22601 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22602 silence compiler. Instead...
22603 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22604 (ps-print-ensure-fontified): Update for above function name changes.
22606 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22607 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22608 silence compiler. Instead...
22609 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22610 (mh-show-buffer): Only define for compiler.
22611 (pr-mh-current-message): Update for above function name changes.
22613 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22615 (find-file-noselect, insert-file-1): Update for above change.
22617 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22619 * mail/mailclient.el (mailclient-send-it): Fix message.
22621 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22622 (edebug-eval): Check cl-debug-env is bound.
22623 (print-level, print-circle): Don't redefine built-in variables.
22625 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22626 (custom-print-vectors): Remove old comments from doc.
22628 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22629 (emerge-version): Make the variable an obsolete alias for the
22630 emacs-version variable. Make the function obsolete.
22631 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22632 Emerge options, rather than merging in into the main Options menu.
22633 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22634 and auto advance modes. Disable edit/fast items when not relevant.
22636 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22638 * term/vt420.el (terminal-init-vt420): Fix typo.
22640 2009-07-20 Sam Steingold <sds@gnu.org>
22642 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22643 variable (removed from compile.el on 2004-03-11).
22645 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22647 * files.el (hack-local-variables-filter): Fix last change.
22649 2009-07-19 Juri Linkov <juri@jurta.org>
22651 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22652 (dir-local-variables-alist): New buffer-local variable.
22653 (hack-local-variables-filter): If variable is not dir-local,
22654 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22655 because file-local overrides dir-local.
22656 (c-postprocess-file-styles) <declare-function>:
22657 Remove obsolete declaration.
22658 (hack-dir-local-variables): Add dir-local variable/value pair to
22659 `dir-local-variables-alist' and remove duplicates. Doc fix.
22661 * help-fns.el (describe-variable): Add information about
22662 file-local and dir-local variables.
22664 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22666 * files.el (hack-local-variables-filter): Rewrite.
22668 2009-07-19 Glenn Morris <rgm@gnu.org>
22670 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22671 Silence compiler by only defining on XEmacs.
22673 * international/mule.el (auto-coding-regexp-alist): Only match
22674 BABYL... at the start of buffer, not of lines. (Bug#3790)
22676 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22677 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22678 (cal-menu-context-mouse-menu): Doc fix.
22680 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22682 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22684 2009-07-18 Juri Linkov <juri@jurta.org>
22686 * info.el: Virtual Info keyword finder.
22687 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22688 (Info-finder-file): New variable.
22689 (Info-finder-find-file): New function.
22690 (finder-known-keywords, finder-package-info)
22691 (find-library-name, lm-commentary): Use defvar and
22692 declare-function to silence compiler warnings.
22693 (Info-finder-find-node): New function.
22694 (info-finder): New command.
22696 * subr.el (process-kill-buffer-query-function): New function.
22697 (add-hook)<kill-buffer-query-functions>: Add hook
22698 `process-kill-buffer-query-function'.
22700 2009-07-18 Alan Mackenzie <acm@muc.de>
22702 * progmodes/cc-mode.el (c-before-hack-hook)
22703 (c-postprocess-file-styles): Give invocation of `c-set-style'
22704 DONT-OVERRIDE parameter of t. Already set style variables will
22705 thus not be overridden by style settings given by `c-file-syle'.
22707 * files.el (hack-local-variables-filter): Remove entries with
22708 duplicate keys from `file-local-variables-alist'.
22710 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22712 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22713 x-set-selection if display-selections-p returns nil for the
22716 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22718 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22720 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22722 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22723 Accept nil in addition to a regexp.
22724 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22725 Accept nil in addition to a regexp.
22726 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22727 buffers that have an associated file. Handle nil values of
22728 desktop-buffers-not-to-save and desktop-files-not-to-save.
22731 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22732 (x-disown-selection-internal): New functions.
22734 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22736 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22738 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22739 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22741 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22743 * simple.el (set-mark): Revert last change.
22745 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22747 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22748 rendering of pngs is not possible instead of messaging a long
22751 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22753 * w32-fns.el (x-selection-owner-p): New function.
22755 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22756 (mouse-yank-at-click, mouse-yank-primary):
22757 If select-active-regions is non-nil, deactivate the mark before
22760 * simple.el (deactivate-mark, set-mark): Only save selection if we
22763 2009-07-17 Kenichi Handa <handa@m17n.org>
22765 * case-table.el (describe-buffer-case-table): Fix for the case
22766 that KEY is a cons.
22768 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22770 * vc-rcs.el (vc-rcs-find-file-hook):
22771 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22773 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22775 * net/tramp.el (tramp-wait-for-output): Handle the case when
22776 commands do not return a newline but a null byte before the shell
22779 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22781 * term/ns-win.el (ns-set-alpha): Don't declare.
22782 (ns-set-background-alpha): Remove function.
22784 2009-07-16 Kevin Ryde <user42@zip.com.au>
22786 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22787 y-or-n-p, for safety.
22789 2009-07-16 Richard Stallman <rms@gnu.org>
22791 * files.el (auto-save-mode): If buffer-saved-size is -2,
22794 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22795 (rmail-retry-ignored-headers): Add more uninteresting fields.
22797 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22799 * net/rcirc.el (rcirc): Use history variables.
22800 (rcirc-server-name-history, rcirc-nick-name-history)
22801 (rcirc-server-port-history): New variables.
22803 2009-07-15 Kenichi Handa <handa@m17n.org>
22805 * international/mule-cmds.el (set-language-environment-charset):
22806 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22809 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22810 Delete unibyte-display.
22812 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22814 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22816 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22818 * simple.el (deactivate-mark): Optional argument FORCE.
22819 (set-mark): Use deactivate-mark.
22821 * info.el (Info-search): No need to check transient-mark-mode
22822 before calling deactivate-mark.
22824 * select.el (x-set-selection): Doc fix.
22825 (x-valid-simple-selection-p): Allow buffer values.
22826 (xselect--selection-bounds): Handle buffer values.
22827 Suggested by David De La Harpe Golden.
22829 * mouse.el (mouse-set-region, mouse-drag-track):
22830 Call copy-region-as-kill before setting the mark, to let
22831 select-active-regions work.
22833 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22835 * simple.el (deactivate-mark): If select-active-regions is
22836 non-nil, copy the selection data into a string.
22837 (activate-mark): If select-active-regions is non-nil, set the
22838 selection to the current buffer.
22839 (set-mark): Update selection if select-active-regions is non-nil.
22841 * select.el (x-valid-simple-selection-p): Allow buffer values.
22843 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22845 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22846 and more featureful message-mode.
22848 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22850 * select.el (x-set-selection): Doc fix.
22851 (x-valid-simple-selection-p): Disallow selection data consisting
22852 of a list or cons of integers, since that is not used.
22853 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22854 (xselect-convert-to-string, xselect-convert-to-length)
22855 (xselect-convert-to-filename, xselect-convert-to-charpos)
22856 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22858 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22860 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22861 output in -break-info command (Emacs bug #3794).
22863 2009-07-14 Glenn Morris <rgm@gnu.org>
22865 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22866 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22867 (edebug-print-length, edebug-print-level, edebug-print-circle)
22868 (edebug-sit-for-seconds, edebug-view-outside)
22869 (edebug-bounce-point, edebug-set-global-break-condition)
22870 (edebug-Go-nonstop-mode, edebug-trace-mode)
22871 (edebug-Trace-fast-mode, edebug-continue-mode)
22872 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22873 (edebug-visit-eval-list): Doc fixes.
22875 * subr.el (def-edebug-spec): Doc fix.
22877 2009-07-14 Kenichi Handa <handa@m17n.org>
22879 * international/characters.el: Fix setting of category ?C.
22881 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22883 * term/ns-win.el (x-select-font): defalias x-select-font to
22884 ns-popup-font-panel instead of generate-fontset-menu.
22886 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22888 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22890 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22892 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22893 the PK\003\004 header (Bug#3770).
22895 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22897 * pcomplete.el (pcomplete-comint-setup): Check for
22898 shell-dynamic-complete-filename too.
22900 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22902 * simple.el (temporary-goal-column): Change the value for
22903 line-move-visual to a cons cell.
22904 (line-move-visual): Record or set the window hscroll, if
22905 necessary (Bug#3494).
22906 (line-move-1): Handle cons value of temporary-goal-column.
22908 2009-07-11 Kenichi Handa <handa@m17n.org>
22910 * international/mule-diag.el (describe-character-set): Don't show
22913 2009-07-10 Sam Steingold <sds@gnu.org>
22915 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22916 Omake sometimes indents the errors it prints, so allow all
22917 regexps to start with spaces.
22919 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22921 * cus-edit.el (customize-changed-options-previous-release):
22922 Bump value to 22.1. (Bug#3804)
22924 2009-07-08 Sam Steingold <sds@gnu.org>
22926 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22927 to be a cons cell (test . ignored-directory) to selectively ignore
22928 some directories depending on the location of the search.
22930 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22932 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22933 remote user is root, on the local host.
22934 (tramp-local-host-p): Either the local user or the remote user
22935 must be root. (Bug#3771)
22937 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22939 * progmodes/gdb-mi.el (gdb): Remove description of
22940 gdb-use-separate-io-buffer.
22941 (menu): Don't allow toggling of or enable
22942 gdb-use-separate-io-buffer from menubar.
22944 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22946 * mail/unrmail.el (unrmail): Make sure the message ends with two
22947 newlines (Bug#3769).
22949 2009-07-08 Glenn Morris <rgm@gnu.org>
22951 * calendar/calendar.el (calendar-current-date): Rework previous change.
22953 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22955 * calendar/calendar.el (calendar-current-date):
22956 Add an optional argument giving an offset from today.
22958 2009-07-08 Glenn Morris <rgm@gnu.org>
22960 * tutorial.el (tutorial--describe-nonstandard-key):
22961 Adjust the message for when a key has been unbound.
22962 (help-with-tutorial): Hide the arch-tag.
22964 2009-07-08 Kenichi Handa <handa@m17n.org>
22966 * international/fontset.el (setup-default-fontset): For each
22967 script, append (not set) font-specs.
22969 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22972 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22974 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22975 -data-list-register-names to ...
22976 (gdb-starting): ... here because GDB 7.0 requires execution to
22977 have started when using this MI command.
22978 (gdb-set-header): New function to distinguish select and
22979 unselected tabs in gdb buffers.
22980 (gdb-propertize-header): New macro that uses gdb-set-header.
22981 (gdb-breakpoints-header, gdb-locals-header): Use it.
22982 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22984 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22986 * Makefile.in (ELCFILES): Remove fadr.elc.
22988 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22990 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22991 may contain frame information, so `string-match' should be used.
22992 (gdb-update): Disassembly is invalidated through
22993 `gdb-get-selected-frame'.
22994 (gdb-pad-string): New function to pad string with spaces.
22995 (gdb-invalidate-disassembly): Invalidate only if the buffer
22997 (gdb-disassembly-handler-custom): Column alignment.
22998 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
23000 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
23002 (gdb-frame-handler): Match convention to for disassembly buffer
23004 (gdb-stack-list-frames-handler): Rewritten without regexps.
23005 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
23006 not highlight breakpoints without line information.
23007 (gdb-input): Add trailing newline to command.
23009 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
23011 (gdb-breakpoints-list-handler-custom): Replacement for
23012 `gdb-break-list-handler'. Using real parser instead of regexps
23014 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
23015 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
23016 to place breakpoints.
23017 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
23019 (gdb-disassembly-handler-custom): Show overlay arrow.
23020 (gdb-disassembly-place-breakpoints): Show breakpoints in
23021 disassembly buffer.
23022 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
23023 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
23024 instead of parsing breakpoints buffer. Fixed old menu references
23029 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23030 (gdb-memory-address): New variable which holds top address of
23031 memory page shown in memory buffer.
23032 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23033 New customization variables.
23035 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23036 display the memory buffer.
23037 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23038 buffer display parameters.
23039 (def-gdb-memory-format, gdb-memory-format-binary)
23040 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23041 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23042 Functions for setting memory buffer format.
23043 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23044 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23045 unit size used in memory buffer.
23046 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23047 Switch to next/previous page of memory buffer.
23048 Now using (bindat-get-field) instead of fadr functions.
23050 2009-07-07 Sam Steingold <sds@gnu.org>
23052 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23053 non-top-level files.
23055 2009-07-07 Kenichi Handa <handa@m17n.org>
23057 * international/mule-cmds.el (reset-language-environment):
23058 Put the highset priority to the charset iso-8859-1.
23060 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23062 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23063 to the end of the line when locating the block (Bug#700).
23065 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23067 * net/tramp.el (tramp-handle-write-region): Flush file properties
23068 in case of short track.
23070 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23072 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23073 Coded custom representation of verilog error regular expressions
23074 to work with Emacs-22's new format.
23075 (verilog-error-regexp-xemacs-alist): Coded custom representation
23076 of verilog error regular expressions to work with XEmacs format.
23077 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23078 error recognition into XEmacs.
23079 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23080 error recognition into Emacs-22.
23082 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23084 * woman.el: Remove stand-alone closing parentheses.
23085 (woman-file-name, woman2-format-paragraphs)
23086 (woman-leave-blank-lines): Code cleanup.
23087 (woman-use-own-frame): Change default to nil.
23088 (woman-italic, woman-bold, woman-unknown, woman-addition):
23089 Change defaults to inherit from default faces.
23090 (woman2-process-escapes): Consume the newline after a stand-alone
23091 filler character (Bug#3651).
23093 2009-07-06 Glenn Morris <rgm@gnu.org>
23095 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23096 (top-level): Move provide to the end.
23097 (ffap): Remove defunct URL from custom group.
23099 * subr.el (eval-after-load): Doc fix.
23101 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23103 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23104 `calc-embedded-word' is called twice.
23106 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23108 * files.el (find-alternate-file-other-window, find-alternate-file):
23109 Obey confirm-nonexistent-file-or-buffer.
23111 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23113 * dired-aux.el (dired-show-file-type): Handle remote files.
23115 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23117 * desktop.el (desktop-globals-to-save):
23118 Add file-name-history (Bug#2750).
23120 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23122 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23124 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23126 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23127 property on entire argument since this is what eshell-lisp-command
23130 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23132 * net/tramp-gvfs.el (tramp-gvfs-methods)
23133 (tramp-gvfs-zeroconf-domain)
23134 (tramp-bluez-discover-devices-timeout): Add version flag.
23135 (tramp-gvfs-handler-mounted-unmounted)
23136 (tramp-gvfs-connection-mounted-p): Polish handling of
23137 incompatibilities between GVFS 0.2 and 1.0.
23139 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23141 * cus-start.el (all): Add make-pointer-invisible.
23143 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23145 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23146 formatted correctly.
23148 2009-07-02 Juri Linkov <juri@jurta.org>
23150 * info.el: Virtual Info files and nodes.
23151 (Info-virtual-files, Info-virtual-nodes): New variables.
23152 (Info-current-node-virtual): New variable.
23153 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23155 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23156 to check for a virtual file instead of checking a fixed list
23158 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23159 instead of ad-hoc processing of "dir" and (apropos history toc).
23160 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23161 instead of ad-hoc processing of "dir" and (apropos history toc).
23162 Reread a file when moving from a virtual node.
23163 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23164 (Info-directory-toc-nodes, Info-directory-find-file)
23165 (Info-directory-find-node): New functions.
23166 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23167 (Info-history): Move part of code to
23168 `Info-history-find-node'.
23169 (Info-history-toc-nodes, Info-history-find-file)
23170 (Info-history-find-node): New functions.
23171 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23172 (Info-toc): Move part of code to `Info-toc-find-node'.
23173 (Info-toc-find-node): New function.
23174 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23175 the current Info file name to references because now the node
23176 "*TOC*" belongs to the same Info manual.
23177 (Info-toc-build): Rename from `Info-build-toc'.
23178 (Info-toc-nodes): Rename input argument `file' to `filename'.
23179 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23180 instead of ad-hoc processing of ("dir" apropos history toc).
23181 (Info-index-nodes): Use Info-virtual-file-p
23182 to check for a virtual file instead of checking a fixed list
23184 (Info-index-node): Add check for `Info-current-node-virtual'.
23185 Raise `save-match-data' higher up the tree to contain
23186 `search-forward' too (bug fix).
23187 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23188 (Info-virtual-index-nodes): New variable.
23189 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23190 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23191 (Info-apropos-file, Info-apropos-nodes): New variables.
23192 (Info-apropos-toc-nodes, Info-apropos-find-file)
23193 (Info-apropos-find-node, Info-apropos-matches): New functions.
23194 (info-apropos): Move part of code to `Info-apropos-find-node' and
23195 `Info-apropos-matches'.
23196 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23197 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23198 for a virtual file instead of checking a fixed list of node names.
23200 * simple.el (async-shell-command): New command.
23202 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23204 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23205 instead of `mount-info'.
23207 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23209 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23210 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23212 2009-07-02 Kenichi Handa <handa@m17n.org>
23214 * international/mule.el (set-keyboard-coding-system): Force *-unix
23215 coding-system to avoid eol conversion.
23217 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23220 Add handler for `process-file', `shell-command' and
23221 `start-file-process'.
23222 (tramp-gvfs-handle-shell-command)
23223 (tramp-gvfs-handle-start-file-process)
23224 (tramp-gvfs-handle-process-file): New defuns.
23225 (tramp-synce-list-devices): Simplify check for existence of property.
23227 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23229 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23231 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23233 * language/korean.el (set-language-info-alist): Add korean-cp949,
23236 2009-07-01 Kenichi Handa <handa@m17n.org>
23238 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23240 * international/encoded-kb.el: Deleted.
23242 * international/mule.el (set-keyboard-coding-system): Perform the
23243 necessary setup here instead of calling encoded-kbd-setup-display.
23245 2009-07-01 Glenn Morris <rgm@gnu.org>
23247 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23249 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23251 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23253 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23255 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23256 Handle also the 'rename case, when setting file modes. (Bug#3712)
23257 (tramp-default-file-modes): Remove execute permissions.
23259 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23260 (top): Add a default for "synce" in `tramp-default-user-alist'.
23261 Add completion function for "synce" method.
23262 (tramp-hal-service, tramp-hal-path-manager)
23263 (tramp-hal-interface-manager, tramp-hal-interface-device):
23265 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23266 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23269 * net/trampver.el: Update release number.
23271 2009-06-30 Kenichi Handa <handa@m17n.org>
23273 * international/fontset.el (setup-default-fontset): Add CJK fonts
23274 for symbols and the other miscellaneous characters.
23276 * language/korea-util.el (setup-korean-environment-internal):
23277 Make char-width-table suitable for Korean environments.
23278 (exit-korean-environment): Cancel above.
23280 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23281 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23282 setup-function to make char-width-table suitable for respective
23283 environments, and an exit-function to cancel that.
23285 * language/japan-util.el (setup-japanese-environment-internal):
23286 Call use-cjk-char-width-table with arg `ja_JP'.
23288 * international/characters.el (cjk-char-width-table): Delete it.
23289 (cjk-char-width-table-list): New variable.
23290 (use-cjk-char-width-table): New arg local-name.
23291 (use-default-char-width-table): Fix for the case that Emacs is
23292 already using the default char-width-table.
23294 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23296 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23297 modes mandatory. (Bug#3712)
23299 2009-06-29 Alan Mackenzie <acm@muc.de>
23301 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23302 correction between the visible width of TABs and their number of bytes.
23304 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23306 * server.el (server-buffer-done): Prevent kill-buffer from
23307 prompting by clearing the buffer modification flag (Bug#3696).
23309 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23311 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23312 (verilog-endcomment-reason-re): Support unique case and priority case.
23313 (verilog-basic-complete-re): Support localparam lineup.
23314 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23315 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23317 (verilog-leap-to-case-head): Now support *nested* unique &
23318 priority case statements.
23319 (verilog-auto-lineup): Make just declarations the default (as it
23321 (verilog-leap-to-case-head): Support priority/unique case statements.
23322 (verilog-auto-lineup): Rework to give users radio buttons to
23323 select the various styles of automatic lineup.
23324 (verilog-error-regexp-alist): Rework to support the XEmacs style
23325 of error regular expressions from compilers, lint tools &
23326 simulators. Note that GNU Emacs has made it impossible for a mode
23327 to load such things.
23328 (electric-verilog-terminate-line, verilog-indent-declaration)
23329 (verilog-auto-wiure): Rework for radio button selection of
23330 auto-lineup selection of specification of auto lineup.
23331 (verilog-beg-of-statement-1): Redesign to support proper operation
23332 in additional code, based on testing with auto-lineup.
23333 (verilog-calculate-indent, assignments & declarations)
23334 (verilog-backward-token): Enhance to support auto-lineup of
23335 assignments & declarations.
23336 (verilog-in-directive-p, verilog-at-struct-p): New function for
23337 easy test of whether we are.
23338 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23339 to support safe execution at almost anyline.
23340 (verilog-calc-1): Properly support indenting deep inside generate
23342 (verilog-init-font): Remove definition & use of verilog-init-font,
23343 as it is redundant with font-lock-defaults.
23344 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23345 to avoid circular calls if syntax-ppss is a function (as is the
23346 case now in 22.x GNU Emacs) as that function would sometimes call
23347 itself, leading to (nearly) infinite recursion.
23348 (verilog-ovm-begin-re, verilog-ovm-end-re)
23349 (verilog-ovm-statement-re, verilog-leap-to-head)
23350 (verilog-backward-token): Add support for OVM macros. Some are
23351 complete statements, and others open and close scopes like begin
23353 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23354 (verilog-defun-level-generate-only-re): Really fix the defun-list
23356 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23357 coverpoint, constraint and cross statements.
23358 (verilog-defun-level-list, verilog-generate-defun-level-list)
23359 (verilog-all-defun-level-list): Redo these specifications - it is
23360 too hard to support eval-when compile aggregation of lists also
23361 built at when-compile time.
23362 (verilog-defun-level-list): Place defconsts of variables used in
23363 building regular expressions which are built in eval-when-compile
23364 bodies in the same eval-when-compile body to facilitate compile
23366 (verilog-beg-block-re-ordered): Support indenting
23367 virtual/protected tasks and functions.
23368 (verilog-defun-level-list, verilog-in-generate-region-p)
23369 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23370 indentation of some module items (generate items).
23371 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23372 across virtual/protected tasks and functions.
23374 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23376 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23377 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23378 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23379 in concatenations. Reported by Yishay Belkind.
23380 (verilog-auto-ascii-enum): Support one-hot state machines in
23381 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23382 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23383 modport in AUTOINST and add vl-modport for users.
23384 Reported by David Rogoff.
23385 (verilog-auto-inout-module, verilog-auto-inst)
23386 (verilog-decls-get-interfaces, verilog-insert-definition)
23387 (verilog-insert-one-definition, verilog-read-decls)
23388 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23389 (verilog-sig-modport, verilog-signals-combine-bus)
23390 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23391 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23392 Suggested by David Rogoff.
23393 (verilog-repair-open-comma): Fix non-insertion of comma when
23394 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23395 (verilog-make-width-expression): Simplify [A-1:0] expression
23396 widths to just {A{1'b0}}.
23397 (verilog-mode): Cleanup checkdoc warnings.
23398 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23399 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23400 inputs/outputs or data type. Suggested by Vasu Kandadi.
23401 (next-error-last-buffer): Fix byte-compiler warning.
23402 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23403 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23404 or shell command text during AUTO expansion. Suggested by Tad Truex.
23405 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23406 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23407 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23408 in AUTOINOUT. Reported by Matthew Lovell.
23409 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23410 causing use of <= assignments. Reported by Alex Reed.
23411 (verilog-read-decls): Fix triand, trior, wand, wor to be
23412 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23413 (verilog-extended-complete-re): Support import "DPI-C" functions.
23414 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23415 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23416 (verilog-insert-date, verilog-insert-year)
23417 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23418 Windows systems. Reported by Michael Potts.
23419 (verilog-read-module-name): Fix AUTOINST when the child module
23420 declaration's name is a tick define. Reported by Elliot Mednick.
23421 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23422 passed to next parameter's definition. Reported by Bruce T.
23423 (verilog-read-decls): Fix detecting "parameter int" when using
23424 AUTOINSTPARAM. Reported by Bruce T.
23425 (verilog-goto-defun): Fix goto not finding modules unless first
23426 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23427 (verilog-mode): Expand -f flag arguments on entry to mode so
23428 verilog-goto-defun will work. Reported by Lawrence Butcher.
23429 (verilog-getopt): Expand environment variables in -f file
23430 arguments. Suggested by Lawrence Butcher.
23431 (verilog-set-define): Fix "Symbol's value as variable is void"
23432 when reading enumerations.
23433 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23434 Suggested by Stephen Peltan.
23435 (verilog-read-defines): Fix reading of enumerations in include
23436 files. Reported by Steve Peltan.
23438 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23440 * files.el (trash-directory): Fix defcustom type.
23442 2009-06-28 Juri Linkov <juri@jurta.org>
23444 * help-fns.el (describe-function-1): Correctly locate adviced
23445 functions in hyperlink (Bug#2438).
23447 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23449 * files.el (trash-directory): Change default to nil.
23450 (move-file-to-trash): If trash-directory is nil and
23451 system-move-file-to-trash is unbound, perform freedesktop-style
23454 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23456 * files.el (move-file-to-trash): Add freedesktop trash
23459 2009-06-28 Glenn Morris <rgm@gnu.org>
23461 * autorevert.el (global-auto-revert-non-file-buffers)
23462 (global-auto-revert-mode): Doc fixes.
23464 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23466 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23468 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23470 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23471 opened an X connection before calling x-get-resource (Bug#3194).
23473 * play/doctor.el: Remove reference to obsolete website.
23474 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23476 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23478 Remove find-file-not-found-hook VC method. (Bug#2757)
23479 * vc-hooks.el (vc-file-not-found-hook)
23480 (vc-default-find-file-not-found-hook): Remove functions.
23481 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23482 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23485 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23487 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23489 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23490 compatibility function for `looking-back'.
23492 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23493 Use `ispell-looking-back'.
23495 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23497 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23498 rather than `filename'.
23500 2009-06-23 Miles Bader <miles@gnu.org>
23502 * face-remap.el (text-scale-set): New function.
23504 2009-06-23 Glenn Morris <rgm@gnu.org>
23506 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23508 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23510 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23512 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23514 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23515 Simplify Persian conditionals.
23517 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23518 variable `filename'.
23520 * comint.el (comint-insert-input): Doc fix.
23522 * Makefile.in (ELCFILES): Fix typo in previous change.
23524 2009-06-23 Miles Bader <miles@gnu.org>
23526 * cus-start.el: Add entry for `recenter-redisplay'.
23528 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23530 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23531 Add an optional argument for the backend, use it instead of
23532 calling vc-backend.
23533 (vc-mode-line): Add an optional argument for the backend.
23534 Pass the backend to vc-state and vc-working-revision. Move code for
23535 special handling for vc-state being a buffer to ...
23537 * vc-rcs.el (vc-rcs-find-file-hook):
23538 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23540 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23541 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23542 vc-stay-local-p and vc-mode-line calls.
23544 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23545 (vc-cvs-diff, vc-cvs-annotate-command)
23546 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23547 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23548 vc-mode-line calls.
23550 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23552 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23553 backend when calling vc-mode-line.
23554 (vc-register): Do not create a closure for calling the vc register
23555 function, call it directly.
23557 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23559 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23560 to make it obvious item can be clicked.
23562 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23564 2009-06-23 Kenichi Handa <handa@m17n.org>
23566 * language/korea-util.el (korean-key-bindings): Change the binding
23567 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23570 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23572 Sync with Tramp 2.1.16.
23574 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23576 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23577 when a loading of a package fails. Completion function for rsync
23578 is `tramp-completion-function-alist-ssh'.
23579 (all): Replace all calls of `split-string' and
23580 `tramp-split-string' by `tramp-compat-split-string'.
23581 (tramp-default-method): Use `tramp-compat-process-running-p'.
23582 (tramp-default-proxies-alist): Allow also Lisp forms.
23583 (tramp-remote-path): Add choice "Private Directories".
23584 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23585 (tramp-domain-regexp): Allow also "-", "_" and ".".
23586 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23587 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23588 (tramp-debug-message): Insert header line in debug buffer.
23589 (tramp-handle-directory-files-and-attributes-with-stat):
23590 Care about filenames with spaces, or starting with "-".
23591 (tramp-handle-dired-uncache): New defun.
23592 (tramp-handle-insert-directory): Don't flush the directory from
23593 cache, this is handled by `dired-uncache' now.
23594 (tramp-handle-insert-file-contents): Improve error handling.
23595 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23596 Quote `tramp-end-of-output'.
23597 (tramp-action-password): Improve trace message.
23598 (tramp-check-for-regexp): Both echoes must be present, before removing.
23599 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23600 (tramp-compute-multi-hops): Eval cons cells of
23601 `tramp-default-proxies-alist'.
23602 (tramp-maybe-open-connection): Use the same command pattern for
23603 first hop and further hops.
23604 (tramp-wait-for-output): Remove handling of newlines.
23605 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23606 (tramp-split-string): Remove function. It is handled in
23609 * net/tramp-cmds.el (tramp-bug):
23610 Recommend `tramp-cleanup-all-connections' in the bug mail.
23612 * net/tramp-compat.el (tramp-compat-split-string)
23613 (tramp-compat-process-running-p): New defuns.
23615 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23616 for `dired-uncache'.
23618 * net/tramp-gvfs.el: New package.
23620 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23621 Add handler for `dired-uncache'.
23622 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23624 * net/trampver.el: Update release number. Make version check fit
23627 2009-06-22 Jim Meyering <meyering@redhat.com>
23629 Automatically handle .xz suffix (XZ-compressed files), too.
23630 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23631 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23633 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23634 Nick Roberts <nickrob@snap.net.nz>
23636 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23637 repository (http://sphinx.net.ru/hg/gdb-mi/).
23639 2009-06-22 Glenn Morris <rgm@gnu.org>
23641 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23642 `mode' and `eval' entries. (Bug#3430)
23644 * Makefile.in (ELCFILES): Add fadr.elc.
23646 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23647 differing behavior of \n and ^ in strings. (Bug#3385)
23649 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23651 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23653 (lisp-indent-function): Make it a defcustom.
23655 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23657 * progmodes/gdb-ui.el: Replace with ...
23658 * progmodes/gdb-mi.el: ... this file.
23659 * progmodes/gud.el: Modify for gdb-mi.el.
23661 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23663 * fadr.el: New file.
23665 See ChangeLog.14 for earlier changes.
23667 ;; Local Variables:
23671 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23673 This file is part of GNU Emacs.
23675 GNU Emacs is free software: you can redistribute it and/or modify
23676 it under the terms of the GNU General Public License as published by
23677 the Free Software Foundation, either version 3 of the License, or
23678 (at your option) any later version.
23680 GNU Emacs is distributed in the hope that it will be useful,
23681 but WITHOUT ANY WARRANTY; without even the implied warranty of
23682 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23683 GNU General Public License for more details.
23685 You should have received a copy of the GNU General Public License
23686 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.