1 2011-04-06 Glenn Morris <rgm@gnu.org>
3 * Makefile.in (AUTOGEN_VCS): New variable.
4 (autoloads): Use $AUTOGEN_VCS.
6 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7 * calendar/calendar.el (calendar-mode-map):
8 Check for toolkit scroll bars. (Bug#8305)
10 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12 * minibuffer.el (completion-in-region--postch)
13 (completion-in-region-mode): Remove unnecessary messages.
15 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17 * font-lock.el (font-lock-refresh-defaults):
18 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21 * info.el (Info-directory-list, Info-read-node-name-2)
22 (Info-split-parameter-string): Doc fixes.
23 (Info-virtual-nodes): Reflow docstring.
24 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27 Fix typos in docstrings.
28 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
29 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
30 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
31 (Info-restore-desktop-buffer): Mark unused parameters.
32 (Info-directory-find-file, Info-directory-find-node)
33 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
34 (Info-virtual-index-find-node, Info-apropos-find-file)
35 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
36 Mark unused parameters; fix typos in docstrings.
37 (Info-virtual-index): Remove unused local variable `nodename'.
39 2011-04-05 Deniz Dogan <deniz@dogan.se>
41 * net/rcirc.el: Update my e-mail address.
42 (rcirc-mode-map): Remove M-o binding.
44 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
46 * startup.el (command-line): Save the cursor's theme-face
47 directly, instead of using face-override-spec.
49 * custom.el (load-theme): Minor optimization in assigning faces.
51 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
53 * help-fns.el (describe-variable): Complete all variables having
54 documentation, including keywords.
55 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
57 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
59 Convert to lexical-binding.
61 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
62 (bs--get-marked-string, bs--get-modified-string)
63 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
64 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
65 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
67 * ehelp.el (electric-help-execute-extended)
68 (electric-help-ctrl-x-prefix):
69 * hexl.el (hexl-revert-buffer-function):
70 * linum.el (linum-after-change, linum-after-scroll):
71 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
73 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
75 2011-04-04 Daiki Ueno <ueno@unixuser.org>
82 * epg.el: Use lexical binding.
84 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
86 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
88 * textmodes/flyspell.el (flyspell-word): Recognize default
89 dictionary case for flyspell-mark-duplications-exceptions. Use
90 regexp matching for languages.
91 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
92 default dictionary (Bug#7926).
94 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
96 * emacs-lisp/package.el (package--with-work-buffer): Recognize
99 * net/network-stream.el: Move from gnus/proto-stream.el. Change
100 prefix to network-stream throughout.
101 (open-protocol-stream): Merge into open-network-stream, leaving
102 open-protocol-stream as an alias. Handle nil BUFFER args.
104 * subr.el (open-network-stream): Move to net/network-stream.el.
106 2011-04-02 Glenn Morris <rgm@gnu.org>
108 * find-dired.el (find-exec-terminator): New option.
109 (find-ls-option): Test for -ls support.
110 (find-ls-subdir-switches): Test for -b in find-ls-option.
111 (find-dired, find-grep-dired): Doc fixes.
112 (find-dired): Use find-exec-terminator.
114 * find-dired.el (find-ls-option, find-ls-subdir-switches)
115 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
116 (find-name-arg): Remove purecopy.
118 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
119 (grep-compute-defaults): Check for `-exec COMMAND +' support.
120 Set grep-find-use-xargs, grep-find-command, and grep-find-template
121 accordingly. Don't add the null-device if not needed.
123 * files.el (save-some-buffers): Doc fix.
125 2011-04-02 Eli Zaretskii <eliz@gnu.org>
127 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
129 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
131 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
132 Use `dolist' rather than `mapcar'.
134 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
138 * subr.el (apply-partially): Use new closures rather than CL.
139 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
140 (dolist, dotimes): Use slightly different expansion for lexical code.
141 (functionp): Move to C.
143 (with-wrapper-hook): Use it and apply-partially instead of CL.
144 (eval-after-load): Preserve lexical-binding.
145 (save-window-excursion, with-output-to-temp-buffer): Turn them
148 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
150 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
152 (help-add-fundoc-usage): Don't add `Not documented'.
153 (help-function-arglist): Handle closures, subroutines, and new
155 (help-make-usage): Remove leading underscores.
156 (describe-function-1): Handle closures.
157 (describe-variable): Use special-variable-p for completion.
159 * files.el (lexical-binding): Declare safe.
161 * emacs-lisp/pcase.el: Don't use destructuring-bind.
162 (pcase--memoize): Rename from pcase-memoize. Change weakness.
163 (pcase): Add `let' pattern.
164 Change memoization so it actually works.
165 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
166 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
169 * emacs-lisp/macroexp.el: Use lexical binding.
170 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
171 Don't convert ' to #' without checking that it's indeed quoting
174 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
175 Use eval-sexp-add-defvars.
176 (eval-sexp-add-defvars): New fun.
178 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
180 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
182 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
183 than the internal `byte-compile-lambda'.
184 (defmethod): Don't hide code under quotes.
185 (eieio-defmethod): New `code' argument.
187 * emacs-lisp/eieio-comp.el: Remove.
189 * emacs-lisp/edebug.el (edebug-eval-defun)
190 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
191 (edebug-toggle): Avoid `eval'.
193 * emacs-lisp/disass.el (disassemble-internal): Handle new
195 (disassemble-1): Handle new byte codes.
197 * emacs-lisp/cl.el (pushnew): Silence warning.
199 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
200 (cl-byte-compile-throw): Remove.
201 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
203 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
206 * emacs-lisp/cconv.el: New file.
208 * emacs-lisp/bytecomp.el: Use lexical binding instead of
209 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
210 (byte-compile-initial-macro-environment):
211 Handle declare-function here.
212 (byte-compile--lexical-environment): New var.
213 (byte-stack-ref, byte-stack-set, byte-discardN)
214 (byte-discardN-preserve-tos): New lap codes.
215 (byte-interactive-p): Don't use any more.
216 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
218 (byte-compile-lapcode): Use them and handle new lap codes.
219 (byte-compile-obsolete): Remove.
220 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
221 (byte-compile-arglist-warn): Check late def of inlinable funs.
222 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
223 since they should have been expanded by now.
224 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
225 (byte-compile-from-buffer): Remove unused second arg.
226 (byte-compile-preprocess): New function.
227 (byte-compile-toplevel-file-form): New function to distinguish
228 file-form calls from outside from file-form calls from hunk-handlers.
229 (byte-compile-file-form): Simplify.
230 (byte-compile-file-form-defsubst): Remove.
231 (byte-compile-file-form-defmumble): Simplify now that
232 byte-compile-lambda always returns a byte-code-function.
233 (byte-compile): Preprocess.
234 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
235 Remove, not used any more.
236 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
237 (byte-compile-make-args-desc): New funs.
238 (byte-compile-lambda): Handle lexical functions. Always return
239 a byte-code-function.
240 (byte-compile-reserved-constants): New var, to make up room for
241 closed-over variables.
242 (byte-compile-constants-vector): Obey it.
243 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
244 (byte-compile-macroexpand-declare-function): New function.
245 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
247 (byte-compile-form): Check obsolescence here.
248 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
249 (byte-compile-variable-ref): Remove.
250 (byte-compile-dynamic-variable-op): New fun.
251 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
252 (byte-compile-variable-set): New funs.
253 (byte-compile-discard): Add 2 args.
254 (byte-compile-stack-ref, byte-compile-stack-set)
255 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
256 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
257 macroexpand-all instead.
258 (byte-compile-quote-form): Remove.
259 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
260 (byte-compile-bind, byte-compile-unbind): New funs.
261 (byte-compile-let): Handle let* and lexical binding.
262 (byte-compile-let*): Remove.
263 (byte-compile-catch, byte-compile-unwind-protect)
264 (byte-compile-track-mouse, byte-compile-condition-case):
265 Handle a new :fun-body form, used for lexical scoping.
266 (byte-compile-save-window-excursion)
267 (byte-compile-with-output-to-temp-buffer): Remove.
268 (byte-compile-defun): Simplify.
269 (byte-compile-stack-adjustment): New fun.
270 (byte-compile-out): Use it.
271 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
273 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
276 * emacs-lisp/byte-opt.el: Use lexical binding.
277 (byte-inline-lapcode): Remove (to bytecomp).
278 (byte-compile-inline-expand): Pay attention to inlining to/from
279 lexically bound code.
280 (byte-compile-unfold-lambda): Don't handle byte-code-functions
282 (byte-optimize-form-code-walker): Don't handle save-window-excursion
283 any more and don't call compiler-macros.
284 (byte-compile-splice-in-already-compiled-code): Remove.
285 (byte-code): Don't inline any more.
286 (disassemble-offset): Receive `bytes' as argument rather than via
288 (byte-compile-tag-number): Declare before first use.
289 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
290 `return' even if make-spliceable.
291 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
292 obsolete interactive-p.
293 (byte-optimize-lapcode): Optimize new lap-codes.
294 Don't trip up on new form of `byte-constant' lap code.
296 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
298 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
300 * custom.el (custom-initialize-default, custom-declare-variable):
303 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
305 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
306 (COMPILE_FIRST): Add macroexp and cconv.
307 * makefile.w32-in: Mirror changes in Makefile.in.
314 * textmodes/bibtex-style.el:
323 * emacs-lisp/smie.el:
326 * abbrev.el: Use lexical binding.
328 2011-04-01 Eli Zaretskii <eliz@gnu.org>
330 * info.el (info-display-manual): New function.
332 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
334 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
336 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
338 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
339 an entry for that server in rcirc-authinfo. (Bug#8385)
341 2011-03-31 Glenn Morris <rgm@gnu.org>
343 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
345 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
347 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
349 * progmodes/python.el (python-default-interpreter)
350 (python-python-command-args, python-jython-command-args)
351 (python-which-shell, python-which-args, python-which-bufname)
352 (python-file-queue, python-comint-output-filter-function)
353 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
354 variables and functions.
356 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
358 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
359 (completion-in-region-mode): New minor mode.
360 (completion-in-region): Use it.
361 (completion-in-region--data, completion-in-region-mode-map): New vars.
362 (completion-in-region--postch): New function.
363 (completion--capf-misbehave-funs, completion--capf-safe-funs):
365 (completion--capf-wrapper): New function.
366 (completion-at-point): Use it to track well-behavedness of
368 (completion-help-at-point): New command.
370 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
372 * vc/add-log.el (add-change-log-entry): Don't use whitespace
373 syntax class to search for whitespace on a single line
374 (Message-ID: <4D938140.4030905@redhat.com>).
376 2011-03-30 Leo Liu <sdl.web@gmail.com>
378 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
380 (edit-abbrevs-map): Bind them here.
381 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
383 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
385 * allout.el (allout-hide-by-annotation, allout-flag-region):
386 Reduce possibility of overlay leakage by making them volatile.
388 * allout-widgets.el (allout-widgets-tally): Define as nil so the
389 hash is not shared between buffers. Mode initialization is
390 responsible for giving it a useful starting value.
391 (allout-item-span): Reduce possibility of overlay leakage by
392 making them volatile.
393 (allout-widgets-count-buttons-in-region): Add diagnostic function
394 for tracking down button overlay leaks.
396 2011-03-29 Leo Liu <sdl.web@gmail.com>
398 * ido.el (ido-read-internal): Use the default history var
399 minibuffer-history if no HISTORY is specified.
401 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
403 * net/imap.el (imap-shell-open, imap-process-connection-type):
404 Use imap-process-connection-type for 'shell' streams as well as
405 Kerberos, SSL, other subprocesses.
407 2011-03-28 Leo Liu <sdl.web@gmail.com>
409 * abbrev.el (abbrev-table-empty-p): New function.
410 (prepare-abbrev-list-buffer): Place empty abbrev tables after
411 nonempty ones. (Bug#5937)
413 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
415 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
417 2011-03-27 Leo Liu <sdl.web@gmail.com>
419 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
420 for foreground and background colors.
421 (ansi-color-make-color-map): Adapt.
423 2011-03-25 Leo Liu <sdl.web@gmail.com>
425 * midnight.el (midnight-time-float): Remove. Note it calculates
426 the microsecond component incorrectly and seconds-to-time does the
428 Remove redundant (require 'timer).
430 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
431 (ido-completions): Remove unused arguments. (Bug#8329)
433 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
435 * minibuffer.el (completion--flush-all-sorted-completions):
436 Remove itself from hook.
437 (completion-at-point): Let the functions perform the completion
438 immediately and return nil or t.
439 * comint.el (comint-dynamic-complete-functions): Now identical to
440 completion-at-point-functions.
441 (comint-dynamic-list-input-ring): Remove unused var `index'.
442 (comint--match-partial-filename, comint--unquote&expand-filename):
443 New funs, split from comint-match-partial-filename.
444 (comint-dynamic-complete): Use completion-at-point.
445 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
447 2011-03-24 Drew Adams <drew.adams@oracle.com>
449 * thingatpt.el: Support `defun'.
451 2011-03-23 Leo Liu <sdl.web@gmail.com>
453 * abbrevlist.el: Move to obsolete/abbrevlist.el.
455 * help-mode.el (help-mode-finish): Tweak regexp.
457 2011-03-23 Glenn Morris <rgm@gnu.org>
459 * eshell/esh-opt.el (eshell-eval-using-options):
460 Do not bind unused local variable `eshell-option-stub'.
462 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
464 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
466 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
467 keymap variable in `with-no-warnings' to avoid a warning when the
468 keymap has been already `defconst'ed.
470 2011-03-22 Leo Liu <sdl.web@gmail.com>
472 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
473 encode all chars in abbrevs; otherwise use emacs-mule or
474 utf-8-emacs. (Bug#8308)
476 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
478 * simple.el (backward-delete-char-untabify):
479 Avoid warning about using `delete-backward-char'.
481 * image.el (image-type-file-name-regexps): Make it variable.
482 `imagemagick-register-types' modifies it, and the user may want
483 to add new extensions for known image types.
484 (imagemagick-register-types): Throw error if not using ImageMagick.
486 2011-03-22 Leo Liu <sdl.web@gmail.com>
488 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
489 located before rcirc-prompt-end-marker.
490 (rcirc-complete): Error if point is not after rcirc prompt.
491 Handle the case when table is nil.
492 (rcirc-user-authenticated): Define to fix compiler warning.
494 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
496 * custom.el (custom--inhibit-theme-enable): Make it affect only
497 custom-theme-set-variables and custom-theme-set-faces.
498 (provide-theme): Ignore custom--inhibit-theme-enable.
499 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
500 (custom-enabling-themes): Delete variable.
501 (enable-theme): Accept only loaded themes as arguments.
502 Ignore the special custom-enabled-themes variable.
503 (custom-enabled-themes): Forbid themes from setting this.
504 Eliminate use of custom-enabling-themes.
505 (custom-push-theme): Quote "changed" custom var entry.
507 2011-03-21 Leo Liu <sdl.web@gmail.com>
509 * ido.el (ido-read-internal): Add ido-selected to history instead
512 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
514 * subr.el (deferred-action-list, deferred-action-function):
517 2011-03-21 Leo Liu <sdl.web@gmail.com>
519 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
520 change on 2011-02-13 (bug#8309).
522 * minibuffer.el (read-file-name-function): Change default value.
523 (read-file-name--defaults): Rename from read-file-name-defaults.
524 (read-file-name-default): Rename from read-file-name.
525 (read-file-name): Call read-file-name-function.
527 2011-03-21 Glenn Morris <rgm@gnu.org>
529 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
532 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
534 * cus-theme.el: Add missing provide statement.
535 (customize-create-theme): Extract theme value correctly.
536 (custom-theme-visit-theme): Autoload.
537 (customize-create-theme): Prompt before inserting default faces.
539 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
541 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
542 units and musical notes.
544 2011-03-20 Leo <sdl.web@gmail.com>
546 * ido.el (ido-read-internal): Use completing-read-default.
547 (ido-completing-read): Fix compatibility with completing-read.
549 2011-03-20 Christian Ohler <ohler@gnu.org>
551 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
552 (ert-delete-all-tests): Use `called-interactively-p' rather than
554 (ert--make-xrefs-region): Respect END.
556 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
558 * dired-aux.el (dired-create-directory): Signal an error if the
559 directory already exists (Bug#8246).
561 * facemenu.el (list-colors-display): Call list-faces-display
562 inside with-help-window.
563 (list-colors-print): Use display property to align the final
564 column, instead of checking window-width.
566 2011-03-19 Eli Zaretskii <eliz@gnu.org>
568 * emerge.el (emerge-metachars): Separate value for ms-dos and
570 (emerge-protect-metachars): Quote correctly for ms-dos and
573 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
575 * info.el (info-initialize): Replace all uses of `:' with
576 path-separator for compatibility with non-Unix systems.
577 Cache quoting of path-separator. (Bug#8258)
579 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
581 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
582 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
583 (mouse-avoidance-mode): Fix typos in docstrings.
585 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
587 * startup.el (package-subdirectory-regexp): Move from package.el.
588 Omit \\` and \\', and let callers add them.
590 * emacs-lisp/package.el (package-strip-version)
591 (package-load-all-descriptors): Add \\` and \\' to
592 package-subdirectory-regexp before using it.
593 (package-untar-buffer): New arg DIR; ensure that file untars only
594 into this expected directory. Remove superfluous delete-region.
595 (package-unpack): Caller changed.
596 (package-tar-file-info): Use package-subdirectory-regexp.
598 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
600 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
601 diff-mode-shared-map (bug#8284).
602 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
604 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
606 * calendar/time-date.el (format-seconds): Use assoc instead of
607 assoc-string, since assoc-string doesn't exist in XEmacs.
609 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
611 * custom.el (custom-known-themes): Reflow docstring.
612 (custom-theme-load-path): Fix typo in docstring.
613 (load-theme): Fix typo in error message.
614 (custom-available-themes, custom-variable-theme-value):
615 Use `let', not `let*'.
617 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
619 * calc/README: Mention inclusion of musical notes.
621 * calc/calc-units.el (calc-lu-quant): Rename from
622 `calc-logunits-quantity'.
623 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
624 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
625 (calc-db): Rename from `calc-dblevel'.
626 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
627 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
628 (calc-np): Rename from `calc-nplevel'.
629 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
630 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
631 (calc-lu-plus): Rename from `calc-logunits-add'.
632 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
633 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
634 (calc-lu-minus): Rename from `calc-logunits-sub'.
635 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
636 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
637 (calc-lu-times): Rename from `calc-logunits-mul'.
638 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
639 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
640 (calc-lu-divide): Rename from `calc-logunits-div'.
641 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
642 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
644 * calc/calc-ext.el (calc-init-extensions): Update the names of the
645 functions being autoloaded.
647 * calc/calc.el (calc-lu-power-reference): Rename from
648 `calc-logunits-power-reference'.
649 (calc-lu-field-reference): Rename from
650 `calc-logunits-field-reference'.
652 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
654 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
656 * minibuffer.el (completion-all-sorted-completions):
657 Use :completion-cycle-penalty text property if present.
659 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
661 * allout.el (allout-yank-processing): Adjust for new rebulleting
662 regime so bullet being yanked is used without prompting the user
665 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
667 * startup.el (command-line): Warn the user that _emacs is deprecated.
669 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
671 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
672 (delphi-verbose, delphi-comment-face, delphi-string-face)
673 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
674 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
675 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
676 (delphi-new-comment-line, delphi-font-lock-defaults)
677 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
678 Fix typos in docstrings.
680 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
682 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
683 Invert the roles of character and string values for INSTEAD, so a
684 string is used for the more common case of a defaulting prompt.
686 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
688 * progmodes/ruby-mode.el (ruby-backward-sexp):
689 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
690 * play/gamegrid.el (gamegrid-make-face):
691 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
692 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
693 * notifications.el (notifications-notify):
694 * net/xesam.el (xesam-search-engines):
695 * net/quickurl.el (quickurl-list-insert):
696 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
698 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
700 * startup.el (command-line): Update package subdirectory regexp.
702 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
704 * allout.el (allout-abbreviate-flattened-numbering)
705 (allout-mode-deactivate-hook): Fix up obsolescence "date".
707 * subr.el (read-char-choice): Only show the cursor after the prompt,
708 not after the answer.
710 2011-03-15 Kevin Ryde <user42@zip.com.au>
712 * help-fns.el (variable-at-point): Skip leading quotes, if any
715 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
717 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
720 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
722 * shell.el (shell): When called interactively, offer to change the
723 shell file name on remote hosts.
725 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
727 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
728 integration for LDAP parameters. The host, base, user or binddn,
729 and secret tokens can be specified in a netrc file, for instance.
730 This is optional because an `auth-source' parameter must be
731 specified in the search attributes.
733 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
735 * help.el (describe-mode): Link to the mode's definition (bug#8185).
737 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
739 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
740 into declaration. Remove redundant and harmful binding.
742 2011-03-12 Eli Zaretskii <eliz@gnu.org>
744 * files.el (file-ownership-preserved-p): Pass `integer' as an
745 explicit 2nd argument to `file-attributes'. If the file's owner
746 is the Administrators group on Windows, and the current user is
747 Administrator, consider that a match.
749 * server.el (server-ensure-safe-dir): Consider server directory
750 safe on MS-Windows if its owner is the Administrators group while
751 the current Emacs user is Administrator. Use `=' to compare
752 numerical UIDs, since they could be integers or floats.
754 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
756 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
758 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
760 Sync with Tramp 2.2.1.
762 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
764 * net/trampver.el: Update release number.
766 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
768 * progmodes/compile.el (compilation--previous-directory): Fix up
769 various nil/dead-marker mismatches (bug#8014).
770 (compilation-directory-properties, compilation-error-properties):
771 Don't call it at a position past the one we're about to change.
773 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
774 Disable obsolescence warnings in the file that declares it.
776 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
778 * allout-widgets.el (allout-widgets-tally): Initialize
779 allout-widgets-tally as a hash table rather than nil to prevent
780 mode-line redisplay warnings.
781 Also, clarify the module description and fix a comment typo.
783 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
785 * help-fns.el (describe-variable): Don't complete keywords.
786 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
788 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
790 * emacs-lisp/package.el (package-version-join): Impose a standard
791 string representation for pre/alpha/beta version lists.
792 (package-unpack-single): Standardize the directory name by passing
793 it through package-version-join.
794 (package-strip-rcs-id): Accept any version string that does not
795 signal an error in version-to-list.
797 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
799 * simple.el (delete-trailing-whitespace): Return nil for the
800 benefit of `write-file-functions'.
802 2011-03-10 Glenn Morris <rgm@gnu.org>
804 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
806 * vc/vc-git.el (vc-git-program): New option.
807 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
808 (vc-git--call): Use it.
810 * eshell/esh-util.el (eshell-condition-case): Doc fix.
812 * cus-edit.el (Custom-newline): If no button at point, look
813 for a subgroup button at start-of-line. (Bug#2298)
815 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
817 2011-03-10 Julien Danjou <julien@danjou.info>
819 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
820 `cursor-type' is nil.
822 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
824 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
826 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
828 * allout.el Summary: Change so yank of distinctive-bullet items
829 preserves the existing header prefix, rebulleting it if necessary,
830 rather than replacing it. This is necessary for proper operation
831 of cooperative addons like allout-widgets.
832 (allout-make-topic-prefix, allout-rebullet-heading): Change
833 SOLICIT arg to INSTEAD, and interpret additionally a string value
834 as alternate bullet to be used, instead of prompting the user for
837 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
840 Do not use `tramp-file-name-port', because this returns also
841 `tramp-default-port'.
843 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
845 * net/rcirc.el (rcirc-handler-001): Remove useless
846 with-rcirc-process-buffer.
847 (rcirc-check-auth-status): Swap arguments to string-match.
849 2011-03-09 Glenn Morris <rgm@gnu.org>
851 * shell.el (shell-mode):
852 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
854 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
855 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
857 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
859 * emacs-lisp/package.el (package-refresh-contents)
860 (package-menu-execute): Use condition-case-no-debug.
862 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
864 * simple.el (shell-command-to-string): Use `process-file'.
866 * emacs-lisp/package.el (package-tar-file-info): Handle also
869 * emacs-lisp/package-x.el (package-upload-buffer-internal):
870 Use `equal' for upload base check.
872 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
874 * textmodes/texinfo.el (texinfo-environments):
875 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
877 2011-03-08 Glenn Morris <rgm@gnu.org>
879 * cus-start.el (cursor-in-non-selected-windows):
880 Fix :set quoting oddness. (Bug#8192)
882 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
883 in some setf expressions. (Bug#2159)
885 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
887 * custom.el (custom-available-themes): Return themes in
890 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
892 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
893 application of patch from Alan Mackenzie (Bug#7595).
895 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
897 * net/rcirc.el (rcirc-connect): Fix PASS bug.
899 2011-03-07 Glenn Morris <rgm@gnu.org>
901 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
902 Give an explicit error if failed to make writable. (Bug#6146)
904 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
906 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
907 Add optional `after-sunset' argument. (Bug#8190)
909 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
911 * play/morse.el (nato-alphabet, nato-region, denato-region):
912 New variable and functions. (Bug#2288)
913 (morse-region, unmorse-region): Barf if read-only.
915 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
917 * progmodes/gud.el (gdb-script-syntax-propertize-function):
918 Don't change the syntax of a \n that closes a comment (bug#8169).
920 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
922 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
924 (package--update-file): Doc fix. Accept relative file names.
925 (package--archive-contents-from-file): Remove the argument, since
926 it's necessarily always "archive-contents".
927 (package-maint-add-news-item): Pass relative file name args to
928 package--update-file.
929 (package-upload-buffer-internal): Prompt for a destination if
930 package-archive-upload-base is invalid. Create the directory if
932 (package-upload-buffer, package-upload-file): Doc fix.
934 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
936 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
937 and move isearch-yank-line to M-s C-e (Bug#8183).
939 2011-03-06 Alan Mackenzie <acm@muc.de>
941 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
942 (c-guess-basic-syntax): Move CASE 19 to a different place,
943 correctly to process template-args-cont lines.
945 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
947 * calc/calc-ext.el (calc-init-extensions):
948 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
949 and calc-nplevel, respectively. Add keybindings for calc-spn,
950 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
951 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
953 * calc/calc-units.el (calc-dblevel): Rename from
954 calc-logunits-dblevel.
955 (calc-nplevel): Rename from calc-logunits-nplevel.
956 (math-midi-round, math-freqp, math-midip, math-spnp)
957 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
958 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
959 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
960 (math-notes): New variable.
962 * calc/calc.el (calc-note-threshold): New variable.
964 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
966 * emacs-lisp/package.el (package-archives): Accept either ordinary
967 directory names, in addition to HTTP URLs.
968 (package--with-work-buffer): New macro. Handle normal directories.
969 (package-handle-response): Don't display the failing buffer.
970 (package-download-single, package-download-tar)
971 (package--download-one-archive): Use package--with-work-buffer.
972 (package-archive-base): Rename from package-archive-url.
974 2011-03-06 Glenn Morris <rgm@gnu.org>
976 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
977 (xmodmap-generic-mode): Respect generic-extras-enable-list.
979 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
981 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
983 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
985 * allout.el (allout-init, allout-prefixed-keybindings)
986 (allout-unprefixed-keybindings):
987 * progmodes/prolog.el (prolog-find-term):
988 Fix typos in docstrings.
990 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
992 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
994 2011-03-06 Kevin Ryde <user42@zip.com.au>
996 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
998 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
1000 * window.el (one-window-p, walk-windows, display-buffer):
1001 Doc fixes. (Bug#5567)
1003 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
1005 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
1006 of the variable if it exists.
1008 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
1015 * net/tramp-cache.el:
1016 * obsolete/fast-lock.el:
1017 * textmodes/reftex.el:
1018 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
1020 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1022 * files.el (delete-directory, copy-directory, list-directory):
1023 Use read-directory-name.
1025 * find-file.el (ff-find-the-other-file):
1026 * net/ange-ftp.el (ange-ftp-make-directory):
1027 * printing.el (pr-interactive-dir):
1028 * progmodes/ada-prj.el (ada-prj-load-directory):
1029 * progmodes/ebnf2ps.el (ebnf-print-directory)
1030 (ebnf-spool-directory, ebnf-eps-directory)
1031 (ebnf-syntax-directory):
1033 * speedbar.el (speedbar-create-directory):
1034 * vc/emerge.el (emerge-merge-directories):
1035 * vc/vc-dir.el (vc-dir):
1036 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1038 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1040 * help-mode.el (help-buffer): If we are to return the current
1041 buffer, signal an error if it's not in Help mode (Bug#8147).
1043 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1045 * files.el (file-name-version-regexp): Handle backup files of the
1046 form `foo.js.~HEAD~1~' (Bug#8159).
1048 2011-03-05 Glenn Morris <rgm@gnu.org>
1050 * eshell/esh-var.el: Don't require esh-test when compiling.
1051 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1052 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1053 * eshell/esh-test.el: Move to ../../test/eshell.el.
1055 2011-03-05 David Engster <deng@randomsample.de>
1057 * files.el (save-some-buffers): Report the names of buffers saved
1058 automatically due to buffer-save-without-query (Bug#8134).
1060 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1062 * net/rcirc.el: Add QuakeNet authentication support.
1063 (rcirc-authinfo, rcirc-check-auth-status)
1064 (rcirc-authenticate): Support QuakeNet.
1066 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1068 * net/rcirc.el: Add functionality to authenticate before
1069 autojoining channels.
1070 (rcirc-authenticate-before-join): New option.
1071 (rcirc-authenticated-hook): New variable.
1072 (rcirc-connect): Make local variable rcirc-user-authenticated.
1073 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1074 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1076 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1077 Call rcirc-check-auth-status.
1079 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1081 * net/soap-client.el (soap-namespace-put-link): Check if the target
1082 name is fully qualified -- use only the name part.
1083 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1084 types, treated the same as xsd:sequence. (Bug#8166)
1086 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1088 * files.el (find-file-noselect): Don't ask about re-visiting
1089 non-literally if the file is already visited in image-mode.
1092 2011-03-05 Glenn Morris <rgm@gnu.org>
1094 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1095 (eshell-mode): Use eshell-kill-buffer-function.
1096 Run the -initialize functions independently of the -load-hooks.
1097 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1098 (eshell-gather-process-output, eshell-sentinel)
1099 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1100 Use eshell-kill-process-function.
1101 * eshell/em-alias.el (eshell-alias-load-hook):
1102 * eshell/em-banner.el (eshell-banner-load-hook):
1103 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1104 * eshell/em-dirs.el (eshell-dirs-load-hook):
1105 * eshell/em-glob.el (eshell-glob-load-hook):
1106 * eshell/em-hist.el (eshell-hist-load-hook):
1107 * eshell/em-pred.el (eshell-pred-load-hook):
1108 * eshell/em-prompt.el (eshell-prompt-load-hook):
1109 * eshell/em-rebind.el (eshell-rebind-load-hook):
1110 * eshell/em-script.el (eshell-script-load-hook):
1111 * eshell/em-smart.el (eshell-smart-load-hook):
1112 * eshell/em-term.el (eshell-term-load-hook):
1113 * eshell/em-unix.el (eshell-unix-load-hook):
1114 * eshell/esh-arg.el (eshell-arg-load-hook):
1115 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1116 * eshell/esh-ext.el (eshell-ext-load-hook):
1117 * eshell/esh-io.el (eshell-io-load-hook):
1118 * eshell/esh-mode.el (eshell-exit-hook):
1119 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1120 * eshell/esh-var.el (eshell-var-load-hook):
1121 Set default hook values to nil. (Bug#5375)
1123 * eshell/esh-module.el (eshell-module-unload-hook)
1124 (eshell-modules-list): Remove leading * from defcustom docs.
1126 * eshell/esh-util.el (eshell-for): Make it obsolete.
1127 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1128 * eshell/em-dirs.el (eshell-save-some-last-dir):
1129 * eshell/em-hist.el (eshell-save-some-history)
1130 (eshell-hist-parse-modifier):
1131 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1132 (eshell-ls-entries):
1133 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1134 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1136 * eshell/esh-ext.el (eshell-find-interpreter):
1137 * eshell/esh-mode.el (eshell-mode):
1138 * eshell/esh-module.el (eshell-unload-extension-modules):
1139 * eshell/esh-proc.el (eshell-process-interact):
1140 * eshell/esh-test.el (eshell-test):
1141 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1142 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1143 (eshell-variables-list):
1144 * eshell/eshell.el (eshell-unload-all-modules):
1145 Replace eshell-for with dolist.
1147 2011-03-04 Glenn Morris <rgm@gnu.org>
1149 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1151 2011-03-04 Tom Tromey <tromey@redhat.com>
1153 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1155 2011-03-04 Glenn Morris <rgm@gnu.org>
1157 * outline.el (outline-regexp): No longer allow nil.
1158 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1160 * net/browse-url.el (browse-url):
1161 Handle deleted default-directory. (Bug#6077)
1163 * recentf.el (recentf-include-p): In case of a buggy predicate,
1164 err on the side of including, not excluding. (Bug#5843)
1166 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1168 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1171 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1173 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1174 if there is no node. (Bug#3261)
1176 2011-03-04 Leo <sdl.web@gmail.com>
1178 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1180 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1182 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1184 * cus-edit.el (custom-buffer-create-internal):
1185 Split search string before passing it to `customize-apropos' (bug#8136).
1187 2011-03-04 Drew Adams <drew.adams@oracle.com>
1189 * image-dired.el (image-dired-cmd-read-exif-data-options):
1190 Fix typo in docstring (bug#8156).
1192 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1194 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1196 2011-03-03 Christian Ohler <ohler@gnu.org>
1198 * emacs-lisp/ert.el (ert--explain-equal): New function.
1199 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1200 All callers changed.
1201 (ert--explain-equal-including-properties): Rename from
1202 `ert--explain-not-equal-including-properties'. All callers
1205 2011-03-03 Christian Ohler <ohler@gnu.org>
1207 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1208 (ert-char-for-test-result, ert-string-for-test-result)
1209 (ert-run-tests-batch, ert--print-test-for-ewoc):
1210 Handle `ert-test-quit'.
1212 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1214 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1215 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1217 2011-03-03 Glenn Morris <rgm@gnu.org>
1219 * files.el (file-truename): Doc fix. (Bug#2341)
1221 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1223 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1225 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1227 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1228 programs output backslashes. (Bug#7663)
1230 2011-03-03 Glenn Morris <rgm@gnu.org>
1232 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1233 (mail-mode): Remove mail-sent-via from the doc.
1234 (mail-sent-via): Make it obsolete. (Bug#1776)
1236 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1237 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1239 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1240 with no parents. (Bug#8025)
1242 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1244 * password-cache.el (password-in-cache-p): Add autoload.
1246 2011-03-02 Glenn Morris <rgm@gnu.org>
1248 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1249 * dired-x.el (Man-support-local-filenames): Autoload it.
1250 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1252 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1254 (dired-smart-shell-command): Just call dired-current-directory.
1256 * dired-x.el (dired-jump-other-window): Add autoload.
1257 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1258 (dired-default-directory-alist): Mark as risky.
1260 * dired-x.el (dired-omit-here-always): Make it obsolete.
1262 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1264 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1265 (artist-select-op-pen-line): New function.
1266 (artist-menu-map): New variable.
1267 (artist-mode-map): Add a menu to the menu-bar.
1269 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1271 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1274 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1276 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1277 (math-logunits-quant, math-logunits-level):
1278 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1280 (math-logunits-level): Extract units from ratio.
1282 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1284 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1286 2011-03-01 Glenn Morris <rgm@gnu.org>
1288 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1289 (diary-hebrew-birthday): Rename and rework functions added
1292 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1294 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1295 (diary-hebrew-birthday): New functions.
1297 2011-03-01 Glenn Morris <rgm@gnu.org>
1299 * dired.el (dired-safe-switches-p): Beef it up.
1300 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1302 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * dired.el (dired-safe-switches-p): New function.
1306 2011-03-01 Glenn Morris <rgm@gnu.org>
1308 * files.el (dir-locals-collect-variables):
1309 Add the ability to exclude subdirectories. (Bug#8100)
1311 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1313 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1315 * ido.el (ido-everywhere): Doc fix.
1316 (ido-mode): Doc fix.
1318 2011-02-28 Glenn Morris <rgm@gnu.org>
1320 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1322 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1324 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1327 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1329 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1331 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1333 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1334 Fix typos in docstrings.
1336 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1338 * dired-aux.el (dired-update-file-line):
1339 Fix 2010-11-09 change. (Bug#8131)
1341 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1343 * international/mule-cmds.el (set-default-coding-systems): Use the
1344 -unix variant of encoding in default-keyboard-coding-system.
1347 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1349 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1351 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1353 * term/screen.el: New file (Bug#2650).
1355 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1358 (pcase-mutually-exclusive-predicates): New var.
1359 (pcase--split-consp, pcase--split-pred): Use it.
1360 (pcase--split-equal, pcase--split-member): When splitting against
1361 a pure predicate, run it to know the outcome.
1362 (pcase--u1): Mark vars that are actually used.
1363 (pcase--q1): Avoid introducing unused vars.
1365 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1367 * calc/calc-ext.el (calc-init-extensions):
1368 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1370 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1373 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1374 argument is a variable.
1376 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1379 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1380 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1382 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1384 * password-cache.el (password-in-cache-p): Convenience function to
1385 check if a key is in the cache, even if the value is nil.
1387 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1389 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1390 (package--archive-contents-from-file): New functions.
1391 (package-update-news-on-upload): New var.
1392 (package-upload-buffer-internal): Extract archive-contents from
1393 package-archive-upload-base if it is not found at archive-url.
1394 Obey package-update-news-on-upload.
1395 (package-upload-buffer, package-upload-file): Doc fix.
1397 2011-02-24 Glenn Morris <rgm@gnu.org>
1399 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1400 the cache, and from non-file sources.
1402 * help-fns.el (describe-variable): Return consistent results when a
1403 dir-local from a file came from the cache or did not. (Bug#8095)
1404 If a dir-local has no associated file, say it came from a "directory".
1406 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1407 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1409 * files.el (dir-locals-find-file): Doc fix.
1410 Fix the check for cache elements that have no associated file,
1411 and the mtime check for those that do. (Bug#8095)
1413 * dired-x.el (dired-hack-local-variables):
1414 Handle interrupts during hacking local variables. (Bug#5216)
1416 * emacs-lisp/autoload.el (autoload-save-buffers)
1417 (autoload-find-destination, update-directory-autoloads):
1418 Avoid prompts when updating autoloads.
1420 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1424 2011-02-23 Kenichi Handa <handa@m17n.org>
1426 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1427 error when a multipart boundary in the nested multipart is found.
1429 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1432 2011-02-23 Glenn Morris <rgm@gnu.org>
1434 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1435 * dired-x.el (dired-omit-mode): Safe if boolean.
1436 (dired-enable-local-variables): Fix doc and custom type.
1437 (dired-enable-local-variables, dired-local-variables-file)
1438 (dired-hack-local-variables): Make obsolete.
1439 (dired-omit-here-always): Use dir-locals.el instead.
1441 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1443 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * help-fns.el (describe-function-1): Don't signal an error just because
1446 the DOC file disappeared.
1448 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1450 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1451 remote check to "ftp". (Bug#8089)
1453 2011-02-21 Alan Mackenzie <acm@muc.de>
1456 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1457 in macros finding their way into c-state-nonlit-pos-cache.
1458 Strengthen the comments.
1459 (c-state-dump): New commented out diagnostic routine.
1461 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1463 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1464 `field' property of `rfn-eshadow-overlay'.
1466 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1468 * net/netrc.el (netrc-parse): Comment fix.
1470 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1472 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1473 Autoload. Add optional arg FRAME, and pass it to color-values.
1474 (color-complement): Caller changed. Doc fix.
1475 (color-gradient): Rewrite for better clarity and efficiency.
1477 * faces.el (color-values): Use cond for clarity. Doc fix.
1479 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1481 (list-colors-sort-key, list-colors-print):
1482 Use color-normalized-values.
1484 2011-02-20 Drew Adams <drew.adams@oracle.com>
1486 * color.el: First part of merge from hexrgb.el.
1487 (color-rgb-to-hex): Rename from color-rgb->hex.
1488 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1489 saturation to zero if the value is too small.
1490 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1491 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1492 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1493 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1494 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1495 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1496 (color-cie-de2000): Doc fix.
1498 2011-02-20 Alan Mackenzie <acm@muc.de>
1500 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1501 locating the beginning of a macro. (Bug#7595)
1503 2011-02-20 Glenn Morris <rgm@gnu.org>
1505 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1508 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1509 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1511 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1512 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1514 * progmodes/hideshow.el (hs-find-block-beginning)
1515 (hs-hide-level-recursive): Ignore comments when parsing braces
1518 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1520 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1521 (vc-bzr-pull): Use it.
1523 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1525 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1526 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1527 but returning an alist. Ignore comments in bzr conffile.
1528 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1529 (vc-bzr-error-regex-alist): New var.
1530 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1532 * vc/vc-dispatcher.el (vc-do-async-command):
1533 Bind inhibit-read-only to t.
1535 * progmodes/compile.el (compilation--flush-directory-cache):
1536 Handle the case where cdr of compilation--flush-directory-cache
1537 points to no buffer, which can occur if we previously switched to
1538 compilation-mode in a pregenerated buffer.
1540 2011-02-19 Kenichi Handa <handa@m17n.org>
1542 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1543 get the header copy into the temporary buffer.
1544 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1545 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1546 buffer-file-coding-system to undecided.
1548 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1550 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1551 Document completion with asterisk and a substring.
1553 2011-02-19 Glenn Morris <rgm@gnu.org>
1555 * files.el (find-file-literally): Doc fix.
1557 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1559 * log-edit.el (log-edit-insert-changelog):
1560 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1562 2011-02-19 Glenn Morris <rgm@gnu.org>
1564 * dired-x.el: Don't require dired-aux.
1565 (dired-do-create-files, dired-mark-read-regexp)
1566 (dired-do-create-files-regexp): Autoload from dired-aux.
1568 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1569 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1571 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1572 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1574 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1575 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1576 (dired-clean-up-buffers-too): Declare.
1578 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1579 * dired.el (dired-initial-position): Merge dired-x's version here.
1580 (dired-find-subdir): Declare.
1582 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1583 * dired-aux.el (dired-add-entry): Give it a doc-string.
1584 Merge dired-x's dired-omit handling here.
1585 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1587 * international/mule-diag.el (list-input-methods-1):
1588 Indent all lines of multi-line doc-strings. (Bug#8066)
1590 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1592 Fix 2011-02-02 changes.
1594 * apropos.el (apropos-print): Call apropos-mode before setting up
1595 buffer variables. Use inhibit-read-only.
1597 * emacs-lisp/package.el (package--list-packages):
1598 Call package-menu-mode before setting up buffer variables.
1600 * play/solitaire.el (solitaire): Call solitaire-mode before
1601 setting up buffer variables. Use inhibit-read-only.
1603 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1605 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1606 Bind case-fold-search to nil when looking for end of here-doc.
1608 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1610 * image-mode.el (image-toggle-display-image):
1611 Set find-file-literally non-nil in buffers visiting binary image
1614 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * files.el (cd): Make completion obey cd-path (bug#7924).
1618 2011-02-18 Glenn Morris <rgm@gnu.org>
1620 * progmodes/prolog.el: Don't require compile when compiling.
1621 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1622 (compilation-forget-errors, compilation-fake-loc)
1623 (compilation-parse-errors-function, compilation-error-list): Declare.
1624 (prolog-inferior-mode): Require 'compile.
1626 * emulation/cua-base.el (pc-selection-mode): Declare.
1628 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1629 (customize-object): Add autoload cookie.
1630 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1631 (eieio-browse, describe-class, eieio-describe-class)
1632 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1633 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1634 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1635 * Makefile.in (autoloads): Make eieio.el writable.
1637 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1638 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1639 (dired-hack-local-variables): Use inhibit-read-only.
1640 (dired-guess-default): Simplify.
1641 (dired-make-relative-symlink): Use dotimes.
1642 (dired-simultaneous-find-file): Use dolist.
1643 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1644 (dired-x-hands-off-my-keys): Doc fix.
1645 (dired-x-bind-find-file): Doc fix. Use remapping.
1646 (after-init-hook): No need to add dired-x-bind-find-file.
1647 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1648 No need to call expand-file-name.
1649 (dired-filename-at-point): Remove unused locals `end', `filename'.
1651 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1655 2011-02-18 Christian Ohler <ohler@gnu.org>
1657 * emacs-lisp/ert.el (ert--setup-results-buffer)
1658 (ert-results-pop-to-backtrace-for-test-at-point)
1659 (ert-results-pop-to-messages-for-test-at-point)
1660 (ert-results-pop-to-should-forms-for-test-at-point)
1661 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1662 were incorrect and unnecessary. This should make `make check'
1665 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1667 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1668 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1669 * lisp/allout.el: Remove commentary about remove encryption
1670 passphrase mnemonic support and verification.
1671 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1672 armored text using gpg1, and indicate that the gpg version *might*
1673 be the problem in the error message.
1675 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1677 * net/rcirc.el (rcirc-float-time): New function.
1678 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1679 (rcirc-ctcp-sender-PING): Use it.
1681 2011-02-17 Glenn Morris <rgm@gnu.org>
1683 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1684 (speedbar-update-flag, speedbar-fetch-etags-command)
1685 (speedbar-fetch-etags-arguments):
1686 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1687 (term-completion-autolist, term-completion-addsuffix)
1688 (term-completion-recexact, term-completion-fignore):
1689 * term/sup-mouse.el (sup-mouse-fast-select-window):
1690 * term/x-win.el (x-select-request-type):
1691 Convert some defvars with "*" to defcustoms.
1693 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1695 * vc/vc.el (vc-default-previous-version):
1696 Remove alias that points nowhere. (Bug#4496)
1698 * dired-x.el (dired-clean-up-after-deletion):
1699 kill-buffer does not need save-excursion.
1700 (dired-do-run-mail): Doc fix.
1701 (dired-filename-at-point): Doc fix.
1702 Use looking-at, and skip-chars rather than re search.
1704 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1706 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1708 * allout-widgets.el: New allout extension that shows allout
1709 outline structure with graphical widgets. 'allout-widgets'
1710 customize group is an 'allout' subgroup, for easy discovery.
1712 * allout.el: Include PGP and GnuPG in Keywords, and other
1713 commentary refinements.
1714 (allout-abbreviate-flattened-numbering): Rename to
1715 allout-flattened-numbering-abbreviation, and
1716 define-obsolete-variable-alias the old name.
1717 (allout-flattened-numbering-abbreviation): Rename from
1718 allout-abbreviate-flattened-numbering.
1719 (allout-mode-p): Include among autoloads, for use by other modes
1721 (allout-listify-exposed):
1722 Use allout-flattened-numbering-abbreviation.
1723 (allout-encrypt-string): Use set-buffer-multibyte directly.
1724 (allout-set-buffer-multibyte): Remove.
1726 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1728 * simple.el (just-one-space): Remove useless `or' call.
1730 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1732 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1733 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1734 (soap-decoded-multi-refs, soap-current-wsdl)
1735 (soap-encoded-namespaces): Rename CL-style *...* variables.
1737 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1739 * net/soap-client.el: Add "comm" and "hypermedia" to the
1740 keywords. Reflow too long lines.
1742 * net/soap-inspect.el: Ditto. Require 'cl.
1744 2011-02-16 Bastien Guerry <bzg@altern.org>
1746 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1747 in a `doctor-type' argument.
1749 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1751 * net/soap-client.el:
1752 * net/soap-inspect.el: New files.
1754 2011-02-16 Leo <sdl.web@gmail.com>
1756 * dired-x.el (dired-mode-map, dired-extra-startup):
1757 Remove dired-copy-filename-as-kill since it's already in dired.el.
1759 2011-02-16 Glenn Morris <rgm@gnu.org>
1761 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1762 Doc fixes. Add :set property, replacing top-level calls.
1763 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1764 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1765 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1766 (dired-clean-up-after-deletion): Use when and dolist.
1767 (dired-jump): Use unless and when.
1768 (dired-virtual): Use line-end-position.
1769 (dired-default-directory-alist): Rename from default-directory-alist.
1770 (dired-default-directory): Update for above name change.
1771 (dired-vm): Drop VM < 5 and simplify.
1772 (dired-buffer-more-recently-used-p): Rewrite.
1773 (dired-filename-at-point): Use when and or.
1774 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1777 2011-02-15 Glenn Morris <rgm@gnu.org>
1779 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1781 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1783 * vc/vc-git.el (vc-git-root-log-format): New option for
1784 customizing log format.
1785 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1786 (vc-git-log-view-mode): Use it.
1787 (vc-git-expanded-log-entry): New function.
1788 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1790 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1791 customizing log format.
1792 (vc-hg-print-log): Use it.
1793 (vc-hg-expanded-log-entry): New function.
1794 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1795 vc-hg-expanded-log-entry. Truncate lines in root log.
1797 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1799 * vc/log-view.el (log-view-mode-menu):
1800 Add log-view-toggle-entry-display.
1802 2011-02-14 Glenn Morris <rgm@gnu.org>
1804 * dired-x.el: Don't require man when compiling.
1805 (dired-omit-extensions, dired-local-variables-file)
1806 (dired-x-hands-off-my-keys): Make them defcustoms.
1807 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1808 (vm-visit-folder): Declare rather than defining.
1809 (dired-x-help-address, dired-x-variable-list): Remove.
1810 (dired-x-submit-report): Make it an obsolete alias.
1812 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1814 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1816 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1818 * net/imap.el: Bring it back.
1820 2011-02-13 Alan Mackenzie <acm@muc.de>
1822 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1823 narrow-to-region call that cuts context off the end (Bug#7722).
1825 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1826 Refactor nested if-forms with a simple cond.
1827 (c-forward-<>-arglist): Revert 2011-01-31 change.
1829 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1831 * vc/log-view.el: New command log-view-toggle-entry-display for
1832 toggling log entries between concise and detailed forms.
1833 (log-view-toggle-entry-display): New command.
1834 (log-view-mode-map): Bind RET to it.
1835 (log-view-expanded-log-entry-function): New variable.
1836 (log-view-current-entry, log-view-inside-comment-p)
1837 (log-view-current-tag): New functions.
1838 (log-view-toggle-mark-entry): Use log-view-current-entry and
1839 log-view-end-of-defun instead of searching directly with
1840 log-view-message-re.
1841 (log-view-end-of-defun): Likewise. Add optional ARG for
1842 compatibility with end-of-defun.
1843 (log-view-end-of-defun): Ignore comments and VC buttons.
1845 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1846 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1848 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1850 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1852 * net/imap-hash.el: Remove file.
1854 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1856 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1858 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1861 * net/tramp-imap.el: Remove file.
1863 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1865 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1866 widget library for buttons, just use button.el.
1868 * vc/log-view.el (log-view-mode-map): Don't inherit from
1871 2011-02-12 Glenn Morris <rgm@gnu.org>
1873 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1874 (nintersection, set-difference, nset-difference)
1875 (set-exclusive-or, nset-exclusive-or): Doc fix.
1877 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1879 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1880 :italic props, so that frame-set-background-mode works. (Bug#7966)
1882 * simple.el (next-error): Doc fix.
1884 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1886 * dired-aux.el (dired-create-files): Adapt destination name to
1887 match the new behavior of copy-directory.
1889 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1891 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1892 from rmail-dont-reply-to-names. Callers changed.
1893 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1894 (rmail-dont-reply-to): Make it an obsolete alias.
1896 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1897 nil, and make obsolete (Bug#7888).
1898 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1900 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1902 * mail/rmailsort.el (rmail-sort-by-correspondent)
1903 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1905 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1907 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1909 * files.el (copy-directory): New argument COPY-CONTENTS for
1910 copying directory contents into another existing directory.
1912 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1914 * minibuffer.el (completion-table-case-fold): New function for
1915 creating a case-insensitive completion table.
1917 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1919 * net/tramp.el (tramp-default-method): Also check if
1920 `auth-source-search' is bound.
1921 (tramp-read-passwd): Use `auth-source-search' instead of
1922 `auto-source-user-or-password'.
1924 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1925 `auto-source-user-or-password.
1926 (tramp-imap-passphrase-callback-function): Use it.
1928 * net/imap-hash.el: Autoload `auto-source-search' instead of
1929 `auto-source-user-or-password.
1930 (imap-hash-open-connection): Use it.
1932 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1933 `auto-source-user-or-password.
1934 (smtpmail-try-auth-methods): Use it.
1936 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1938 * emacs-lisp/package.el: Allow packages to be reinstalled.
1939 (package--write-file-no-coding): Remove EXCL arg.
1940 (package-unpack-single): Don't use it.
1942 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1944 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1945 in each sub directory.
1946 (vc-svn-registered): Use vc-svn-root.
1947 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1948 (vc-svn-repository-hostname): Use "svn info".
1950 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1952 * simple.el (delete-trailing-whitespace): New optional buffer
1955 2011-02-11 Bastien Guerry <bzg@altern.org>
1957 * files.el (basic-save-buffer): save unmodified buffers when
1958 the file pointed by buffer-file-name doesn't exist.
1960 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1962 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1964 2011-02-11 Glenn Morris <rgm@gnu.org>
1966 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1968 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1970 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1972 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * server.el (server-process-filter): Use pcase.
1976 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1978 (smie-indent--parent): Extend to "parent of arg".
1979 (smie-indent-inside-string): New function.
1980 (smie-indent-functions): Use it.
1982 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1983 bzr locking race condition.
1985 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1986 still valid before using it.
1988 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1989 `message' -> `compilation-message' rename (bug#8004).
1991 Move keymap initialization into declaration.
1992 * textmodes/enriched.el (enriched-mode-map):
1993 * textmodes/bib-mode.el (bib-mode-map):
1994 * term/lk201.el (lk201-function-map):
1995 * tar-mode.el (tar-mode-map):
1996 * replace.el (occur-mode-map):
1997 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1998 * progmodes/idlw-help.el (idlwave-help-mode-map):
1999 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
2000 * play/solitaire.el (solitaire-mode-map):
2001 * play/snake.el (snake-mode-map, snake-null-map):
2002 * play/pong.el (pong-mode-map):
2003 * play/handwrite.el (menu-bar-handwrite-map):
2004 * play/gametree.el (gametree-mode-map):
2005 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
2006 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
2007 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
2008 (newsticker--url-keymap):
2009 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2010 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
2011 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
2012 (menu-bar-edit-menu, menu-bar-custom-menu)
2013 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
2014 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
2015 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
2016 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
2017 (menu-bar-tools-menu, menu-bar-describe-menu)
2018 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2019 (menu-bar-help-menu):
2020 * mail/rmailsum.el (rmail-summary-mode-map):
2021 * kmacro.el (kmacro-step-edit-map):
2022 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
2023 (ibuffer-mode-operate-map):
2024 * hi-lock.el (hi-lock-menu, hi-lock-map):
2025 * emulation/vip.el (vip-mode-map):
2026 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
2027 * bookmark.el (bookmark-bmenu-mode-map):
2028 * help-mode.el (help-mode-map): Move initialization into declaration.
2030 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2032 * net/rcirc.el: Add PRIVMSG and CTCP functions.
2033 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
2034 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
2035 (rcirc-cmd-me, rcirc-authenticate): Use them.
2037 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2039 * allout.el: Synopsis: Change allout user configuration so
2040 auto-activation is controlled solely by customization
2041 `allout-auto-activation'.
2043 (allout-auto-activation-helper, allout-setup): New autoloads
2044 implement new custom set procedure for allout-auto-activation.
2045 Also, explicitly invoke (allout-setup) after allout-auto-activation
2046 is custom-defined, to affect the settings in emacs sessions besides
2047 the few where allout-auto-activation customization is done.
2048 (allout-auto-activation): Use allout-auto-activation-helper to
2049 :set. Revise the docstring.
2050 (allout-init): Reduce functionality to just customizing
2051 allout-auto-activation, and mark obsolete.
2052 (allout-mode): Respect string values for allout-auto-activation.
2053 Run allout-after-copy-or-kill-hook without any args.
2054 (allout-mode, allout-layout, allout-default-layout)
2055 (outlineify-sticky): Adjust docstring for new scheme.
2056 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2057 should concentrate on the kill ring.
2059 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2061 * password-cache.el (password-cache-remove): Accept secrets that are
2064 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2066 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2067 of here-doc that immediately follows a comment.
2069 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2071 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2073 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2075 (rcirc-ctcp-sender-PING): New function.
2077 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2080 Remove the mark/nomark handling, and activate shift-select-mode instead.
2082 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2084 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2086 * calc/calc-units.el (math-logunits-quant): Add support for
2087 non-logarithmic units.
2089 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2091 * allout.el (allout-after-copy-or-kill-hook): New hook for
2092 extension-specific processing of killed text.
2093 (allout-mode): Include new allout-after-copy-or-kill-hook among
2095 (allout-kill-line, allout-kill-topic): Ensure that processing
2096 after kill happens even if barf-if-buffer-read-only is raised.
2097 Include new allout-after-copy-or-kill-hook among that subsequent
2099 (allout-deannotate-hidden): Actually remove the annotation text
2102 * allout.el (allout-listify-exposed): Copy text sans text properties.
2104 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2106 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2108 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2110 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2112 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2114 * calc/calc.el (calc-logunits-field-reference): Rename from
2115 `calc-default-field-reference-level'.
2116 (calc-logunits-power-reference): Rename from
2117 `calc-default-power-reference-level'.
2119 * calc/calc-units.el (math-logunits-quant): Rename from
2120 `math-logunits-level'
2121 (math-logunits-plus): Rename from math-logcombine.
2122 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2123 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2124 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2126 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2127 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2128 (calc-logunits-quantity): Rename from `calc-level'.
2129 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2130 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2131 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2132 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2133 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2136 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2137 (calc-ul-prefix-help): Remove.
2138 (calc-l-prefix-help): New function.
2139 (calc-full-help): Add reference to `calc-l-prefix-help'.
2141 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2143 * calc/README: Mention logarithmic units.
2145 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2147 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2148 non-ASCII characters (Bug#7925).
2150 2011-02-05 Glenn Morris <rgm@gnu.org>
2152 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2154 * calendar/diary-lib.el (diary-font-lock-keywords):
2155 Tweak diary-time-regexp match. (Bug#7891)
2157 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2158 (f90-mode): Use it for mode's `find-tag-default-function' property.
2160 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2162 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2164 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2166 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2169 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2172 font-lock-syntax-table remappings.
2173 (sh-here-doc-markers, sh-here-doc-re): Remove.
2174 (sh-font-lock-close-heredoc): Remove.
2175 (sh-syntax-propertize-here-doc): New function.
2176 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2177 instead of the sh-here-doc-re.
2178 (sh-font-lock-paren): Don't do anything in comments or strings.
2179 Handle line continuations. Accept a few more chars.
2180 Don't rely on the font-lock-syntax-table remappings.
2181 `esac' is not a valid pattern.
2182 (sh-syntax-propertize-function): Handle here-docs differently, so we
2183 don't bother syntax-propertizing the insides.
2185 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2186 Handle new bashisms ";&" and ";;&" (bug#7947).
2188 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2190 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2191 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2193 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2195 * net/tramp.el (tramp-postfix-method-format)
2196 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2197 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2198 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2199 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2200 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2203 2011-02-04 Sam Steingold <sds@gnu.org>
2205 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2207 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2209 * international/mule-util.el (with-coding-priority): Doc fix.
2211 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2213 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2215 2011-02-03 Sam Steingold <sds@gnu.org>
2217 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2218 Do not error out when `func' is nil.
2220 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2222 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2223 `tramp-default-remote-path' to the docstring.
2224 (tramp-get-remote-path): Suppress error message when `getconf
2227 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2229 2011-02-03 Glenn Morris <rgm@gnu.org>
2231 * vc/vc-hg.el (vc-hg-command): Doc fix.
2233 * term/w32-win.el (libpng-version): Declare for compiler.
2235 * msb.el: No need to load dired while compiling.
2237 * emacs-lisp/elint.el (elint-standard-variables):
2238 Remove a couple of built-ins that now have doc-strings.
2240 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2241 `require' is automatically `eval-and-compile'd.
2243 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2244 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2246 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2247 Move definition before use.
2248 (strokes-report-bug): Make it obsolete.
2250 2011-02-02 Sam Steingold <sds@gnu.org>
2252 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2253 from `special-mode', entering it makes the buffer read-only, so
2254 call it only when everything has been already inserted.
2255 * emacs-lisp/ert.el (ert--setup-results-buffer)
2256 (ert-results-pop-to-backtrace-for-test-at-point)
2257 (ert-results-pop-to-messages-for-test-at-point)
2258 (ert-results-pop-to-timings): Ditto.
2259 * emacs-lisp/package.el (package--list-packages): Ditto.
2260 * play/solitaire.el (solitaire): Ditto.
2262 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2264 * progmodes/compile.el: Make all faces inherit.
2265 (compilation-warning): Inherit from font-lock-variable-name-face.
2266 (compilation-info): Inherit from font-lock-type-face.
2267 (compilation-line-number): Reassign to font-lock-keyword-face.
2268 (compilation-column-number): Reassign to font-lock-doc-face.
2269 (compilation-leave-directory-face): Reassign to
2270 font-lock-builtin-face.
2272 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2274 * dired.el (dired-insert-directory): Don't invoke `ls' when
2275 ls-lisp.el is used to emulate it.
2277 2011-02-01 Julien Danjou <julien@danjou.info>
2279 * color.el (color-gradient): Add a color-gradient function.
2281 2011-02-01 Sam Steingold <sds@gnu.org>
2283 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2284 bind "z" to `kill-this-buffer'.
2285 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2286 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2287 (apropos-mode): Inherit from `special-mode'.
2288 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2289 * bookmark.el (bookmark-bmenu-mode): Define using
2290 `define-derived-mode' inheriting from `special-mode'.
2291 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2292 * image-mode.el (image-mode-map): Ditto.
2293 * replace.el (occur-mode): Define using
2294 `define-derived-mode' inheriting from `special-mode'.
2295 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2296 * calendar/diary-lib.el (diary-fancy-display-mode):
2297 Inherit from `special-mode-map'.
2298 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2299 Inherit from `special-mode'.
2300 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2302 (package-menu-mode): Define using `define-derived-mode'
2303 inheriting from `special-mode'.
2304 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2305 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2306 (xesam-mode-map): Define separately.
2307 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2308 * progmodes/compile.el (compilation-minor-mode-map)
2309 (compilation-mode-map): Inherit from `special-mode-map'.
2310 * vc/diff-mode.el (diff-mode-shared-map):
2311 Inherit from `special-mode-map'.
2312 * vc/log-view.el (log-view-mode-map): Add a comment.
2314 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2316 * custom.el (load-theme): Define return value. Drop use of
2317 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2318 (custom-theme-load-confirm): Scroll in the correct window.
2319 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2321 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2322 checkbox if load-theme fails.
2324 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * progmodes/compile.el (compilation-next-error): Check there's
2327 a message before using it (bug#7941).
2329 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2331 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2332 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2333 of potential pivots.
2335 2011-01-31 Alan Mackenzie <acm@muc.de>
2337 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2338 Continue parsing if we encounter a naked # (Bug#7595).
2339 (c-beginning-of-statement): Avoid loop in locating the beginning
2340 of a macro. (Not actually committed until 2011-02-20, see above).
2342 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2344 * files.el (copy-directory): Fix arguments to recursive call.
2346 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2348 * files.el (copy-directory): If destination is an existing
2349 directory, copy into a subdirectory there.
2351 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2353 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2356 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2358 * image-dired.el (image-dired-mouse-display-image): No-op if no
2359 file is found (Bug#7817).
2361 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2363 2011-01-31 Kenichi Handa <handa@m17n.org>
2365 * international/quail.el (quail-keyboard-layout-alist):
2366 Remove superfluous SPC for "pc105-uk" (bug#7927).
2368 2011-01-31 Glenn Morris <rgm@gnu.org>
2370 * msb.el (msb-menu-bar-update-buffers): Update for changed
2371 argument handling of menu-bar-select-frame. (Bug#7902)
2373 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2375 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2376 to the recursion depth (Bug#7722).
2378 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2380 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2381 command-line-default-directory (Bug#7872).
2383 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * progmodes/compile.el (compilation--flush-directory-cache):
2386 New function, extracted from compilation--remove-properties.
2387 (compilation--remove-properties, compilation--parse-region): Use it.
2388 (compilation--previous-directory): Handle one more case.
2389 (compilation-enable-debug-messages): Remove.
2390 (compilation-parse-errors, compilation--flush-parse): Just remove the
2391 left over debug messages.
2393 2011-01-31 Sam Steingold <sds@gnu.org>
2395 * progmodes/compile.el (compilation-enable-debug-messages):
2396 Add a variable to make the parsing messages introduced in
2397 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2398 (compilation-parse-errors, compilation--flush-parse): Use it.
2400 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2402 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2403 (rcirc-nick-completion-format): New defcustom.
2404 (rcirc-complete): Use it.
2406 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2408 * net/rcirc.el: Clean log filenames (Bug#7933).
2409 (rcirc-log-write): Use convert-standard-filename.
2410 (rcirc-log-filename-function): Documentation updates.
2412 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2414 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2415 Check report-emacs-bug-can-use-osx-open and use that if t.
2416 (report-emacs-bug-can-use-osx-open): New function.
2417 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2418 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2420 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2422 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2423 updating Dired or VC-dir buffers after async command completes.
2425 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2426 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2428 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2429 completions if it exists. Use vc-set-async-update.
2430 (vc-git-pull): Use vc-set-async-update.
2432 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2433 read-shell-command. Use vc-set-async-update.
2434 (vc-hg-merge-branch): Use vc-set-async-update.
2436 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2438 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2439 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2442 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * progmodes/compile.el: Avoid an N² behavior in grep.
2445 (compilation--previous-directory): New fun.
2446 (compilation--previous-directory-cache): New var.
2447 (compilation--remove-properties): Flush it.
2448 (compilation-directory-properties, compilation-error-properties):
2449 Use the new fun to speed up looking for the current directory.
2451 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2453 * vc/vc-hg.el (vc-hg-history): New var.
2454 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2455 (vc-hg-merge-branch): New function.
2457 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2458 the other way around.
2460 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2461 (vc-git-merge-branch): New functions.
2462 (vc-git-history): New var.
2464 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2466 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2468 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2469 vc-do-async-command.
2471 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2474 2011-01-28 Leo <sdl.web@gmail.com>
2476 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2477 highlighting to the "this function is advised" message.
2479 * help-mode.el (help-mode-finish): Apply highlighting here, to
2480 avoid clobbering by substitute-command-keys (Bug#6304).
2482 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2484 * woman.el (woman0-roff-buffer): Process roff escape sequences
2485 occurring prior to the first request (Bug#7843).
2487 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2489 * progmodes/compile.el: Don't use font-lock any more.
2490 (compilation-error-regexp-alist-alist): Change handling of makepp
2491 so it preserves the warning/error distinction on subsequent files.
2492 Simplify various rules.
2493 (compilation-directory-properties): Use font-lock-face.
2494 Add a compilation-message property.
2495 (compilation-internal-error-properties): Use font-lock-face.
2496 Don't set the compilation-debug property here.
2497 (compilation--put-prop, compilation--remove-properties)
2498 (compilation--parse-region, compilation--ensure-parse)
2499 (compilation--ensure-parse): New functions.
2500 (compilation-parse-errors): New function, largely inspired of
2501 compilation-mode-font-lock-keywords. Set compilation-debug here.
2502 (compilation--parsed): New var.
2503 (compilation--flush-parse): Use compilation--ensure-parse.
2504 (compilation-start): Don't call font-lock.
2505 (compilation-turn-on-font-lock): Remove.
2506 (compilation-setup): Don't set font-lock-extra-managed-props not change
2507 other font-lock settings, other than keywords.
2508 Don't activate font-lock-mode.
2509 Set change-major-mode-hook and before-change-functions.
2510 (compilation--unsetup): Remove properties and hooks.
2511 (compilation-next-single-property-change): New function.
2512 (compilation-next-error): Use it to parse when needed.
2513 (compile-goto-error): Parse buffer as needed.
2514 (compilation--compat-error-properties): Don't need a dummy `face'
2517 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2520 (compilation-process-setup-function): Fix docstring's false promises.
2521 (compilation-error-regexp-alist-alist): Catch omake's continuous
2522 recompilation message and avoid reuse of old markers.
2523 (compilation-parse-errors-function): Declare obsolete.
2524 (compilation-buffer-modtime): Remove.
2525 (compilation--make-cdrloc, compilation--loc->col)
2526 (compilation--loc->line, compilation--loc->file-struct)
2527 (compilation--loc->marker, compilation--loc->visited)
2528 (compilation--make-file-struct, compilation--file-struct->file-spec)
2529 (compilation--file-struct->formats)
2530 (compilation--file-struct->loc-tree): New macros. Use them.
2531 (compilation--message): New defstruct. Use them.
2532 (compilation-next-error-function): Don't mess with timestamps to try
2533 and guess when to reparse.
2535 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2538 (tex-old-error-file-name): New function,
2539 extracted from tex-compilation-parse-errors.
2540 (tex-compilation-parse-errors): Remove.
2541 (tex-error-regexp-alist): New var.
2542 (tex-shell): Use it to avoid compilation-parse-errors-function.
2544 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2545 (grep-mode-font-lock-keywords): Remove regexp that seems like
2546 a left-over from before we used compile.el.
2547 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2548 modifying the buffer within with-silent-modifications.
2550 * progmodes/compile.el: Cleanup text-properties namespace by using
2551 `compilation-message' instead of `message', `compilation-directory'
2552 instead of `directory', and `compilation-debug' instead of `debug'.
2553 (compilation-last-buffer, compilation-parsing-end)
2554 (compilation-error-list, compilation-old-error-list): Move to the
2555 compatibility part of the code.
2556 (compilation-error-properties): If `file' is a function, let it return
2558 (compilation-mode-font-lock-keywords): Be more conservative with the
2559 omake "^ *" pattern prefix, to try and minimize the risk of
2560 pathologically slow regexp matching.
2561 (compilation-start): Use inhibit-read-only.
2562 (compilation--unsetup): New function.
2563 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2564 (compilation-filter): Minor tweaks.
2565 (compilation-next-error-function): Try and avoid abusing variables.
2566 (compilation--flush-file-structure): New fun.
2567 (compilation-fake-loc): Use it to improve behavior when file is reused.
2568 (debug-ignored-errors): Add "Moved past last ...".
2569 (compilation--compat-error-properties)
2570 (compilation--compat-parse-errors): Rename by doubling the "-".
2572 Port features from the previous prolog.el to the new one.
2573 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2574 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2575 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2576 variable and use a function to compute the value dynamically.
2577 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2578 (prolog-continued-prompt-regexp): Remove, unused.
2579 (prolog-find-value-by-system): Try and use the value of prolog-system
2580 in the *prolog* buffer if it helps.
2581 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2582 (prolog-zip-on): ..and check prolog-system and version here instead.
2583 (prolog-inferior-self-insert-command): New command.
2584 (prolog-inferior-mode-map): Use it.
2585 (prolog-inferior-error-regexp-alist): New var.
2586 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2587 (prolog-input-filter): Use derived-mode-p.
2588 (prolog-inferior-guess-flavor): New function.
2589 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2590 make-comint to avoid running comint-mode twice.
2591 (prolog-inferior-buffer): New fun.
2592 (prolog-old-process-region, prolog-old-process-file):
2593 Don't call prolog-bsts here...
2594 (prolog-build-prolog-command): ...do it here instead.
2595 (prolog-old-process-region, prolog-old-process-file):
2596 Use compilation-fake-loc and compilation-forget-errors.
2597 (prolog-consult-compile-region): Use bolp.
2599 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2601 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2603 2011-01-27 Sam Steingold <sds@gnu.org>
2605 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2606 Remove "*server*" which is never created by emacs server.
2608 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2610 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2611 there are some diff switches.
2613 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2615 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2616 Copy change made to ruby-font-lock-syntactic-keywords.
2618 * htmlfontify.el: Make it obey the font-lock-face text property.
2619 Miscellaneous cleanup such as:
2620 - Don't hide expressions after a closing paren.
2621 - Move initial setq into let.
2622 - Hoist common parts out of ifs.
2623 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2624 (hfy-face-at): Use get-text-property instead.
2625 (hfy-prop-invisible-p): Use invisible-p if available.
2626 (htmlfontify-manual): Use \\[...].
2627 (hfy-html-quote-regex): Use [...].
2628 (hfy-combined-face-spec): Simplify.
2629 (hfy-compile-face-map): Don't presume point-min==1.
2630 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2631 match end of string.
2632 (hfy-text-p): η-reduce.
2633 (hfy-tags-for-file): Receive cache-hash directly.
2634 (hfy-mark-tag-names): Adjust call.
2636 2011-01-27 Glenn Morris <rgm@gnu.org>
2638 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2639 (msb-after-load-hook): Remove eval-after-load wackiness.
2641 2011-01-25 Sam Steingold <sds@gnu.org>
2643 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2644 literal "diff" (important for windows-nt).
2646 2011-01-25 Glenn Morris <rgm@gnu.org>
2648 * emacs-lisp/copyright.el (copyright-at-end-flag)
2649 (copyright-names-regexp): Add safety properties.
2650 (copyright-year-ranges): New option.
2651 (copyright-find-end): New function, split from copyright-update-year.
2652 (copyright-update-year): Use copyright-find-end.
2653 (copyright-fix-years): Optionally, convert years to ranges.
2654 Handle years continued over comment lines.
2655 Do not mess with the fill-prefix.
2656 Do not call copyright-update.
2657 (copyright-update-directory): Optionally, fix years rather than update.
2658 Skip directories. Find files with only safe local vars.
2660 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * files.el (file-name-non-special): Only change buffer-file-name after
2663 insert-file-contents if it's `visit'ing the file (bug#7854).
2665 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2667 * dired.el (dired-revert): Doc fix (Bug#7758).
2669 * simple.el (line-move-visual): Doc fix (Bug#7594).
2671 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2673 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2674 here-doc which ends with an underscore.
2675 (ruby-mode-set-encoding): Skip shebang line always.
2676 (ruby-mode-map): Bind C-c C-c to comment-region.
2677 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2678 (ruby-forward-sexp): Stop after literal hash key labels.
2679 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2682 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2684 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2685 the correct buffer (Bug#7650).
2687 2011-01-25 Glenn Morris <rgm@gnu.org>
2689 * comint.el (comint-mode): Doc fix. (Bug#7897)
2691 * simple.el (do-auto-fill): Give it a doc string.
2693 * button.el (make-text-button): Doc fix. (See bug#7881)
2695 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2698 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2700 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2701 Handle ?" and friends differently (e.g. don't use backrefs).
2703 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2705 * calc/calc.el (calc-default-power-reference-level)
2706 (calc-default-field-reference-level): New variables.
2707 * calc/calc-units.el (math-standard-units): Add dB and Np.
2708 (math-logunits): New variable.
2709 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2710 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2711 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2713 (math-find-base-units-rec): Add entry for ln(10).
2714 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2715 (calc-ul-prefix-help): New function.
2716 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2717 functions. Add keybindings for new units functions.
2719 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2721 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2722 rcirc buffers. (Bug#4940)
2724 2011-01-22 Glenn Morris <rgm@gnu.org>
2726 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2727 split out from copyright-update-year.
2728 (copyright-update): Don't mess with the GPL version if we don't own the
2729 copyright. Update license regexp, and remove no longer needed
2731 (copyright-fix-years): Use copyright-find-copyright.
2733 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2735 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2737 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2739 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2740 (lm): Rename to landmark.
2741 (lm-test-run): Rename to landmark-test-run.
2743 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2745 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2746 "Case sensitive" menu item.
2748 2011-01-22 Roland McGrath <roland@frob.com>
2750 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2751 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2753 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2755 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2757 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2759 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2760 Assume foo(bar) is a manpage reference rather than some unquoted
2763 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2766 Suggested by Flo <sensorflo@gmail.com>.
2768 2011-01-22 Glenn Morris <rgm@gnu.org>
2770 * progmodes/compile.el (compilation-error-regexp-alist):
2771 Fix custom type. (Bug#7812)
2773 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2775 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2776 allout-number-siblings, in keeping with what obtained due to
2777 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2779 (allout-before-change-handler): Better expose spots affected by
2782 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2784 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2786 2011-01-22 Phil Hagelberg <phil@evri.com>
2788 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2789 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2790 (pcmpl-ssh-config-hosts): New function.
2791 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2792 pcmpl-ssh-known-hosts.
2794 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2796 * calc/calc-undo.el (calc-undo): Autoload it.
2797 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2798 and autoload for `calc-undo'.
2799 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2800 * calc/calc-prog.el:
2801 * calc/calc-graph.el:
2802 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2804 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2806 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2807 keybindings to `calc-undo'.
2809 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2811 Don't mess with *temp*.
2812 * obsolete/spell.el: Move from textmodes/spell.el.
2814 * term.el (term-read-input-ring):
2815 * startup.el (display-startup-echo-area-message):
2816 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2817 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2818 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2821 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2823 * allout.el (allout-institute-keymap): Use fset instead of
2824 reapplying defalias.
2826 (allout-hotspot-key-handler): Check for non-control-modified
2827 bindings for hotspot characters if there are no control-modified
2830 * allout.el: Summary - migrate to defining allout mode using
2831 define-minor-mode instead of defun. Significantly clean-up
2832 internal keymap provisions, refactoring and, in the process,
2833 removing a lot of accumulated cruft.
2835 allout-mode-map is now a keymap by virtue of being a defalias to
2836 allout-mode-map-value, which contains the actual keymap structure.
2838 (allout-mode): Use define-minor-mode rather than defun.
2839 Remove now-unnecessary minor-mode setup activities from the body.
2840 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2841 entry will be '(allout-mode . allout-mode-map) - see
2842 allout-mode-map-value, below. Adjust docstring to track changes.
2843 (allout-minor-mode): Remove this defalias, now that we're using
2845 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2846 keymap is allout-mode-map-value, via defalias.
2847 (allout-mode-map-value): The variable holding the actual mode
2848 keymap structure, by virtue of defalias from allout-mode-map.
2849 (allout-compose-and-institute-keymap): Rename from
2850 allout-bind-keys, and including the binding-composition
2851 functionality of the former produce-allout-mode-map and
2852 allout-setup-mode-map.
2853 (allout-institute-keymap): Take over the "setup" part of the former
2854 allout-setup-mode-map. Reassign allout-mode-map-value value and
2855 update the defalias.
2856 (allout-command-prefix, allout-prefixed-keybindings)
2857 (allout-unprefixed-keybindings):
2858 Use allout-compose-and-institute-keymap to process the bindings.
2859 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2860 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2861 user can customize if they want to use that binding.
2862 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2863 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2864 elided that, previously, instead of the one for \C-h.)
2865 (allout-hotspot-key-handler): Remove attempt to resolve the key
2866 through the literal key-string lookup on allout-keybindings-list.
2867 That probably hasn't worked for a Long Time, and removal of
2868 allout-keybindings-list further simplifies the keybindings situation.
2869 (allout-pre-command-business): Use allout-mode-map-value instead
2871 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2872 the bindings if they want to use a keybinding having a trailing
2873 \C-h. No deprecation needed since this feature was never in a release.
2874 (allout-keybindings-list): Remove. It's not been useful for a
2875 while. (See allout-hotspot-key-handler changes, above.)
2876 (produce-allout-mode-map): Remove. Consolidate into
2877 allout-compose-and-institute-keymap.
2878 (allout-mode-map-adjustments): Remove. No longer necessary with
2879 removal of allout-preempt-trailing-ctrl-h.
2880 (allout-setup-mode-map): Remove. Consolidate into
2881 allout-compose-and-institute-keymap and allout-institute-keymap.
2883 2011-01-20 Glenn Morris <rgm@gnu.org>
2885 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2887 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2889 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2891 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2893 * files.el (find-alternate-file, basic-save-buffer)
2894 (basic-save-buffer-2, revert-buffer, recover-file)
2895 (kill-buffer-ask, abort-if-file-too-large)
2896 (set-visited-file-name, write-file, backup-buffer)
2897 (basic-save-buffer, save-some-buffers):
2898 * dired-aux.el (dired-compress-file): Callers changed.
2900 2011-01-19 Glenn Morris <rgm@gnu.org>
2902 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2903 Also check the property status. (Bug#7861)
2905 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2907 * net/tramp.el (tramp-debug-message): Extend function exclude
2908 list. Use `regexp-opt'.
2910 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2913 highlighting doesn't spill over subsequent lines.
2915 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2916 keymap expression. Improve docstring.
2918 * electric.el (electric-indent-post-self-insert-function):
2919 Don't auto-indent for indent-to-left-margin, it's too often
2922 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2924 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2925 spaces if the frame was resized, so that the full visible buffer
2926 serves as canvas for strokes.
2928 2011-01-16 Glenn Morris <rgm@gnu.org>
2930 * info-xref.el (info-xref-docstrings): Replace cl function.
2931 Also skip directories.
2933 2011-01-16 Kevin Ryde <user42@zip.com.au>
2935 * info-xref.el: Version 3.
2936 (info-xref-check, info-xref-check-all): Move commentary details
2937 into docstrings for better visibility.
2938 Use compilation-mode for the results buffer.
2939 (info-xref-output, info-xref-output-error, info-xref-with-output)
2940 (info-xref-filename, info-xref-in-progress):
2941 New internals for this.
2942 (info-xref-check-list, info-xref-check-buffer)
2943 (info-xref-check-all-custom): Use those.
2944 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2945 (info-xref-output-heading): Rename from info-xref-filename-heading.
2946 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2947 (info-xref-filename-heading): Move to output managing section.
2948 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2949 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2950 (info-xref-subfile-p): Move to generic section with those two.
2951 (info-xref-check-node): New function split from
2952 info-xref-check-buffer, shared by info-xref-docstrings.
2953 (info-xref-goto-node-p): Move to a checking section with that func.
2954 (info-xref-unavail): New counter.
2955 (info-xref-check-node): Use it.
2956 (info-xref-with-output): Show count of unavailables at end of output.
2957 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2958 symlinks. Exclude .texi files. Exclude Emacs backup files.
2959 (info-xref-check-all-custom): Fix quietening viper-mode and
2960 gnus-registry-install -- use setq not let so as not to unbind
2963 2011-01-16 Juri Linkov <juri@jurta.org>
2965 * isearch.el (isearch-abort): Don't quit if search has
2966 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2968 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2970 * files.el (backup-buffer): Make last-resort backup file in
2971 .emacs.d (Bug#6953).
2973 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2974 make it with permission 700.
2976 2011-01-15 Kenichi Handa <handa@m17n.org>
2978 * mail/rmailmm.el (rmail-mime-insert-header):
2979 Set rmail-mime-coding-system to a cons whose car is the last coding
2980 system used to decode the header.
2981 (rmail-mime-find-header-encoding): New function.
2982 (rmail-mime-insert-decoded-text):
2983 Override rmail-mime-coding-system if it is a cons.
2984 (rmail-show-mime): If only a header part was decoded, find the
2985 coding system while ignoring mm-charset-override-alist.
2987 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2989 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2991 2011-01-15 Kenichi Handa <handa@m17n.org>
2993 * mail/rmailmm.el (rmail-mime-next-item)
2994 (rmail-mime-previous-item): Delete them.
2995 (rmail-mime-shown-mode): Recursively call for children.
2996 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2998 (rmail-mime-raw-mode): Recursively call for children.
2999 (rmail-mode-map): Change mapping of tab and backtab to
3000 forward-button and backward-button respectively.
3001 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
3003 (rmail-mime-update-tagline): New function.
3004 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
3005 body display is changed.
3006 (rmail-mime-toggle-button): Rename from rmail-mime-image.
3007 (rmail-mime-image): Delete this button type.
3008 (rmail-mime-toggle): New button type.
3009 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
3010 body display is changed. Change the save button label to "Save".
3011 Don't process show/hide button here.
3012 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
3013 the body display is changed. Unconditionally call
3014 rmail-mime-insert for children.
3015 (rmail-mime-handle): Update `display' vector of the just inserted
3017 (rmail-mime-process): If mail-header-parse-content-type returns
3018 nil, use "text/plain" as the fallback type.
3019 (rmail-mime-insert): For raw-mode, recursively call
3020 rmail-mim-insert for children.
3021 (rmail-mime): Handle the case that the current buffer is not rmail
3022 buffer (e.g. in summary buffer).
3024 2011-01-15 Kenichi Handa <handa@m17n.org>
3026 * mail/rmailmm.el (rmail-mime-next-item)
3027 (rmail-mime-previous-item): Skip the body of a non-multipart
3028 entity if a tagline is shown.
3030 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
3033 (tmm-prompt): Simplify.
3034 (tmm-add-prompt): Remove unused var `win'.
3036 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
3037 to minor mode which used nil accidentally to mean "turn off".
3039 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3041 * net/tramp-sh.el (tramp-find-inline-compress)
3042 (tramp-get-inline-coding): Quote command after pipe symbol for
3043 local calls under W32. (Bug#6784)
3045 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3047 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3048 only when running under W32.
3050 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3052 * progmodes/grep.el (grep-compute-defaults): Quote the program
3053 file name after the pipe symbol in Grep templates. (Bug#6784)
3054 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3056 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3058 * buff-menu.el (Buffer-menu-buffer-list): New var.
3059 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3060 restricted buffer list is not lost on revert (Bug#7749).
3062 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3064 * net/ldap.el (ldap-search-internal): Discard stderr output.
3066 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3068 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3070 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3074 2011-01-15 Kenichi Handa <handa@m17n.org>
3076 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3077 part as a plain text.
3078 (rmail-mime-process-multipart): Set the default content-type to
3079 nil for unknown multipart subtypes (bug#7651).
3081 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * hexl.el (hexl-mode-old-*): Remove.
3084 (hexl-mode--old-var-vals): New var to replace them.
3085 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3086 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3087 Use them to set local vars (bug#7846).
3088 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3089 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3090 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3092 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3093 (smerge-resolve--normalize-re): New var.
3094 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3095 (smerge-resolve): Use them.
3096 * newcomment.el (comment-only-p): New function.
3097 (comment-or-uncomment-region): Use it.
3099 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3101 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3102 table, get the value before switching to the output buffer. (Bug#7733)
3104 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3108 2011-01-14 Kim F. Storm <storm@cua.dk>
3110 * emulation/cua-base.el (cua--init-keymaps):
3111 Remap exchange-point-and-mark in cua-global-keymap.
3113 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3115 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3118 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3120 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3122 (easy-menu-create-menu, easy-menu-convert-item-1):
3123 Use :label rather than nil for labels. Use `case'.
3124 Add :enable as alias for :active.
3125 (easy-menu-binding): Obey :label.
3127 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3129 Use run-mode-hooks for major mode hooks (bug#513).
3130 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3131 Rename from reftex-toc-map.
3132 (reftex-toc-mode): Use define-derived-mode.
3133 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3134 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3135 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3136 (reftex-select-label-mode, reftex-select-bib-mode):
3137 Use define-derived-mode.
3138 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3139 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3140 Move init into delcaration.
3141 (reftex-index-mode, reftex-index-phrases-mode):
3142 Use define-derived-mode.
3143 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3144 speedbar-syntax-table. Move init into declaration.
3145 (speedbar-mode-map): Rename from speedbar-key-map.
3146 Move init into declaration.
3147 (speedbar-file-key-map): Move init into declaration.
3148 (speedbar-mode): Use define-derived-mode.
3149 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3150 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3151 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3152 (chart-face-list): Move initialization into declaration.
3153 (chart-mode): Use define-derived-mode.
3154 * calculator.el (calculator-mode-map): Move init into declaration.
3155 (calculator-mode): Use define-derived-mode.
3157 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3158 work for nested comments.
3160 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3161 (prolog-use-prolog-tokenizer-flag): Change default when
3162 syntax-propertize can be used.
3163 (prolog-syntax-propertize-function): New var.
3164 (prolog-mode-variables): Move make-local-variable into `set'.
3165 Don't make comment-column local since we don't set it.
3166 Set comment-add (as it was in previous prolog.el). Use dolist.
3167 Set syntax-propertize-function.
3168 (prolog-mode, prolog-inferior-mode):
3169 Call prolog(-inferior)-menu directly, not through the mode-hook.
3170 (prolog-buffer-module, prolog-indent-level)
3171 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3172 (prolog-comment-limits, prolog-goto-comment-column):
3173 Use line-(end|beginning)-position.
3174 (prolog-build-prolog-command): Tighten up regexp.
3175 (prolog-consult-compile): Move make-local-variable into `set'.
3176 (prolog-consult-compile-filter, prolog-goto-next-paren)
3177 (prolog-help-on-predicate, prolog-clause-info)
3178 (prolog-mark-predicate): Don't let+setq.
3179 (prolog-indent-line): Use indent-line-to.
3180 Only call prolog-goto-comment-column if necessary.
3181 (prolog-indent-level): Use bobp.
3182 (prolog-first-pos-on-line): Remove, not used any more.
3183 (prolog-in-string-or-comment): Use syntax-ppss if available.
3184 (prolog-help-on-predicate): Use read-string.
3185 (prolog-goto-predicate-info): Simplify.
3186 (prolog-read-predicate): Use `default' rather than `initial'.
3187 (prolog-temporary-file): Use make-temp-file to close a security hole.
3188 (prolog-toggle-sicstus-sd): New command.
3189 (prolog-electric-underscore, prolog-variables-to-anonymous):
3190 Use dynamic-scoping as it was meant.
3191 (prolog-menu): Move menu definitions to top-level.
3192 Use a toggle-button for Sicstus's source debugger.
3193 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3195 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3196 Move other menu definition to top-level.
3198 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3200 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3201 name. Keep original document's directory as default-directory
3203 (doc-view-initiate-display): Fall back to normal mode when
3204 doc-view-mode cannot be enabled, also when extracting the document
3205 text into a separate buffer (bug#6446).
3207 * simple.el (shell-command): Don't error out if shell command
3208 buffer contains text with non-nil read-only property when erasing
3211 2011-01-13 Kim F. Storm <storm@cua.dk>
3213 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3214 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3215 items when cycling through the matches.
3217 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3219 * dired-x.el (dired-omit-verbose): New defcustom that allows
3220 disabling the omit messages.
3221 (dired-omit-expunge): Use it.
3223 2011-01-13 Christian Ohler <ohler@gnu.org>
3225 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3227 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3229 * font-lock.el (font-lock-verbose): Default to nil.
3231 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3233 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3234 (compose-mail): New arg RETURN-ACTION.
3235 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3237 * mail/sendmail.el (mail-return-action): New var.
3238 (mail-mode): Make it buffer-local.
3239 (mail-bury): Obey it. Move special Rmail window handling to
3241 (mail, mail-setup): New arg RETURN-ACTION.
3242 (sendmail-user-agent-compose): Move from simple.el.
3244 * mail/rmail.el (rmail-mail-return): New function.
3245 (rmail-start-mail): Pass it to compose-mail.
3247 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3249 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3250 menus. Add menu item for customize-themes.
3252 * cus-theme.el (customize-themes):
3253 * emacs-lisp/package.el (package--list-packages):
3254 Use switch-to-buffer.
3256 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3258 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3260 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * progmodes/prolog.el: Fix up coding convention and such.
3263 (prolog-indent-width): Use the same default as in
3264 previous prolog.el rather than tab-width which depends on which buffer
3265 is current when the file is loaded.
3266 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3268 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3269 (prolog-known-systems): Remove.
3270 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3271 Move initialization into declaration.
3272 (prolog-mode-map): Move initialization into declaration.
3273 Remove system-specific mode-map vars, since they referred to the same
3275 (prolog-mode-variables): Obey the user's preference w.r.t
3276 adaptive-fill-mode. Prefer symbol-value to `eval'.
3277 (prolog-mode-keybindings-edit): Add compatibility bindings.
3278 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3279 (mercury-mode-map): New var.
3280 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3281 (prolog-ensure-process, prolog-process-insert-string)
3282 (prolog-consult-compile): Use with-current-buffer.
3283 (prolog-guess-fill-prefix): Simplify data flow.
3284 (prolog-replace-in-string): New function to use instead of
3286 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3287 (prolog-uncomment-region): Use `uncomment-region' when available.
3288 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3289 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3290 of int-to-char and char-to-int.
3291 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3293 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3295 * progmodes/prolog.el: Replace by a whole new file.
3297 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3300 (declare-function, undefined, insert-for-yank)
3301 (replace-regexp-in-string): Follow checkdoc's recommendations.
3303 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3305 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3306 refreshing the diary buffer.
3308 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3310 * allout.el: Add 2011 to the file copyright.
3311 (allout-encrypt-string): Prevent encryption from adding an extra
3312 newline at the end of the topic body.
3313 (allout-version): Increment to 2.3.
3315 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3317 * net/dbus.el (dbus-unregister-service): Complete doc.
3318 Fix call of dbus-error signal.
3319 (dbus-register-property): Use `dont-register' keyword.
3321 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3323 * net/dbus.el (dbus-unregister-service): Translate returned
3324 integer into a symbol.
3325 (dbus-register-property): Use `dbus-register-service' to do the
3328 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3330 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3331 Suggested by Joakim Verona.
3333 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3335 * wid-edit.el (visibility): Replace :on-image and :off-image
3336 widget properties with :on-glyph and :off-glyph, for consistency
3337 with the `visibility' widget.
3338 (widget-toggle-value-create, widget-visibility-value-create):
3339 Merge into a single function `widget-toggle-value-create'.
3341 * cus-edit.el (custom-variable-value-create, custom-visibility)
3342 (custom-face-edit-value-create, custom-face-value-create):
3343 Replace :on-image and :off-image widget properties with :on-glyph and
3344 :off-glyph, for consistency with the `visibility' widget.
3346 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3348 * net/ldap.el (ldap-search-internal): Don't use eval.
3350 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3352 * subr.el (read-char-choice): Use read-key.
3354 * custom.el (custom-safe-themes): Rename from
3355 custom-safe-theme-files. Add :risky tag.
3356 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3357 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3359 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3361 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3362 from Search and add a label to Undo.
3364 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3365 inappropriate buttons and adding :vert-only tags.
3367 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3368 removal of Help tool-bar button. Remove Undo button for space.
3370 * info.el (info-tool-bar-map): Add :vert-only tags.
3372 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3374 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3375 image backend support. Either of them is fine.
3377 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3379 * subr.el (y-or-n-p): Doc fix.
3381 * custom.el (custom-safe-theme-files): New defcustom.
3382 (custom-theme-load-confirm): New function.
3383 (load-theme): Load theme using `load', confirming with
3384 custom-theme-load-confirm if necessary.
3386 * subr.el (read-char-choice): New function, factored out from
3387 dired-query and hack-local-variables-confirm.
3389 * dired-aux.el (dired-query):
3390 * files.el (hack-local-variables-confirm): Use it.
3392 * dired-aux.el (dired-compress-file):
3393 * files.el (abort-if-file-too-large, find-alternate-file)
3394 (set-visited-file-name, write-file, backup-buffer)
3395 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3396 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3397 Use new format string args for y-or-n-p and yes-or-no-p.
3399 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3401 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3402 [gcc-include]: Tighten file name match, add match for column
3404 [gnu]: Remove unused group.
3406 2011-01-08 Glenn Morris <rgm@gnu.org>
3408 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3410 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3412 2011-01-07 Sam Steingold <sds@gnu.org>
3414 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3415 the `explicit-shell-file-name' because that is the
3416 non-interactive shell.
3418 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3420 * subr.el (y-or-n-p): Accept format string args.
3422 2011-01-07 Glenn Morris <rgm@gnu.org>
3424 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3426 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3428 * allout.el (allout-back-to-current-heading): Ensure return to
3429 the visible containing topic, rather than a collapsed one.
3430 (allout-view-change-hook): Remove hook that was deprecated long ago.
3431 (allout-exposure-change-hook): Remove documentation remarks
3432 concerning removed allout-view-change-hook.
3433 (allout-flag-region): Remove invocation of and documentation
3434 remarks concerning allout-view-change-hook.
3436 2011-01-06 Glenn Morris <rgm@gnu.org>
3438 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3439 (vc-bzr-annotate-extract-revision-at-line):
3440 Handle authors with embedded spaces. (Bug#7792)
3442 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3444 * doc-view.el (doc-view-image-width): New variable.
3445 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3446 backend for PNG images, and do dynamic rescaling instead of
3447 reconverting the whole doc.
3449 2011-01-05 Glenn Morris <rgm@gnu.org>
3451 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3453 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3455 * allout.el: Reconcile with changes in line movement behavior for
3456 long text lines that cross more than a single physical window
3457 line, ie when truncate-lines is nil.
3458 (allout-next-visible-heading): Provide for change in line-move
3459 behavior on long lines when truncate-lines is nil. In that case,
3460 line-move can wind up on the same textual line when it moves to
3461 the next window line, and moving to the bullet position after the
3462 move yields zero advancement. Add logic to detect and compensate
3463 for the lack of progress.
3464 (allout-current-topic-collapsed-p): move-end-of-line respect for
3465 field boundaries is different when operating with body lines
3466 shorter than window width versus ones greater than window width,
3467 which can yield false negatives in this function. Avoid
3468 difference by applying move-end-of-line while field-text-motion is
3471 2011-01-04 Glenn Morris <rgm@gnu.org>
3473 * textmodes/rst.el (rst-compile-toolsets):
3474 Add pdf and s5 to option alist.
3476 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3478 * net/dbus.el (dbus-register-property): Add optional parameter
3479 dont-register-service. Updated docstring accordingly.
3481 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3483 * textmodes/rst.el (rst-compile-pdf-preview)
3484 (rst-compile-slides-preview): Remove extra line.
3486 2011-01-04 Glenn Morris <rgm@gnu.org>
3488 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3489 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3490 default to `prog' without a .py extension.
3491 (rst-compile-pdf-preview, rst-compile-slides-preview):
3492 Use program names from rst-compile-toolsets, rather than hard-coding.
3493 (rst-portable-mark-active-p): Fix presumed typo.
3495 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3497 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3498 libpng versions both before and after 1.4.0. (Bug#7716)
3500 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3502 * time.el (display-time-mode): Mention display-time-interval in
3503 the doc string. (Bug#7713)
3505 2011-01-02 Kenichi Handa <handa@m17n.org>
3507 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3508 condition-case and return an error message string if something
3510 (rmail-show-mime): Adjust for the above change. Insert the
3511 header by rmail-mime-insert-header.
3513 2011-01-02 Kenichi Handa <handa@m17n.org>
3515 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3516 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3517 (rmail-mime-mbox-buffer)
3518 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3519 (rmail-mime-entity): Argument changed. All codes handling an
3520 entity object are changed.
3521 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3523 (rmail-mime-entity-children, rmail-mime-entity-handler)
3524 (rmail-mime-entity-tagline): New functions.
3525 (rmail-mime-message-p): New function.
3526 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3527 (rmail-mime-entity-segment, rmail-mime-next-item)
3528 (rmail-mime-previous-item, rmail-mime-shown-mode)
3529 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3530 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3531 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3533 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3534 (rmail-mime-insert-decoded-text): New function.
3535 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3536 (rmail-mime-insert-image): Argument changed. Caller changed.
3537 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3538 (rmail-mime-set-bulk-data): New function.
3539 (rmail-mime-insert-bulk): Argument changed.
3540 (rmail-mime-multipart-handler): Return t.
3541 (rmail-mime-process-multipart): Argument changed.
3542 Handle "multipart/alternative" here.
3543 (rmail-mime-process): Argument changed.
3544 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3545 (rmail-mime-insert): Argument changed. Handle raw display mode.
3546 (rmail-mime): Argument changed. Handle toggling of raw display
3548 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3549 rmail-mime-view-buffer.
3550 (rmail-insert-mime-forwarded-message): Likewise.
3551 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3553 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3554 non-nil, handle the header in rmail-show-mime-function.
3556 2011-01-02 Leo <sdl.web@gmail.com>
3558 * help-fns.el (describe-variable): Fix previous change.
3560 2011-01-02 Juri Linkov <juri@jurta.org>
3562 * isearch.el (isearch-lazy-highlight-error): New variable.
3563 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3564 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3565 to the current value of `isearch-error' (Bug#7468).
3567 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3569 * help-fns.el (describe-variable): Don't emit trailing whitespace
3572 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3574 * textmodes/rst.el (rst-compile-pdf-preview)
3575 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3577 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3579 * emulation/edt-mapper.el: Override mapping of function keys so
3580 that the later call to read-key-sequence works.
3582 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3584 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3585 Unix EOLs. (Bug#7589)
3587 2011-01-02 Leo <sdl.web@gmail.com>
3589 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3590 if point is not behind eshell-last-output-end (Bug#7585).
3592 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3594 * files.el (file-local-variables-alist):
3595 Make permanent-local (bug#7767).
3597 2011-01-02 Glenn Morris <rgm@gnu.org>
3599 * version.el (emacs-copyright): Set short copyright year to 2011.
3601 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3603 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3604 an existing temp buffer. (Bug#7746)
3606 2011-01-02 Glenn Morris <rgm@gnu.org>
3608 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3609 multiple addresses. (Bug#7760)
3611 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3613 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3614 do-auto-fill if everything points back to allout-auto-fill.
3615 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3616 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3618 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3620 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3623 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3625 * doc-view.el (doc-view-set-doc-type): New function refactored
3627 (doc-view-fallback-mode): New function.
3628 (doc-view-mode): Use it.
3629 (doc-view-mode-maybe): New function that checks if doc-view-mode
3630 can be used and falls back to the next best mode otherwise.
3632 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3633 DVI, OpenDocument, and MS Office files.
3635 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3637 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3639 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3641 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3642 on a copy of auto-mode-alist, because that deletes with side
3645 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3647 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3648 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3649 fallback instead of hard coding fundamental mode.
3651 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3653 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3654 Office) files also for searching.
3656 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3658 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3659 Office) files. Not yet enabled via auto-mode-list.
3660 (doc-view-unoconv-program): New custom variable.
3661 (doc-view-mode-p): Handle new odf document type.
3662 (doc-view-odf->pdf): New conversion function.
3663 (doc-view-convert-current-doc): Call it for odf files.
3664 (doc-view-mode): Recognize newly supported file extensions.
3666 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp.el (tramp-default-method-alist)
3669 (tramp-default-user-alist)
3670 (tramp-local-host-regexp, tramp-prefix-domain-format)
3671 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3674 * net/tramp-gvfs.el:
3676 * net/tramp-imap.el:
3678 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3679 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3681 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3683 * saveplace.el (save-place-alist-to-file): Save list sorted and
3684 pretty-printed, so that it is mergeable by line-based text merging,
3685 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3687 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3689 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3690 (allout-mode): Argument "toggle" => "force".
3691 Refine the docstring.
3692 Remove special provisions for reactivation, besides the 'force'
3694 Consolidate layout provisions coce directly into the activation
3695 condition branch, now that we've removed those provisions.
3696 (allout-unload-function): Explicitly activate the mode before
3697 deactivating, if it's initially deactivated.
3698 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3699 warnings for version of function used only where
3700 set-buffer-multibyte is unavailable.
3702 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3704 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3705 are handled by the menu-bar entries. As before, don't use
3706 :visibile to avoid changing the tool-bar.
3708 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3710 * net/secrets.el (secrets-delete-alias): New defun.
3712 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3714 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3715 methods, otherwise ~/.ssh/config would be ignored.
3717 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3719 * emacs-lisp/rx.el: Make it a superset of sregex.
3720 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3721 of args, add `regex' alias.
3722 (rx-info): Add arg to distinguish head and standalone forms.
3723 (rx-check, rx-form): Pass the corresponding arg.
3725 (rx-repeat): Make it work for any number of args.
3726 (rx-syntax): Make it accept syntax chars as is.
3727 * obsolete/sregex.el: Move from emacs-lisp/.
3728 * emacs-lisp/re-builder.el: Remove sregex support.
3729 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3731 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3733 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3734 PRIMARY first, then the clipboard. (Bug#7699)
3736 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3741 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3743 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3744 .emacs.elc (Bug#7530).
3746 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3747 image spec (Bug#7480).
3749 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3751 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3752 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3755 2010-12-20 Leo <sdl.web@gmail.com>
3757 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3758 always be performed (Bug#7680).
3760 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3762 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3763 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3766 * color.el: Move from gnus/.
3768 * vc/diff.el (diff-better-file-name): Function deleted.
3769 abbreviating file names causes problems with shell-quote-argument.
3770 (diff-no-select): Just use expand-file-name.
3772 * tool-bar.el (tool-bar--image-expression): New function.
3773 (tool-bar-local-item, tool-bar--image-exp): Use it.
3774 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3775 Use :enable instead of :visible to avoid changing the tool-bar
3776 configuration unnecessarily.
3778 * info.el (info-tool-bar-map): Add separators.
3780 2010-12-17 Ken Brown <kbrown@cornell.edu>
3782 * loadup.el: Use version numbers in Cygwin build.
3784 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3786 * ido.el (ido-file-internal): Ask for confirmation before
3787 overwriting an existing file (Bug#1238).
3789 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3791 * tool-bar.el (tool-bar-setup): Add separators.
3793 * menu-bar.el (featurep): Use menu-bar-separator.
3795 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3797 Migrate allout encryption provisions from pgg to epg.
3799 * allout.el (allout-toggle-current-subtree-encryption)
3800 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3801 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3802 for simpler universal argument interpretation.
3803 (allout-toggle-subtree-encryption): Adjust docstring to describe
3804 changed encryption provisions. Change fetch-pass to keymode-cue, for
3805 simpler universal argument interpretation. Remove provisions for
3806 handling key type and identity - they'll all be within
3807 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3808 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3809 for keypair recipients (universal argument > 1) and, in addition,
3810 associating the specified recipients with the outline (universal
3811 argument > 4) using a file local variable setting for
3812 'epa-file-encrypt-to'.
3813 Require epa, for recipients handling.
3814 Change how regexp filtering elements are named.
3815 Describe the problem with caching of incorrect symmetric-decryption
3817 Use the epa-passphrase-callback-function, in case the user is using
3819 Support saving of the selected keypair recipients when invoked with a
3821 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3823 Establish epg-context with armoring and default epg-protocol.
3824 Remove all passphrase cache, verification, and hinting code.
3825 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3826 No longer used, delete.
3827 (allout-mode): Adjust docstring to describe changed encryption
3828 provisions. Describe the problem with caching of incorrect
3829 symmetric-decryption keys.
3830 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3831 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3832 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3833 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3836 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3838 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3839 key selection prompt; make 'silent as default (Bug#7487).
3841 2010-12-16 Leo <sdl.web@gmail.com>
3843 * eshell/eshell.el (eshell-directory-name):
3844 Use locate-user-emacs-file (Bug#7578).
3846 2010-12-15 Glenn Morris <rgm@gnu.org>
3848 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3850 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3851 Scott Evans <gse@antisleep.com>
3853 * rect.el (rectange--default-line-number-format)
3854 (rectangle-number-line-callback): New functions.
3855 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3857 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3859 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3860 Delete unused variables.
3861 (move-to-column-force): Remove function obsolete since 21.2.
3863 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3865 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3866 (tramp-handle-insert-file-contents): Do not set permanent-local
3869 * net/tramp-cache.el (tramp-persistency-file-name):
3870 Use `locate-user-emacs-file' if fboundp.
3872 * net/tramp-sh.el (tramp-methods): Add "ksu".
3873 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3876 2010-12-14 Glenn Morris <rgm@gnu.org>
3878 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3879 (find-tag-marker-ring): Declare.
3880 (js-find-symbol): Require etags.
3882 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3884 (mail-alias-file): Don't autoload. Doc fix.
3885 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3886 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3887 Mark as obsolete, and risky.
3888 (mail-setup): Simplify.
3890 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3891 * mail/sendmail.el (build-mail-aliases): Update autoload.
3893 * dired.el (dired-trivial-filenames, dired-chown-program)
3894 (dired-auto-revert-buffer): Remove autoload cookies.
3895 * mail/sendmail.el (mail-recover-1): Require 'dired.
3897 * dired.el (dired-subdir-switches, dired-chown-program)
3898 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3899 Make into defcustoms.
3900 (dired-chown-program): Simplify initialization.
3902 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3904 2010-12-13 Romain Francoise <romain@orebokech.com>
3906 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3908 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3910 * net/netrc.el (netrc-point-at-eol): Remove the unused
3911 netrc-point-at-old and netrc-bound-and-true-p bindings.
3912 (netrc-parse): Cache the netrc contents.
3914 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3916 * subr.el (posn-col-row): Evaluate header-line-format in the
3917 context of the POSITION window's buffer.
3919 2010-12-13 Glenn Morris <rgm@gnu.org>
3921 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3922 (with-silent-modifications): Doc fixes.
3924 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3926 * net/tramp.el (tramp-action-password, tramp-process-actions):
3927 Revert previous from. Use `save-restriction'.
3929 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3931 * calendar/diary-lib.el (diary-list-sexp-entries):
3932 Handle case of no newline at end of file. (Bug#7536)
3934 2010-12-13 Glenn Morris <rgm@gnu.org>
3936 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3938 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3940 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3941 (tramp-process-actions): Do not widen.
3943 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3944 Protect buffer-modified value. (Bug#7557)
3946 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3948 * log-edit.el (log-edit-changelog-entries):
3949 Regexp quote filename. (Bug#7505)
3951 2010-12-13 Tom Breton <tehom@panix.com>
3953 * cus-edit.el (custom-save-all):
3954 Bind print-length and print-level to nil. (Bug#7581)
3956 2010-12-13 Glenn Morris <rgm@gnu.org>
3958 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3959 Run hooks to update menu contents. (Bug#7586)
3961 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3962 file names, for the sake of MS Windows. (Bug#7588)
3964 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3966 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3967 empty lines without a leading space.
3969 2010-12-13 Leo <sdl.web@gmail.com>
3971 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3972 while mapping over marks (Bug#6810).
3974 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3976 * image-dired.el (image-dired-db-file)
3977 (image-dired-temp-image-file, image-dired-gallery-dir)
3978 (image-dired-temp-rotate-image-file): Set default values relative
3979 to image-dired-dir (Bug#7518).
3981 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3983 * format.el (format-decode-run-method): Pass args FROM and TO, not
3984 point-min and point-max, to shell-command-on-region (Bug#7488).
3986 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3988 * frame.el (blink-cursor-mode): Make default t for ns.
3990 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3992 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3994 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3996 * comint.el (comint-dynamic-list-input-ring)
3997 (comint-dynamic-complete-filename)
3998 (comint-replace-by-expanded-filename)
3999 (comint-dynamic-simple-complete)
4000 (comint-dynamic-list-filename-completions)
4001 (comint-dynamic-list-completions): Doc fix (Bug#7499).
4003 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
4006 2010-12-13 Martin Rudalics <rudalics@gmx.at>
4008 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
4011 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
4013 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
4016 2010-12-13 Eli Zaretskii <eliz@gnu.org>
4018 * files.el (file-relative-name): Handle UNC file names on
4019 DOS/Windows. (Bug#4674)
4021 2010-12-13 Daiki Ueno <ueno@unixuser.org>
4023 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4024 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4025 (epg-context-set-passphrase-callback): Mention that the callback
4026 is not called when used with GnuPG 2.x.
4028 2010-12-13 Glenn Morris <rgm@gnu.org>
4030 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
4031 Ensure ps-footer-font-size-internal is initialized.
4032 Call ps-get-page-dimensions before trying to use ps-font-for-text.
4034 2010-12-13 Kenichi Handa <handa@m17n.org>
4036 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
4037 within condition-case.
4038 (rmail-show-mime): Don't use condition-case.
4039 (rmail-search-mime-message): New function.
4040 (rmail-search-mime-message-function): Set to
4041 rmail-search-mime-message.
4043 2010-12-13 Leo <sdl.web@gmail.com>
4045 * ido.el (ido-common-initialization): New function. (bug#3274)
4047 (ido-completing-read): Call it.
4049 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4051 * bookmark.el (bookmark-name-from-full-record): Rename back to
4052 this original name from `bookmark-name-from-record' reverting part
4053 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4054 As Drew Adams pointed out, there was no reason to cause churn for
4055 third-party callers. (Bug#7609)
4057 2010-12-12 Alan Mackenzie <acm@muc.de>
4059 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4060 template arglist, check that the current language supports this.
4062 2010-12-11 Glenn Morris <rgm@gnu.org>
4064 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4065 state of the file matches. (Bug#7544)
4066 (vc-bzr-register, vc-bzr-checkin)
4067 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4068 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4070 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4072 2010-12-11 Karel Klíč <kklic@redhat.com>
4074 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4076 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4078 Derive from prog-mode, use derived-mode-p, and fix up various
4079 minor style issues in lisp/progmodes.
4081 * progmodes/vhdl-mode.el (vhdl-mode):
4082 * progmodes/verilog-mode.el (verilog-mode):
4083 * progmodes/vera-mode.el (vera-mode):
4084 * progmodes/sql.el (sql-mode):
4085 * progmodes/scheme.el (scheme-mode):
4086 * progmodes/perl-mode.el (perl-mode):
4087 * progmodes/octave-inf.el (inferior-octave-mode):
4088 * progmodes/autoconf.el (autoconf-mode):
4089 * progmodes/m4-mode.el (m4-mode):
4090 * progmodes/inf-lisp.el (inferior-lisp-mode):
4091 * progmodes/idlwave.el (idlwave-mode):
4092 * progmodes/icon.el (icon-mode):
4093 * progmodes/idlw-help.el (idlwave-help-mode):
4094 * progmodes/dcl-mode.el (dcl-mode):
4095 * progmodes/idlw-shell.el (idlwave-shell-mode):
4096 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4097 (ebrowse-member-mode, ebrowse-electric-position-mode):
4098 Use define-derived-mode.
4100 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4101 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4102 (xscheme-debugger-mode-p, xscheme-send-string-1):
4103 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4104 (tcl-load-file, tcl-restart-with-file):
4105 * progmodes/ps-mode.el (ps-run-running):
4106 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4107 * progmodes/js.el (js--get-all-known-symbols):
4108 * progmodes/inf-lisp.el (inferior-lisp-proc):
4109 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4110 (idlwave-template, idlwave-update-buffer-routine-info)
4111 (idlwave-update-current-buffer-info)
4112 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4113 (idlwave-scan-class-info, idlwave-fix-keywords)
4114 (idlwave-list-buffer-load-path-shadows):
4115 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4116 (idlwave-toolbar-remove):
4117 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4118 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4119 (idlwave-shell-menu-def):
4120 * progmodes/idlw-complete-structtag.el
4121 (idlwave-prepare-structure-tag-completion):
4122 * progmodes/gud.el (gud-set-buffer):
4123 * progmodes/f90.el (f90-backslash-not-special):
4124 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4126 * progmodes/xscheme.el (xscheme-start)
4127 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4128 * progmodes/which-func.el (which-function):
4129 * progmodes/vhdl-mode.el (vhdl-set-style):
4130 * progmodes/verilog-mode.el (verilog-set-compile-command)
4131 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4132 (verilog-set-define, verilog-auto-reeval-locals):
4133 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4134 * progmodes/simula.el (simula-mode):
4135 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4136 * progmodes/python.el (python-check, python-mode):
4137 * progmodes/prolog.el (prolog-mode-variables):
4138 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4139 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4140 * progmodes/delphi.el (delphi-mode):
4141 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4142 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4143 (c-font-lock-init): Move make-local-variable to their setq.
4145 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4146 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4148 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4149 (sh-set-shell): Don't set require-final-newline since it's already done
4151 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4152 since we never set it.
4153 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4154 Use read-string and standard prompt.
4155 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4156 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4157 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4158 (meta-common-mode-map): Rename from meta-mode-map.
4159 Remove C-m binding, which is a user preference, not mode specific.
4160 (meta-common-mode): New major mode; replace meta-common-initialization.
4161 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4162 around with font-lock.
4163 * progmodes/etags.el (select-tags-table-mode):
4164 Derive from special-mode.
4165 * progmodes/octave-mod.el (octave-mode):
4166 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4167 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4168 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4169 Let define-derived-mode do its job.
4170 * progmodes/cpp.el (cpp-edit-mode-map):
4171 Move initialization into declaration.
4172 (cpp-edit-mode): Use define-derived-mode.
4173 (cpp-edit-load): Use derived-mode-p.
4174 * progmodes/mixal-mode.el (mixal-mode):
4175 * progmodes/f90.el (f90-mode):
4176 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4177 require-final-newline since prog-mode does it already.
4178 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4179 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4180 * progmodes/antlr-mode.el: Require cc-mode upfront.
4181 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4183 (antlr-directory-dependencies, antlr-show-makefile-rules):
4185 (antlr-language-option): Don't assume point-min==1.
4186 (antlr-mode): Use define-derived-mode.
4187 * progmodes/ada-mode.el: Use derived-mode-p.
4188 (ada-mode): Use define-derived-mode.
4189 Use hack-local-variables-hook.
4191 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4193 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4194 (texinfo-mode): Don't disable adaptive-fill-mode.
4195 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4196 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4197 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4198 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4199 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4200 (texinfo-insert-@quotation, texinfo-insert-@samp)
4201 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4202 (texinfo-insert-@uref): Use define-skeleton.
4203 (texinfo-insert-@-with-arg): Delete.
4205 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4207 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4208 nil, do quote archive member names. (Bug#6144)
4210 2010-12-10 Glenn Morris <rgm@gnu.org>
4212 * files.el (diff-no-select): Declare.
4214 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4215 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4217 * comint.el (comint-input-ring-file-name): Doc fix.
4219 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4221 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4223 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4224 Use them instead of `nil' and `>', respectively.
4225 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4227 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4228 and menu-bar-positive-p instead of `nil' and `>', respectively.
4231 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4233 * whitespace.el (whitespace-newline-mode): Code fix.
4235 2010-12-09 Glenn Morris <rgm@gnu.org>
4237 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4238 Rename functions without commas, update callers.
4240 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4242 * whitespace.el (whitespace-cleanup-region):
4243 Clean up spaces before tabs. (Bug#7582)
4245 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4247 * bookmark.el: Adjust parameter names and doc strings to resolve
4248 confusion over whether "bookmark" meant a bookmark name or a
4249 bookmark record. Along the way, shorten one function's name for
4250 similar reasons. (Issue #7548)
4251 (bookmark-name-from-record): New name for
4252 `bookmark-name-from-full-record'. All callers changed.
4253 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4254 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4255 (bookmark-get-annotation, bookmark-set-annotation)
4256 (bookmark-get-filename, bookmark-set-filename)
4257 (bookmark-get-position, bookmark-set-position)
4258 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4259 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4260 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4261 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4262 Rename `bookmark' parameter to `bookmark-name-or-record', to
4263 clearly show its role, and shorten or adjust doc strings accordingly.
4264 (bookmark-set-name): Same, and pass the parameter directly to
4265 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4266 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4267 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4268 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4269 and in some cases shorten doc string accordingly.
4270 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4271 and `new-name', and adjust an internal variable to avoid confusion.
4272 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4273 parameter in doc string.
4275 2010-12-08 Glenn Morris <rgm@gnu.org>
4277 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4278 from gdb's history file. (Bug#7575)
4280 * mail/emacsbug.el (report-emacs-bug):
4281 Try to handle some other mail clients.
4283 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4285 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4286 Use string-prefix-p.
4287 (file-name-version-regexp): New var.
4288 (file-name-sans-versions):
4289 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4290 (jka-compr-get-compression-info): Use dolist.
4291 (jka-compr-compression-info-list): Don't bother specifying
4292 version/backup regexps.
4294 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4296 * simple.el (just-one-space): Make argument n default to 1 if
4299 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * electric.el (electric-indent-post-self-insert-function):
4302 Delete trailing newlines even if we don't reindent.
4304 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * minibuffer.el (completion-at-point): Remove the `arg'.
4307 * bindings.el (complete-symbol): Move back from minibuffer.el.
4309 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4311 * simple.el (just-one-space): Delete newlines for negative arg.
4313 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4315 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4316 (ansi-color-filter-apply): Simplify.
4317 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4319 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4321 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4323 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4325 * dired.el (dired-use-ls-dired): Set default to a special
4326 "unspecified" value.
4327 (dired-insert-directory): When called the first time, check
4328 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4330 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4332 * replace.el: Add "collect" feature to occur.
4333 (occur-collect-regexp-history): New var.
4334 (occur-read-primary-args): Return a replace string for nlines,
4336 (occur): Extend the meaning of nlines.
4338 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4340 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4341 (which-func-update-1): Distinguish symbols from strings.
4342 (which-function): Stay within 80 columns.
4344 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4348 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4350 (comment-style): Use comment-styles's docs to describe values.
4352 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4354 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4355 and ns-show-prefs (Bug#7535).
4357 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4358 bindings (Bug#7535).
4360 2010-12-03 Glenn Morris <rgm@gnu.org>
4362 * nxml/nxml-mode.el: Require rng-nxml.
4363 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4364 Remove declarations.
4366 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4367 * nxml/rng-nxml.el, nxml/rng-valid.el:
4368 Remove leading `*' from defcustom docs.
4370 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4371 (normal-top-level-add-to-load-path, tty-handle-args):
4372 Convert comments to basic doc-strings.
4374 * net/browse-url.el (browse-url-url-at-point)
4375 (browse-url-default-browser): Remove autoload cookies.
4377 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4378 Remove more undefined cl functions.
4380 * vc/diff.el (diff-sentinel): Make new arguments optional.
4381 * ibuf-ext.el (diff-sentinel): Update declaration.
4383 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4385 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4386 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4387 (epg-context-set-passphrase-callback): Mention that the callback
4388 is not called when used with GnuPG 2.x.
4390 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4392 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4393 (tramp-file-name-port): Check also for `tramp-default-port'.
4394 (tramp-get-connection-name): New defun.
4395 (tramp-get-connection-process): Use it.
4396 (tramp-debug-message): Extend function exclude list.
4397 (tramp-drop-volume-letter): Fix doc string.
4399 * net/tramp-cmds.el: Remove solved todo item.
4402 * net/tramp-gvfs.el:
4404 * net/tramp-imap.el:
4405 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4406 and `tramp-default-user-alist', respectively.
4408 * net/tramp-gw.el (tramp-gw-open-connection):
4409 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4411 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4412 `tramp-file-name-port'.
4414 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4415 and "psftp". Exchange "%k" marker with options.
4416 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4417 Compute size of link target.
4418 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4419 `tramp-current-*' up due to gateway methods. Optimize computing of
4420 copy arguments. Use `tramp-get-connection-name' and
4421 `tramp-get-connection-buffer'. Improve debug messages.
4422 (tramp-compute-multi-hops): Remove port determination.
4423 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4425 * net/trampver.el: Update release number.
4427 2010-12-02 Glenn Morris <rgm@gnu.org>
4429 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4430 Avoid infinite loop over windows. (Bug#7492)
4432 * progmodes/flymake.el (flymake-check-file-limit):
4433 Allow nil to mean "no limit".
4434 (flymake-check-patch-master-file-buffer): Update for above change.
4435 Allow a .tex file-name extension to be optional.
4436 (flymake-master-tex-init): Also match \include statements.
4438 2010-11-30 Sam Steingold <sds@gnu.org>
4440 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4441 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4442 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4443 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4444 define-derived-mode').
4445 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4446 users who want to call `nxml-parent-document-set'.
4448 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4450 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4451 stand-alone lines, since that is handled by log-edit-match-to-eoh
4454 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4456 * dired.el (dired-get-filename): Replace backslashes with slashes
4457 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4458 * locate.el (locate-default-make-command-line): Don't consider
4459 drive letter and root directory part of
4460 `directory-listing-before-filename-regexp'. (Bug#7308)
4461 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4463 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4465 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4466 of :smie-open/close-alist.
4467 (smie-next-sexp): Make it accept a "start token" as argument.
4468 (smie-indent-keyword): Be careful not to misidentify tokens that span
4469 more than one line, as empty lines. Add argument `token'.
4471 2010-11-27 Kenichi Handa <handa@m17n.org>
4473 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4474 multipart subtypes, insert all as usual.
4476 * mail/rmail.el: Require rfc2047.
4478 2010-11-27 Kenichi Handa <handa@m17n.org>
4480 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4481 (rmail-mime-entity-disposition)
4482 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4483 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4484 (rmail-mime-save): Handle the case that the button's `data' is a
4486 (rmail-mime-insert-text): New function.
4487 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4488 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4489 (rmail-mime-insert-bulk): New function mostly copied from the old
4490 rmail-mime-bulk-handler.
4491 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4492 (rmail-mime-process-multipart): New function mostly copied from
4493 the old rmail-mime-multipart-handler.
4494 (rmail-mime-show): Just call rmail-mime-process.
4495 (rmail-mime-process): New function mostly copied from the old
4497 (rmail-mime-insert-multipart, rmail-mime-parse)
4498 (rmail-mime-insert, rmail-show-mime)
4499 (rmail-insert-mime-forwarded-message)
4500 (rmail-insert-mime-resent-message): New functions.
4501 (rmail-insert-mime-forwarded-message-function): Set to
4502 rmail-insert-mime-forwarded-message.
4503 (rmail-insert-mime-resent-message-function): Set to
4504 rmail-insert-mime-resent-message.
4506 * mail/rmailsum.el: Require rfc2047.
4507 (rmail-header-summary): Handle multiline Subject: field.
4508 (rmail-summary-line-decoder): Change the default to
4509 rfc2047-decode-string.
4511 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4512 (rmail-mime-feature): Change the default to `rmailmm'.
4513 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4514 (rmail-display-labels): Likewise.
4515 (rmail-show-message-1): Check rmail-enable-mime, and use
4516 rmail-show-mime-function for a MIME message. Decode the headers
4517 according to RFC2047.
4519 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4521 * progmodes/which-func.el (which-func-imenu-joiner-function):
4522 Return a string, as expected.
4523 (which-function-mode): Make sure we stop any previous timer before
4526 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4528 * net/tramp.el (tramp-default-method-alist)
4529 (tramp-default-user-alist, tramp-default-proxies-alist):
4530 Adapt custom options type. (Bug#7445)
4532 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4534 * progmodes/python.el: Add Ipython support (Bug#5390).
4535 (python-shell-prompt-alist)
4536 (python-shell-continuation-prompt-alist): New options.
4537 (python--set-prompt-regexp): New function.
4538 (inferior-python-mode, run-python, python-shell):
4539 Require ansi-color. Use python--set-prompt-regexp to set the comint
4540 prompt based on the Python interpreter.
4541 (python--prompt-regexp): New var.
4542 (python-check-comint-prompt)
4543 (python-comint-output-filter-function): Use it.
4544 (run-python): Use a pipe (Bug#5694).
4546 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4548 * progmodes/python.el (run-python): Doc fix.
4549 (python-keep-current-directory-in-path): New var (Bug#7454).
4551 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4553 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4554 Prompt user before actually printing.
4556 2010-11-27 Glenn Morris <rgm@gnu.org>
4558 * startup.el (package-enable-at-startup, package-initialize):
4559 Remove unnecessary declarations.
4561 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4563 * international/characters.el (glyphless-char-display-control):
4564 Exclude newline and TAB from the c0-control group.
4566 2010-11-27 Glenn Morris <rgm@gnu.org>
4568 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4569 (expand-mail-aliases): Remove unnecessary autoload.
4571 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4573 * shell.el (shell-dir-cookie-re): Move definition before use.
4575 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4576 Replace undefined CL functions.
4578 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4580 * simple.el (prog-mode): Set bidi-paragraph-direction to
4583 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4585 2010-11-26 Glenn Morris <rgm@gnu.org>
4587 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4588 diary-outlook-formats can be sensitive to calendar-date-style.
4589 (diary-outlook-formats): Simplify the default setting.
4590 (diary-from-outlook-internal): Pass subject and body as arguments.
4591 Use dolist rather than dotimes. Don't save the diary buffer.
4592 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4593 Pass subject and body as explicit arguments to the -internal function.
4595 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4598 parsing them. This makes mailto:...?subject=foo\nbar work.
4600 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4602 * vc/diff.el (diff): Fix last change.
4604 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4607 (pcase--dontcare-upats): New var.
4608 (pcase-let, pcase-let*): Generate better code.
4609 Accept the same bodies as `let'.
4610 (pcase-dolist): New macro.
4611 (pcase--trivial-upat-p): New helper function.
4612 (pcase--expand): Strip leading "(let nil" if any.
4614 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616 * mail/mailclient.el (browse-url): Require.
4617 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4618 use the external browser function to send the mail (bug#7469).
4620 * net/browse-url.el (browse-url-browser-function): Revert the
4621 default back to the previous value, since the new value broke
4623 (browse-url-mailto-function): New variable for mailto: URLs.
4624 (browse-url): Use the new variable for mailto: URLs.
4626 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * eshell/esh-cmd.el (eshell-parse-command):
4629 * eshell/esh-arg.el (eshell-parse-arguments):
4630 * eshell/em-script.el (eshell-source-file):
4631 Use with-silent-modifications.
4633 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4635 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4636 for a merge location.
4638 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4639 (vc-bzr-merge-branch): Always prompt.
4640 (vc-bzr-async-command): Use the full branch filename.
4642 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4644 * shell.el (shell): Use current-buffer by default if it's already
4645 a shell mode buffer and its process is dead.
4646 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4648 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4650 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4651 Mention that the keywords should be comma separated.
4653 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4655 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4656 Accept optional prefix arg meaning to prompt for a command.
4657 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4658 prefix arg meaning to prompt for a command.
4659 (vc-pull): Alias for vc-update.
4661 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4662 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4663 (vc-bzr-merge-branch): New functions, implementing merge-branch
4664 and pull operations.
4666 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * Makefile.in: Fix up last merge.
4670 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4671 (diff-sentinel): Get them as arguments instead.
4672 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4673 (diff-file-local-copy, diff-better-file-name): New funs.
4674 (diff-no-select): Rename from diff-into-buffer.
4675 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4676 Prefer closures to buffer-local variables.
4677 (diff): Adjust accordingly.
4678 (diff-buffer-with-file): Move from files.el.
4679 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4680 (diff-buffer-internal): Remove.
4681 (diff-buffer-buffer): Remove.
4682 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4683 the buffer name used, and so as not to mess up windows and frames.
4685 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4687 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4688 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4689 (diff-buffer-with-file): Use it.
4690 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4693 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4695 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4696 \ref's or \pageref's value as default instead of initial input.
4698 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4700 * files.el (backup-by-copying-when-mismatch): The default value is
4703 * startup.el (normal-top-level):
4704 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4705 `backup-by-copying-when-mismatch'.
4707 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4709 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4711 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4713 * progmodes/python.el (python-font-lock-keywords):
4714 Highlight top-level augmented assignments (Bug#6445).
4716 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4718 * term/ns-win.el (ns-right-control-modifier)
4719 (ns-right-command-modifier): Defvar them.
4721 * cus-start.el (all): Add ns-right-control-modifier and
4722 ns-right-command-modifier (Bug#7458).
4724 2010-11-20 Glenn Morris <rgm@gnu.org>
4726 * emacs-lisp/authors.el (authors-ignored-files)
4727 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4729 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4731 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4732 (report-emacs-bug-parse-query-results)
4733 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4734 keywords used for querying the bug database to show them in the
4735 existing bugs buffer.
4737 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4739 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4741 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4743 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4745 * international/characters.el (glyphless-char-display-control):
4746 Make it a defcustom, with update-glyphless-char-display as its
4748 (top level): Don't call update-glyphless-char-display.
4750 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4752 Sync with Tramp 2.2.0.
4754 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4755 `file-remote-p' (due to compatibility).
4757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4758 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4760 * net/trampver.el: Update release number.
4762 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4764 * faces.el (glyphless-char): Define value for `pc'.
4766 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4768 Implemented a bug querying mechanism.
4769 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4770 (report-emacs-bug-create-existing-bugs-buffer)
4771 (report-emacs-bug-parse-query-results)
4772 (report-emacs-bug-query-existing-bugs): New functions.
4774 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4776 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4777 a \ref{} or \pageref{} macro, then use its value as initial input.
4779 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4781 * calc/calc-units.el (math-build-units-table-buffer):
4782 calc/README: Mention that the TeX specific units won't use the
4783 `tex' prefix in TeX mode.
4784 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4785 prefix for units in TeX mode.
4787 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * simple.el (kill-new, kill-append, kill-region):
4790 * comint.el (comint-kill-region): Make the yank-handler argument
4793 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4796 that are both openers (resp. closers) and something else.
4797 (smie-grammar): Loosen definition of valid values.
4798 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4799 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4800 (smie-indent-after-keyword): Adjust users.
4801 (smie-indent-keyword): Don't indent empty lines.
4803 * vc-hg.el (vc-hg-program): New var.
4804 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4805 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4807 2010-11-18 Glenn Morris <rgm@gnu.org>
4809 * emacs-lisp/autoload.el (autoload-find-destination): The function
4810 coding-system-eol-type may return non-numeric values. (Bug#7414)
4812 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4814 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4816 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4818 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4820 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4822 * textmodes/picture.el (picture-mouse-set-point): Don't use
4823 posn-col-row; explicitly compute the motion based on the posn at
4824 the window-start (Bug#7390).
4826 2010-11-18 Glenn Morris <rgm@gnu.org>
4828 * novice.el (disabled-command-function):
4829 Fix 2009-11-15 change. (Bug#7384)
4831 2010-11-18 Glenn Morris <rgm@gnu.org>
4833 * calendar/calendar.el (diary-iso-date-forms): Make elements
4834 mutually exclusive. (Bug#7377)
4836 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4839 when filling the remaining "unconstrained" values.
4841 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4846 * files.el (safe-local-variable-p): Gracefully handle errors.
4848 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4849 Use smie-indent-virtual when indenting relative to an opener.
4850 (smie-rule-separator): Use smie-rule-parent.
4851 (smie-indent-keyword): Consult rules, even for openers at bol.
4852 (smie-indent-comment-close): Try to align closer's content.
4854 2010-11-18 Glenn Morris <rgm@gnu.org>
4856 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4858 2010-11-18 Glenn Morris <rgm@gnu.org>
4860 * printing.el (pr-menu-bind): Doc fix.
4862 * speedbar.el (speedbar-toggle-images): Doc fix.
4864 * progmodes/python.el (python-shell): Doc fix.
4866 * wid-edit.el (widget-field-use-before-change)
4867 (widget-use-overlay-change): Doc fixes.
4869 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4871 Minor cleanup to improve style.
4872 * textmodes/rst.el (rst-update-section): Use point-marker.
4873 (rst-get-decoration): Eliminate unneeded assignment.
4874 (rst-promote-region, rst-straighten-decorations)
4875 (rst-section-tree, rst-adjust): Use point-marker.
4876 (rst-toc-mode-mouse-goto): Avoid setq.
4877 (rst-shift-region-guts, rst-shift-region-left)
4878 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4879 (rst-convert-bullets-to-enumeration): Use copy-marker.
4881 * minibuffer.el (completion-fail-discreetly): New var.
4882 (completion--do-completion): Use it.
4884 * electric.el (electric-pair-pairs): New var.
4885 (electric-pair-post-self-insert-function): Use it.
4886 (electric-layout-post-self-insert-function): Don't insert a before
4887 newline unless it's actually needed.
4889 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4891 * progmodes/python.el (run-python): Explain why we remove the current
4892 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4894 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4896 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4899 (octave-mode-map): Don't bind ;, SPC, and LF.
4900 (octave-auto-indent, octave-auto-newline): Remove.
4901 (electric-layout-rules): Declare.
4902 (octave-mode): Set electric-layout-rules.
4903 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4904 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4905 (octave-electric-space): Remove.
4907 * electric.el (electric-layout-mode): New minor mode.
4908 (electric--after-char-pos): New function.
4909 (electric-indent-post-self-insert-function): Use it.
4910 (electric-layout-rules): New var.
4911 (electric-layout-post-self-insert-function): New function.
4912 (electric-indent-mode): Make them interact better.
4914 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4916 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4917 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4918 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4920 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4922 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4923 Make sure to check inside the word (Bug#6761).
4925 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4927 * startup.el (command-line): If the cursorColor resource is set,
4928 change the cursor face-spec (Bug#7392).
4930 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4932 The main features of the following allout.el changes are:
4933 - implement user customization for the allout key bindings
4934 - add a customization control by which the user can inhibit use of
4935 a trailing Ctrl-H, so by default it's reserved for use with
4936 describe-prefix-bindings
4937 - adapt to new version of called-interactively-p, while
4938 maintaining backwards compatibility with old version
4939 - fix hotspot navigation so i works properly with meta-modified keys.
4941 * allout.el (allout-keybindings, allout-bind-keys)
4942 (allout-keybindings-binding, allout-prefixed-keybindings)
4943 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4944 (allout-keybindings-list, allout-mode-map-adjustments)
4945 (allout-setup-mode-map): Establish allout-mode keymaps as user
4946 customizable settings, and also establish a customizable setting which
4947 regulates whether or not a trailing control-h is reserved for use with
4948 describe-prefix-bindings - and inhibit it by default, so that control-h
4949 *is* reserved for describe-prefix-bindings unless the user changes it.
4951 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4952 and accurately between modified and unmodified events, and handle
4953 modified events more comprehensively.
4955 * allout.el (allout-substring-no-properties):
4956 Alias to use or provide version of `substring-no-properties'.
4957 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4959 * allout.el (allout-next-single-char-property-change):
4960 Alias to use or provide version of `next-single-char-property-change'.
4961 (allout-annotate-hidden, allout-hide-by-annotation):
4962 Use `allout-next-single-char-property-change'.
4964 * allout.el (allout-select-safe-coding-system):
4965 Alias to use or provide version of `select-safe-coding-system'.
4966 (allout-toggle-subtree-encryption):
4967 Use `allout-select-safe-coding-system'.
4969 * allout.el (allout-set-buffer-multibyte):
4970 Alias to use or provide version of `set-buffer-multibyte'.
4971 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4973 * allout.el (allout-called-interactively-p): Macro for using the
4974 different versions of called-interactively-p identically, depending on
4975 the subroutine's argument signature.
4976 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4977 Use `(interactive "p")' instead of `(called-interactively-p)'.
4979 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4980 (allout-previous-visible-heading, allout-forward-current-level)
4981 (allout-backward-current-level, allout-show-children):
4982 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4984 * allout.el (allout-before-change-handler):
4985 Exempt edits to the (overlaid) character after the allout outline
4986 bullet from edit confirmation prompt.
4988 * allout.el (allout-add-resumptions):
4989 Ensure that it respects correct buffer for keybindings.
4991 * allout.el (allout-beginning-of-line):
4992 Use `allout-previous-single-char-property-change' alias for the sake of
4993 diverse compatibility.
4995 * allout.el (allout-end-of-line):
4996 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4998 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
5000 * frame.el (frame-notice-user-settings): Don't clobber other
5001 user-set parameters when calling face-set-after-frame-default in
5002 response to background-color parameter (Bug#7373).
5004 2010-11-13 Eli Zaretskii <eliz@gnu.org>
5006 * international/characters.el (glyphless-char-display-control):
5007 Rename from glyphless-char-control; all users changed. Doc fix.
5008 Signal an error if display method is not one of the recognized
5011 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
5013 * net/tramp-compat.el (tramp-compat-line-beginning-position)
5014 (tramp-compat-line-end-position): Remove them.
5016 * net/tramp.el (tramp-parse-rhosts-group)
5017 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
5018 (tramp-parse-hosts-group, tramp-parse-passwd-group)
5019 (tramp-parse-netrc-group, tramp-parse-putty-group)
5020 * net/tramp-cmds.el (tramp-append-tramp-buffers)
5021 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
5022 (tramp-sh-handle-file-selinux-context)
5023 (tramp-sh-handle-file-name-all-completions)
5024 (tramp-sh-handle-insert-directory)
5025 (tramp-sh-handle-expand-file-name, tramp-find-executable)
5026 (tramp-wait-for-output, tramp-send-command-and-read)
5027 * net/tramp-smb.el (tramp-smb-read-file-entry)
5028 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
5030 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
5032 (tramp-remote-coding-commands): Add an alternative using "base64
5033 -d -i". This is needed for older base64 versions from GNU
5034 coreutils. Reported by Klaus Reichl
5035 <Klaus.Reichl@thalesgroup.com>.
5037 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5039 * simple.el (count-words-region): New function.
5041 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5043 * shell.el (shell-dir-cookie-re): New custom variable.
5044 (shell-dir-cookie-watcher): New function.
5046 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5047 and compilation-mode (bug#7350).
5049 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5050 highlight when one of them is empty.
5052 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5054 (skeleton-newline): New function.
5055 (skeleton-internal-1): Use it.
5057 * simple.el (open-line): `newline' may strip trailing space.
5059 2010-11-12 Kevin Ryde <user42@zip.com.au>
5061 * international/mule-cmds.el (princ-list): Use mapc.
5063 2010-11-12 Glenn Morris <rgm@gnu.org>
5065 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5066 Use it to replace all instances of "*Compile-Log*".
5068 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5070 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5073 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * progmodes/modula2.el: Use SMIE and skeleton.
5076 (m2-mode-syntax-table): (*..*) can be nested.
5077 Add //...\n. Fix paren syntax.
5078 (m2-mode-map): Remove LF and TAB bindings.
5079 (m2-indent): Add safety property.
5080 (m2-smie-grammar): New var.
5081 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5082 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5083 (m2-mode): Use define-derived-mode.
5084 (m2-newline, m2-tab): Remove.
5085 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5086 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5087 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5088 (m2-import): Use define-skeleton.
5090 2010-11-11 Glenn Morris <rgm@gnu.org>
5092 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5094 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5095 (ls-lisp-verbosity): Add custom :set-after property.
5096 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5097 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5098 (ls-lisp-insert-directory): Update caller.
5099 (ls-lisp-set-options): New function.
5100 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5103 * play/landmark.el (lm-prompt-for-move):
5104 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5106 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5108 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5109 (idlwave-study-twins): Prefix dynamic local variable `name'.
5110 (idlwave-routine-twin-compare): Update for above change.
5112 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5113 Prefix dynamic local variables `name', `kwd', and `link'.
5114 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5115 * progmodes/idlw-complete-structtag.el
5116 (idlwave-complete-structure-tag-help):
5117 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5118 (idlwave-complete-sysvar-tag-help)
5119 (idlwave-complete-class-structure-tag-help):
5120 Update for above name changes.
5122 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5124 * net/browse-url.el (browse-url-browser-function): Change the
5125 default to use `browse-url-mail' on mailto: URLs.
5127 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5129 * emacs-lisp/package.el (package-read-all-archive-contents):
5130 Reset package-archive-contents to nil before re-reading.
5132 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5134 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5135 already found as misspellings by (flyspell-large-region), just
5136 do highlighting (bug#7322).
5138 2010-11-10 Glenn Morris <rgm@gnu.org>
5140 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5142 * emulation/edt.el (edt-with-position): New macro.
5143 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5144 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5145 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5147 * emulation/tpu-extras.el (tpu-with-position): New macro.
5148 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5150 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5152 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5153 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5154 (texinfo-master-menu, texinfo-insert-node-lines)
5155 (texinfo-multiple-files-update):
5156 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5157 Use line-beginning-position.
5159 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5160 No recent Emacs supports system-type `emx'.
5162 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5163 (ada-command-separator, ada-default-prj-properties)
5164 (ada-find-any-references): Update for above name change.
5166 * dirtrack.el (dirtrack-directory-function)
5167 (dirtrack-canonicalize-function):
5168 * filecache.el (file-cache-completion-ignore-case)
5169 (file-cache-case-fold-search, file-cache-ignore-case):
5170 * term.el (serial-port-is-file-p): Cosmetic change.
5172 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5173 Remove non-existent `windows-95' system-type.
5174 * dired.el (dired-chown-program): Remove non-existent `linux'
5177 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5178 (ping-program-options): Remove non-existent `linux' system-type.
5180 * startup.el (package-initialize): Update declaration.
5182 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5183 (ls-lisp-handle-switches): Use time-less-p.
5184 (ls-lisp-format-time): Use float-time.
5186 * textmodes/remember.el (remember-time-to-seconds): Remove.
5187 (remember-store-in-mailbox): Use float-time.
5189 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5191 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5192 never a real function.
5193 (with-no-warnings): Remove compat stub, now unused.
5194 (time-less-p): Doc fix.
5195 (time-to-number-of-days): Simplify.
5197 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5199 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5200 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5201 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5202 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5203 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5205 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5206 (eshell-shuffle-files, eshell-shorthand-tar-command)
5207 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5208 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5209 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5210 Prefix dynamic local variable `matches'.
5212 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5213 Prefix dynamic local variable `skeleton'.
5215 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5217 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5218 in mail buffer; make yank-action always a command that yanks original
5221 2010-11-09 Glenn Morris <rgm@gnu.org>
5223 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5225 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5228 completion field (bug#7211).
5230 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5231 Fix handling of backslash escapes.
5232 (python-quote-syntax): Adjust accordingly.
5234 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5236 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5237 (vc-mtn-workfile-branch): Adjust to new output format.
5239 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * international/mule-cmds.el (princ-list): Mark as obsolete.
5243 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5245 * emacs-lisp/smie.el: New package.
5247 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5249 * files.el (backup-by-copying-when-mismatch):
5250 Set `permanent-local' property.
5252 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5253 `permanent-local' property for `backup-by-copying-when-mismatch'.
5255 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5257 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5259 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5261 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5262 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5263 AUTOINOUT for SV style multidimensional arrays, bug294.
5264 Reported by Eric Mastromarchi.
5265 (verilog-preprocess): Use with-current-buffer and
5266 font-lock-fontify-buffer to cleanup style issues.
5268 2010-11-09 Glenn Morris <rgm@gnu.org>
5270 * locate.el (locate, locate-mode): Doc fixes.
5272 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5274 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5275 user for confirmation.
5276 (server-force-stop): Use it.
5277 (server-start): Use server-force-stop for kill-emacs-hook, to
5278 avoid user interaction while killing Emacs.
5280 2010-11-09 Glenn Morris <rgm@gnu.org>
5282 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5283 (meta-indent-line): Simplify.
5285 * vc/emerge.el (emerge-line-number-in-buf):
5286 * textmodes/ispell.el (ispell-region):
5287 * textmodes/fill.el (current-fill-column):
5288 * progmodes/xscheme.el (xscheme-send-current-line):
5289 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5290 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5291 * progmodes/sh-script.el (sh-handle-prev-do):
5292 * progmodes/meta-mode.el (meta-indent-line):
5293 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5295 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5296 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5297 * progmodes/fortran.el (fortran-looking-at-if-then):
5298 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5299 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5300 (cperl-find-pods-heres):
5301 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5302 * net/quickurl.el (quickurl-list-insert):
5303 * net/ldap.el (ldap-search-internal):
5304 * net/eudc.el (eudc-expand-inline):
5305 * mail/sendmail.el (sendmail-send-it):
5306 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5307 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5308 (viper-brac-function):
5309 * calc/calc-yank.el (calc-do-grab-region):
5310 * calc/calc-keypd.el (calc-keypad-press):
5311 * term.el (term-move-columns, term-insert-spaces):
5312 * speedbar.el (speedbar-highlight-one-tag-line):
5313 * simple.el (current-word):
5314 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5315 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5317 * hippie-exp.el (he-line-beg):
5318 * epa.el (epa--marked-keys):
5319 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5320 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5321 (dired-relist-entry):
5322 * buff-menu.el (Buffer-menu-buffer):
5323 * array.el (current-line):
5324 * allout.el (allout-resolve-xref)
5325 (allout-latex-verbatim-quote-curr-line):
5326 Replace yet more uses of end-of-line etc with line-end-position, etc.
5328 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5331 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5332 (checkdoc-syntax-table): Initialize in the declaration.
5333 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5334 the mode on unconditionally.
5336 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5337 (extent-end-position, extent-start-position): Remove setf method for
5338 non-existing functions (bug#7319).
5340 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5343 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5344 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5345 (smie-prec2->grammar): Rename from smie-prec2-levels.
5346 (smie-grammar): Rename from smie-op-levels.
5347 (smie-indent--hanging-p): Rename from smie-hanging-p.
5348 (smie-rule-hanging-p): New alias.
5349 (smie-indent--bolp): Rename from smie-bolp.
5350 (smie-indent--hanging-p): New alias.
5351 (smie--token): New dynamically bound variable.
5352 (smie-indent--parent): New function.
5353 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5354 (smie-rule-next-p): Rename from smie-next-p.
5355 (smie-rule-prev-p): Rename from smie-prev-p.
5356 (smie-rule-sibling-p, smie-rule-parent)
5357 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5358 (smie-rule-separator-outdent): New var.
5359 (smie-indent--rule): Merge with smie-indent--column.
5360 (smie-indent-forward-token, smie-indent-backward-token):
5361 Also recognize close parens.
5362 (smie-indent-keyword): Don't use smie-indent--column any more.
5363 (smie-indent-after-keyword): Ignore closers by default.
5364 (smie-indent-line): Use with-demoted-errors.
5365 * progmodes/octave-mod.el (octave-smie-grammar):
5366 Rename from octave-smie-op-levels.
5367 (octave-smie-rules): Adjust to new behavior.
5368 * progmodes/prolog.el (prolog-smie-grammar):
5369 Rename from prolog-smie-op-levels.
5371 2010-11-07 Glenn Morris <rgm@gnu.org>
5373 * eshell/esh-util.el (subst-char-in-string)
5374 (directory-files-and-attributes): These compatibility definitions are
5375 not needed on any version of Emacs since at least 21.4.
5377 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5378 (verilog-get-end-of-line): Remove.
5379 (verilog-within-string, verilog-re-search-forward-substr)
5380 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5381 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5382 Use point-at-bol, point-at-eol.
5383 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5385 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5386 (electric-pascal-terminate-line, pascal-set-auto-comments)
5387 (pascal-indent-paramlist, pascal-indent-declaration)
5388 (pascal-get-lineup-indent, pascal-func-completion)
5389 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5390 Use point-at-bol, point-at-eol.
5391 * progmodes/flymake.el (flymake-line-beginning-position)
5392 (flymake-line-end-position): Remove.
5393 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5394 * eshell/esh-util.el (line-end-position, line-beginning-position):
5395 Remove compat definitions.
5397 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5399 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5400 Use line-end-position.
5402 * emacs-lisp/chart.el (chart-zap-chars):
5403 * play/decipher.el (decipher-set-map):
5404 * progmodes/ada-mode.el (ada-get-current-indent)
5405 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5406 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5407 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5408 (ada-get-all-references):
5409 * progmodes/cperl-mode.el (cperl-electric-paren)
5410 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5411 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5412 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5413 (cperl-word-at-point-hard):
5414 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5415 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5416 (idlwave-shell-display-line):
5417 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5418 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5419 * progmodes/js.el (js--re-search-forward-inner)
5420 (js--re-search-backward-inner):
5421 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5422 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5423 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5424 * textmodes/flyspell.el (flyspell-process-localwords):
5425 * textmodes/ispell.el (ispell-buffer-local-parsing)
5426 (ispell-buffer-local-dict, ispell-buffer-local-words):
5427 Use point-at-bol and point-at-eol.
5429 * speedbar.el (speedbar-generic-item-info)
5430 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5431 (speedbar-add-indicator, speedbar-check-vc-this-line)
5432 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5433 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5434 Replace more uses of end-of-line etc with line-end-position.
5436 2010-11-06 Glenn Morris <rgm@gnu.org>
5438 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5439 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5440 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5441 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5442 (texinfo-multiple-files-update):
5443 * textmodes/table.el (table--probe-cell-left-up)
5444 (table--probe-cell-right-bottom):
5445 * textmodes/picture.el (picture-tab-search):
5446 * textmodes/page-ext.el (pages-copy-header-and-position)
5447 (pages-directory-for-addresses):
5448 * progmodes/vera-mode.el (vera-get-offset):
5449 * progmodes/simula.el (simula-calculate-indent):
5450 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5451 * progmodes/prolog.el (end-of-prolog-clause):
5452 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5453 * progmodes/icon.el (indent-icon-exp):
5454 * progmodes/etags.el (tag-re-match-p):
5455 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5456 * progmodes/ebnf2ps.el (ebnf-begin-file):
5457 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5458 (dcl-save-local-variable):
5459 * play/life.el (life-setup):
5460 * play/gametree.el (gametree-looking-at-ply):
5461 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5462 * mail/sendmail.el (mail-mode-auto-fill):
5463 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5464 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5465 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5466 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5467 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5468 * type-break.el (type-break-file-keystroke-count):
5469 * term.el (term-replace-by-expanded-history-before-point)
5470 (term-skip-prompt, term-extract-string):
5471 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5472 (speedbar-contract-line, speedbar-toggle-line-expansion)
5473 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5474 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5475 * sort.el (sort-skip-fields):
5476 * skeleton.el (skeleton-internal-list):
5477 * simple.el (line-move-finish, line-move-to-column):
5478 * shell.el (shell-forward-command):
5479 * misc.el (copy-from-above-command):
5480 * makesum.el (double-column):
5481 * ebuff-menu.el (electric-buffer-update-highlight):
5482 * dired.el (dired-move-to-end-of-filename):
5483 * dframe.el (dframe-popup-kludge):
5484 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5485 * arc-mode.el (archive-get-lineno):
5486 Use line-end-position and line-beginning-position.
5488 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5489 (idlwave-study-twins): Prefix dynamic local `class'.
5490 (idlwave-routine-twin-compare): Update for above name change.
5492 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5493 Use boundp tests to silence compiler. Update for changed name of
5494 bytecomp-filename variable.
5496 * emulation/viper-cmd.el (viper-read-string-with-history):
5497 Prefix dynamic local `initial'.
5498 (viper-minibuffer-standard-hook): Update for above name change.
5500 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5501 (elint-init-form): Update for above name change.
5503 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5504 local variables `cbeg' and `cend' a prefix.
5505 (mail-extr-voodoo): Update for above name change.
5507 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5508 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5509 (reftex-toc-promote-action): Doc fix.
5511 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5512 `prompt', `data' a prefix.
5513 (reftex-select-post-command-hook, reftex-select-callback)
5514 (reftex-select-mouse-accept, reftex-select-read-cite):
5515 Update for above name changes.
5517 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5518 `refstyle' to reftex-refstyle.
5519 (reftex-offer-label-menu): Update for above name change.
5520 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5521 `refstyle' name change.
5523 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5524 with with-current-buffer.
5525 (diff, template): Give dynamic local variables a prefix.
5526 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5527 (emerge-line-number-in-buf): Update for above name change.
5528 (emerge-combine-versions-internal): Rename local `template' to
5529 emerge-combine-template.
5530 (emerge-combine-versions-edit): Update for above name change.
5532 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5534 * textmodes/reftex-cite.el
5535 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5536 entries with whitespace after \bibitem.
5537 (reftex-create-bibtex-file): Match entries containing numbers and
5538 symbol constituents. Make sure that entries with whitespace at
5539 various places are found.
5541 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5543 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5545 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5547 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5549 2010-11-05 Glenn Morris <rgm@gnu.org>
5551 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5552 (woman2-roff-buffer): Give local variable `request' a prefix.
5553 (woman0-macro): Rename argument `request' in the same way.
5554 (woman-request): New name for `request' dynamic variable.
5555 (woman-unquote, woman-forward-arg): Update for above name change.
5556 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5557 (woman1-unquote): New name for `unquote' dynamic variable.
5558 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5559 (woman-translations): Rename from `translations'. No longer global.
5560 (woman2-tr, woman-translate): Update for above name change.
5561 (woman-translate): Check for bound variable.
5562 (woman2-roff-buffer): Give local variable `translations' a prefix.
5564 * play/doctor.el: Give all local variables a prefix. Update callers.
5565 (doc$, doctor-put-meaning): Use backquote.
5567 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5568 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5570 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5571 variables bytes, ptr, op a prefix.
5572 (disassemble-offset): Update for above change.
5574 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5576 * emacs-lisp/package.el (package-unpack): Remove no-op.
5577 (package--builtins, package--dir): Doc fix.
5578 (package-activate-1, package-activate, package-install)
5579 (package-compute-transaction): Fix error message.
5580 (package-delete): Use delete-directory. Omit system packages.
5581 (package-initialize): Set package-alist to nil first.
5582 (package-menu-mark-delete, package-menu-mark-install): Don't add
5583 symbols that are inconsistent with the package state.
5584 (package-menu-execute): Perform deletions and installations as
5585 single batch operations.
5587 2010-11-03 Glenn Morris <rgm@gnu.org>
5589 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5590 (props): Remove unnecessary declaration.
5592 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5593 set-process-query-on-exit-flag.
5595 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5596 (reftex-toc-do-promote): Remove unused local `mpos'.
5597 (reftex-toc-restore-region): Make `mpos' local to this function.
5599 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5601 * play/landmark.el (lm-losing-threshold): Correct spelling.
5602 (lm-human-plays): Use new name.
5604 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5605 (gomoku-human-plays): Use new name.
5607 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5608 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5609 (gomoku-score-trans-table, gomoku-winning-threshold)
5610 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5612 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5614 * emacs-lisp/package.el: Don't put built-in packages in
5615 package-alist, to avoid loading inefficiencies.
5616 (package-built-in-p): Make VERSION optional, and treat it as a
5617 minimum acceptable version.
5618 (package-activate): Search separately for built-in packages.
5619 Emit a warning if a dependency fails.
5620 (define-package): Handle most common case, where there is no
5621 obsolete package, first.
5622 (package-compute-transaction): Print required version in error.
5623 (package--initialized): New variable.
5624 (list-packages): Use it.
5625 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5626 built-in packages in packages-alist; keep it separate.
5627 Set package--initialized.
5628 (describe-package): Avoid activating packages as a side-effect.
5629 Search separately for built-in packages.
5630 (describe-package-1): Handle the case where an elpa package is
5631 simultaneously built-in and available/installed.
5632 (package-installed-p, package--generate-package-list):
5633 Search separately for built-in packages.
5634 (package-load-descriptor): Doc fix.
5636 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5639 Handle __DATA__ and __END__.
5641 2010-11-02 Noah Friedman <friedman@splode.com>
5643 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5644 nil, do not ask to recompile files that are not already compiled,
5645 and do not recompile them.
5647 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5649 * emacs-lisp/package.el (package-initialize): Ensure that
5650 obsoleted built-in packages are not in package-activated-list
5652 (describe-package-1): Make the "installed" status override
5655 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5657 * subr.el (version-separator, version-regexp-alist): Remove '*'
5659 (version-list-<=, version<=, version=): Doc fix.
5661 2010-11-01 Kenichi Handa <handa@m17n.org>
5663 * faces.el (glyphless-char): Inherit underline for tty.
5665 2010-11-01 Kenichi Handa <handa@m17n.org>
5667 Implement various display methods for glyphless characters.
5669 * international/characters.el (char-acronym-table): New variable.
5670 (glyphless-char-control): New variable.
5671 (update-glyphless-char-display): New function.
5673 * faces.el (glyphless-char): New face.
5675 2010-11-01 Glenn Morris <rgm@gnu.org>
5677 * calendar/holidays.el (general-holidays, oriental-holidays)
5678 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5679 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5680 the definitions of their targets.
5682 * emacs-lisp/smie.el (smie): New custom group.
5683 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5685 * faces.el (xw-defined-colors, x-setup-function-keys):
5686 * mouse-sel.el (x-select-text):
5687 * term/w32console.el (x-setup-function-keys): Update declarations.
5689 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5691 * textmodes/ispell.el (comment-add): Declare.
5693 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5696 * info.el (finder-keywords-hash, package-alist): Declare.
5698 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5700 * finder.el (finder-compile-keywords): Don't use intern-soft,
5701 since package names may not yet exist in the obarray.
5703 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5705 * vc/vc-arch.el (vc-arch-checkin):
5706 * vc/vc-cvs.el (vc-cvs-checkin):
5707 * vc/vc-mtn.el (vc-mtn-checkin):
5708 * vc/vc-rcs.el (vc-rcs-checkin):
5709 * vc/vc-sccs.el (vc-sccs-checkin):
5710 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5711 since 2010-04-21 commit by Stefan Monnier.
5713 2010-11-01 Glenn Morris <rgm@gnu.org>
5715 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5717 * startup.el (package-enable-at-startup, package-initialize):
5720 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5723 2010-10-31 Julien Danjou <julien@danjou.info>
5725 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5726 (byte-recompile-directory):
5727 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5728 Use `byte-recompile-file'.
5730 2010-10-31 Glenn Morris <rgm@gnu.org>
5732 * cus-start.el: Handle standard values via a keyword.
5733 Only set version property if specified.
5734 (cursor-in-non-selected-windows, menu-bar-mode)
5735 (tool-bar-mode, show-trailing-whitespace):
5736 Do not specify standard values.
5737 (transient-mark-mode, temporary-file-directory): Use :standard.
5739 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5741 * term/x-win.el (x-get-selection-value): New function that gets
5742 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5744 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5746 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5747 preserve owner and group when editing files. (Bug#7289)
5749 2010-10-31 Glenn Morris <rgm@gnu.org>
5751 * speedbar.el (speedbar-mode):
5752 * play/fortune.el (fortune-in-buffer, fortune):
5753 * play/gomoku.el (gomoku-mode):
5754 * play/landmark.el (lm-mode):
5755 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5756 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5758 * select.el (x-selection): Mark it as an obsolete alias.
5760 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5762 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5763 major-mode (bug#7284).
5765 2010-10-31 Glenn Morris <rgm@gnu.org>
5767 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5768 rather than just an unused variable that inherits from the real one.
5770 2010-10-31 Alan Mackenzie <acm@muc.de>
5772 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5773 This fixes bug #7185.
5775 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5777 * startup.el (command-line): Search for package directories, and
5778 don't load package.el if none are found.
5780 * emacs-lisp/package.el (describe-package, list-packages):
5781 Call package-initialize if it has not been called yet.
5783 2010-10-30 Alan Mackenzie <acm@muc.de>
5785 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5786 which fontifies the tail of an enum.
5787 (c-basic-matchers-after): Insert a call to the above new function.
5788 This fixes bug #7264.
5790 2010-10-30 Glenn Morris <rgm@gnu.org>
5792 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5793 tool-bar-mode, transient-mark-mode. (Bug#7306)
5794 Include the :set property in the dumped Emacs.
5796 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5798 SMIE: change indent rules format, improve smie-setup.
5799 * emacs-lisp/smie.el (smie-precs-precedence-table)
5800 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5801 Mark them pure so the tables gets built at compile time.
5802 (smie-bnf-precedence-table): Store the closer-alist in the table.
5803 (smie-prec2-levels): Preserve the closer-alist.
5804 (smie-blink-matching-open): Be more forgiving in case of indentation.
5805 (smie-hanging-p): Rename from smie-indent--hanging-p.
5806 (smie-bolp): Rename from smie-indent--bolp.
5807 (smie--parent, smie--after): New dynamic vars.
5808 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5809 (smie-indent-rules): Remove.
5810 (smie-indent--offset-rule): Remove fun.
5811 (smie-rules-function): New var.
5812 (smie-indent--rule): New fun.
5813 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5814 (smie-indent-exps): Use it.
5815 (smie-setup): Setup paren blinking; add keyword args for token
5816 functions; extract closer-alist from op-levels.
5817 (smie-indent-debug-log): Remove var.
5818 (smie-indent-debug): Remove fun.
5819 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5820 (prolog-smie-rules): New fun to replace it.
5821 (prolog-mode-variables): Simplify.
5822 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5823 it's setup automatically.
5824 (octave-smie-indent-rules): Remove.
5825 (octave-smie-rules): New fun to replace it.
5826 (octave-mode): Simplify.
5828 2010-10-29 Glenn Morris <rgm@gnu.org>
5830 * files.el (temporary-file-directory): Remove (already defined in C).
5831 * cus-start.el: Add temporary-file-directory.
5833 * abbrev.el (abbrev-mode):
5834 * composite.el (auto-composition-mode):
5835 * menu-bar.el (menu-bar-mode):
5836 * simple.el (transient-mark-mode):
5837 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5838 that they do not define the associated variables twice.
5839 * simple.el (transient-mark-mode): Remove defvar.
5840 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5841 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5842 Handle multiple groups, and also custom-delayed-init-variables.
5843 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5845 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5848 (pcase-if): Add one minor optimization.
5849 (pcase-split-equal): Rename from pcase-split-eq.
5850 (pcase-split-member): Rename from pcase-split-memq.
5851 (pcase-u1): Add strings to the member optimization.
5852 Add `guard' variant of predicates.
5853 (pcase-q1): Add string patterns.
5855 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5857 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5859 2010-10-28 Glenn Morris <rgm@gnu.org>
5861 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5862 Move menu-bar related settings to ../menu-bar.el.
5863 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5864 Move ns-specific settings here from term/ns-win.el.
5866 * simple.el (x-selection-owner-p): Remove unused declaration.
5868 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * minibuffer.el (completion-cycling): New var (bug#7266).
5871 (minibuffer-complete, completion--do-completion):
5872 Use completion--flush-all-sorted-completions.
5873 (minibuffer-complete): Only cycle if completion-cycling is set.
5874 (completion--flush-all-sorted-completions): Unset completion-cycling.
5875 (minibuffer-force-complete): Set completion-cycling.
5876 (completion-all-sorted-completions): Move declaration before first use.
5878 2010-10-28 Leo <sdl.web@gmail.com>
5880 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5881 which changes the order of matches seen by users (bug#7231).
5883 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5885 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5886 Don't confuse -omega as "-o mega".
5888 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5891 (log-edit-author): New dynamic var.
5892 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5893 to return the author if different from committer.
5894 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5896 * play/landmark.el: Adjust commenting convention.
5897 (lm-nil-score): Rename from nil-score.
5898 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5899 (OOOOscore): Move into a let in lm-score-trans-table.
5900 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5902 * electric.el (electric-indent-chars): Autoload.
5903 * progmodes/octave-mod.el (octave-mode):
5904 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5905 (ruby-mode-abbrev-table): Merge initialization and declaration.
5907 2010-10-27 Glenn Morris <rgm@gnu.org>
5909 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5912 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5914 * term/ns-win.el: Restore require of cl when compiling.
5915 (menu-bar-final-items): Remove non-existent `windows' menu.
5916 (ns-handle-nxopen): Optionally handle the temp-case.
5917 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5918 (ns-insert-file, ns-find-file): Use `pop'.
5920 2010-10-26 Glenn Morris <rgm@gnu.org>
5922 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5924 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5926 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5928 * term/common-win.el (x-setup-function-keys): Remove most of the
5929 keymappings. Comment on the remaining ones.
5931 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5933 * server.el (server-port): New option. (Bug#854)
5934 (server-start): Use server-port.
5936 2010-10-26 Glenn Morris <rgm@gnu.org>
5938 * term/ns-win.el (ns-version-string): Remove unused declaration.
5939 (ns-invocation-args): Change to x-invocation-args.
5940 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5941 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5942 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5943 Use x-invocation-args instead of ns-invocation-args.
5944 (ns-initialize-window-system, handle-args-function-alist):
5945 Use x-handle-args instead of ns-handle-args.
5946 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5947 * startup.el (command-line-ns-option-alist): Replace
5948 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5949 ns-handle-iconic with the x- equivalents.
5951 * term/common-win.el (x-select-enable-clipboard):
5952 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5954 * term/ns-win.el: No need to require cl when compiling.
5955 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5956 (xw-defined-colors): Use the common-win definitions.
5957 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5958 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5959 * term/common-win.el (x-select-text, x-alternatives-map)
5960 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5961 * loadup.el [ns]: Load common-win.
5963 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5965 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5966 recipients; expand mail aliases (Bug#7280).
5968 2010-10-25 Glenn Morris <rgm@gnu.org>
5970 * term/common-win.el (x-handle-switch): Simplify with pop.
5971 Optionally handle numeric switches.
5972 (x-handle-numeric-switch): Just call x-handle-switch.
5973 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5974 (x-handle-name-switch, x-handle-display, x-handle-args):
5977 * term/ns-win.el: Do not require easymenu.
5978 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5979 <spell>: Move adjustments to menu-bar.el.
5980 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5981 <separator-undo, spell>: Move ns-win's adjustments here.
5982 * loadup.el [ns]: Do not load easymenu.
5984 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5986 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5989 * startup.el (fancy-startup-tail): Instead of using inline images,
5990 refer to image files from etc/.
5992 * wid-edit.el (checkbox): Likewise.
5993 (widget-image-find): Center image specs.
5995 2010-10-24 Glenn Morris <rgm@gnu.org>
5997 * term/ns-win.el (x-select-text): Doc fix.
5998 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5999 (x-select-text): Move to term/common-win.
6000 * term/w32-win.el (xw-defined-colors): Move to common-win.
6001 * term/x-win.el (xw-defined-colors, x-alternatives-map)
6002 (x-setup-function-keys, x-select-text): Move to common-win.
6003 * term/common-win.el (x-select-text, x-alternatives-map)
6004 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
6007 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
6009 * net/mairix.el (mairix-searches-mode-map):
6010 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
6012 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
6014 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
6015 auto-built for efficiency of execution and updating.
6016 (verilog-extended-complete-re): Support 'pure' fucntion & task
6017 declarations (these have no bodies).
6018 (verilog-beg-of-statement): General cleanup to enable support of
6019 'pure' fucntion & task declarations (these have no bodies).
6020 These efforts together fix Verilog bug210 from veripool; which was also
6021 noticed by Steve Pearlmutter.
6022 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
6023 (verilog-directive-nest-re, verilog-set-auto-endcomments):
6024 Support `elsif. Reported by Shankar Giri.
6025 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
6026 attribute handling for lining up declarations and assignments.
6027 (verilog-beg-of-statement-1): Fix issue where continued declaration
6028 is indented differently if it is after a begin..end clock.
6029 (verilog-in-attribute-p, verilog-skip-backward-comments)
6030 (verilog-skip-forward-comment-p): Support proper treatment of
6031 attributes by indent code. Reported by Jeff Steele.
6032 (verilog-in-directive-p): Fix comment to correctly describe function.
6033 (verilog-backward-up-list, verilog-in-struct-region-p)
6034 (verilog-backward-token, verilog-in-struct-p)
6035 (verilog-in-coverage-p, verilog-do-indent)
6036 (verilog-pretty-declarations): Use verilog-backward-up-list as
6037 wrapper around backward-up-list inorder to properly skip comments.
6038 Reported by David Rogoff.
6039 (verilog-property-re, verilog-endcomment-reason-re)
6040 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6041 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6042 of if). Reported by Max Bjurling and
6043 (verilog-calc-1): Fix for clocking block in modport
6044 declaration. Reported by Brian Hunter.
6046 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6048 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6049 (verilog-gate-keywords, verilog-read-sub-decls)
6050 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6051 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6052 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6053 (verilog-read-decls): Fix spaces in V2K module parameters causing
6054 mis-identification as interfaces, bug287.
6055 (verilog-read-decls): Fix not treating "parameter string" as a
6056 parameter in AUTOINSTPARAM.
6057 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6058 treating `elsif similar to `endif inside AUTOSENSE.
6059 (verilog-do-indent): Implement correct automatic or static task or
6060 function end comment highlight. Reported by Steve Pearlmutter.
6061 (verilog-font-lock-keywords-2): Fix highlighting of single
6062 character pins, bug264. Reported by Michael Laajanen.
6063 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6064 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6065 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6066 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6067 (verilog-pretty-expr): Fix interactive arguments, bug272.
6068 Reported by Mark Johnson.
6069 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6070 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6071 bug269. Suggested by Gary Delp.
6072 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6073 (verilog-preprocessor, verilog-set-compile-command):
6074 Create verilog-preprocess and verilog-preprocessor to show
6075 preprocessed output.
6076 (verilog-get-beg-of-line, verilog-get-end-of-line)
6077 (verilog-modi-file-or-buffer, verilog-modi-name)
6078 (verilog-modi-point, verilog-within-string): Move defmacro's
6079 before first use to avoid warning. Reported by Steve Pearlmutter.
6080 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6081 (verilog-colorize-region, verilog-highlight-buffer)
6082 (verilog-highlight-includes, verilog-highlight-modules)
6083 (verilog-highlight-region, verilog-mode): Rename colorize to
6084 highlight to match other packages. Disable module highlighting,
6085 as received speed complaints, reenable for experimentation only
6086 using new verilog-highlight-modules.
6087 (verilog-read-decls): Fix regexp stack overflow in very large
6088 AUTO_TEMPLATEs, bug250.
6089 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6090 (verilog-scan): Create verilog-save-buffer-state to standardize
6091 making insignificant changes that shouldn't call hooks.
6092 (verilog-save-no-change-functions, verilog-save-scan-cache)
6093 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6094 Create verilog-save-no-change-functions to wrap verilog-scan
6095 preservation, and fix to work with nested preserved calls.
6096 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6097 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6098 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6099 (verilog-submit-bug-report): Update variable list to be complete.
6100 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6101 breaking on-the-fly font-locking.
6102 (verilog-colorize-buffer, verilog-colorize-include-files)
6103 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6104 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6105 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6106 AUTOINST cell instance name, middle mouse button now finds-file on
6107 it. Suggested by Brad Dobbie.
6108 (verilog-alw-get-temps, verilog-auto-reset)
6109 (verilog-auto-sense-sigs, verilog-read-always-signals)
6110 (verilog-read-always-signals-recurse): Fix loop indexes being
6111 AUTORESET. AUTORESET now assumes any variables in the
6112 initialization section of a for() should be ignored.
6113 Reported by Dan Dever.
6114 (verilog-error-font-lock-keywords)
6115 (verilog-error-regexp-emacs-alist)
6116 (verilog-error-regexp-xemacs-alist): Fix error detection of
6117 Cadence HAL, reported by David Asher. Repair drift between the
6118 three similar error variables.
6119 (verilog-modi-lookup, verilog-modi-lookup-cache)
6120 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6121 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6122 Fix slow verilog-auto expansion on very large files.
6123 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6124 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6125 "{1*2{...". Broke in last revision.
6126 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6127 submodule connections with replications "{#{a},#{b}}".
6129 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6131 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6132 Fix typo in docstring.
6134 2010-10-24 Kenichi Handa <handa@m17n.org>
6136 * face-remap.el (text-scale-adjust): Call read-event with a proper
6139 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6141 * emacs-lisp/unsafep.el: Don't mark functions that display
6142 messages as safe. Suggested by Johan Bockgård.
6144 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6146 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6147 Turn comments into docstrings.
6149 * minibuffer.el (completion--replace): Move point where it belongs
6150 when there's a common suffix (bug#7215).
6152 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6154 Merge read-color and facemenu-read-color (Bug#7242).
6156 * faces.el (read-color): Use the completion code from
6157 facemenu-read-color. Require match in completion. Doc fix.
6159 * facemenu.el (facemenu-read-color): Alias for read-color.
6160 (facemenu-set-foreground, facemenu-set-background):
6163 * frame.el (set-background-color, set-foreground-color)
6164 (set-cursor-color, set-mouse-color, set-border-color):
6167 2010-10-24 Leo <sdl.web@gmail.com>
6169 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6170 argument of delete-file and delete-directory (Bug#7011).
6172 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6174 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6177 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6179 * emacs-lisp/package.el (package--generate-package-list): Make the
6180 *Packages* buffer read-only.
6182 2010-10-24 Alan Mackenzie <acm@muc.de>
6184 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6185 result of `c-beginning-of-decl-1' between invocations of a lambda
6186 function (Bug #7265).
6188 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6190 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6191 executable is not available on the system (Bug#7268).
6193 2010-10-24 Glenn Morris <rgm@gnu.org>
6195 * select.el (selection-coding-system, next-selection-coding-system):
6196 Sync doc with C versions.
6198 * w32-vars.el (x-select-enable-clipboard):
6199 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6200 * term/common-win.el (x-select-enable-clipboard): Move here.
6202 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6203 definition of C variable.
6205 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6206 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6207 Don't redefine things that are defined in C.
6208 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6209 (show-trailing-whitespace, auto-hscroll-mode)
6210 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6211 Set up the appropriate custom properties.
6213 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6216 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6217 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6218 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6219 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6221 2010-10-23 Glenn Morris <rgm@gnu.org>
6223 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6226 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6227 Sync docs with C version.
6229 * term/ns-win.el (xw-defined-colors):
6230 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6232 * term/pc-win.el (x-select-enable-clipboard):
6233 * term/x-win.el (x-select-enable-clipboard):
6234 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6236 * comint.el (comint-password-prompt-regexp): Make it less vague.
6239 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6241 * help.el (finder-by-keyword): Remove unnecessary autoload.
6243 2010-10-22 Glenn Morris <rgm@gnu.org>
6245 * loadup.el: Unconditionally load float-sup.
6246 * paren.el (show-paren-delay):
6247 * emacs-lisp/float-sup.el:
6248 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6249 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6250 (lazy-lock-stealth-verbose): Assume float support.
6251 * ps-print.el: Assume float support on Emacs.
6252 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6253 Remove non-float branch.
6255 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6256 src/Makefile no longer being pre-processed.
6258 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * emacs-lisp/find-func.el (find-library): Use test-completion.
6262 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6266 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6268 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6269 space in stat format string.
6270 (tramp-send-command): Unset $PS1 when using here documents, in
6271 order not to get several prompts.
6272 (tramp-get-inline-coding): Return `nil' in case of errors.
6274 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6276 * hexl.el (hexl-mode, hexl-mode-exit):
6277 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6278 (hexl-revert-buffer-function): New function.
6279 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6281 2010-10-19 Alan Mackenzie <acm@muc.de>
6283 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6284 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6285 that these keywords aren't wrongly matched as identifiers.
6287 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6288 setting of c-new-BEG and c-new-END from c-before-change to
6289 c-after-change. (Bug#7181)
6291 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6293 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6296 * custom.el (custom-theme-set-variables): Likewise.
6297 (load-theme): Add custom-theme-set-faces and
6298 custom-theme-set-variables to safe-functions while loading.
6299 (custom-enabled-themes): Mark as risky.
6301 2010-10-18 Julien Danjou <julien@danjou.info>
6303 * bindings.el: Remove end dashes in default mode-line-format.
6305 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6307 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6308 to delete-forward-char.
6310 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6311 deletechar, and hence delete-forward-char.
6313 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * repeat.el (repeat): Use read-key (bug#6256).
6317 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6319 * emacs-lisp/unsafep.el: Don't mark functions that display
6320 messages as safe. Suggested by Johan Bockgård.
6322 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6324 * minibuffer.el (completion--replace): Move point where it belongs
6325 when there's a common suffix (bug#7215).
6327 2010-10-19 Kenichi Handa <handa@m17n.org>
6329 * international/characters.el: Add category '|' (word breakable)
6330 to fullwidth characters.
6332 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6334 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6335 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6336 order to make stat results a float. Patch by Andreas Schwab
6337 <schwab@linux-m68k.org>.
6339 2010-10-18 Julien Danjou <julien@danjou.info>
6341 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6342 hidden by `make-pointer-invisible'.
6344 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * files.el (locate-file-completion-table): Strip non-matching elements
6347 before checking length of list (bug#7238).
6349 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6351 * custom.el (custom-theme-set-variables): Mark as a safe function.
6352 (load-theme): Check forms using unsafep.
6354 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6356 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6358 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6359 Fix aspell data file searching (bug#7230).
6361 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6363 * cus-theme.el (custom-theme--migrate-settings): New var.
6364 (customize-create-theme): Allow editing the `user' theme.
6365 (custom-theme-add-variable, custom-theme-add-var-1)
6366 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6367 to the front of each variable or face widget.
6368 (custom-theme-write): Save theme settings in the correct order.
6369 Optionally, remove saved settings from user customizations.
6370 (custom-theme-write-variables, custom-theme-write-faces):
6371 Save only the checked widgets.
6372 (customize-themes): Add a link for migrating custom settings.
6374 * custom.el (custom-declare-theme, provide-theme):
6375 Use custom-theme-name-valid-p.
6376 (custom-theme-name-valid-p): Remove checks that are now
6377 unnecessary since themes no longer obey load-path.
6379 * cus-edit.el (custom-variable-value-create): For the simple
6380 style, hide documentation string when hidden.
6382 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6384 * cus-edit.el (custom-variable, custom-face): Combine the
6385 :inhibit-magic and :display-style properties into a single
6386 :custom-style property.
6387 (custom-toggle-hide-variable, custom-toggle-hide-face):
6388 New functions. If hiding an edited value, save it to :shown-value.
6389 (custom-variable-value-create, custom-face-value-create): Use them.
6390 (custom-magic-reset): Allow magic property to be unset.
6392 * custom.el: Custom themes no longer use load-path.
6393 (custom-theme-load-path): New option. Change built-in theme
6395 (custom-enabled-themes): Add custom-theme-load-path dependency.
6396 (custom-theme--load-path): New function.
6397 (load-theme, custom-available-themes): Use it.
6399 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6400 (customize-themes): Link to custom-theme-load-path variable.
6401 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6402 :custom-style property.
6404 * themes/*.el: Moved to etc/.
6406 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6408 * textmodes/reftex-cite.el
6409 (reftex-extract-bib-entries-from-thebibliography): Do not move
6410 point when searching for \bibitem entries. Match entries with
6411 spaces or tabs in front of arguments.
6413 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6415 * cus-theme.el (customize-create-theme): Delete overlays after
6416 erasing. If given a THEME arg, display only the faces of that arg
6417 instead of custom-theme--listed-faces.
6418 (custom-theme-variable-menu, custom-theme-variable-action)
6419 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6420 (custom-theme-add-variable, custom-theme-add-face): Apply value
6421 from the theme settings, instead of the current value.
6422 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6423 (custom-theme-visit-theme): Allow calling outside theme buffers.
6424 (custom-theme-merge-theme): Don't enable the theme when merging.
6425 (custom-theme-write-variables, custom-theme-write-faces): Use the
6426 :shown-value properties to save buffer values, not global ones.
6427 (customize-themes): Display a warning about user customizations.
6429 * cus-edit.el (custom-variable-value-create)
6430 (custom-face-value-create): Obey new special properties
6431 :shown-value and :inhibit-magic.
6433 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6435 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6436 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6439 2010-10-14 Kenichi Handa <handa@m17n.org>
6441 * mail/rmail.el (rmail-show-message-1): Catch an error of
6442 base64-decode-region and just show an error message (bug#7165).
6444 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6445 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6446 a font-spec (bug#7197).
6448 2010-10-14 Glenn Morris <rgm@gnu.org>
6450 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6452 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6454 * international/mule.el (define-coding-system):
6455 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6456 * composite.el (compose-region): Fix typo in docstring.
6458 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6460 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6461 only after checking the theme-face property.
6463 * faces.el (face-spec-reset-face): Reset all attributes in one
6464 single call to set-face-attribute.
6465 (face-spec-match-p): Make it a defsubst.
6466 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6467 (x-create-frame-with-faces, tty-create-frame-with-faces)
6468 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6469 frame-set-background-mode, since they are recomputed immediately
6470 afterwards in face-set-after-frame-default.
6471 (face-set-after-frame-default): Minor optimization.
6472 (cursor): Provide non-trivial defface spec.
6474 * custom.el (custom-theme-recalc-face): Simplify.
6476 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6478 * calc/calc-alg.el (math-var): Rename from `var'.
6479 (math-is-polynomial, math-is-poly-rec): Replace `var'
6482 * calc/calcalg2.el (math-var): Rename from `var'.
6483 (calcFunc-table, math-scan-for-limits): Replace `var'
6486 2010-10-13 Glenn Morris <rgm@gnu.org>
6488 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6490 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6492 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6494 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496 * net/tls.el (tls-program): Remove spurious %s from openssl.
6497 (tls-starttls-switches): Remove starttls hack.
6498 (open-tls-stream): Ditto.
6499 (tls-find-starttls-argument): Ditto.
6501 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6503 * image.el (image-library-alist): Declare as obsolete alias.
6504 (image-type-available-p): Use `dynamic-library-alist'.
6506 * term/w32-win.el (dynamic-library-alist):
6507 Use instead of `image-library-alist'.
6509 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6511 * subr.el (last): Make it faster. (Bug#7174)
6513 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6515 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6517 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6519 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6520 (describe-theme-1): Extract doc from unloaded themes.
6522 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6524 * themes/tango-theme.el:
6525 * themes/tango-dark-theme.el:
6526 * themes/wheatgrass-theme.el: New files.
6528 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6530 * cus-theme.el (describe-theme, customize-themes)
6531 (custom-theme-save): New commands.
6532 (custom-new-theme-mode-map): Bind C-x C-s.
6533 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6534 (customize-create-theme): New optional arg THEME.
6535 (custom-theme-revert): Use it.
6536 (custom-theme-visit-theme): Remove dead code.
6537 (custom-theme-merge-theme): Use custom-available-themes.
6538 (custom-theme-write): Make interactive.
6539 (custom-theme-write): Use custom-theme-name-valid-p.
6540 (describe-theme-1, custom-theme-choose-revert)
6541 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6543 (custom-theme-allow-multiple-selections): New option.
6544 (custom-theme-choose-mode): New major mode.
6546 * custom.el (custom-theme-set-variables): Remove dead code.
6547 Obey custom--inhibit-theme-enable.
6548 (custom--inhibit-theme-enable): New var.
6549 (provide-theme): Obey it.
6550 (load-theme): Replace load with manual read/eval, in order to
6551 check for correctness. Use custom-theme-name-valid-p.
6552 (custom-theme-name-valid-p): New function.
6553 (custom-available-themes): Use it.
6555 * cus-edit.el (custom--initialize-widget-variables): New function.
6556 (Custom-mode): Use it.
6558 * cus-face.el (custom-theme-set-faces): Remove dead code.
6559 Obey custom--inhibit-theme-enable.
6561 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6563 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6565 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6567 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6569 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6570 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6571 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6573 * cus-start.el (all): ns-right-alternate-modifier is new.
6575 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * emacs-lisp/lisp.el (lisp-completion-at-point):
6578 Use emacs-lisp-mode-syntax-table for the whole function.
6580 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6582 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6583 instead of font-lock-mode before adding keywords.
6584 Remove hi-lock-mode off code. Remove inhibit hack.
6585 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6586 non-nil; removed hook inhibit hack.
6588 2010-10-12 Glenn Morris <rgm@gnu.org>
6590 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6591 (load-path-shadows-find): ... to this.
6592 (list-load-path-shadows): Update for above change.
6594 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6596 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6598 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6599 Fix comment for declare-function.
6601 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6603 * custom.el (custom-fix-face-spec): New function; code moved from
6604 custom-face-edit-fix-value.
6605 (custom-push-theme): Use it when checking if a face has been
6606 changed outside customize.
6607 (custom-available-themes): New function.
6608 (load-theme): Use it.
6610 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6612 * custom.el (custom-push-theme): Cleanup (use cond).
6613 (disable-theme): Recompute the saved-face property.
6614 (custom-theme-recalc-face): Follow face alias before setting prop.
6616 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6617 New variables, containing checkbox images.
6619 * startup.el (fancy-startup-tail):
6620 * wid-edit.el (checkbox): Use them.
6622 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6624 * shell.el (shell-mode-map):
6625 * progmodes/modula2.el (m2-mode-map):
6626 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6627 * play/mpuz.el (mpuz-mode-map):
6628 * play/landmark.el (lm-mode-map):
6629 * play/decipher.el (decipher-mode-map):
6630 * play/5x5.el (5x5-mode-map):
6631 * net/telnet.el (telnet-mode-map):
6632 * net/quickurl.el (quickurl-list-mode-map):
6633 * net/mairix.el (mairix-searches-mode-map):
6634 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6635 * net/dig.el (dig-mode-map):
6636 * mail/mspools.el (mspools-mode-map):
6637 * hexl.el (hexl-mode-map):
6638 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6639 (wordstar-C-o-map, wordstar-C-q-map):
6640 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6641 * emacs-lisp/chart.el (chart-map):
6642 * edmacro.el (edmacro-mode-map):
6643 * erc/erc-list.el (erc-list-menu-mode-map):
6644 * array.el (array-mode-map): Declare and define in one step.
6646 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6648 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6650 * epa.el (epa-passphrase-callback-function): Display filename
6651 passed as the 3rd arg.
6652 * epa-file.el (epa-file-passphrase-callback-function):
6653 Pass filename to epa-passphrase-callback-function.
6655 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6657 * cus-edit.el (custom-face-widget-to-spec)
6658 (custom-face-get-current-spec, custom-face-state): New functions.
6659 (custom-face-set, custom-face-mark-to-save)
6660 (custom-face-value-create, custom-face-state-set): Use them.
6662 * cus-theme.el (custom-theme--listed-faces): New var.
6663 (customize-create-theme): Use *Custom Theme* as the buffer name.
6664 Set revert-buffer-function. Optional arg BUFFER. Insert all
6665 faces listed in custom-theme--listed-faces.
6666 (custom-theme-revert): New function.
6667 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6669 (custom-theme-write): Prompt for theme name if empty.
6670 (custom-theme-write-variables): Use dolist.
6671 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6673 2010-10-09 Alan Mackenzie <acm@muc.de>
6675 Enhance fontification of declarators to take account of the
6676 presence/absence of "typedef".
6678 * cc-engine.el (c-forward-type): New &optional param
6680 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6681 presence of either or both of a "struct"-like keyword and "typedef".
6683 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6684 fontification of declarators which follow a "}".
6685 (c-font-lock-declarations): Fontify declarators according to the
6686 presence/absence of "typedef".
6688 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6690 (c-typedef-decl-key): New lang variable built from
6691 c-typedef-decl-kwds.
6693 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6695 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6696 since that's too annoying. Move the filter groups commands to
6699 * epa.el (epa-passphrase-callback-function): Say what we're
6700 querying the password for.
6702 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6703 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6705 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6707 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6708 (custom-magic-value-create): Pad button tags with spaces.
6709 (custom-face-edit): New variable.
6710 (custom-face-value-create): Determine whether to use the usual
6711 face editor here, instead of using custom-face-selected.
6712 Pass face defaults to custom-face-edit widget.
6713 (custom-face-selected, custom-display-unselected): Delete widgets.
6714 (custom-display-unselected-match): Function removed.
6715 (custom-face-set, custom-face-mark-to-save):
6716 Accept custom-face-edit widgets as the direct widget child.
6718 * wid-edit.el (widget--completing-widget): New var.
6719 (widget-default-complete): Bind it when doing completion.
6720 (widget-string-complete, widget-file-complete): Use it.
6722 2010-10-09 Glenn Morris <rgm@gnu.org>
6724 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6725 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6726 (holiday-hebrew-misc): Small simplifications.
6728 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6730 * net/browse-url.el: Don't require thingatpt, term, dired,
6731 executable, or w3-auto when compiling.
6732 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6734 (browse-url-text-emacs): Require term.
6736 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6738 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6740 2010-10-08 Glenn Morris <rgm@gnu.org>
6742 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6744 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6745 (shadows-compare-text-p): Make it an obsolete alias for...
6746 (load-path-shadows-compare-text): ... new name.
6747 (find-emacs-lisp-shadows): Update for above name change.
6748 (load-path-shadows-same-file-or-nonexistent): New name for the old
6749 shadow-same-file-or-nonexistent.
6751 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6753 * minibuffer.el (completion--some, completion--do-completion)
6754 (minibuffer-complete-and-exit, minibuffer-completion-help)
6755 (completion-basic-try-completion)
6756 (completion-basic-all-completions)
6757 (completion-pcm--find-all-completions): Use lexical-let to
6758 avoid some false matches in variable completion (Bug#7056)
6760 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6762 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6764 2010-10-08 Leo <sdl.web@gmail.com>
6766 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6767 return non-nil if the file exists (Bug#7090).
6769 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * minibuffer.el (completion--replace):
6772 Better preserve markers (bug#7138).
6774 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6776 * server.el (server-process-filter): Doc fix.
6778 2010-10-08 Drew Adams <drew.adams@oracle.com>
6780 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6782 2010-10-08 Glenn Morris <rgm@gnu.org>
6784 * vc/ediff-wind.el (ediff-setup-control-frame):
6785 * vc/ediff-ptch.el (ediff-default-backup-extension):
6786 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6787 (ediff-exec-process): Remove system-types emx, windows-95.
6789 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6791 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6793 * cus-edit.el (custom-variable, custom-face): Doc fix.
6794 (custom-face-edit): Add value-create attribute.
6795 (custom-face-edit-value-create)
6796 (custom-face-edit-value-visibility-action): New functions.
6797 Hide unused face attributes by default, and add a visibility toggle.
6798 (custom-face-edit-deactivate): Show empty values with shadow face.
6799 (custom-face-selected): Only use this for face specs with default
6801 (custom-face-value-create): Cleanup.
6803 * wid-edit.el (widget-checklist-value-create): Use dolist.
6804 (widget-checklist-match-find): Make second arg optional.
6806 2010-10-07 Glenn Morris <rgm@gnu.org>
6808 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6811 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6812 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6813 load-path-shadows-mode, update references.
6814 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6815 Rename variable and button.
6816 (list-load-path-shadows): Update button caller.
6818 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6820 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6821 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6822 (smie-merge-prec2s): Handle those new entries.
6823 (smie-prec2-levels): Only set precedence to nil for actual
6825 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6826 that is now unnecessary.
6828 2010-10-07 Miles Bader <miles@gnu.org>
6830 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6832 2010-10-07 Glenn Morris <rgm@gnu.org>
6834 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6835 (mail-position-on-field): Remove declarations.
6836 (mail-position-on-field): Autoload it.
6837 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6838 and mail-header-end. Don't require sendmail.
6840 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6841 (shadow-mode): New mode.
6842 (shadow-find-file): New button.
6843 (list-load-path-shadows): Use shadow-mode and buttons.
6845 * iimage.el (iimage-version): Remove.
6846 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6847 Turn into defcustoms.
6848 (iimage-mode-map): Give it a doc string.
6850 * calendar/appt.el (appt-activate): Give a warning rather than an error
6851 if there is no diary-file.
6853 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6855 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6856 Use `tramp-handle-find-backup-file-name'.
6858 2010-10-06 Glenn Morris <rgm@gnu.org>
6860 * font-core.el (font-lock-defaults-alist): Remove variable.
6861 (font-lock-mode): Doc fix.
6862 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6863 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6864 (font-lock-set-defaults): Doc fix.
6865 Do not consult font-lock-defaults-alist.
6867 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6869 * emacs-lisp/cl.el: No longer provide cl-19.
6871 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6873 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6874 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6875 New defuns, taken from tramp-smb.el.
6876 (tramp-coding-system-change-eol-conversion)
6877 (tramp-set-process-query-on-exit-flag): Remove.
6879 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6880 (tramp-compat-coding-system-change-eol-conversion)
6881 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6884 * net/tramp-gvfs.el:
6885 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6886 by `tramp-compat-set-process-query-on-exit-flag'.
6888 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6889 Use `tramp-handle-directory-files-and-attributes',
6890 `tramp-handle-file-exists-p' and
6891 `tramp-handle-file-newer-than-file-p'.
6892 (tramp-imap-handle-file-exists-p)
6893 (tramp-imap-handle-file-executable-p)
6894 (tramp-imap-handle-file-readable-p)
6895 (tramp-imap-handle-directory-files-and-attributes)
6896 (tramp-imap-handle-file-newer-than-file-p): Remove.
6898 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6899 by `tramp-compat-set-process-query-on-exit-flag' and
6900 `tramp-coding-system-change-eol-conversion' by
6901 `tramp-compat-coding-system-change-eol-conversion'.
6903 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6904 Use `tramp-handle-directory-files-and-attributes',
6905 `tramp-handle-file-exists-p' and
6906 `tramp-handle-file-newer-than-file-p'.
6907 (tramp-smb-handle-directory-files-and-attributes)
6908 (tramp-smb-handle-file-exists-p)
6909 (tramp-smb-handle-file-newer-than-file-p): Remove.
6910 (tramp-smb-maybe-open-connection):
6911 Replace `tramp-set-process-query-on-exit-flag' by
6912 `tramp-compat-set-process-query-on-exit-flag'.
6914 2010-10-05 Glenn Morris <rgm@gnu.org>
6916 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6918 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6920 Continue reorganization of load dependencies. (Bug#7156)
6922 * net/tramp.el (tramp-handle-file-local-copy-hook)
6923 (tramp-delete-temp-file-function): Move down.
6924 (tramp-exists-file-name-handler): Move up.
6925 (tramp-register-file-name-handlers): Simplify autoload.
6926 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6927 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6928 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6929 (tramp-handle-file-name-completion)
6930 (tramp-handle-file-name-directory)
6931 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6932 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6933 (tramp-handle-find-backup-file-name)
6934 (tramp-handle-insert-file-contents, tramp-handle-load)
6935 (tramp-handle-substitute-in-file-name)
6936 (tramp-handle-unhandled-file-name-directory)
6937 (tramp-mode-string-to-int, tramp-local-host-p)
6938 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6940 * net/tramp-gvfs.el (top):
6941 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6943 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6944 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6946 2010-10-04 Glenn Morris <rgm@gnu.org>
6948 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6949 (appt-activate): Give status messages.
6951 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6953 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6954 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6955 `gnutls-negotiate' (formerly `starttls-negotiate').
6956 Remove trivial wrapper `starttls-open-stream'.
6958 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6960 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6961 log-outgoing commands.
6962 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6963 to create a buffer local revert-buffer-function variable.
6964 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6965 revert-buffer-function lambda.
6967 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6969 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6970 `gnutls-boot'. Make TYPE the only required parameter.
6971 Allow TRUSTFILES and KEYFILES to be lists.
6972 (open-ssl-stream): Use it.
6974 2010-10-03 Glenn Morris <rgm@gnu.org>
6976 * subr.el (directory-sep-char): Remove obsolete variable.
6977 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6980 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6981 * vc/vc.el (vc-static-header-alist): Doc fix.
6982 * vc/vc-cvs.el (vc-cvs-header):
6983 * vc/vc-rcs.el (vc-rcs-header):
6984 * vc/vc-sccs.el (vc-sccs-header):
6985 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6986 * obsolete/vc-mcvs.el (vc-mcvs-header):
6987 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6990 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6992 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6993 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6995 2010-10-03 Glenn Morris <rgm@gnu.org>
6997 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6999 * textmodes/rst.el (rst-font-lock-keywords-function):
7002 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
7004 * printing.el: Drop Emacs 20 code.
7006 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
7007 without having used appt.el already).
7009 * subr.el (make-local-hook): Remove function obsolete since 21.1.
7010 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
7011 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
7013 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
7014 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
7016 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
7017 (charset-width, find-charset-region, chars-in-region, forward-point)
7018 (encode-coding-string, coding-system-p, ccl-execute-on-string)
7019 (define-ccl-program, multibyte-string-p, string-make-multibyte):
7020 Remove compatibility cruft (none of these are used by ps*.el).
7022 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7024 * subr.el (booleanp): Return t instead of a list (Bug#7086).
7026 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
7028 * server.el (server-process-filter, server-return-error):
7029 Give emacsclient time to shut down after receiving an error string.
7031 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
7033 * files.el (remote-file-name-inhibit-cache): New defcustom.
7035 * time.el (display-time-file-nonempty-p):
7036 Use `remote-file-name-inhibit-cache'.
7038 * net/tramp.el (tramp-completion-reread-directory-timeout):
7041 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7042 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7043 `remote-file-name-inhibit-cache'. Check also for an integer
7044 value. Add/increase counter when `tramp-verbose' >= 10.
7045 (tramp-set-file-property): Add/increase counter when
7046 `tramp-verbose' >= 10.
7048 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7049 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7050 (tramp-bug): Set tramp-autoload cookie. Report all interned
7051 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7052 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7053 characters only in strings.
7055 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7056 to backward compatibility.
7058 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7059 (tramp-handle-file-name-all-completions)
7060 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7061 (tramp-open-connection-setup-interactive-shell):
7062 Call `tramp-cleanup-connection' directly.
7064 2010-10-02 Glenn Morris <rgm@gnu.org>
7066 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7068 * subr.el (char-bytes): Remove obsolete function.
7070 * isearch.el (isearch-return-char): Remove obsolete function.
7072 * mouse.el: No longer provide mldrag.
7073 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7074 Remove obsolete aliases.
7076 * comint.el (comint-kill-output): Remove obsolete alias.
7078 * composite.el (decompose-composite-char): Remove obsolete function.
7079 * ps-def.el (decompose-composite-char): Remove unused function.
7081 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7083 * outline.el (outline-visible): Remove obsolete function.
7085 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7086 * faces.el (internal-find-face, internal-get-face)
7087 (frame-update-faces, frame-update-face-colors)
7088 (x-frob-font-weight, x-frob-font-slant)
7089 (internal-frob-font-weight, internal-frob-font-slant)
7090 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7091 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7092 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7094 * emulation/viper-util.el (viper-get-face):
7095 * obsolete/lucid.el (find-face, get-face): Use facep.
7096 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7097 Remove unused functions.
7098 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7100 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7101 delete tempfile if interrupted during compilation.
7103 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7105 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7107 (tls-program): Add --insecure to be consistent with the defaults from
7108 openssl s_client. Now all three commands are insecure.
7110 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7112 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7113 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7114 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7116 2010-10-01 Glenn Morris <rgm@gnu.org>
7118 * obsolete/sc.el: Remove file.
7120 * files.el (temporary-file-directory): On darwin, also try
7121 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7123 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7125 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7126 Let's not break compatibility gratuitously, shall we?
7128 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7130 * net/tls.el (tls-starttls-switches): New variable.
7131 (tls-find-starttls-argument): Use it.
7132 (open-tls-stream): Ditto.
7134 * net/netrc.el (netrc-credentials): Return the value of the "default"
7136 (netrc-machine): Ditto.
7138 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7140 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7142 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7144 * server.el (server-start): Don't write pid to the authentication file.
7145 (server-create-tty-frame): Don't send pid.
7146 (server-process-filter): Send pid at the start of every connection.
7148 2010-09-30 Glenn Morris <rgm@gnu.org>
7150 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7151 (show-all-diary-entries): Remove obsolete function aliases.
7153 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7154 Remove options, obsolete since 22.1.
7155 (appt-display-format, appt-display-message):
7156 Remove backwards-compatibility code.
7157 (appt-check): No longer check appt-issue-message.
7158 (appt-make-list): No longer autoload it. Doc fix. No longer
7159 activate the package.
7161 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7163 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7164 (starttls-negotiate): Just call boot, and let the handshake be
7165 triggered from the read loop.
7167 2010-09-29 Glenn Morris <rgm@gnu.org>
7169 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7170 not displaying the diary.
7171 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7172 * calendar/appt.el (appt-check): No longer need to kill diary.
7174 * calendar/diary-lib.el (diary-list-entries): Move the
7175 "Preparing..." message entirely here.
7176 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7177 messages to diary-list-entries.
7178 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7179 diary-display-function.
7181 * calendar/diary-lib.el (diary-include-other-diary-files):
7182 Trap some recursive includes.
7184 * calendar/appt.el (appt-activate): Check diary file.
7186 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7188 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7191 * calendar/time-date.el: No need to require cl for Emacs 21.
7193 2010-09-28 Glenn Morris <rgm@gnu.org>
7195 * calendar/appt.el (appt-check): Minor simplification.
7197 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7199 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7202 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7204 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7205 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7207 2010-09-27 Kenichi Handa <handa@m17n.org>
7209 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7212 2010-09-27 Kenichi Handa <handa@m17n.org>
7214 * international/mule.el (define-coding-system): Docstring fixed.
7216 * international/mule-diag.el (describe-character-set): Use princ
7217 with proper print-length and print-level instead of insert.
7219 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7221 * window.el (walk-windows): Doc fix (bug#7105).
7223 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * emacs-lisp/float-sup.el (e): Remove.
7227 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7229 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7231 (starttls-negotiate): Use it.
7233 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7238 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7242 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7244 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7246 * net/netrc.el (netrc-store-data): New function.
7248 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7250 * net/gnutls.el: GnuTLS glue code to set up a connection.
7252 2010-09-25 Julien Danjou <julien@danjou.info>
7254 * notifications.el: Call dbus-register-signal only if it is bound.
7256 2010-09-25 Glenn Morris <rgm@gnu.org>
7258 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7259 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7260 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7261 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7262 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7263 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7264 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7265 * eshell/esh-util.el, eshell/esh-var.el:
7266 Remove leading `*' from docs of faces and defcustoms.
7268 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7270 * eshell/em-ls.el (eshell-ls-archive-regexp):
7271 * eshell/esh-util.el (eshell-tar-regexp):
7272 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7273 * info.el (Info-suffix-list):
7274 * international/mule.el (auto-coding-alist):
7275 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7276 * progmodes/etags.el (tags-compression-info-list):
7277 Support xz compression.
7279 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7281 * files.el (get-free-disk-space): Don't assume the "df" output
7282 columns line up (Bug#6995).
7284 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7286 * finder.el (finder-unknown-keywords):
7287 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7288 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7290 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7292 * server.el (server-start): Revert part of 2010-08-08 change. Using
7293 address 127.0.0.1 for local host is now done in Fmake_network_process.
7295 2010-09-24 Glenn Morris <rgm@gnu.org>
7297 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7298 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7299 * textmodes/css-mode.el, textmodes/dns-mode.el:
7300 Move autoloaded auto-mode-alist entries to files.el.
7301 * files.el (auto-mode-alist): Move entries here.
7303 2010-09-23 Glenn Morris <rgm@gnu.org>
7305 * isearch.el (isearch-lazy-highlight-cleanup)
7306 (isearch-lazy-highlight-initial-delay)
7307 (isearch-lazy-highlight-interval)
7308 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7309 * net/net-utils.el (ipconfig-program-options):
7310 Move aliases to options before the associated definitions.
7312 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * newcomment.el (comment-normalize-vars): Better test validity of
7317 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7319 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7320 (float-e): New name for `e'.
7321 (degrees-to-radians, radians-to-degrees):
7322 * calendar/solar.el (solar-longitude):
7323 * calculator.el (calculator-registers, calculator-funcall):
7324 * textmodes/artist.el (artist-spray-random-points):
7325 * play/bubbles.el (bubbles--initialize-images): Use new names.
7327 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7329 Update to CEDET 1.0's version of EIEIO.
7331 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7333 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7334 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7335 (class-precedence-list): If class is nil, return nil.
7336 (eieio-generic-call): If class of first input arg is nil, don't
7337 look up static methods, and do check for primary methods.
7338 (initialize-instance): See if the default needs to be evaluated
7339 during the constructor.
7340 (eieio-perform-slot-validation-for-default): Don't do the check
7341 for values that will eventually be evaluated.
7342 (eieio-eval-default-p): New function.
7343 (eieio-default-eval-maybe): Use it.
7345 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7347 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7348 method-invocation-order.
7349 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7350 (eieio-class-precedence-dfs): Compute class precedence list using
7352 (eieio-class-precedence-bfs): Compute class precedence list using
7354 (eieio-class-precedence-c3): Compute class precedence list using
7356 (class-precedence-list): New function.
7357 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7358 (inconsistent-class-hierarchy): New error symbol.
7359 (call-next-method): Stow the replacement argument list for future
7360 call-next-method invocations.
7362 2010-09-23 Glenn Morris <rgm@gnu.org>
7364 * calendar/appt.el (appt-check): If not displaying the diary,
7365 use (diary 1) to only get the entries we need.
7366 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7367 that it is in day order. (Bug#7019)
7369 * calendar/appt.el (appt-check): Rather than showing the diary,
7370 just turn off invisible display, and only if needed.
7372 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7374 2010-09-23 Glenn Morris <rgm@gnu.org>
7376 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7377 (byte-compile-defvar, byte-compile-cl-warn):
7378 Start warnings with lower-case, like the majority.
7380 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7382 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7384 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7385 * files.el (auto-mode-alist): Move ld-script entries here, further down
7388 * vc/add-log.el: Don't require timezone when compiling.
7389 (timezone-make-date-sortable): Autoload it.
7390 (change-log-sortable-date-at): Don't require timezone.
7391 Use `ignore-errors'.
7393 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7394 Move alias before definition, so it does not need autoloading.
7396 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7397 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7398 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7399 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7400 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7401 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7402 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7403 * textmodes/tex-mode.el, textmodes/two-column.el:
7404 Remove leading `*' from docs of defcustoms etc.
7406 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7408 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7410 2010-09-22 Dan Christensen <jdc@uwo.ca>
7412 * calendar/time-date.el (date-to-time): Try using parse-time-string
7413 first before using the slower timezone-make-date-arpa-standard.
7415 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7417 * calendar/time-date.el (format-seconds): Comment fix.
7419 2010-09-22 Glenn Morris <rgm@gnu.org>
7421 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7422 is not automatically buffer-local.
7424 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7427 (smie-indent-comment): Be more careful with comment-start-skip.
7428 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7429 (smie-indent-functions): Use them.
7431 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7433 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7435 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7437 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7438 tool-bar-position. Don't modify frame parameters here.
7439 (menu-bar-options-save): Add tool-bar-position.
7441 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7443 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * textmodes/reftex-parse.el (reftex-what-macro)
7446 (reftex-context-substring): Let-bind forward-sexp-function to nil
7447 since we don't need/want to treat \begin...\end as a block (bug#7053).
7449 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7451 * simple.el (blink-matching-open): Use syntax-class.
7453 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7454 Set invisibility spec for pascal's outline mode.
7455 (pascal-outline-change): Clean up calling convention.
7456 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7458 * progmodes/prolog.el (prolog-smie-forward-token)
7459 (prolog-smie-backward-token): New functions.
7460 (prolog-mode-variables): Use them to parse "!," correctly.
7461 Set up smie-blink-matching for ".".
7463 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7465 (ispell-region, ispell-process-line): Update users.
7467 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7470 * textmodes/ispell.el: Fix commenting convention.
7471 (ispell-parse-output): Simplify, use push.
7472 (ispell-region): Use match-string-no-properties.
7473 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7474 (ispell-minor-mode): Use define-minor-mode.
7475 (ispell-message): Remove unused var `skip-regexp'.
7476 (ispell-add-per-file-word-list): Use dynamic let-binding.
7477 Try and use the proper comment marker.
7479 * mail/sendmail.el: Fix commenting convention.
7480 (sendmail-send-it): Use line-beginning-position.
7482 * help-fns.el (describe-variable): Add original value, if applicable.
7484 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7486 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7488 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7490 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7493 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7494 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7495 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7496 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7497 something like "." can also be a closer.
7498 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7499 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7500 Rename internal functions to use "--". Update callers.
7502 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7504 * fringe.el (fringe-styles): New var.
7505 (fringe-mode, fringe-query-style): Use it.
7507 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7509 * progmodes/sql.el: Version 2.8
7510 (sql-login-params): Update widget structure; changes still needed.
7511 (sql-product-alist): Add :list-all and :list-table features for
7512 SQLite, Postgres and MySQL products.
7513 (sql-redirect): Handle default value.
7514 (sql-execute, sql-execute-feature): New functions.
7515 (sql-read-table-name): New function.
7516 (sql-list-all, sql-list-table): New functions. User API.
7517 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7518 for above functions.
7519 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7520 for above functions.
7521 (sql-postgres-login-params): Add user and database defaults.
7522 (sql-buffer-live-p): Bug fix.
7523 (sql-product-history): New variable.
7524 (sql-read-product): New function. Use it.
7525 (sql-set-product, sql-product-interactive): Use it.
7526 (sql-connection-history): New variable.
7527 (sql-read-connection): New function. Use it.
7528 (sql-connect): New function.
7529 (sql-for-each-login): Redesign function interface.
7530 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7531 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7532 (sql-comint): Check for program. Existing live buffer.
7533 (sql-comint-postgres): Add port parameter.
7535 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * emacs-lisp/warnings.el: Fix commenting convention.
7538 (display-warning): Use special mode and make the buffer read-only.
7540 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7542 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7543 empty string when it follows a repeated or optional pattern.
7545 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7547 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7548 (indent-region): Use indent-according-to-mode.
7550 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7552 * fringe.el (fringe-mode): Doc fix.
7554 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7556 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7557 refreshing the preview buffer.
7559 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7561 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7562 (latex-syntax-propertize-rules): New consts; replace
7563 tex-font-lock-syntactic-keywords.
7564 (tex-env-mark, latex-env-before-change): New functions.
7565 (latex-electric-env-pair-mode): New minor mode.
7566 (tex-font-lock-verb): Change arguments; do move point.
7567 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7568 representation as a form of comment.
7569 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7570 (doctex-syntax-propertize-rules): New const; replaces
7571 doctex-font-lock-syntactic-keywords.
7572 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7574 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7575 (fortran-make-syntax-propertize-function): New function; replaces
7576 fortran-font-lock-syntactic-keywords.
7577 (fortran-mode): Use it.
7578 (fortran-line-length): Use it. Improve interactive spec.
7580 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7581 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7582 when adding surrounding \(..\).
7584 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7586 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7589 Use with-current-buffer.
7591 * isearch.el (isearch-face): Rename from `isearch'.
7592 (isearch-highlight): Use new name.
7594 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7596 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7597 5, for `half' width fringes. (Bug#6933)
7599 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7601 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7602 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7604 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7606 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7608 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7609 in calculating new frame position. Add more space between new and
7610 parent on the left (Bug#7048).
7612 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7614 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7617 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7619 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7621 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7622 obsolete alias for x-selection-value.
7624 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7626 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7628 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7631 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7633 * net/tramp-compat.el (tramp-compat-with-temp-message)
7634 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7635 (tramp-compat-process-put): New defuns.
7637 * net/tramp.el (top):
7638 * net/tramp-gvfs.el (top):
7639 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7641 * net/tramp.el (tramp-progress-reporter-update):
7642 Use `tramp-compat-funcall'.
7644 * net/tramp.el (tramp-process-actions):
7645 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7646 * net/tramp-sh.el (tramp-handle-vc-registered)
7647 (tramp-get-remote-stat, tramp-get-remote-readlink):
7648 Use `tramp-compat-with-temp-message'.
7650 * net/tramp-sh.el (top): Require 'cl.
7651 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7652 (tramp-open-connection-setup-interactive-shell):
7653 Use `tramp-compat-process-put'.
7655 2010-09-15 Alan Mackenzie <acm@muc.de>
7657 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7659 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7661 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7663 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7664 `lexical' for warnings related to lexical scoping.
7665 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7666 global vars which don't have a prefix and could hence affect lexical
7667 scoping in unrelated files.
7669 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7671 * net/imap.el: Revert back to version
7672 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7675 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7677 * obsolete/old-whitespace.el (whitespace-unload-function):
7678 Explicitly pass `obarray' to `unintern' to avoid a warning.
7680 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7683 Add `when' argument. Update callers.
7685 * subr.el (unintern): Declare the obarray arg mandatory.
7687 2010-09-14 Glenn Morris <rgm@gnu.org>
7689 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7692 * calendar/diary-lib.el (diary-included-files): New variable.
7693 (diary-list-entries): Maybe initialize diary-included-files.
7694 (diary-include-other-diary-files): Append to diary-included-files.
7695 * calendar/appt.el (appt-update-list): Also check the members of
7696 diary-included-files. (Bug#6999)
7697 (appt-check): Doc fix.
7699 2010-09-14 David Reitter <david.reitter@gmail.com>
7701 * simple.el (line-move-visual): Do not truncate goal column to
7702 integer size. (Bug#7020)
7704 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * repeat.el (repeat): Allow repeating when the last event is a click.
7707 Suggested by Drew Adams (bug#6256).
7709 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7711 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7712 Replace setting HGRCPATH to "" by some less invasive --config options.
7714 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * font-lock.el (font-lock-beginning-of-syntax-function):
7719 2010-09-14 Glenn Morris <rgm@gnu.org>
7721 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7722 and tool-bar modes. (Bug#6211)
7723 (menu-bar-mode): Move setting of standard-value after the
7724 minor-mode definition, otherwise it seems to have no effect.
7726 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7728 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7729 Fix typo. (Bug#6976)
7731 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7733 * whitespace.el: Allow cleaning up blanks without blank
7734 visualization (Bug#6651). Adjust help window for
7735 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7736 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7737 (whitespace-style): Add new value 'face. Adjust docstring.
7738 (whitespace-space, whitespace-hspace, whitespace-tab):
7739 Adjust foreground property face.
7740 (whitespace-line-column): Adjust docstring and type declaration.
7741 (whitespace-style-value-list, whitespace-toggle-option-alist)
7742 (whitespace-help-text): Adjust const initialization.
7743 (whitespace-toggle-options, global-whitespace-toggle-options):
7745 (whitespace-display-window, whitespace-interactive-char)
7746 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7747 (whitespace-help-scroll): New fun.
7749 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7751 * calendar/time-date.el (format-seconds): Comment fix.
7753 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7755 * progmodes/sql.el: Version 2.7.
7756 (sql-buffer-live-p): Improve detection.
7757 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7758 (sql-set-sqli-buffer): Use it.
7759 (sql-product-interactive): Run `sql-set-sqli-hook'.
7760 (sql-rename-buffer): Code cleanup.
7761 (sql-redirect, sql-redirect-value): New functions. More to come.
7763 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7765 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.
7766 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7767 (TRAMP_SRC): New macro.
7768 ($(lisp)/net/tramp-loaddefs.el): New target.
7770 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7772 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7774 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7776 * net/tramp.el (top): Don't show loading message. Require just
7777 'tramp-compat, everything else is required there.
7778 Use `ignore-errors' where appropriate.
7779 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7780 (tramp-terminal-type, tramp-end-of-output)
7781 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7782 (tramp-completion-function-alist-ssh)
7783 (tramp-completion-function-alist-telnet)
7784 (tramp-completion-function-alist-su)
7785 (tramp-completion-function-alist-putty, tramp-remote-path)
7786 (tramp-remote-process-environment, tramp-sh-extra-args)
7787 (tramp-actions-before-shell, tramp-uudecode)
7788 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7789 (tramp-perl-file-attributes)
7790 (tramp-perl-directory-files-and-attributes)
7791 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7792 (tramp-perl-encode, tramp-perl-decode)
7793 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7794 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7795 (tramp-handle-make-symbolic-link, tramp-handle-load)
7796 (tramp-handle-file-name-as-directory)
7797 (tramp-handle-file-name-directory)
7798 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7799 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7800 (tramp-do-file-attributes-with-ls)
7801 (tramp-do-file-attributes-with-perl)
7802 (tramp-do-file-attributes-with-stat)
7803 (tramp-handle-set-visited-file-modtime)
7804 (tramp-handle-verify-visited-file-modtime)
7805 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7806 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7807 (tramp-handle-file-selinux-context)
7808 (tramp-handle-set-file-selinux-context)
7809 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7810 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7811 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7812 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7813 (tramp-handle-file-ownership-preserved-p)
7814 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7815 (tramp-handle-directory-files-and-attributes)
7816 (tramp-do-directory-files-and-attributes-with-perl)
7817 (tramp-do-directory-files-and-attributes-with-stat)
7818 (tramp-handle-file-name-all-completions)
7819 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7820 (tramp-handle-copy-file, tramp-handle-copy-directory)
7821 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7822 (tramp-do-copy-or-rename-file-via-buffer)
7823 (tramp-do-copy-or-rename-file-directly)
7824 (tramp-do-copy-or-rename-file-out-of-band)
7825 (tramp-handle-make-directory, tramp-handle-delete-directory)
7826 (tramp-handle-delete-file)
7827 (tramp-handle-dired-recursive-delete-directory)
7828 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7829 (tramp-handle-insert-directory)
7830 (tramp-handle-unhandled-file-name-directory)
7831 (tramp-handle-expand-file-name)
7832 (tramp-handle-substitute-in-file-name)
7833 (tramp-handle-executable-find, tramp-process-sentinel)
7834 (tramp-handle-start-file-process, tramp-handle-process-file)
7835 (tramp-handle-call-process-region, tramp-handle-shell-command)
7836 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7837 (tramp-handle-insert-file-contents)
7838 (tramp-handle-insert-file-contents-literally)
7839 (tramp-handle-find-backup-file-name)
7840 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7841 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7842 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7843 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7844 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7845 (tramp-find-file-exists-command, tramp-open-shell)
7846 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7847 (tramp-open-connection-setup-interactive-shell)
7848 (tramp-local-coding-commands, tramp-remote-coding-commands)
7849 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7850 (tramp-inline-compress-commands, tramp-find-inline-compress)
7851 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7852 (tramp-send-command, tramp-wait-for-output)
7853 (tramp-send-command-and-check, tramp-barf-unless-okay)
7854 (tramp-send-command-and-read, tramp-mode-string-to-int)
7855 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7856 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7857 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7858 (tramp-method-out-of-band-p, tramp-local-host-p)
7859 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7860 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7861 (tramp-get-test-command, tramp-get-test-nt-command)
7862 (tramp-get-file-exists-command, tramp-get-remote-ln)
7863 (tramp-get-remote-perl, tramp-get-remote-stat)
7864 (tramp-get-remote-readlink, tramp-get-remote-trash)
7865 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7866 (tramp-get-local-uid, tramp-get-local-gid)
7867 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7869 (tramp-methods, tramp-default-method-alist)
7870 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7871 Move initialization to tramp-sh.el.
7872 (tramp-temp-name-prefix): Make it a defconst.
7873 (tramp-dissect-file-name): Don't check anymore for multi-hop
7875 (tramp-debug-outline-regexp): Add a docstring.
7876 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7877 (tramp-get-debug-buffer): Use it.
7879 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7880 initialization forms.
7881 (tramp-set-connection-property): Don't protect `tramp-message'
7882 call, it isn't necessary any longer.
7883 (tramp-dump-connection-properties): Use `ignore-errors'.
7885 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7886 'password-cache and 'auth-source.
7888 * net/tramp-gvfs.el (top):
7889 * net/tramp-smb.el (top): Require 'tramp-sh.
7891 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7893 * net/tramp-sh.el: New file, derived from tramp.el.
7894 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7895 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7896 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7897 Use `ignore-errors' where appropriate.
7898 (tramp-sh-file-name-handler-alist): Rename from
7899 `tramp-file-name-handler-alist'.
7900 (tramp-send-command-and-check): Return t or nil. Remove all
7901 `zerop' checks, where called.
7902 (tramp-handle-set-file-modes)
7903 (tramp-do-copy-or-rename-file-directly)
7904 (tramp-handle-delete-directory, tramp-handle-delete-file)
7905 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7906 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7907 (tramp-get-remote-ln): Set tramp-autoload cookie.
7909 * net/tramp-fish.el: Remove file.
7911 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7913 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7914 buffer-file-name to avoid file-locking. (Bug#7026)
7916 2010-09-13 Julien Danjou <julien@danjou.info>
7918 * notifications.el (notifications-notify): Add support for
7919 image-path and sound-name.
7920 (notifications-specification-version): Add this variable.
7922 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7926 2010-09-12 Leo <sdl.web@gmail.com>
7928 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7929 (rcirc-completion-start): New variables.
7930 (rcirc-nick-completions): Rename to rcirc-completions.
7931 (rcirc-nick-completion-start-offset): Delete.
7932 (rcirc-completion-at-point): New function for constructing
7933 completion data for both nicks and irc commands. Add to
7934 completion-at-point-functions in rcirc mode.
7935 (rcirc-complete): Rename from rcirc-nick-complete; use
7936 rcirc-completion-at-point.
7937 (defun-rcirc-command): Update rcirc-client-commands.
7939 2010-09-11 Glenn Morris <rgm@gnu.org>
7941 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7942 atomically, to avoid parallel build errors. (Bug#4196)
7944 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7946 * progmodes/sql.el: Version 2.6
7947 (sql-dialect): Synonym for "sql-product".
7948 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7949 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7950 Set "sql-buffer" to buffer name not buffer object so multiple sql
7951 interactive buffers work properly. Reverts misguided changes in
7953 (sql-comint): Make sure different buffer name is used if "*SQL*"
7954 buffer is for a different product.
7955 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7957 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7958 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7959 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7960 Accept new buffer name or prompt for one.
7961 (sql-port): Default to zero.
7962 (sql-comint-mysql): Handle "sql-port" as a numeric.
7963 (sql-port-history): Delete unused variable.
7964 (sql-get-login): Default "sql-port" to a number.
7965 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7966 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7967 "sqlite3" executables.
7968 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7969 (sql-buffer-live-p): New function.
7970 (sql-mode-menu, sql-send-string): Use it.
7971 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7973 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7974 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7976 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7978 * net/netrc.el (netrc-credentials): New convenience function.
7980 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7982 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7983 to replace texinfo-font-lock-syntactic-keywords.
7984 (texinfo-mode): Use it.
7986 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7987 Use syntax-propertize-function.
7989 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7990 replace sgml-font-lock-syntactic-keywords.
7991 (sgml-mode): Use it.
7993 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7994 since we don't use it.
7996 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7998 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
8000 (vhdl-fontify-buffer): Adjust.
8002 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
8003 replace tcl-font-lock-syntactic-keywords.
8006 * progmodes/simula.el (simula-syntax-propertize-function): New var to
8007 replace simula-font-lock-syntactic-keywords.
8008 (simula-mode): Use it.
8010 * progmodes/sh-script.el (sh-st-symbol): Remove.
8011 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
8012 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
8013 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
8014 (sh-font-lock-paren): Set syntax-multiline.
8015 (sh-font-lock-syntactic-keywords): Remove.
8016 (sh-syntax-propertize-function): New function to replace it.
8019 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
8020 Define while compiling.
8021 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8022 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
8023 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
8024 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8025 (ruby-here-doc-end-syntax): Only define when
8026 syntax-propertize is not available.
8027 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
8029 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
8030 (electric-indent-chars): Silence bytecompiler.
8031 (ruby-mode): Use prog-mode, syntax-propertize-function, and
8032 electric-indent-chars.
8034 * progmodes/python.el (python-syntax-propertize-function): New var to
8035 replace python-font-lock-syntactic-keywords.
8036 (python-mode): Use it.
8037 (python-quote-syntax): Simplify and adjust to new use.
8039 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8040 replace perl-font-lock-syntactic-keywords.
8041 (perl-syntax-propertize-special-constructs): New fun to replace
8042 perl-font-lock-special-syntactic-constructs.
8043 (perl-font-lock-syntactic-face-function): New fun.
8044 (perl-mode): Use it.
8046 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8047 to replace octave-font-lock-close-quotes.
8048 (octave-syntax-propertize-function): New function to replace
8049 octave-font-lock-syntactic-keywords.
8050 (octave-mode): Use it.
8052 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8053 replaces mixal-font-lock-syntactic-keywords.
8054 (mixal-mode): Use it.
8056 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8057 New var; replaces makefile-font-lock-syntactic-keywords.
8058 (makefile-mode): Use it.
8059 (makefile-imake-mode): Adjust.
8061 * progmodes/js.el (js--regexp-literal): Define while compiling.
8062 (js-syntax-propertize-function): New var; replaces
8063 js-font-lock-syntactic-keywords.
8066 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8067 replaces gdb-script-font-lock-syntactic-keywords.
8068 (gdb-script-mode): Use it.
8070 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8071 (fortran--font-lock-syntactic-keywords): New var.
8072 (fortran-line-length): Update syntax-propertize-function and
8073 fortran--font-lock-syntactic-keywords.
8075 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8077 * progmodes/cfengine.el (cfengine-mode):
8078 Use syntax-propertize-function.
8079 (cfengine-font-lock-syntactic-keywords): Remove.
8081 * progmodes/autoconf.el (autoconf-mode):
8082 Use syntax-propertize-function.
8083 (autoconf-font-lock-syntactic-keywords): Remove.
8085 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8086 (ada-after-change-function, ada-initialize-syntax-table-properties)
8087 (ada-handle-syntax-table-properties): Only define when
8088 syntax-propertize is not available.
8089 (ada-mode): Use syntax-propertize-function.
8091 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8092 (font-lock-fontify-syntactic-keywords-region): Move handling of
8093 font-lock-syntactically-fontified to...
8094 (font-lock-default-fontify-region): ...here.
8095 Let syntax-propertize-function take precedence.
8096 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8098 * emacs-lisp/syntax.el (syntax-propertize-function)
8099 (syntax-propertize-chunk-size, syntax-propertize--done)
8100 (syntax-propertize-extend-region-functions): New vars.
8101 (syntax-propertize-wholelines, syntax-propertize-multiline)
8102 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8103 (syntax-propertize): New functions.
8104 (syntax-propertize-rules): New macro.
8105 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8106 (syntax-ppss): Call syntax-propertize.
8108 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8110 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8112 * textmodes/ispell.el (ispell-init-process): Improve comments.
8113 XEmacs compatibility changes regarding (add-hook) 'local option
8114 and (set-process-query-on-exit-flag).
8116 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8118 * net/tramp-cache.el (tramp-parse-connection-properties):
8119 Set tramp-autoload cookie.
8121 2010-09-09 Glenn Morris <rgm@gnu.org>
8123 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8124 (imagemagick-register-types): Doc fix.
8126 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8130 * progmodes/js.el (require): Require is already "eval-and-compile".
8131 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8132 (js--re-search-backward): Use js--re-search-forward.
8134 * progmodes/fortran.el (fortran-line-length): Don't recompute
8135 syntactic keywords redundantly a second time.
8137 * progmodes/ada-mode.el: Replace "(set '" with setq.
8138 (ada-mode): Simplify.
8139 (ada-create-case-exception, ada-adjust-case-interactive)
8140 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8141 (ada-search-ignore-string-comment, ada-move-to-start)
8142 (ada-move-to-end): Use with-syntax-table.
8144 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8145 (font-lock-unfontify-region, font-lock-default-fontify-region):
8146 Update usage correspondingly.
8147 (font-lock-fontify-syntactic-keywords-region):
8148 Set parse-sexp-lookup-properties buffer-locally here.
8149 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8151 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8153 2010-09-08 Glenn Morris <rgm@gnu.org>
8155 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8156 Error if not compiled with -DBYTE_CODE_METER.
8158 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8159 Ignore dir-locals-file.
8161 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8165 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8166 for the `gnu' messages.
8167 (compilation-set-skip-threshold): New command.
8168 (compilation-start): Use \' rather than $.
8169 (compilation-forget-errors): Use clrhash.
8171 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8173 * textmodes/ispell.el (ispell-valid-dictionary-list):
8176 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8178 Migrate to Tramp 2.2. Rearrange load dependencies.
8179 (Bug#1529, Bug#5448, Bug#5705)
8181 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8182 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8183 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8185 * net/tramp.el (top): Remove all other tramp-* loads except
8186 tramp-compat.el. Remove all changes to tramp-unload-hook for
8187 other tramp-* packages. Rearrange defun order. Change calls of
8188 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8189 `tramp-compat-octal-to-decimal' to new function names.
8190 (tramp-terminal-type, tramp-initial-end-of-output)
8191 (tramp-methods, tramp-foreign-file-name-handler-alist)
8192 (tramp-tramp-file-p, tramp-completion-mode-p)
8193 (tramp-send-command-and-check, tramp-get-remote-path)
8194 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8195 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8196 (with-file-property, with-connection-property): Move to
8198 (tramp-local-call-process, tramp-decimal-to-octal)
8199 (tramp-octal-to-decimal): Move to tramp-compat.el.
8200 (tramp-handle-shell-command): Do not require 'shell.
8201 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8203 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8205 * net/tramp-cache.el (top): Require 'tramp. Add to
8206 `tramp-unload-hook'.
8207 (tramp-cache-data, tramp-get-file-property)
8208 (tramp-set-file-property, tramp-flush-file-property)
8209 (tramp-flush-directory-property, tramp-get-connection-property)
8210 (tramp-set-connection-property, tramp-flush-connection-property)
8211 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8213 (with-file-property, with-connection-property): New defuns, moved
8215 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8218 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8219 (tramp-version): Set tramp-autoload cookie.
8221 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8222 changes to tramp-unload-hook for other tramp-* packages. Add to
8223 `tramp-unload-hook'.
8224 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8225 (tramp-compat-call-process): New defuns, moved from tramp.el.
8227 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8228 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8229 Add to `tramp-unload-hook'. Change call of
8230 `tramp-compat-decimal-to-octal' to new function name.
8231 (tramp-fish-method): Make it a defconst.
8232 (tramp-fish-file-name-p): Make it a defsubst.
8233 (tramp-fish-method, tramp-fish-file-name-handler)
8234 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8236 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8237 `tramp-foreign-file-name-handler-alist'. Add to
8238 `tramp-unload-hook'.
8239 (tramp-ftp-method): Make it a defconst.
8240 (tramp-ftp-file-name-p): Make it a defsubst.
8241 (tramp-ftp-method, tramp-ftp-file-name-handler)
8242 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8244 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8245 `tramp-foreign-file-name-handler-alist'. Add to
8246 `tramp-unload-hook'. Change checks, whether package can be
8248 (tramp-gvfs-file-name-p): Make it a defsubst.
8249 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8250 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8251 (tramp-gvfs-handle-file-directory-p): New defun.
8252 (tramp-gvfs-file-name-handler-alist): Use it.
8254 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8255 `tramp-foreign-file-name-handler-alist'. Add to
8256 `tramp-unload-hook'.
8257 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8258 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8260 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8261 (tramp-gw-open-connection): Set tramp-autoload cookie.
8263 * net/tramp-imap.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
8267 (tramp-imap-file-name-p): Make it a defsubst.
8268 (tramp-imap-method, tramp-imaps-method)
8269 (tramp-imap-file-name-handler)
8270 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8272 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8273 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8274 Add to `tramp-unload-hook'. Change checks, whether package can be
8275 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8277 (tramp-smb-tunnel-method): Make it a defconst.
8278 (tramp-smb-file-name-p): Make it a defsubst.
8279 (tramp-smb-method, tramp-smb-file-name-handler)
8280 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8282 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8283 (tramp-uuencode-region): Set tramp-autoload cookie.
8285 * net/trampver.el (top) Add to `tramp-unload-hook'.
8286 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8287 cookie. Update release number.
8289 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8291 * textmodes/ispell.el (ispell-start-process): Make sure original
8292 arg list is properly initialized (Bug#6993, Bug#6994).
8294 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8296 * files.el (directory-abbrev-alist): Use \` as default regexp.
8298 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8299 chars like - or ] (bug#6984).
8300 (rx-any-condense-range): Explode 2-char ranges.
8302 2010-09-06 Glenn Morris <rgm@gnu.org>
8304 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8306 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * textmodes/bibtex.el:
8309 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8311 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8313 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8314 since no callers use it.
8315 (imap-message-get): Ditto.
8316 (imap-message-put): Ditto.
8317 (imap-mailbox-map): Ditto.
8318 (imap-mailbox-put): Ditto.
8319 (imap-mailbox-get): Ditto.
8320 (imap-mailbox-get): Revert last change for this function.
8322 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8324 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8325 callers to use `imap-fetch' instead. According to the comments, this
8326 should be safe, since all other IMAP clients use the 1:* syntax.
8327 (imap-enable-exchange-bug-workaround): Remove.
8328 (imap-debug): Remove -- doesn't seem very useful.
8330 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8332 * net/imap.el (imap-log): New convenience function used throughout
8333 instead of repeating the same code all over the place.
8335 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8337 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8338 when mouse-drag-copy-region is non-nil (Bug#6956).
8340 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8342 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8343 Improve regexps (Bug#6987).
8344 (dired-sort-toggle): Search more robustly for -t flag.
8346 * files.el (get-free-disk-space): Search more robustly for
8347 "available" column. Suggested by Ehud Karni
8348 <ehud@unix.mvs.co.il>.
8350 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8352 * international/uni-bidi.el:
8353 * international/uni-category.el:
8354 * international/uni-combining.el:
8355 * international/uni-decimal.el:
8356 * international/uni-mirrored.el:
8357 * international/uni-name.el: Regenerate.
8359 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * electric.el (electric-indent-post-self-insert-function):
8362 Don't reindent with a sloppy indentation function.
8364 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8365 border case in change-log-mode.
8367 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8369 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8370 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8371 Recognize leading tab in gcc-include regexp. Ignore names with
8372 leading "from" or "in" in gnu regexp (Bug#6937).
8374 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8376 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8377 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8378 (ispell-start-process): Avoid setq and simplify logic.
8379 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8380 (kill-buffer-hook): Don't use it globally with code that uses
8381 expand-file-name since that may call kill-buffer via
8382 code_conversion_restore.
8384 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8386 * emacs-lisp/package.el (package-directory-list): Only call
8387 file-name-nondirectory on a string.
8389 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8391 * emacs-lisp/package.el (package--download-one-archive):
8392 Ensure that archive-contents is valid before saving it.
8393 (package-activate-1, package-mark-obsolete, define-package)
8394 (package-compute-transaction, package-list-maybe-add): Use push.
8396 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8398 Use SMIE's blink-paren for octave-mode.
8399 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8400 Backslashes do not escape single-quotes, single-quotes do.
8401 (octave-block-else-regexp, octave-block-end-regexp)
8402 (octave-block-match-alist): Remove.
8403 (octave-smie-bnf-table): New var, with old content.
8404 (octave-smie-op-levels): Use it.
8405 (octave-smie-closer-alist): New var.
8406 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8407 (octave-blink-matching-block-open): Remove.
8408 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8409 (octave-electric-space): Let self-insert-command run expand-abbrev and
8412 * electric.el (electricity): New group.
8413 (electric-indent-chars): New var.
8414 (electric-indent-post-self-insert-function): New fun.
8415 (electric-indent-mode): New minor mode.
8416 (electric-pair-skip-self): New custom.
8417 (electric-pair-post-self-insert-function): New function.
8418 (electric-pair-mode): New minor mode.
8420 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8421 calcAlg-blink-matching-open.
8422 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8423 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8424 Use the new blink-matching-check-function.
8426 Provide blink-matching support to SMIE.
8427 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8428 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8429 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8431 * simple.el (newline): Fix last change to properly remove itself from
8434 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * simple.el (newline): Eliminate optimization.
8437 Use post-self-insert-hook to set hard-newline and things before
8438 running post-self-insert-hook.
8439 (blink-matching-check-mismatch): New function.
8440 (blink-matching-check-function): New variable.
8441 (blink-matching-open): Use them.
8442 Skip back forward over prefix chars skipped by forward-sexp.
8443 Don't check if the parens are backslash escaped.
8444 (blink-paren-post-self-insert-function): Check backslash escaping here.
8446 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8448 * emacs-lisp/package.el (package-menu-mode-map):
8449 Change package-menu-revert bindings to revert-buffer.
8450 (package-menu-mode): Set revert-buffer-function.
8451 (package-menu-revert): Doc fix.
8453 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8455 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8456 `default-directory' unless using Ispell per-directory personal
8457 dictionaries and not in a mini-buffer under XEmacs.
8458 (kill-buffer-hook): Do not kill ispell process on exit when
8459 `ispell-process-directory' is "~/". (Bug#6143)
8461 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8463 * simple.el (kill-new): Call interprogram-cut-function with only
8466 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8467 Remove cut buffer from error message.
8469 * term/x-win.el (x-select-text):
8470 * term/pc-win.el (x-selection-value):
8471 * term/ns-win.el (x-selection-value):
8472 * eshell/em-term.el:
8473 * w32-fns.el (x-get-selection-value):
8474 * mouse-sel.el (mouse-sel-set-selection-function):
8475 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8477 * term/x-win.el: Update documentation for x-last-selected-text-*.
8478 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8479 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8480 (x-select-text): Remove argument PUSH, update documentation.
8481 Remove cut-buffer code.
8482 (x-selection-value-internal): Was previously x-selection-value.
8483 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8484 Update documentation, remove cut-buffer code.
8485 Call x-selection-value-internal.
8486 (x-clipboard-yank): Call x-selection-value-internal.
8487 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8489 * term/pc-win.el (x-last-selected-text):
8490 x-cut-buffer-or-selection-value renamed to x-selection-value
8491 (x-select-text): Remove argument PUSH, update documentation.
8493 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8494 x-cut-buffer-or-selection-value renamed to x-selection-value
8495 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8496 (x-select-text): Remove argument PUSH, update documentation.
8498 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8500 * w32-fns.el (x-last-selected-text):
8501 x-cut-buffer-or-selection-value renamed to x-selection-value.
8502 (x-cut-buffer-max): Remove.
8503 (x-select-text): Remove argument PUSH, update documentation.
8505 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8507 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8509 * mouse-sel.el (mouse-sel-get-selection-function):
8510 x-cut-buffer-or-selection-value renamed to x-selection-value.
8511 (x-select-text): Remove optional push.
8513 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8515 * simple.el (blink-paren-function): Move from C to here.
8516 (blink-paren-post-self-insert-function): New function.
8517 (post-self-insert-hook): Use it.
8519 * emacs-lisp/pcase.el (pcase-split-memq):
8520 Fix overenthusiastic optimisation.
8521 (pcase-u1): Handle the case of a lambda pred.
8523 2010-08-31 Kenichi Handa <handa@m17n.org>
8525 * international/mule-cmds.el (standard-display-european-internal):
8526 Setup standard-display-table for 8-bit characters by storing 8-bit
8527 characters in the element vector.
8529 * disp-table.el (standard-display-8bit):
8530 Setup standard-display-table for 8-bit characters by storing 8-bit
8531 characters in the element vector.
8532 (standard-display-european): Likewise.
8534 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8536 * textmodes/nroff-mode.el (nroff-view): New command.
8537 (nroff-mode-map): Bind it to C-c C-c.
8539 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * emacs-lisp/smie.el (smie-down-list): New command.
8543 Remove old indentation and navigation code on octave-mode.
8544 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8545 smie-down-list rather than add a binding for octave-down-block.
8546 (octave-mark-block, octave-blink-matching-block-open):
8547 Rely on forward-sexp-function.
8548 (octave-fill-paragraph): Don't narrow, so you can use
8549 indent-according-to-mode.
8550 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8551 (octave-in-block-p, octave-re-search-forward-kw)
8552 (octave-re-search-backward-kw, octave-indent-calculate)
8553 (octave-end-as-array-index-p, octave-block-end-offset)
8554 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8555 (octave-down-block, octave-backward-up-block, octave-up-block)
8556 (octave-before-magic-comment-p, octave-indent-line): Remove.
8558 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8560 * emacs-lisp/package.el (package--read-archive-file): Just use
8561 `read', to avoid copying an additional string.
8562 (package-menu-mode): Set header-line-format here.
8563 (package-menu-refresh, package-menu-revert): Signal an error if
8564 not in the Package Menu.
8565 (package-menu-package-list): New var.
8566 (package--generate-package-list): Operate on the current buffer;
8567 don't assume that it is *Packages*, since the user may rename it.
8568 Allow persistent package listings and sort keys using
8569 package-menu-package-list and package-menu-package-sort-key.
8570 (package-menu--version-predicate): Fix version calculation.
8571 (package-menu-sort-by-column): Don't select the window.
8572 (package--list-packages): Create the *Packages* buffer.
8573 Set package-menu-package-list-key.
8574 (list-packages): Sorting by status is now the default.
8575 (package-buffer-info): Use match-string-no-properties.
8576 (define-package): Add a &rest argument for future proofing, but
8578 (package-install-from-buffer, package-install-buffer-internal):
8579 Merge into a single function, package-install-from-buffer.
8580 (package-install-file): Change caller.
8582 * finder.el: Load finder-inf using `require'.
8583 (finder-list-matches): Sorting by status is now the default.
8584 (finder-compile-keywords): Simpify printing.
8586 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8589 (octave-mode-map): Remove special bindings for forward/backward-block
8590 and octave-backward-up-block. Use smie-close-block.
8591 (octave-continuation-marker-regexp): New var.
8592 (octave-continuation-regexp): Use it.
8593 (octave-operator-table, octave-smie-op-levels)
8594 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8595 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8596 (octave-mode): Use SMIE.
8597 (octave-close-block): Delete.
8599 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8601 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8602 CLIPBOARD, not in PRIMARY. (Bug#6944)
8604 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8606 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8608 (smie-indent-column): Allow indirection through variables.
8610 * composite.el (save-buffer-state): Delete, unused.
8611 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8612 (font-lock-default-fontify-region): Use with-syntax-table.
8613 * jit-lock.el (with-buffer-unmodified): Remove.
8614 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8616 Use `declare' in defmacros.
8617 * window.el (save-selected-window):
8618 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8619 * progmodes/python.el (def-python-skeleton):
8620 * net/dbus.el (dbus-ignore-errors):
8621 * jka-cmpr-hook.el (with-auto-compression-mode):
8622 * international/mule.el (with-category-table):
8623 * emacs-lisp/timer.el (with-timeout):
8624 * emacs-lisp/lisp-mnt.el (lm-with-file):
8625 * emacs-lisp/eieio.el (with-slots):
8626 * emacs-lisp/easymenu.el (easy-menu-define):
8627 * emacs-lisp/debug.el (debugger-env-macro):
8628 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8629 (Multiple-value-call, Multiple-value-prog1):
8630 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8631 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8632 edebug rule to definition.
8633 * emacs-lisp/lisp-mode.el (save-selected-window)
8634 (with-current-buffer, combine-after-change-calls)
8635 (with-output-to-string, with-temp-file, with-temp-buffer)
8636 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8637 (dolist, dotimes, when, unless):
8638 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8640 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8642 * finder.el: Require `package'.
8643 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8644 (finder-package-info): Var deleted.
8645 (finder-keywords-hash, finder--builtins-alist): New vars.
8646 (finder-compile-keywords): Compute package--builtins and
8647 finder-keywords-hash instead of finder-keywords-hash, respecting
8648 the "Package" header.
8649 (finder-unknown-keywords, finder-list-matches):
8650 Use finder-keywords-hash and package--list-packages.
8651 (finder-mode): Don't set font-lock-defaults.
8652 (finder-exit): We don't use "*Finder-package*" and "*Finder
8653 Category*" buffers anymore.
8655 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8656 (package--builtins): Set default value to nil.
8657 (package-initialize): Load precomputed value of package--builtins
8659 (package-alist, package-compute-transaction)
8660 (package-download-transaction): Improve docstring.
8661 (package-read-all-archive-contents): Do not change
8662 package--builtins here.
8663 (list-packages): Make package-list-packages an alias for this.
8664 Sort by status by default.
8665 (package--list-packages): Add optional PACKAGES arg.
8666 (describe-package-1): Use font-lock-face property. For built-in
8667 packages, insert file commentary.
8668 (package--generate-package-list): Rename from
8669 package-list-packages-internal; all callers changed. Add optional
8670 PACKAGES arg. Add alphabetical sort fallbacks.
8671 (package-menu--version-predicate, package-menu--status-predicate)
8672 (package-menu--description-predicate)
8673 (package-menu--name-predicate): New functions.
8675 * info.el (Info-finder-find-node): Search package-alist instead of
8676 finder-package-info.
8678 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8680 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8682 (version-to-list): Handle versions like "10.3d".
8684 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8686 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8687 (macroexp-accumulate): Use `declare'.
8689 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8691 * whitespace.el (whitespace-style): Adjust type declaration.
8693 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8695 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8697 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8699 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8702 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8704 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8705 (js-paren-indent-offset, js-square-indent-offset)
8706 (js-curly-indent-offset): New options.
8707 (js--proper-indentation): Use them.
8709 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8711 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8712 instead of inspecting font-lock properties (Bug#6916).
8714 2010-08-26 David Reitter <david.reitter@gmail.com>
8716 * server.el (server-visit-files): Run pre-command-hook and
8717 post-command-hook for each buffer while it is current (Bug#6910).
8718 (server-execute): Do not run hooks here.
8720 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8722 Sync with Tramp 2.1.19.
8724 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8725 Protect deleting tmpfile.
8726 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8728 * net/tramp.el (tramp-handle-expand-file-name)
8729 (tramp-completion-handle-file-name-all-completions)
8730 (tramp-completion-handle-file-name-completion):
8731 Use `tramp-connectable-p'.
8733 * net/trampver.el: Update release number.
8735 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8737 * help.el (help-map): Bind `C-h P' to describe-package.
8739 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8741 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8742 when downloading archives.
8743 (describe-package-1): Add package commentary.
8744 (package-install-button-action): New function.
8745 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8746 (package-menu-view-commentary): Function removed.
8747 (package-list-packages-internal): Hide the `package' package too.
8749 2010-08-25 Kenichi Handa <handa@m17n.org>
8751 * language/misc-lang.el ("Arabic"): New language environment.
8752 Setup composition-function-table for Arabic characters.
8754 * international/fontset.el (setup-default-fontset): Fix typo for
8755 arabic OTF spec (fini->fina).
8757 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8759 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8762 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8764 * whitespace.el: Allow cleaning up blanks without blank
8765 visualization (Bug#6651). Adjust help window for
8766 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8767 instead of whitespace-line-column (from EmacsWiki). New version
8769 (whitespace-style): Add new value 'face. Adjust docstring.
8770 (whitespace-space, whitespace-hspace, whitespace-tab):
8771 Adjust foreground property face.
8772 (whitespace-line-column): Adjust docstring and type declaration.
8773 (whitespace-style-value-list, whitespace-toggle-option-alist)
8774 (whitespace-help-text): Adjust const initialization.
8775 (whitespace-toggle-options, global-whitespace-toggle-options):
8777 (whitespace-display-window, whitespace-interactive-char)
8778 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8779 (whitespace-help-scroll): New fun.
8781 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8783 * emacs-lisp/package.el (list-packages): Alias for
8784 package-list-packages.
8786 2010-08-24 Kevin Ryde <user42@zip.com.au>
8788 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8791 * progmodes/ruby-mode.el (ruby): Add defgroup.
8793 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8795 * progmodes/python.el: Add Ipython support (Bug#5390).
8796 (python-shell-prompt-alist)
8797 (python-shell-continuation-prompt-alist): New options.
8798 (python--set-prompt-regexp): New function.
8799 (inferior-python-mode, run-python, python-shell):
8800 Require ansi-color. Use python--set-prompt-regexp to set the comint
8801 prompt based on the Python interpreter.
8802 (python--prompt-regexp): New var.
8803 (python-check-comint-prompt)
8804 (python-comint-output-filter-function): Use it.
8805 (run-python): Use a pipe (Bug#5694).
8807 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8809 * progmodes/python.el (python-send-region): Send a different
8810 Python command if Ipython is in use.
8811 (python-check-version): Use a Python command to find the version.
8813 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8815 * mouse.el (mouse-yank-primary): Avoid setting primary when
8816 deactivating the mark (Bug#6872).
8818 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8820 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8821 with "else" (Bug#3991).
8823 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8825 * net/dbus.el: Accept UNIX domain sockets as bus address.
8826 (top): Don't initialize `dbus-registered-objects-table' anymore,
8827 this is done in dbusbind.c.
8828 (dbus-check-event): Adapt test for bus.
8829 (dbus-return-values-table, dbus-unregister-service)
8830 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8833 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8835 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8837 2010-08-22 Juri Linkov <juri@jurta.org>
8839 * simple.el (read-extended-command): New function with the logic
8840 for `completing-read' moved to Elisp from `execute-extended-command'.
8841 Use `function-called-at-point' in `minibuffer-default-add-function'
8842 to get a command name for M-n (bug#5364, bug#5214).
8844 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8846 * startup.el (command-line-1): Issue warning for ignored arguments
8847 --unibyte, etc (Bug#6886).
8849 2010-08-22 Leo <sdl.web@gmail.com>
8851 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8852 (ignore, bright, dim, keyword): Split list of nicknames before
8853 passing to rcirc-add-or-remove (Bug#6894).
8855 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8857 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8859 2010-08-22 Leo <sdl.web@gmail.com>
8861 Fix buffer-list rename&refresh after killing a buffer in ido.
8862 * ido.el: Revert Óscar's.
8863 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8864 Remember the buffers at head, rather than their name.
8865 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8867 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8868 Stefan Monnier <monnier@iro.umontreal.ca>
8870 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8871 extra backslash added to each line (bug#6890).
8873 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8875 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8877 2010-08-22 Glenn Morris <rgm@gnu.org>
8879 * menu-bar.el (menu-bar-games-menu): Add landmark.
8881 2010-08-22 Glenn Morris <rgm@gnu.org>
8883 * align.el (align-regexp): Make group and spacing arguments
8884 use the interactive defaults when non-interactive. (Bug#6698)
8886 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8887 expansion, so as not to need sendmail.
8888 (mail-text-start): Remove declaration.
8889 (rmail-retry-failure): Require sendmail.
8891 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8893 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8895 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8897 * progmodes/flymake.el (flymake-start-syntax-check-process):
8898 Use `start-file-process' in order to let it run also on remote hosts.
8900 2010-08-22 Kenichi Handa <handa@m17n.org>
8902 * files.el: Add `word-wrap' as safe local variable.
8904 2010-08-22 Glenn Morris <rgm@gnu.org>
8906 * woman.el (woman-translate): Case matters. (Bug#6849)
8908 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8910 * simple.el (kill-region): Doc fix (Bug#6787).
8912 2010-08-22 Glenn Morris <rgm@gnu.org>
8914 * calendar/diary-lib.el (diary-header-line-format):
8915 Fit it to the window, not the frame.
8917 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8919 * subr.el (ignore-errors): Add debug declaration.
8921 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8923 * whitespace.el (whitespace-color-off): Remove post-command-hook
8926 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8930 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8932 * cus-edit.el (custom-group-value-create): Add extra newline
8933 before end line (Bug#6876).
8935 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8937 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8938 when extending it. Before killing on the second click, check if
8939 the buffer is the correct one. Doc fix.
8940 (mouse-secondary-save-then-kill): Allow usage without first
8941 calling mouse-start-secondary, by defaulting to point. Don't save
8942 an empty secondary selection. Doc fix.
8944 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8946 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8947 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8949 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8950 Adjust initialization.
8951 (whitespace-bob-marker, whitespace-eob-marker)
8952 (whitespace-buffer-changed): New vars.
8953 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8954 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8955 (whitespace-post-command-hook, whitespace-display-char-on):
8957 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8958 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8960 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8962 * files.el (locate-file-completion-table): Only list the .el and .elc
8963 extensions if there's no other choice (bug#5955).
8965 * facemenu.el (facemenu-self-insert-data): New var.
8966 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8968 (facemenu-add-face): Use them.
8970 * simple.el (blink-matching-open): Obey forward-sexp-function.
8972 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * simple.el (prog-mode-map): New var.
8975 (prog-indent-sexp): New command.
8977 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8979 * progmodes/prolog.el (smie): Require.
8981 * emacs-lisp/smie.el (smie-default-backward-token)
8982 (smie-default-forward-token): Strip properties.
8983 (smie-next-sexp): Be more careful with associative operators.
8984 (smie-forward-sexp-command): Generalize.
8985 (smie-backward-sexp-command): Simplify.
8986 (smie-closer-alist): New var.
8987 (smie-close-block): New command.
8988 (smie-indent-debug-log): New var.
8989 (smie-indent-offset-rule): Add a few more cases.
8990 (smie-indent-column): New function.
8991 (smie-indent-after-keyword): Use it.
8992 (smie-indent-keyword): Use it.
8993 Fix up the opener code's point position.
8994 (smie-indent-comment): Only applies at BOL.
8995 (smie-indent-debug): New command.
8997 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8998 declarations that are useful before running the macro.
9000 2010-08-18 Joakim Verona <joakim@verona.se>
9002 * image.el (imagemagick-types-inhibit): New variable.
9003 (imagemagick-register-types): New function.
9004 * image-mode.el (image-transform-properties): New function.
9005 (image-transform-set-scale, image-transform-fit-to-height)
9006 (image-transform-set-rotation, image-transform-set-resize)
9007 (image-transform-fit-to-width, image-transform-fit-to-height):
9009 (image-toggle-display-image): Support image transforms.
9011 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
9013 * image.el (create-animated-image): Don't add heuristic mask to image
9016 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
9018 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
9019 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
9021 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
9025 Font-lock '...' strings, plus various simplifications and fixes.
9026 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
9027 (octave-font-lock-close-quotes): New function.
9028 (octave-font-lock-syntactic-keywords): New var.
9029 (octave-mode): Use it. Set beginning-of-defun-function.
9030 (octave-mode-map): Don't override the <foo>-defun commands.
9031 (octave-mode-menu): Pass it directly to easy-menu-define;
9032 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
9033 (octave-block-match-alist): Fix up last change so that
9034 octave-close-block uses the more specific keyword.
9035 (info-lookup-mode): Silence byte-compiler.
9036 (octave-beginning-of-defun): Not interactive any more.
9038 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9039 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9040 (octave-completion-at-point-function): Make sure point is within
9042 (octave-reindent-then-newline-and-indent):
9043 Use reindent-then-newline-and-indent.
9044 (octave-add-octave-menu): Remove.
9046 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9048 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9049 (report-emacs-bug-can-use-xdg-email): New functions.
9050 (report-emacs-bug): Set can-xdg-email to result of
9051 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9052 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9055 * net/browse-url.el (browse-url-default-browser): Add cond
9056 for browse-url-xdg-open.
9057 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9059 2010-08-17 Glenn Morris <rgm@gnu.org>
9061 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9062 (c-fontify-recorded-types-and-refs): Define for compiler.
9063 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9066 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9069 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9071 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9073 (tramp-handle-process-file): Call the program in a subshell, in
9074 order to preserve working directory.
9075 (tramp-action-password): Hide password prompt before next run.
9076 (tramp-process-actions): Widen connection buffer for the trace.
9078 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9080 * net/rcirc.el (rcirc-log-process-buffers): New option.
9081 (rcirc-print): Use it.
9082 (rcirc-generate-log-filename): New function.
9083 (rcirc-log-filename-function): Change default to
9084 rcirc-generate-log-filename (Bug#6828).
9086 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9088 * simple.el (deactivate-mark): If select-active-regions is `only',
9089 only set selection for temporarily active regions.
9091 * cus-start.el: Change defcustom for select-active-regions.
9093 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9095 * mouse.el (mouse--drag-set-mark-and-point): New function.
9096 (mouse-drag-track): Use LOCATION arg to push-mark.
9097 Use mouse--drag-set-mark-and-point to take click-count into
9098 consideration when updating point and mark (Bug#6840).
9100 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9103 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9105 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9107 * font-lock.el (lisp-font-lock-keywords-2):
9108 Add combine-after-change-calls, condition-case-no-debug,
9109 with-demoted-errors, and with-silent-modifications (Bug#6025).
9111 2010-08-14 Kevin Ryde <user42@zip.com.au>
9113 * emacs-lisp/copyright.el (copyright-update-year)
9114 (copyright-update): Temporary switch-to-buffer to ensure the
9115 buffer change being queried is visible (Bug#5394).
9117 2010-08-14 Tom Tromey <tromey@redhat.com>
9119 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9122 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9124 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9127 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9129 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9130 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9131 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9132 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9133 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9134 Call menu-bar-set-tool-bar-position.
9136 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9139 comment style (bug#6834).
9140 * progmodes/scheme.el (scheme-mode-syntax-table):
9141 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9142 "b" flag in "' 14b" syntax.
9144 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9145 for (un)commenting the region and performing completion.
9146 (octave-mode-menu): Use standard commands for help and completion.
9147 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9148 (octave-mode): Use define-derived-mode.
9149 Set completion-at-point-functions and don't set columns.
9150 Don't disable adaptive-fill-regexp.
9151 (octave-describe-major-mode, octave-comment-region)
9152 (octave-uncomment-region, octave-comment-indent)
9153 (octave-indent-for-comment): Remove.
9154 (octave-indent-calculate): Rename from calculate-octave-indent.
9155 (octave-indent-line, octave-fill-paragraph): Update caller.
9156 (octave-initialize-completions): No need to make an alist.
9157 (octave-completion-at-point-function): New function.
9158 (octave-complete-symbol): Use it.
9159 (octave-insert-defun): Use define-skeleton.
9161 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9162 (octave-mode-map): Use comment-dwim (bug#6829).
9164 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9166 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9167 indentation of inserted comment.
9169 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9171 * faces.el (region): Add type gtk that uses gtk colors.
9173 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9174 Handle theme-name change.
9176 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9178 * progmodes/sql.el: Version 2.5
9179 (sql-product-alist): Add :prompt-cont-regexp property for several
9181 (sql-prompt-cont-regexp): New variable.
9182 (sql-output-newline-count, sql-output-by-send):
9183 New variables. Record number of newlines in input text.
9184 (sql-send-string): Handle multiple filters and count newlines.
9185 (sql-send-magic-terminator): Count terminator newline.
9186 (sql-interactive-remove-continuation-prompt): Filters output to
9187 remove continuation prompts; one for each newline.
9188 (sql-interactive-mode): Set up new variables, prompt regexp and
9190 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9191 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9193 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * emacs-lisp/pcase.el: New file.
9197 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9199 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9200 as here-document, otherwise the command could exceed maximum
9201 length of command line.
9202 (tramp-handle-vc-registered): Call script accordingly.
9203 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9205 2010-08-10 Kenichi Handa <handa@m17n.org>
9207 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9210 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9212 * emacs-lisp/package.el (package-version-split)
9213 (package--version-first-nonzero, package-version-compare):
9215 (package-directory-list, package-load-all-descriptors)
9216 (package--built-in, package-activate, define-package)
9217 (package-installed-p, package-compute-transaction)
9218 (package-read-all-archive-contents)
9219 (package--add-to-archive-contents, package-buffer-info)
9220 (package-tar-file-info, package-list-packages-internal):
9221 Use version-to-list and version-list-*.
9223 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9224 Use version-to-list.
9225 (package-upload-buffer-internal): Use version-list-<=.
9227 2010-08-09 Kenichi Handa <handa@m17n.org>
9229 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9232 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9234 * tutorial.el (tutorial--default-keys): C-d is now bound to
9235 delete-forward-char (Bug#6826).
9237 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9238 for `double' value of mouse-1-click-follows-link (Bug#6807).
9240 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9242 * replace.el (replace-highlight): Bind isearch-forward and
9243 isearch-error, ensuring that highlighting is updated if the user
9244 switches the search direction (Bug#6808).
9246 * isearch.el (isearch-lazy-highlight-forward): New var.
9247 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9248 (isearch-lazy-highlight-update): Use it.
9250 2010-08-08 Kenichi Handa <handa@m17n.org>
9252 * international/mule.el (define-charset): Store NAME as :base property.
9253 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9254 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9255 current priority. Force using the designation of the specific
9256 charset by adding `charset' text property. Improve the whole algorithm.
9258 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9260 * emulation/pc-select.el (pc-selection-mode-hook)
9261 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9262 (pc-selection-mode): Fix typos in docstrings.
9264 2010-08-08 Kenichi Handa <handa@m17n.org>
9266 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9267 ctext-non-standard-encodings-alist here.
9269 * international/mule.el (ctext-non-standard-encodings-alist):
9270 Add "koi8-r" and "microsoft-cp1251".
9271 (ctext-standard-encodings): New variable.
9272 (ctext-non-standard-encodings-table): List only elements for
9273 non-standard encodings.
9274 (ctext-pre-write-conversion): Adjust for the above change.
9275 Check ctext-standard-encodings.
9277 * international/mule-conf.el (compound-text): Doc fix.
9278 (ctext-no-compositions): Doc fix.
9279 (compound-text-with-extensions): Doc fix.
9281 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9283 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9285 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9287 * progmodes/which-func.el (which-func-format): Split help-echo text
9288 into lines, like other mode-line tooltips.
9290 * server.el (server-start): When using TCP sockets, force IPv4
9291 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9293 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9295 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9297 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9299 * term.el (term-delimiter-argument-list): Reflow docstring.
9300 (term-read-input-ring, term-write-input-ring, term-send-input)
9301 (term-bol, term-erase-in-display, serial-supported-or-barf):
9302 Fix typos in docstrings.
9304 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9308 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9310 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9312 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9314 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9315 Fix typo in docstring (bug#6747).
9317 2010-08-08 Leo <sdl.web@gmail.com>
9319 * eshell/esh-io.el (eshell-get-target): Better detection of
9320 read-only file (Bug#6762).
9322 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9324 * align.el (align-default-spacing): Doc fix.
9325 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9327 2010-08-08 Stephen Peters <speters@itasoftware.com>
9329 * calendar/icalendar.el
9330 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9331 (icalendar--get-weekday-numbers): New.
9332 (icalendar--convert-recurring-to-diary): Handle multiple byday
9333 values in weekly rules. (Bug#6766)
9335 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9337 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9338 (icalendar--create-uid, icalendar-export-region)
9339 (icalendar--parse-summary-and-rest): Code formatting.
9341 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9343 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9344 to italicize headers.
9345 (calc-highlight-selections-with-faces): New variable.
9346 (calc-selected-face, calc-nonselected-face): New faces.
9348 * calc/calccomp.el (math-comp-highlight-string): Use
9349 `calc-highlight-selections-with-faces' to determine how to highlight
9352 * calc/calc-sel.el (calc-show-selections): Change message to when
9353 using faces to highlight selections.
9355 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9357 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9358 Add SQLite 3 keywords, functions and datatypes.
9359 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9362 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9364 * simple.el (select-active-regions): Move to keyboard.c.
9365 (deactivate-mark): Used saved-region-selection.
9366 (select-active-region): Function removed.
9367 (activate-mark, set-mark, push-mark-command)
9368 (handle-shift-selection): Don't call it.
9369 (keyboard-quit): Avoid adding the region to the window selection.
9371 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9372 select-active-regions implementation.
9373 (mouse-yank-at-click): Doc fix.
9375 * cus-start.el: Add custom declaration for select-active-regions.
9377 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9379 * simple.el (delete-forward-char): Doc fix.
9381 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9382 after reading the tutorial.
9384 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9386 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9387 Fix for the case that a C style comment has its delimiters alone on
9388 their respective lines. (Bug#193)
9390 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9392 * net/tramp.el (tramp-handle-start-file-process): Set connection
9394 (tramp-process-sentinel): Use it for flushing the cache.
9395 We cannot do it via the process buffer, the buffer could be deleted
9396 already when running the sentinel.
9398 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9400 * comint.el (comint-mode): Make directory tracking functions
9401 functional on remote files. (Bug#6764)
9403 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9405 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9407 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9409 * emacs-lisp/find-gc.el (find-gc-source-files):
9410 Rename unexec.c => unexcoff.c.
9412 * emacs-lisp/authors.el (authors-fixed-entries):
9413 Rename unexec.c => unexcoff.c.
9415 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9417 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9418 cache, not only file cache.
9419 (tramp-process-sentinel): New defun.
9420 (tramp-handle-start-file-process): Use it, in order to invalidate
9423 2010-08-03 Leo <sdl.web@gmail.com>
9425 * server.el (server-start): Simplify loop.
9427 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9429 * frame.el (screen-height, screen-width, set-screen-width)
9430 (set-screen-height): Remove ancient compatibility aliases.
9432 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9433 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9435 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9436 that change current buffer.
9438 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9440 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9441 beginning of the string. Use `string-match-p'. (Bug#6765)
9443 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9445 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9447 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9449 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9450 (package--builtins): Tweak descriptions.
9451 (package-print-package): Upcase descriptions if necessary.
9452 Show all built-in packages in font-lock-builtin-face.
9453 (package-list-packages-internal): Omit "emacs" package.
9454 Show status of built-in packages as "built-in".
9456 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9458 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9459 before killing to preserve the primary selection (Bug#6701).
9461 * term/x-win.el (x-select-text): Doc fix.
9463 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9465 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9466 (objc-font-lock-extra-types):
9467 * progmodes/cc-mode.el (c-basic-common-init):
9468 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9469 (c++-make-template-syntax-table)
9470 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9471 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9472 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9473 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9474 * progmodes/cc-fonts.el (c-make-inverse-face)
9475 (c-basic-matchers-after):
9476 * progmodes/cc-engine.el (c-forward-keyword-clause)
9477 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9478 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9479 (c-guess-continued-construct, c-guess-basic-syntax):
9480 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9481 The above functions were modified or created.
9483 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9485 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9487 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9489 * files.el (bidi-paragraph-direction): Define safe local values.
9491 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9492 language-info-alist. Remove outdated FIXME in a comment.
9494 2010-07-31 Alan Mackenzie <acm@muc.de>
9496 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9497 Auto-fill broken in C/C++ modes.
9499 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9501 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9502 (menu-bar-showhide-tool-bar-menu-customize-disable)
9503 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9504 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9505 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9506 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9507 make a menu for Options => toolbar that can move it.
9509 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9511 * emacs-lisp/package-x.el (package--make-rss-entry):
9512 (package-maint-add-news-item, package--update-news)
9513 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9515 * emacs-lisp/package.el (package-archive-url): Rename from
9517 (package-install): Doc fix.
9518 (package-download-single, package-download-tar, package-install)
9519 (package-menu-view-commentary): Callers changed.
9521 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9523 * net/tramp.el (tramp-handle-start-file-process): Check only for
9524 `remote-tty' process property.
9525 (tramp-open-shell): Don't check for tty.
9526 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9529 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9532 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9534 * emacs-lisp/package.el (package-load-list, package-archives)
9535 (package-archive-contents, package-user-dir)
9536 (package-directory-list, package--builtins, package-alist)
9537 (package-activated-list, package-obsolete-alist): Mark as risky.
9539 2010-07-28 Phil Hagelberg <phil@evri.com>
9541 Add support for non-default package repositories.
9542 * emacs-lisp/package.el (package-archive-base): Var deleted.
9543 (package-archives): New variable.
9544 (package-archive-contents): Doc fix.
9545 (package-load-descriptor): Do nothing if descriptor file is missing.
9546 (package--write-file-no-coding): New function.
9547 (package-unpack-single): Use it.
9548 (package-archive-id): New function.
9549 (package-download-single, package-download-tar)
9550 (package-menu-view-commentary): Use it.
9551 (package-installed-p): Make second argument optional.
9552 (package-read-all-archive-contents): New function.
9553 (package-initialize): Use it.
9554 (package-read-archive-contents): Add ARCHIVE argument.
9555 (package--add-to-archive-contents): New function.
9556 (package-install): Don't call package-read-archive-contents.
9557 (package--download-one-archive): Store archive file in a
9558 subdirectory of package-user-dir.
9559 (package-menu-execute): Remove spurious line movement.
9561 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9563 * cus-start.el (tool-bar-style): Add text-image-horiz.
9565 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9567 * progmodes/gud.el (gud-common-init): Check for remoteness of
9568 `file', and not of `default-directory'.
9570 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9572 * net/tramp.el (tramp-methods): Move hostname to the end in all
9573 ssh `tramp-login-args'.
9574 (tramp-verbose): Describe verbose level 9.
9575 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9576 (tramp-open-connection-setup-interactive-shell): Trace stty
9577 settings if `tramp-verbose' >= 9.
9578 (tramp-handle-start-file-process): Implement tty setting.
9579 (Bug#4604, Bug#6360)
9581 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9582 `tramp-verbose' to 9.
9584 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9586 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9587 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9588 Remove references to package `lisp-re' (bug#4369).
9590 2010-07-27 Tom Tromey <tromey@redhat.com>
9592 * progmodes/js.el (js-mode):
9593 * progmodes/make-mode.el (makefile-mode):
9594 * progmodes/simula.el (simula-mode):
9595 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9597 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9599 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9601 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9602 (display-time-world-buffer-name, display-time-world-mode-map):
9603 Fix typos in docstrings.
9605 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9607 * image-mode.el (image-display-size): New function.
9608 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9609 (image-mode-fit-frame): Use it (Bug#6639).
9611 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9613 * dired.el (dired-buffers-for-dir): Handle list values of
9614 dired-directory (Bug#6636).
9616 2010-07-26 Sam Steingold <sds@gnu.org>
9618 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9619 Do not call `x-get-selection' the second time, reuse the value.
9621 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9623 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9624 which consist of control chars only. Suggested by Richard Stallman.
9626 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9628 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9629 exists before passing an error to find-file-not-found-functions
9632 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9634 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9635 Remove leading nil element, adjust values.
9636 (tetris-shapes, tetris-shape-scores):
9637 Change representation of shapes and remove some redundancy.
9638 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9639 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9640 Adjust for working with new representation of shapes.
9641 (tetris-shape-rotations): New function.
9642 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9643 (tetris-rotate-prev, tetris-rotate-next):
9644 Adjust for working with the new version of tetris-test-shape.
9646 2010-07-23 Markus Triska <markus.triska@gmx.at>
9648 * progmodes/ps-mode.el: Use comint (bug#5954).
9649 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9650 (ps-mode-other-newline): Simplify.
9651 (ps-run-mode): Derive from comint-mode instead of
9652 fundamental-mode, yielding input history etc.
9653 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9654 (ps-run-send-string): Adapt for comint-mode.
9655 (ps-run-newline): Remove now unneeded function.
9657 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9659 * net/tramp.el (tramp-methods): Move hostname to the end in all
9660 plink `tramp-login-args'.
9662 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9664 * net/tramp.el (tramp-open-shell): New defun.
9665 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9668 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9670 * net/tramp.el (tramp-file-name-regexp-unified)
9671 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9672 not regard the volume letter as remote filename. (Bug#5447)
9674 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9676 * custom.el (custom-declare-variable): Give a clearer error message
9677 when the docstring is missing (bug#6476).
9679 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9681 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9682 (sql-login-params): New widget definition.
9683 (sql-oracle-login-params, sql-mysql-login-params)
9684 (sql-solid-login-params, sql-sybase-login-params)
9685 (sql-informix-login-params, sql-ingres-login-params)
9686 (sql-ms-login-params, sql-postgres-login-params)
9687 (sql-interbase-login-params, sql-db2-login-params)
9688 (sql-linter-login-params): Use it.
9689 (sql-sqlite-login-params): Use it; Define "database" parameter as
9691 (sql-sqlite-program): Change to "sqlite3".
9692 (sql-comint-sqlite): Make sure database name is complete.
9693 (sql-for-each-login): New function.
9694 (sql-connect, sql-save-connection): Use it.
9695 (sql-get-login-ext): New function.
9696 (sql-get-login): Use it.
9697 (sql-make-alternate-buffer-name): Handle :file parameters.
9699 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9701 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9702 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9704 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9706 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9708 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9710 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9712 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9714 * net/tramp.el (tramp-get-ls-command)
9715 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9718 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9720 * progmodes/sql.el: Version 2.3.
9721 (sql-connection-alist): Change keys from symbols to strings;
9722 enhanced the widget definition.
9723 (sql-mode-menu): Add submenu to select connections.
9724 (sql-interactive-mode-menu): Add "Save Connection" item.
9725 (sql-add-product): Fix menu item.
9726 (sql-get-product-feature): Improved error handling.
9727 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9728 (sql-make-alternate-buffer-name): Simplified.
9729 (sql-product-interactive): Handle missing product.
9730 (sql-connect): Support string keys, minor improvements.
9731 (sql-save-connection): New function.
9732 (sql-connection-menu-filter): New function.
9734 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9736 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9737 (tramp-open-connection-setup-interactive-shell):
9738 Apply workaround for IRIX64 bug. Move argument of last
9739 `tramp-send-command' where it belongs to.
9741 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9743 * net/tramp.el (tramp-perl-file-attributes)
9744 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9745 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9746 front of `login-args'.
9748 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9750 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9751 Set `show-trailing-whitespace' to nil.
9752 (display-time-world-display): Simplify.
9754 2010-07-18 Alan Mackenzie <acm@muc.de>
9756 Enhance `c-file-style' in file/directory local variables.
9757 * progmodes/cc-mode.el (c-count-cfss): New function.
9758 (c-before-hack-hook): Call `c-set-style' differently according to
9759 whether c-file-style was set in file or directory local
9762 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9764 * progmodes/sql.el: Version 2.2.
9765 (sql-product, sql-user, sql-database, sql-server, sql-port):
9766 Use defcustom :safe keyword rather than putting safe-local-variable
9768 (sql-password): Use defcustom :risky keyword rather than putting
9769 risky-local-variable property.
9770 (sql-oracle-login-params, sql-sqlite-login-params)
9771 (sql-solid-login-params, sql-sybase-login-params)
9772 (sql-informix-login-params, sql-ingres-login-params)
9773 (sql-ms-login-params, sql-postgres-login-params)
9774 (sql-interbase-login-params, sql-db2-login-params)
9775 (sql-linter-login-params): Add `port' option.
9776 (sql-get-product-feature): Add NO-INDIRECT parameter.
9777 (sql-comint-oracle, sql-comint-sybase)
9778 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9779 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9780 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9781 (sql-comint-linter): Rename sql-connect-* functions to
9783 (sql-product-alist, sql-mode-menu): Rename as above and
9784 :sqli-connect-func to :sqli-comint-func.
9785 (sql-connection): New variable.
9786 (sql-interactive-mode): Set it.
9787 (sql-connection-alist): New variable.
9788 (sql-connect): New function.
9789 (sql--alt-buffer-part, sql--alt-if-not-empty)
9790 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9792 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9794 * image-mode.el (image-bookmark-make-record): Do not set context
9795 in an image (Bug#6650).
9797 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9799 * simple.el (select-active-region): New function.
9800 (push-mark-command, set-mark, activate-mark)
9801 (handle-shift-selection): Use it.
9802 (deactivate-mark): Don't check for size of region.
9804 * mouse.el (mouse-drag-track): Use select-active-region.
9806 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9808 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9811 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9813 * term/x-win.el (x-select-enable-primary): Change default to nil.
9814 (x-select-enable-clipboard): Add :version keyword.
9816 * mouse.el (mouse-drag-copy-region):
9817 * simple.el (select-active-regions): Likewise.
9819 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9821 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9822 (vc-coding-system-for-diff): Use it to decide whether to inherit
9823 from the file the EOL format for reading the diffs of that file.
9826 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9828 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9829 unibyte, so compressed attachments are not compressed again.
9831 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9833 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9834 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9835 (tramp-find-shell): Simplify setting connection property.
9836 (tramp-get-ls-command): Make test for "--color=never" stronger.
9838 2010-07-15 Simon South <ssouth@member.fsf.org>
9840 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9841 blocks within record declarations (i.e. variant parts) correctly.
9843 2010-07-15 Simon South <ssouth@member.fsf.org>
9845 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9846 over literal tokens when parsing so newlines aren't "absorbed" by
9847 single-line comments. Corrects the indentation of case blocks
9848 that have a comment on the first line.
9850 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9852 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9853 by Drew Adams (Bug#5504).
9855 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9857 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9858 now that Unicode is used (Bug#6594).
9860 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9862 * term/x-win.el (x-select-enable-clipboard): Default to t.
9863 (x-initialize-window-system): Don't overwrite Paste menu item.
9865 * simple.el (select-active-regions): Default to t.
9866 (push-mark-command): Don't overwrite primary with empty string.
9868 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9869 (mouse-drag-copy-region): Default to nil.
9871 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9872 Cut/Copy/Paste menu bar items.
9874 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9876 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9877 Patch applied by Karl Fogel.
9879 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9880 and `bookmark-current-buffer' if they have been already set in
9881 another buffer (e.g gnus-art).
9883 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9884 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9886 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9888 * bookmark.el (bookmark-make-record-default): Allow unneeded
9889 information to be omitted from the record.
9891 Adjust declarations and calls:
9893 * info.el (bookmark-make-record-default): Adjust declaration.
9894 (Info-bookmark-make-record): Adjust call.
9896 * woman.el (bookmark-make-record-default): Adjust declaration.
9897 (woman-bookmark-make-record): Adjust call.
9899 * man.el (bookmark-make-record-default): Adjust declaration.
9900 (Man-bookmark-make-record): Adjust call.
9902 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9904 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9906 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9908 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9909 This is also from Thierry Volpiatto's patch in bug #6444. However,
9910 because it was extraneous to the functional change in that patch,
9911 and causes a re-indendation, I am committing it separately.
9913 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9915 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9916 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9917 Patch applied by Karl Fogel (Bug#6444).
9919 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9921 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9923 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9925 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9926 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9927 (ns-alternatives-map): Change S-tab binding to backtab
9930 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9933 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9935 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9938 * language/tv-util.el (tai-viet-re): Remove format.
9940 2010-07-12 Kenichi Handa <handa@m17n.org>
9942 * language/hebrew.el: Remove no-byte-compile declaration.
9943 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9944 composition-function-table for 3-character looking back.
9945 (hebrew-font-get-precomposed): New function.
9946 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9948 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9950 * mouse.el (mouse-drag-track): Handle select-active-regions
9953 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9955 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9956 empty argument to gvfs-copy.
9958 2010-07-10 Glenn Morris <rgm@gnu.org>
9960 * calendar/calendar.el (calendar-week-end-day): New function.
9961 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9962 Respect calendar-week-start-day. (Bug#6606)
9963 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9964 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9965 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9966 respect calendar-week-start-day.
9968 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9970 * simple.el (use-region-p): Doc fix (Bug#6607).
9972 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9974 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9975 Add regexps for cucumber and ruby.
9977 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9979 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9980 (epa-file-insert-file-contents): Hack to prevent
9981 find-file from opening empty buffer when decryption failed
9984 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9986 * textmodes/ispell.el (ispell-alternate-dictionary):
9987 Use file-readable-p.
9988 Return nil if no word-list is found at default locations.
9989 (ispell-complete-word-dict): Default to nil.
9990 (ispell-command-loop): Use 'word-list' when using lookup-words.
9991 (lookup-words): Use ispell-complete-word-dict or
9992 ispell-alternate-dictionary. Check for word-list availability
9993 and handle errors if needed with better messages (Bug#6539).
9994 (ispell-complete-word): Use ispell-complete-word-dict or
9995 ispell-alternate-dictionary.
9997 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9999 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
10000 builtins (BufferError, BytesWarning, WindowsError; callables
10001 bin, bytearray, bytes, format, memoryview, next, print; __package__).
10003 2010-07-07 Glenn Morris <rgm@gnu.org>
10005 * play/zone.el (top-level): Do not require timer, tabify, or cl.
10006 (zone-shift-left): Ignore intangibility, and any errors from
10008 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
10009 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
10010 deleting, and copying text properties.
10011 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
10012 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
10013 to point-max is hard.
10014 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
10015 (zone-fill-out-screen): Ignore intangibility.
10017 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
10019 * menu-bar.el (menu-bar-mode):
10020 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
10021 if it has been set.
10023 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
10024 word/line selection (Bug#6565).
10026 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
10028 * net/dbus.el (dbus-send-signal): Declare function.
10030 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
10032 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
10033 (dbus-register-property): New optional argument EMITS-SIGNAL.
10034 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
10036 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
10038 * mouse.el (mouse-drag-overlay): Variable deleted.
10039 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10040 (mouse--remap-link-click-p): New function.
10041 (mouse-drag-track): Handle dragging by using temporary Transient
10042 Mark mode, instead of a special overlay.
10043 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10046 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10049 2010-07-02 Juri Linkov <juri@jurta.org>
10051 * autoinsert.el (auto-insert-alist): Fix readability
10052 by using dotted pair notation for lambda.
10054 2010-07-02 Juri Linkov <juri@jurta.org>
10056 * faces.el (read-face-name): Rename arg `string-describing-default'
10057 to `default'. Doc fix. Display the default value in quotes
10058 in the prompt. With empty input, return the `default' arg,
10059 unless the default value is a string (in which case return nil).
10060 (describe-face): Replace the string `default' arg of `read-face-name'
10061 with the symbol `default'.
10063 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10065 * emulation/viper-cmd.el (viper-delete-backward-char)
10066 (viper-del-backward-char-in-insert)
10067 (viper-del-backward-char-in-replace, viper-change)
10068 (viper-backward-indent): Replace delete-backward-char with
10069 delete-char (Bug#6552).
10071 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10073 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10075 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10077 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10078 argument passed to frame-creation-function (Bug#5378).
10080 * faces.el (x-handle-named-frame-geometry)
10081 (x-handle-reverse-video, x-create-frame-with-faces)
10082 (face-set-after-frame-default, tty-create-frame-with-faces):
10083 Don't separately consult default-frame-alist. It is now passed as the
10084 PARAMETER argument.
10086 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10088 * startup.el (command-line): Don't call tool-bar-setup in a
10091 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10093 * ruler-mode.el (ruler--save-header-line-format): New fun.
10094 (ruler-mode): Use it as a setter function, so as not to overwrite
10095 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10097 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10099 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10100 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10101 (vc-log-outgoing): Use it.
10102 (vc-diff-internal): Set diff-vc-backend.
10104 * vc/diff-mode.el (diff-vc-backend): New var.
10106 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10108 * dynamic-setting.el (font-setting-change-default-font):
10109 Remove call to message.
10111 2010-06-28 Kenichi Handa <handa@m17n.org>
10113 * international/quail.el (quail-insert-kbd-layout): Fix the
10114 showing of untranslated characters.
10116 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10118 * simple.el (delete-active-region): New option.
10119 (delete-backward-char): Implement in Lisp.
10120 (delete-forward-char): New command.
10122 * mouse.el (mouse-region-delete-keys): Delete.
10123 (mouse-show-mark): Simplify.
10125 * bindings.el (global-map): Bind delete and DEL, the former to
10126 delete-forward-char.
10128 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10130 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10131 (ruby-mode): Bind indent-line-function (Bug#5119).
10133 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10135 * startup.el (command-line): Recognize "0" X resource value.
10137 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10139 * startup.el (command-line): Use X resources to set the value of
10140 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10142 * menu-bar.el (menu-bar-mode):
10143 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10144 Set init-value to t.
10146 * frame.el (frame-notice-user-settings): Don't change
10147 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10148 vice versa (Bug#2249).
10150 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10152 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10154 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10156 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10157 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10159 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10160 default directories are expanded (Bug#6143).
10162 2010-06-24 Juri Linkov <juri@jurta.org>
10164 * minibuffer.el (completions-format): Change default from nil to
10165 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10167 2010-06-24 Juri Linkov <juri@jurta.org>
10169 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10170 buffer-locally to lambda that re-runs the vc diff command.
10173 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10175 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10176 echo area is in use (Bug#3412).
10178 2010-06-22 Glenn Morris <rgm@gnu.org>
10180 * textmodes/texinfmt.el (texinfo-format-region)
10181 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10182 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10183 (texinfo-format-option, texinfo-noindent):
10184 Use line-beginning-position and line-end-position.
10186 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10187 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10188 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10191 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10193 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10194 forward-line fallout.
10196 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10198 * mouse.el (mouse-appearance-menu): Add docstring.
10200 * help.el (describe-key): Print up-event using key-description.
10202 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10204 * net/zeroconf.el (zeroconf-resolve-service)
10205 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10206 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10208 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10210 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10212 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10214 Avoid displaying files with a nil state in vc-dir.
10215 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10216 cases that cause insertion.
10217 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10220 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10222 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10224 2010-06-29 Leo <sdl.web@gmail.com>
10226 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10228 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10230 * generic-x.el (bat-generic-mode): Fix regexp for command line
10231 switches (Bug#5719).
10233 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10235 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10236 of nconc to avoid pure storage error (Bug#6239).
10238 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10240 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10241 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10242 bindings of bookmark-automatically-show-annotations (Bug#6515).
10244 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10246 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10247 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10249 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10251 * comint.el (make-comint, make-comint-in-buffer): Mention return
10252 value in the docstrings. (Bug#6498)
10254 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10256 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10257 since it is not present when using some non-default switches.
10259 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10261 * simple.el (compose-mail): Fix doc string to refer to
10262 `compose-mail-user-agent-warnings', instead of to the
10263 nonexistent `compose-mail-check-user-agent'.
10265 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10267 Fix an indentation bug:
10269 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10270 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10271 of existing values.
10273 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10274 (c-clear->-pair-props-if-match-before): now return t when they've
10275 cleared properties, nil otherwise.
10276 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10277 by taking account of the existing value.
10279 * progmodes/cc-defs.el
10280 (c-clear-char-property-with-value-function): Fix this to clear the
10281 property rather than overwriting it with nil.
10283 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10285 * emacs-lisp/package.el (package-print-package): Add link to
10286 package description via describe-package.
10287 (describe-package-1): List package requirements. Add button to
10288 perform installation.
10289 (package-menu-describe-package): New command.
10291 * help-mode.el (help-package): New button type.
10293 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10295 * emacs-lisp/package.el: Move package-list-packages binding to
10297 (describe-package, describe-package-1, package--dir): New funs.
10298 (package-activate-1): Use package--dir.
10300 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10302 * help-mode.el (help-package-def): New button type.
10304 * menu-bar.el: Move package-list-packages binding here from
10307 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10309 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10311 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * emacs-lisp/edebug.el (edebug-read-list):
10314 Phase out old-style backquotes.
10316 2010-06-17 Juri Linkov <juri@jurta.org>
10318 * help-mode.el (help-mode): Set buffer-local variable
10319 revert-buffer-function to help-mode-revert-buffer.
10320 (help-mode-revert-buffer): New function.
10322 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10323 before popping to "*info*" (like in other Info functions).
10324 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10325 old-history-forward. Pop to old-buffer-name or "*info*" to
10326 recreate the killed buffer. Set Info-history-forward from
10327 old-history-forward.
10328 (Info-breadcrumbs-depth): Add :group and :version.
10330 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10332 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10334 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10336 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10337 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10339 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10341 * emacs-lisp/package.el (package-menu-mode-map):
10342 Move initialization into declaration.
10344 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10346 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10348 * emacs-lisp/package.el (package-archive-base): Point to
10350 (package-enable, package-load-list): New defcustoms.
10351 (package-user-dir, package-directory-list): Turn into defcustoms.
10352 Don't include package-user-dir in package-directory-list.
10353 (package--builtins-base): Don't include Emacs as a "package".
10354 (package-subdirectory-regexp): New var.
10355 (package-load-all-descriptors, package-compute-transaction)
10356 (package-download-transaction): Obey package-load-list.
10357 (package-activate-1): Rename from package-do-activate.
10358 (package-list-packages-internal): Check package-load-list.
10359 (package-load-descriptor, package-generate-autoloads)
10360 (package-unpack, package-unpack-single)
10361 (package--read-archive-file, package-delete):
10362 Use expand-file-name.
10364 * emacs-lisp/package-x.el: New file. Package uploading
10365 functionality split out from package.el.
10367 * startup.el (command-line): Load packages after reading init file.
10369 2010-06-17 Tom Tromey <tromey@redhat.com>
10371 * emacs-lisp/package.el: New file.
10373 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10375 Fix vc-annotate for renamed files when using Git.
10376 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10377 ls-files. Doe not pass the object as a file name to cat-file, it
10378 is not a file name.
10379 (vc-git-annotate-command): Pass the file name using -- to avoid
10380 ambiguity with the revision.
10381 (vc-git-previous-revision): Pass a relative file name.
10383 2010-06-22 Glenn Morris <rgm@gnu.org>
10385 * progmodes/js.el (js-mode-map): Use standard capitalization and
10386 ellipses for menu entries.
10388 * wid-edit.el (widget-complete): Doc fix.
10390 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10392 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10394 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10396 Fix annotating other revisions for renamed files in vc-annotate.
10397 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10398 VC backend. Use it when non-nil.
10399 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10402 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10403 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10404 Do not pass the file name to the 'previous-revision call when we
10405 don't want a file diff. (Bug#6489)
10407 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10409 Fix finding revisions for renamed files in vc-annotate.
10410 * vc/vc.el (vc-find-revision): Add an optional argument for
10411 the VC backend. Use it when non-nil.
10412 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10413 backend to vc-find-revision. (Bug#6487)
10415 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10417 Fix reading file names in Git annotate buffers.
10418 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10419 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10421 2010-06-20 Alan Mackenzie <acm@muc.de>
10423 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10424 in file local variables, set it first.
10426 2010-06-19 Glenn Morris <rgm@gnu.org>
10428 * descr-text.el (describe-char-unicode-data): Insert separating
10429 space when needed. (Bug#6422)
10431 * progmodes/idlwave.el (idlwave-action-and-binding):
10432 Fix typo in 2009-12-03 change. (Bug#6450)
10434 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10437 handling for `lambda' (misunderstanding).
10439 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10441 * calc/calc-poly.el (math-accum-factors): Make sure that
10442 constants aren't distributed after they are factored out.
10444 2010-06-16 Juri Linkov <juri@jurta.org>
10446 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10447 `list-colors-print'. (Bug#6332)
10449 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10451 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10453 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10454 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10456 * font-lock.el (font-lock-major-mode): Rename from
10457 font-lock-mode-major-mode to distinguish it from
10458 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10459 (font-lock-set-defaults):
10460 * font-core.el (font-lock-default-function): Adjust users.
10461 (font-lock-mode): Don't set it at all.
10463 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10467 2010-06-16 Glenn Morris <rgm@gnu.org>
10469 * calendar/appt.el (appt-time-msg-list): Doc fix.
10470 (appt-check): Let-bind appt-warn-time.
10471 (appt-add): Make the 3rd argument optional.
10472 Simplify argument names. Doc fix. Check for integer WARNTIME.
10473 Only add WARNTIME to the output list if non-nil.
10475 2010-06-16 Ivan Kanis <apple@kanis.eu>
10477 * calendar/appt.el (appt-check): Let the 3rd element of
10478 appt-time-msg-list specify the warning time.
10479 (appt-add): Add new argument with the warning time. (Bug#5176)
10481 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10483 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10484 older than version 1.6. (Bug#6361)
10486 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10488 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10489 used by cl-do-arglist. (Bug#6408)
10491 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10493 * textmodes/ispell.el (ispell-dictionary-base-alist):
10494 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10495 Suggested by Rolando Pereira (bug#6434).
10497 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10499 * facemenu.el (list-colors-sort): Doc fix.
10501 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10503 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10505 2010-06-14 Juri Linkov <juri@jurta.org>
10507 Add sort option `list-colors-sort'. (Bug#6332)
10508 * facemenu.el (color-rgb-to-hsv): New function.
10509 (list-colors-sort): New defcustom.
10510 (list-colors-sort-key): New function.
10511 (list-colors-display): Doc fix. Sort list according to the option
10512 `list-colors-sort'.
10513 (list-colors-print): Add HSV values to `help-echo' property of
10516 2010-06-14 Juri Linkov <juri@jurta.org>
10518 * compare-w.el: Move to the "vc" subdirectory.
10520 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * image-mode.el (image-mode-map): Remap left-char and right-char.
10524 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10526 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10528 * term/common-win.el (x-colors): Add all the color names defined
10529 in rgb.txt (Bug#6332).
10531 * facemenu.el (list-colors-print): Don't print extra names if it
10532 will overflow the window width.
10534 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10537 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10539 * files.el (make-directory): Doc fix (bug#6396).
10541 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10543 * net/tramp.el (tramp-remote-process-environment): Protect version
10544 string by apostroph.
10545 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10547 (tramp-file-name-for-operation): Add `call-process-region'.
10548 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10550 * net/tramp-compat.el (top): Do not autoload
10551 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10552 only when `start-file-process' is not bound.
10553 (tramp-advice-file-expand-wildcards): Do not use
10554 `tramp-handle-file-remote-p'.
10555 (tramp-compat-make-temp-file): Handle the case, that
10556 `make-temp-file' has no third argument EXTENSION.
10558 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10560 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10562 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10564 2010-06-11 Juri Linkov <juri@jurta.org>
10566 * finder.el (finder-known-keywords): Add keyword "vc"
10567 for version control.
10569 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10570 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10571 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10572 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10574 2010-06-11 Juri Linkov <juri@jurta.org>
10576 Move version control related files to the "vc" subdirectory.
10577 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10578 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10579 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10580 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10581 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10582 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10583 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10584 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10585 Move files to the "vc" subdirectory.
10587 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10589 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10592 2010-06-11 Stephen Eglen <stephen@gnu.org>
10594 * shell.el: Bind `shell-resync-dirs' to M-RET.
10596 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10598 * notifications.el: Move file from lisp/net, because it is
10599 supposed to talk locally to the user.
10601 2010-06-10 Julien Danjou <julien@danjou.info>
10603 * net/notifications.el (notifications-on-action-signal)
10604 (notifications-on-closed-signal): Pass notification id as first
10605 argument to the callback functions. Add docstrings.
10606 (notifications-notify): Fix docstring.
10608 2010-06-10 Glenn Morris <rgm@gnu.org>
10610 * emacs-lisp/authors.el (authors-ignored-files)
10611 (authors-valid-file-names): Add some files.
10613 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10615 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10616 merge conflict, giving preference to the emacs-23 version of the code.
10618 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10620 * emacs-lisp/advice.el (ad-compile-function):
10621 Define warning-suppress-types before we let-bind it (bug#6275).
10623 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10624 declare it, make it buffer-local and permanent-local (bug#6324).
10625 (vc-resynch-window): Adjust name.
10626 * vc-hooks.el (vc-find-file-hook): Adjust name.
10628 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10630 * net/notifications.el (notifications-notify): Fix docstring.
10632 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10634 Update to Unicode 6.0.0 beta.
10635 * international/charprop.el: Update copyright.
10636 * international/mule-cmds.el (ucs-names): Update character ranges.
10637 * international/uni-bidi.el:
10638 * international/uni-category.el:
10639 * international/uni-combining.el:
10640 * international/uni-comment.el:
10641 * international/uni-decimal.el:
10642 * international/uni-decomposition.el:
10643 * international/uni-digit.el:
10644 * international/uni-lowercase.el:
10645 * international/uni-mirrored.el:
10646 * international/uni-name.el:
10647 * international/uni-numeric.el:
10648 * international/uni-old-name.el:
10649 * international/uni-titlecase.el:
10650 * international/uni-uppercase.el: Regenerate.
10652 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10654 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10655 (smie-precs-precedence-table): Fix typo in docstring.
10657 * vc-mtn.el (log-edit-extract-headers): Declare function.
10659 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10661 * net/notifications.el (dbus-register-signal): Declare function.
10662 (notifications-notify): Fix typos and reflow docstring.
10664 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10666 Improve VC create/retrieve tag/branch.
10667 * vc.el (vc-create-tag): Do not read the directory name for VCs
10668 with repository revision granularity. Adjust the tag/branch
10669 prompt. Reset VC properties.
10670 (vc-retrieve-tag): Do not read the directory name for VCs
10671 with repository revision granularity. Reset VC properties.
10673 2010-06-09 Julien Danjou <julien@danjou.info>
10675 * net/notifications.el: New file.
10677 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10679 Add optional support for resetting VC properties.
10680 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10681 call vc-file-clearprops when true.
10682 (vc-resynch-buffer): Add new optional argument, pass it down.
10683 (vc-resynch-buffers-in-directory): Likewise.
10685 Improve support for special markup in the VC commit message.
10686 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10687 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10688 * vc-git.el (vc-git-checkin):
10689 * vc-bzr.el (vc-bzr-checkin): Likewise.
10691 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10693 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10694 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10696 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10698 * iimage.el: Remove images as soon as the underlying text is modified.
10699 (iimage-modification-hook): New function.
10700 (iimage-mode-buffer): Use it.
10702 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10705 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10706 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10707 (smie-indent-keyword): Add handling of open-paren keywords.
10708 (smie-indent-comment-continue): Don't assume comment-continue.
10710 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10712 * window.el (pop-to-buffer): Remove the conditional that
10713 compares new-window and old-window, so it will reselect
10714 the selected window unconditionally.
10715 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10717 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * emacs-lisp/smie.el (smie-indent-offset-after)
10720 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10721 (smie-indent-after-keyword): Use them.
10722 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10723 (smie-indent-keyword): Tweak the black magic.
10724 (smie-indent-comment-continue): Strip comment-continue before use.
10725 (smie-indent-functions): Indent comments before keywords.
10727 2010-06-06 Juri Linkov <juri@jurta.org>
10729 * isearch.el (isearch-lazy-highlight-search): Fix looping
10730 by checking for empty match. This syncs this loop with the
10731 similar loop in `isearch-search'. (Bug#6362)
10733 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10735 * net/dbus.el (dbus-register-method): Declare function.
10736 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10737 (dbus-introspect): Doc fix.
10738 (dbus-event-bus-name, dbus-introspect-get-interface)
10739 (dbus-introspect-get-argument): Reflow docstrings.
10741 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10743 vc-log-incoming/vc-log-outgoing fixes for Git.
10744 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10745 incoming/outgoing logs.
10746 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10747 instead of vc-git-compute-remote.
10748 (vc-git-compute-remote): Remove.
10750 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10752 * term/common-win.el (x-colors): Add "dark green" and "dark
10753 turquoise" (Bug#6332).
10755 2010-06-04 Juri Linkov <juri@jurta.org>
10757 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10758 Instead of setting `replace' to t and replacing the same string
10759 with itself, don't do certain actions when
10760 kill-do-not-save-duplicates is non-nil and string is equal to car
10761 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10762 interprogram-paste strings to kill-ring, and don't push the input
10763 argument `string' to kill-ring.
10764 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10766 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10768 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10770 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10772 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10773 (tramp-gvfs-handler-mounted-unmounted)
10774 (tramp-gvfs-connection-mounted-p): Handle default-location.
10776 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10777 move files to trash.
10779 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10781 * international/mule-cmds.el (nonascii-insert-offset)
10782 (nonascii-translation-table): Add obsolescence information.
10784 * international/mule.el (make-translation-table-from-vector): Doc fix.
10786 2010-06-03 Glenn Morris <rgm@gnu.org>
10788 * desktop.el (desktop-clear-preserve-buffers):
10789 Add "*Warnings*" buffer. (Bug#6336)
10791 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10793 vc-log-incoming/vc-log-outgoing improvements for Git.
10794 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10796 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10798 Add bindings for vc-log-incoming and vc-log-outgoing.
10799 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10800 and vc-log-outgoing.
10801 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10802 and vc-log-outgoing.
10804 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10806 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10807 (rcirc-handler-366): Always sort nicknames.
10809 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10811 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10813 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10815 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10817 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10820 (rcirc-sort-nicknames-join): Avoid setq.
10822 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10824 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10825 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10826 (rcirc-handler-366): Use them.
10828 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10830 Split smie-indent-calculate into more manageable chunks.
10831 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10832 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10833 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10834 (smie-indent-exps): Extract from smie-indent-calculate.
10835 (smie-indent-functions): New var.
10836 (smie-indent-functions): Use them.
10838 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10841 (smie-indent-calculate): Simplify and cleanup.
10843 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10845 * net/tramp-gvfs.el (top): Require url-util.
10846 (tramp-gvfs-mount-point): Remove.
10847 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10849 (with-tramp-dbus-call-method): Format trace message.
10850 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10851 Implement backup call, when operation on local files fails.
10852 Use progress reporter. Flush properties of changed files.
10853 (tramp-gvfs-handle-make-directory): Make more traces.
10854 (tramp-gvfs-url-file-name): Hexify file name in url.
10855 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10856 into account for the resulting file name.
10857 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10858 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10859 (tramp-gvfs-handler-mounted-unmounted)
10860 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10861 attribute "default_location". Set "prefix" property.
10862 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10863 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10864 exists. Raise an error, if not (due to a corresponding answer
10865 "no" in interactive questions, for example).
10867 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10869 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10871 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10873 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10874 right-*. (Bug#6265)
10876 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10878 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10879 * vc-git.el (vc-git-compute-remote): New function.
10880 (vc-git-log-outgoing): Use it instead of hard coding a value.
10881 (vc-git-log-incoming): New function.
10883 Improve state updating for VC tag commands.
10884 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10885 to update the state of all buffers in the directory.
10887 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10889 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10891 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10892 `file-directory-p' to the filename part rather than to the whole text.
10894 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10898 2010-05-31 Drew Adams <drew.adams@oracle.com>
10900 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10902 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10904 * subr.el (momentary-string-display): Just use read-event to read
10905 the exit event (Bug#6238).
10907 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10909 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10911 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10913 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10914 Suggested by Eli Zaretskii <eliz@gnu.org>.
10916 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * minibuffer.el (completion-file-name-table): Don't return a boundary
10919 past the end of `string' (bug#6299).
10920 (completion--file-name-table): Delegate to completion-file-name-table
10921 for the `boundaries' case.
10923 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10925 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10928 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10929 `path-separator', but maintain compatibility with Emacs 20.2.
10931 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10933 * server.el (server-process-filter): Receive parent-id argument
10935 (server-create-window-system-frame): New arg. Pass parent-id as
10938 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10940 Bidi-sensitive word movement with arrow keys.
10941 * subr.el (right-arrow-command, left-arrow-command): Move to
10944 * bindings.el (right-char, left-char): Move from subr.el and
10945 rename from right-arrow-command and left-arrow-command.
10946 (right-word, left-word): New functions.
10947 (global-map) <right>: Bind to right-char.
10948 (global-map) <left>: Bind to left-char.
10949 (global-map) <C-right>: Bind to right-word.
10950 (global-map) <C-left>: Bind to left-word.
10952 * ls-lisp.el (ls-lisp-classify-file): New function.
10953 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10954 (ls-lisp-classify): Call ls-lisp-classify-file.
10955 (insert-directory): Remove blanks from switches.
10957 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10959 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10960 (ansi-color-drop-regexp): New constant.
10961 (ansi-color-apply, ansi-color-filter-region)
10962 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10963 (ansi-color-apply): Build string list before calling concat.
10965 2010-05-28 Juri Linkov <juri@jurta.org>
10967 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10968 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10971 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10973 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10974 to ignored backtrace functions.
10975 (with-progress-reporter): Expand docstring.
10976 (tramp-handle-delete-file): Implement TRASH argument.
10977 (tramp-get-remote-trash): New defun.
10979 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10981 * net/tramp-compat.el (tramp-compat-delete-file):
10982 Use `symbol-value' for backward compatibility.
10984 * net/tramp.el (tramp-handle-make-symbolic-link)
10985 (tramp-handle-load)
10986 (tramp-do-copy-or-rename-file-via-buffer)
10987 (tramp-do-copy-or-rename-file-directly)
10988 (tramp-do-copy-or-rename-file-out-of-band)
10989 (tramp-handle-process-file, tramp-handle-call-process-region)
10990 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10991 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10992 (tramp-delete-temp-file-function): Use `delete-file' instead
10993 of `tramp-compat-delete-file'.
10995 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10996 (tramp-fish-handle-make-symbolic-link)
10997 (tramp-fish-handle-process-file): Use `delete-file' instead
10998 of `tramp-compat-delete-file'.
11000 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11001 Use `delete-file' instead of `tramp-compat-delete-file'.
11003 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
11004 Use `delete-file' instead of `tramp-compat-delete-file'.
11006 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
11007 Use `delete-file' instead of `tramp-compat-delete-file'.
11009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11010 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11011 (tramp-smb-handle-write-region): Use `delete-file' instead of
11012 `tramp-compat-delete-file'.
11013 (tramp-smb-handle-delete-directory): Use 'trash as arg.
11015 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11017 * dired.el (dired-delete-file): New arg TRASH.
11018 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
11019 (dired-do-flagged-delete, dired-do-delete): Use trash.
11021 * speedbar.el (speedbar-item-delete): Allow trashing.
11023 * files.el (delete-directory): New arg TRASH.
11025 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
11026 (ange-ftp-rename-remote-to-remote)
11027 (ange-ftp-rename-local-to-remote)
11028 (ange-ftp-rename-remote-to-local, ange-ftp-load)
11029 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
11031 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
11034 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
11035 handle new TRASH arg of `delete-file'.
11037 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11038 (tramp-handle-make-symbolic-link, tramp-handle-load)
11039 (tramp-do-copy-or-rename-file-via-buffer)
11040 (tramp-do-copy-or-rename-file-directly)
11041 (tramp-do-copy-or-rename-file-out-of-band)
11042 (tramp-handle-process-file, tramp-handle-call-process-region)
11043 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11044 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11045 (tramp-delete-temp-file-function): Use null TRASH arg in
11046 tramp-compat-delete-file call.
11048 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11049 (tramp-fish-handle-delete-file)
11050 (tramp-fish-handle-make-symbolic-link)
11051 (tramp-fish-handle-process-file): Use null TRASH arg in
11052 `tramp-compat-delete-file' call.
11054 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11055 arg in `tramp-compat-delete-file' call.
11057 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11058 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11059 `tramp-compat-delete-file' call.
11061 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11062 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11063 `tramp-compat-delete-file' call.
11065 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11066 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11067 (tramp-smb-handle-write-region): Use null TRASH arg in
11068 tramp-compat-delete-file call.
11069 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11070 (tramp-smb-handle-delete-file): Rename arg.
11072 * diff.el (diff-sentinel):
11073 * epg.el (epg--make-temp-file, epg-decrypt-string)
11074 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11075 * jka-compr.el (jka-compr-partial-uncompress)
11076 (jka-compr-call-process, jka-compr-write-region):
11077 * server.el (server-sentinel): Remove optional arg from
11078 delete-file, reverting 2010-05-03 change.
11080 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11082 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11083 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11085 2010-05-27 Kenichi Handa <handa@m17n.org>
11087 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11088 element of GSTRING is nil.
11090 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11092 * emacs-lisp/smie.el (smie-forward-token-function)
11093 (smie-backward-token-function): New vars.
11094 (smie-backward-sexp, smie-forward-sexp)
11095 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11096 (smie-default-backward-token): Rename from smie-backward-token and
11098 (smie-default-forward-token): Rename from smie-forward-token and
11100 (smie-next-sexp): Handle nil results from next-token.
11101 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11103 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11105 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11106 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11108 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11110 * htmlfontify.el (hfy-face-resolve-face): New function.
11111 (hfy-face-to-style): Use it (Bug#6279).
11113 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11116 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11118 2010-05-26 Glenn Morris <rgm@gnu.org>
11120 * emulation/edt.el (edt-load-keys): Use locate-library.
11122 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11124 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11125 (log-edit-changelog-entries): Doc fix.
11126 (log-edit-changelog-insert-entries): Args changed.
11127 Rename relative filenames in ChangeLog entries. Delete tabs.
11128 (log-edit-insert-changelog-entries): Reorganize return value of
11129 `log-edit-changelog-entries' to pass filenames to
11130 log-edit-changelog-insert-entries.
11132 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11134 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11135 `image-dired-dired-insert-marked-thumbs' to
11136 `image-dired-dired-toggle-marked-thumbs'.
11138 * image-dired.el: Require cl when compiling.
11139 (image-dired-dired-toggle-marked-thumbs): Rename from
11140 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11141 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11142 to 'no-dir. Skip files whose names don't match
11143 `image-file-name-regexp'. When file has a thumbnail overlay,
11144 delete it. (Bug#5270)
11146 2010-05-25 Juri Linkov <juri@jurta.org>
11148 * image-mode.el (image-mode): Add image-after-revert-hook to
11150 (image-after-revert-hook): New function. (Bug#5669)
11152 2010-05-25 Juri Linkov <juri@jurta.org>
11154 * image.el (image-animated-p): When delay between animated images
11155 is 0, set it to 10 (0.1 sec). (Bug#6258)
11157 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11159 * net/tramp.el (tramp-handle-insert-directory): Don't use
11160 `forward-word', its default syntax could be changed.
11162 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11164 * net/tramp.el (tramp-progress-reporter-update): New defun.
11165 (with-progress-reporter): Use it.
11166 (tramp-process-actions):
11167 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11168 Preserve current message, in order to let progress reporter continue
11169 afterwards. (Bug#6257)
11171 2010-05-25 Glenn Morris <rgm@gnu.org>
11173 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11176 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11178 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11179 (rcirc-default-full-name): Change to "unknown".
11180 (rcirc-user-name-history): Add variable.
11182 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11183 Jonathan Rockway <jon@jrock.us>
11185 * net/rcirc.el (rcirc-server-alist): Add :pass.
11186 (rcirc): When prompting for connection parameters, also prompt for
11187 username and password.
11188 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11189 value to server when connecting.
11191 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11194 (smie-merge-prec2s): Pass the tables as separate args.
11195 (smie-bnf-precedence-table): Adjust call accordingly.
11196 (smie-prec2-levels): Set levels at the end.
11198 Replace Lisp calls to delete-backward-char by delete-char.
11199 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11200 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11201 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11202 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11203 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11204 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11205 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11206 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11207 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11208 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11209 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11210 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11211 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11212 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11213 delete-backward-char by calls to delete-char.
11215 2010-05-25 Kenichi Handa <handa@m17n.org>
11217 * language/hebrew.el (hebrew-shape-gstring): New function.
11218 Register it in composition-function-table for all Hebrew combining
11221 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11223 * epa.el (epa--select-keys): Don't explicitly delete the window since
11224 that can fail (e.g. sole window in frame). Use dedication instead.
11226 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11228 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11230 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11232 * image.el (image-refresh): Define as an alias for image-flush.
11234 * image-mode.el (image-toggle-display-image): Caller changed.
11236 2010-05-21 Juri Linkov <juri@jurta.org>
11238 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11239 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11240 whitespace, call wildcard-to-regexp on substrings and concat them
11241 with "\\|". (Bug#6114)
11243 2010-05-21 Alan Mackenzie <acm@muc.de>
11245 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11246 Replace parameter `here' with `here-' and `here-plus', which sandwich
11247 any pertinent CPP construct.
11248 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11249 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11250 CPP construct from taking part in the scanning.
11252 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11254 * net/tramp.el (tramp-do-copy-or-rename-file)
11255 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11256 Tune `with-progress-reporter' messages.
11257 (tramp-handle-vc-registered):
11258 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11259 (tramp-fish-handle-insert-file-contents)
11260 (tramp-fish-maybe-open-connection):
11261 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11262 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11263 (tramp-imap-handle-insert-file-contents)
11264 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11266 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11268 * add-log.el (change-log-font-lock-keywords):
11269 Highlight all authors in multi-author entries.
11271 * smerge-mode.el (smerge-refine-ignore-whitespace)
11272 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11273 Fix typos in docstrings.
11274 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11276 2010-05-21 Glenn Morris <rgm@gnu.org>
11278 * progmodes/fortran.el (fortran-mode):
11279 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11281 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11282 having a relative path in src/Makefile.in.
11284 2010-05-20 Kevin Ryde <user42@zip.com.au>
11286 * help-mode.el (help-make-xrefs): For Info node links turn
11287 newlines into spaces. Link node names with newlines are matched
11288 by help-xref-info-regexp and buttonized, this change ensures they
11289 can be followed successfully with RET. (Bug#6206)
11291 2010-05-20 Juri Linkov <juri@jurta.org>
11293 * locate.el (locate): Use pop-to-buffer instead of
11294 switch-to-buffer-other-window. (Bug#6204)
11296 2010-05-20 Juri Linkov <juri@jurta.org>
11298 * replace.el (replace-highlight): Fix lazy-highlighting
11299 for `M-s w str M-% str RET'.
11301 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11303 * isearch.el (isearch-yank-word-or-char): Pull next subword
11304 when `subword-mode' is activated. (Bug#6220)
11306 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11308 * isearch.el (isearch-update-post-hook): New hook.
11309 (isearch-update): Use the new hook. (Bug#6225)
11311 2010-05-20 Juri Linkov <juri@jurta.org>
11313 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11314 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11317 2010-05-20 Juri Linkov <juri@jurta.org>
11319 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11322 2010-05-20 Juri Linkov <juri@jurta.org>
11324 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11325 FILE-NAME to read from the minibuffer when called interactively
11326 with prefix argument instead of using buffer-file-name.
11327 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11329 * dired.el: Update autoloads.
11331 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11333 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11334 nxml-finish-element, for consistency with SGML mode.
11336 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11337 octave-close-block.
11339 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11341 * composite.el: Require cl when compiling.
11342 (reference-point-alist, compose-gstring-for-graphic)
11343 (compose-gstring-for-terminal): Fix typos in docstrings.
11345 2010-05-19 Juri Linkov <juri@jurta.org>
11347 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11348 set-window-parameter.
11350 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11352 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11354 (tramp-maybe-open-connection): Use it.
11356 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11358 * simple.el (move-end-of-line): Make sure we are at line beginning
11359 before backing up to end of previous line.
11361 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11363 * password-cache.el (password-cache-remove): Fix docstring.
11365 * net/secrets.el: Autoload the widget functions.
11366 (secrets-search-items, secrets-create-item)
11367 (secrets-get-attributes, secrets-expand-item): Attributes will be
11368 stored on the password database without leading ":", as all other
11369 clients do as well.
11370 (secrets-mode): Fix docstring.
11371 (secrets-show-secrets): Provide it as autoloaded command only when
11372 D-Bus support is available. Check existence of Secret Service API.
11374 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11376 * indent.el (indent-region): Deactivate region (bug#6200).
11378 2010-05-19 Glenn Morris <rgm@gnu.org>
11380 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11382 2010-05-19 Kenichi Handa <handa@m17n.org>
11384 * composite.el: Register compose-gstring-for-graphic in
11385 composition-function-table only for combining characters (Mn, Mc, Me).
11387 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11389 * calc/calc-trail.el (calc-trail-isearch-forward)
11390 (calc-trail-isearch-backward): Ensure that the new window
11391 point is set correctly.
11393 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * subr.el (read-quoted-char): Resolve modifiers after key
11396 remapping (bug#6212).
11398 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11400 Add visualization code for secrets.
11401 * net/secrets.el (secrets-mode): New major mode.
11402 (secrets-show-secrets, secrets-show-collections)
11403 (secrets-expand-collection, secrets-expand-item)
11404 (secrets-tree-widget-after-toggle-function)
11405 (secrets-tree-widget-show-password): New defuns.
11407 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11409 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11410 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11411 handled in smie-next-sexp.
11412 (smie-indent-calculate): Provide a starting indentation (so the
11413 recursion is well-founded ;-).
11415 Fix handling of non-associative equal levels.
11416 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11417 when it's not needed.
11418 (smie-op-left, smie-op-right): New functions.
11419 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11420 Better handle equal levels to distinguish the associative case from
11421 the "multi-keyword construct" case.
11422 (smie-backward-sexp, smie-forward-sexp): Use it.
11424 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11426 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11428 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11429 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11431 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11433 Provide a simple generic indentation engine and use it for Prolog.
11434 * emacs-lisp/smie.el: New file.
11435 * progmodes/prolog.el (prolog-smie-op-levels)
11436 (prolog-smie-indent-rules): New var.
11437 (prolog-mode-variables): Use them to configure SMIE.
11438 (prolog-indent-line, prolog-indent-level): Remove.
11440 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11442 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11443 order before computing the averages.
11445 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11447 * calc/calc-vec.el (calc-histogram):
11448 (calcFunc-histogram): Allow vectors as inputs.
11449 (math-vector-avg): New function.
11451 * calc/calc-ext.el (math-group-float): Have the number of digits
11452 being grouped depend on the radix (Bug#6189).
11454 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11456 * version.el (emacs-copyright, emacs-version): Don't define here,
11457 now that emacs.c defines it.
11459 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11461 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11462 "Describe Language Environment" menu item.
11464 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11466 Bidi-sensitive movement with arrow keys.
11467 * subr.el (right-arrow-command, left-arrow-command): New functions.
11469 * bindings.el (global-map): Bind them to right and left arrow keys.
11471 Don't override standard definition of convert-standard-filename.
11472 * files.el (convert-standard-filename):
11473 Call w32-convert-standard-filename and dos-convert-standard-filename on
11474 the corresponding systems.
11476 * w32-fns.el (w32-convert-standard-filename): Rename from
11477 convert-standard-filename. Doc fix.
11479 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11480 (convert-standard-filename): Don't defalias.
11481 (register-name-alist, make-register, register-value)
11482 (set-register-value, intdos): Obsolete aliases for the
11483 corresponding dos-* functions and variables.
11484 (dos-intdos): Add a doc string.
11486 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11488 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11489 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11490 (math-compose-tex-func):
11491 * calc/calccomp.el (math-compose-expr):
11492 * calc/calc-ext.el (math-format-flat-expr-fancy):
11493 * calc/calc-store.el (calc-read-var-name):
11494 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11496 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11497 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11498 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11499 (math-standard-units): Add units.
11501 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11503 * progmodes/asm-mode.el (asm-mode):
11504 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11506 * pcomplete.el (pcomplete-completions-at-point): New function,
11507 extracted from pcomplete-std-complete.
11508 (pcomplete-std-complete): Use it.
11510 2010-05-15 Glenn Morris <rgm@gnu.org>
11512 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11513 Remove references to CVS, RCS and Old directories.
11515 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11517 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11520 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11522 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11523 (sh-mode-syntax-table): Give it a default value instead.
11524 (sh-header-marker): Make buffer-local.
11525 (sh-mode): Move make-local-variable to the corresponding setq.
11526 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11527 Use complete-with-action.
11529 * simple.el (prog-mode): New (abstract) major mode.
11530 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11531 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11533 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11535 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11536 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11537 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11538 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11539 (sql-escape-newlines-filter, sql-input-sender)
11540 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11542 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11544 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11546 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11547 latex-open-block and C-c / to latex-close-block.
11549 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11550 and C-c C-e to sgml-close-tag.
11552 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11554 * net/tramp.el (with-progress-reporter): Create reporter object
11555 only when the message would be displayed. Handle nested calls.
11556 (tramp-handle-load, tramp-handle-file-local-copy)
11557 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11558 (tramp-maybe-send-script, tramp-find-shell):
11559 Use `with-progress-reporter'.
11560 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11563 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11564 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11565 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11566 Use `with-progress-reporter'.
11568 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11570 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11571 process everytime when spellchecking from the minibuffer (bug#6143).
11573 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11577 * dos-fns.el: Add "dos-" prefix for namespace control.
11578 (convert-standard-filename): Define as alias for
11579 dos-convert-standard-filename but only if applicable.
11581 2010-05-12 Alan Mackenzie <acm@muc.de>
11583 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11584 Push the mark at the start of these functions when appropriate.
11586 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * minibuffer.el (completion-cycle-threshold): New custom var.
11589 (completion--do-completion): Use it.
11590 (minibuffer-complete): Use cycling if appropriate.
11592 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11594 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11595 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11597 2010-05-11 Juri Linkov <juri@jurta.org>
11599 * scroll-all.el (scroll-all-check-to-scroll):
11600 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11602 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11604 * iimage.el (iimage-mode-map): Move initialization into declaration.
11605 (iimage-mode-buffer): Use with-silent-modifications.
11606 Simplify calling convention. Adjust callers.
11607 (iimage-mode): Don't run hook redundantly.
11609 * minibuffer.el (completion-pcm--pattern->regex):
11610 Fix last change (bug#6160).
11612 2010-05-10 Juri Linkov <juri@jurta.org>
11614 Remove nodes visited during Isearch from the Info history.
11615 * info.el (Info-isearch-initial-history)
11616 (Info-isearch-initial-history-list): New variables.
11617 (Info-isearch-start): Record initial values of
11618 Info-isearch-initial-history and Info-isearch-initial-history-list.
11619 Add Info-isearch-end to isearch-mode-end-hook.
11620 (Info-isearch-end): New function.
11622 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11624 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11625 format string, in order to work around a bug in pdksh.
11626 Reported by Gilles Pion <gpion@lfdj.com>.
11627 (tramp-handle-verify-visited-file-modtime): Do not send a command
11628 when the connection is not established.
11629 (tramp-handle-set-file-times): Simplify the check for utc.
11631 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11633 Fix use of `filter-buffer-substring' (rework previous change).
11634 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11635 (cua-repeat-replace-region):
11636 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11637 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11638 (cua-cut-region-to-global-mark): Use it.
11640 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11642 * progmodes/sql.el: Version 2.1.
11643 (sql-product-alist): Redesign structure of product info.
11644 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11645 (sql-port, sql-port-history): New variables.
11646 (sql-interactive-product): New variable.
11647 (sql-send-terminator): New variable.
11648 (sql-imenu-generic-expression): Add "Types" imenu entry.
11649 (sql-oracle-login-params, sql-sqlite-login-params)
11650 (sql-mysql-login-params, sql-solid-login-params)
11651 (sql-sybase-login-params, sql-informix-login-params)
11652 (sql-ingres-login-params, sql-ms-login-params)
11653 (sql-postgres-login-params, sql-interbase-login-params)
11654 (sql-db2-login-params, sql-linter-login-params)
11655 (sql-oracle-scan-on): New variables.
11656 (sql-mode-map): Add C-c C-i to start interactive mode.
11657 (sql-mode-menu): Update existing menu entries.
11658 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11659 (sql-mode-oracle-font-lock-keywords)
11660 (sql-mode-postgres-font-lock-keywords)
11661 (sql-mode-ms-font-lock-keywords)
11662 (sql-mode-sybase-font-lock-keywords)
11663 (sql-mode-informix-font-lock-keywords)
11664 (sql-mode-interbase-font-lock-keywords)
11665 (sql-mode-ingres-font-lock-keywords)
11666 (sql-mode-solid-font-lock-keywords)
11667 (sql-mode-mysql-font-lock-keywords)
11668 (sql-mode-sqlite-font-lock-keywords)
11669 (sql-mode-db2-font-lock-keywords)
11670 (sql-mode-linter-font-lock-keywords): Update initialization to
11671 reduce run-time complexity.
11672 (sql-add-product, sql-del-product): New functions.
11673 (sql-set-product-feature, sql-get-product-feature): New functions.
11674 (sql-product-font-lock): Update product API.
11675 (sql-add-product-keywords): New function.
11676 (sql-highlight-product): Update product API.
11677 (sql-help-list-products): New function.
11678 (sql-help): Dynamically lists free and non-free products.
11679 (sql-get-login): Correct bug in handling history and added
11681 (sql-copy-column): Copy without properties.
11682 (sqli-input-sender): Apply filters to SQLi input.
11683 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11684 Implement as a filter.
11685 (sql-escape-newlines-filter): Implement as a filter.
11686 (sql-remove-tabs-filter): New function.
11687 (sql-send-magic-terminator): New function.
11688 (sql-send-string): Implement magic terminator.
11689 (sql-send-region): Use `sql-send-string'.
11690 (sql-interactive-mode): Use product API.
11691 (sql-product-interactive): Use product API.
11692 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11693 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11694 (sql-db2, sql-linter): Use `sql-product-interactive'.
11695 (sql-connect): New function.
11696 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11697 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11698 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11699 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11702 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11705 New custom variable.
11706 (completion-pcm--string->pattern): Use it.
11707 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11708 Make it handle any symbol as `any'.
11709 (completion-pcm--merge-completions): Extract common suffix for the new
11710 `prefix' symbol as well.
11711 (completion-substring--all-completions): Use the new `prefix' symbol.
11713 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11715 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11717 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11718 (tramp-compat-funcall): New defmacro.
11719 (tramp-compat-line-beginning-position)
11720 (tramp-compat-line-end-position)
11721 (tramp-compat-temporary-file-directory)
11722 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11723 (tramp-compat-copy-file, tramp-compat-copy-directory)
11724 (tramp-compat-delete-file, tramp-compat-delete-directory)
11725 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11726 * net/tramp.el (top, with-progress-reporter)
11727 (tramp-rfn-eshadow-setup-minibuffer)
11728 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11729 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11730 (tramp-completion-mode-p, tramp-check-for-regexp)
11731 (tramp-open-connection-setup-interactive-shell)
11732 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11733 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11734 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11735 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11736 (tramp-reporter-dump-variable, tramp-load-report-modules)
11737 (tramp-append-tramp-buffers)
11738 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11740 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11742 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11744 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11745 buffer-modtime. Adjust users.
11747 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11749 * international/mule.el (auto-coding-alist): Only purecopy
11750 car of each item, not the whole list (Bug#6083).
11752 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11754 * progmodes/js.el (js-mode): Make paragraph variables local before
11755 calling c-setup-paragraph-variables (Bug#6071).
11757 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11759 * composite.el (compose-region, reference-point-alist): Fix typos
11760 in the doc strings.
11762 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11764 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11765 gnuplot's "set" command.
11767 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11769 * abbrev.el (last-abbrev-text): Doc fix.
11770 (abbrev-prefix-mark): Don't escape parenthesis.
11772 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11774 * composite.el (find-composition): Doc fix.
11776 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11778 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11779 (sql-oracle-program, sql-sqlite-options)
11780 (sql-query-placeholders-and-send): Doc fixes.
11781 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11782 (sql-imenu-generic-expression, sql-buffer)
11783 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11784 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11785 (sql-mode-sybase-font-lock-keywords)
11786 (sql-mode-informix-font-lock-keywords)
11787 (sql-mode-interbase-font-lock-keywords)
11788 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11789 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11790 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11791 (sql-product-feature, sql-highlight-product)
11792 (comint-line-beginning-position, sql-rename-buffer)
11793 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11794 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11795 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11796 Fix typos in docstrings.
11798 2010-05-08 Juri Linkov <juri@jurta.org>
11800 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11801 property instead of `invisible' and `after-string' (bug#5998).
11803 2010-05-08 Juri Linkov <juri@jurta.org>
11805 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11807 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11809 * filecache.el (file-cache-add-directory-list)
11810 (file-cache-add-directory-recursively): Fix typos in docstrings.
11812 2010-05-08 Kenichi Handa <handa@m17n.org>
11814 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11815 (gujarati-composable-pattern): Fix typo.
11817 2010-05-08 Kenichi Handa <handa@m17n.org>
11819 * language/indian.el (oriya-composable-pattern)
11820 (tamil-composable-pattern, malayalam-composable-pattern):
11821 Add two-part vowels to "v" (vowel sign).
11823 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11825 * files.el (copy-directory): Handle symlinks (Bug#5982).
11827 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11829 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11830 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11833 2010-05-08 Glenn Morris <rgm@gnu.org>
11835 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11837 * minibuffer.el (completion-at-point): Doc fix.
11839 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * electric.el (Electric-command-loop): Minor tweak.
11843 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11844 better with dedicated windows.
11846 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11848 * Version 23.2 released.
11850 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11851 Stefan Monnier <monnier@iro.umontreal.ca>
11853 Highlight vendor specific properties.
11854 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11855 (css-proprietary-property): New face.
11856 (css-font-lock-keywords): Use them.
11858 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11860 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11862 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11864 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11865 * files.el (auto-mode-alist): Remove redundant entries.
11867 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11868 * simple.el (auto-save-mode): Move from files.el.
11869 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11871 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11873 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11875 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11877 * mail/binhex.el (binhex-decode-region-internal)
11878 * mail/uudecode.el (uudecode-decode-region-internal)
11879 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11880 (dns-read-type, dns-query)
11881 * pgg-parse.el (pgg-parse-armor)
11882 * pgg.el (pgg-verify-region)
11883 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11886 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11888 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11890 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11892 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11893 * emulation/cua-base.el (cua-repeat-replace-region):
11894 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11895 (cua-cut-region-to-global-mark):
11896 Remove text properties with `set-text-properties'.
11898 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11900 * net/tramp.el (top, with-progress-reporter):
11901 Use `symbol-function' inside `funcall'.
11903 * net/tramp-compat.el (tramp-compat-file-attributes)
11904 (tramp-compat-delete-file, tramp-compat-delete-directory):
11905 Handle only `wrong-number-of-arguments' error.
11907 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11908 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11911 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11913 * minibuffer.el (completion--sreverse, completion--common-suffix):
11915 (completion-pcm--merge-completions): Extract common suffix when safe.
11917 * emacs-lisp/easy-mmode.el (define-minor-mode):
11918 Make :variable more flexible.
11919 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11921 2010-05-05 Juri Linkov <juri@jurta.org>
11923 Add `slow' and `history' tags to the desktop data.
11925 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11926 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11927 (Info-finder-find-node): Require `finder.el' to be able
11928 to restore node from the desktop.
11929 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11930 data `Info-history' and `slow' tag in the assoc list.
11931 (Info-restore-desktop-buffer): Don't restore nodes with the
11932 `slow' tag. Restore `Info-history'.
11934 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11936 Add FORCE argument to `delete-file'.
11938 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11939 forcing to delete the temporary file.
11940 (ange-ftp-delete-file): Add FORCE arg.
11941 (ange-ftp-rename-remote-to-remote)
11942 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11943 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11944 Force file deletion.
11946 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11948 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11949 (tramp-handle-make-symbolic-link, tramp-handle-load)
11950 (tramp-do-copy-or-rename-file-via-buffer)
11951 (tramp-do-copy-or-rename-file-directly)
11952 (tramp-do-copy-or-rename-file-out-of-band)
11953 (tramp-handle-process-file, tramp-handle-call-process-region)
11954 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11955 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11956 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11958 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11959 (tramp-fish-handle-make-symbolic-link)
11960 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11962 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11963 Use `tramp-compat-delete-file'.
11965 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11966 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11968 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11969 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11971 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11972 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11973 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11974 Use `tramp-compat-delete-file'.
11976 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * subr.el (add-minor-mode): Use push.
11980 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11981 * emulation/edt.el (edt-select-mode): Simplify.
11983 Use define-minor-mode in more cases.
11984 * term/tvi970.el (tvi970-set-keypad-mode):
11985 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11986 (normal-erase-is-backspace-mode):
11987 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11988 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11989 (get-scroll-bar-mode): New function.
11990 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11992 Use define-minor-mode for less obvious cases.
11993 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11994 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11995 * international/iso-ascii.el (iso-ascii-mode):
11996 * frame.el (auto-raise-mode, auto-lower-mode):
11997 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11999 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
12001 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
12002 in order to see error messages for failed logins.
12004 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
12006 * diff.el (diff-sentinel):
12008 * epg.el (epg--make-temp-file, epg-decrypt-string)
12009 (epg-verify-string, epg-sign-string, epg-encrypt-string):
12011 * jka-compr.el (jka-compr-partial-uncompress)
12012 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
12014 * server.el (server-sentinel): Use delete-file's new FORCE arg
12017 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12019 Use define-minor-mode where applicable.
12020 * view.el (view-mode):
12021 * type-break.el (type-break-query-mode)
12022 (type-break-mode-line-message-mode):
12023 * textmodes/reftex.el (reftex-mode):
12024 * term/vt100.el (vt100-wide-mode):
12025 * tar-mode.el (tar-subfile-mode):
12026 * savehist.el (savehist-mode):
12027 * ibuf-ext.el (ibuffer-auto-mode):
12028 * composite.el (auto-composition-mode):
12029 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12030 Use define-minor-mode.
12031 (vhdl-mode): Use static mode-line format.
12032 (vhdl-mode-line-update): Delete.
12033 (vhdl-create-mode-menu, vhdl-activate-customizations)
12034 (vhdl-hs-minor-mode): Don't bother calling it.
12036 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12038 * simple.el (with-wrapper-hook): Move.
12039 (buffer-substring-filters): Mark obsolete.
12040 (filter-buffer-substring-functions): New variable.
12041 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12043 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12044 Michael Albinus <michael.albinus@gmx.de>
12046 Implement compression for inline methods.
12048 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12049 (tramp-copy-size-limit): Allow also nil.
12050 (tramp-inline-compress-commands): New defconst.
12051 (tramp-find-inline-compress, tramp-get-inline-compress)
12052 (tramp-get-inline-coding): New defuns.
12053 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12054 replaced by `tramp-get-inline-coding'.
12055 (tramp-handle-file-local-copy, tramp-handle-write-region)
12056 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12058 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12060 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12061 Remove unused functions.
12063 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12064 Set find-tag-default-function as a variable rather than a property.
12066 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12067 * progmodes/etags.el (tags-completion-at-point-function):
12068 Remove left over interactive spec. Add autoloading stub.
12069 (complete-tag): Use tags-completion-at-point-function.
12071 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12073 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12075 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12077 * ido.el (ido-init-completion-maps): Remove C-v binding.
12078 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12080 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12082 * minibuffer.el (tags-completion-at-point-function): New function.
12083 (completion-at-point-functions): Use it.
12085 * progmodes/etags.el (complete-tag): Revert last change.
12087 2010-04-29 Alan Mackenzie <acm@muc.de>
12089 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12090 off-by-one error (in end of macro position).
12092 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12095 firefox is absent. Don't autoload.
12096 (browse-url-galeon-program): Don't autoload.
12098 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12100 * bindings.el (complete-symbol): Move into minibuffer.el.
12102 * minibuffer.el (complete-tag): Move from etags.el. If tags
12103 completion cannot be performed, return nil instead of signalling
12105 (completion-at-point): Make it an alias for complete-symbol.
12106 (complete-symbol): Move from bindings.el, and replace with the
12107 body of completion-at-point.
12109 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12111 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12113 * net/tramp.el (tramp-remote-selinux-p): New defun.
12114 (tramp-handle-file-selinux-context)
12115 (tramp-handle-set-file-selinux-context): Use it.
12117 2010-04-28 Sam Steingold <sds@gnu.org>
12119 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12120 `safe-local-variable' if the value is a string or a symbol with
12121 the property `bug-reference-url-format'.
12123 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12125 * progmodes/bug-reference.el (bug-reference-url-format):
12126 Revert 2010-04-27 change due to security risk.
12128 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12130 Make it possible to locally disable a globally enabled mode.
12131 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12132 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12133 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12134 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12135 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12136 that subsequent hooks get a chance to disable it.
12138 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12141 Avoid re-enabling a minor mode after the user turned the minor mode
12142 off if MODE-enable-in-buffers is run twice (typically once from
12143 fundamental-mode's after-change-major-mode-hook and a second time from
12144 run-mode-hook's own after-change-major-mode-hook).
12146 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12148 2010-04-27 Sam Steingold <sds@gnu.org>
12150 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12151 `safe-local-variable' if the value is a string or a function, as
12152 documented and implemented on 2010-04-02.
12154 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12156 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12157 when method is 'kill.
12159 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12161 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12162 condition in default directory check.
12163 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12164 Kill ispell process when killing its associated buffer.
12166 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12168 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12169 but we aren't using it.
12171 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12173 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12174 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12176 2010-04-24 Glenn Morris <rgm@gnu.org>
12178 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12179 Ignore VCS-ignore files, and deleted nextstep preferences files.
12180 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12181 (authors-ambiguous-files): New list.
12182 (authors-valid-file-names): Add some deleted files.
12183 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12184 (authors-disambiguate-file-name): New function. (Bug#5501)
12185 (authors-canonical-file-name): Doc fix.
12186 Don't warn about obsolete files.
12187 (authors-canonical-file-name, authors-scan-el):
12188 Use authors-disambiguate-file-name.
12190 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12191 Add autoload cookies.
12192 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12193 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12194 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12195 They have definitions / compiler macros in cl.el.
12196 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12197 Replace manual autoloads with generated ones.
12198 (htmlfontify-unload-rgb-file): Remove autoload.
12199 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12201 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12203 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12204 (byte-compile-setq-default): Optimize for the
12205 single-var case and don't call byte-compile-form in this case to avoid
12206 inf-loop with byte-compile-set-default.
12208 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12210 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12212 Implement SELINUX backends.
12214 * net/tramp.el (tramp-file-name-handler-alist):
12215 Add `file-selinux-context' and `set-file-selinux-context'.
12216 (tramp-handle-file-selinux-context)
12217 (tramp-handle-set-file-selinux-context): New defuns.
12218 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12219 Handle PRESERVE-SELINUX-CONTEXT.
12221 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12222 Add `file-selinux-context' and `set-file-selinux-context'.
12223 (tramp-gvfs-handle-file-selinux-context)
12224 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12225 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12227 * net/ange-ftp.el (ange-ftp-copy-file):
12228 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12229 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12230 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12231 Add PRESERVE-SELINUX-CONTEXT.
12233 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12235 Synchronize with Tramp repository.
12237 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12238 (tramp-action-process-alive, tramp-action-out-of-band)
12239 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12240 (tramp-exists-file-name-handler): Fix docstring.
12241 (with-progress-reporter): New defmacro.
12242 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12243 (tramp-maybe-open-connection): Use it.
12245 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12247 Detect ssh 'ControlMaster' argument automatically in some cases.
12249 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12250 (tramp-default-method): Use it.
12252 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12254 * net/tramp.el (tramp-handle-copy-file): Add new optional
12255 parameter `preserve-selinux-context'.
12256 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12258 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12260 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12261 Ensure, that non remote files are still checked. Oops.
12263 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12267 * icomplete.el (icomplete-completions): Use `non-essential'.
12269 * net/tramp.el (tramp-connectable-p): New defun.
12270 (tramp-handle-expand-file-name)
12271 (tramp-completion-handle-file-name-all-completions)
12272 (tramp-completion-handle-file-name-completion): Use it.
12274 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12276 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12278 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12280 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12282 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12284 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12287 * info.el (info-tool-bar-map): Add labels.
12289 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12291 * cus-edit.el (custom-commands): Add labels for tool bar.
12292 (custom-buffer-create-internal, Custom-mode): Adjust for
12293 labels in custom-commands.
12295 * dynamic-setting.el: Renamed from font-setting.el.
12297 2010-04-21 John Wiegley <jwiegley@gmail.com>
12299 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12300 toggles the use of virtual buffers.
12301 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12302 (ido-toggle-virtual-buffers): New function.
12304 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12306 Use `define-derived-mode'; fix window selection; doc fixes.
12307 * play/tetris.el (tetris, tetris-update-speed-function)
12308 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12309 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12310 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12311 (tetris-pause-game): Fix typos in docstrings.
12312 (tetris-mode-map, tetris-null-map):
12313 Move initialization into declaration.
12314 (tetris-mode): Define with `define-derived-mode';
12315 set show-trailing-whitespace to nil.
12316 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12318 2010-04-21 Karel Klíč <kklic@redhat.com>
12320 * files.el (backup-buffer): Handle SELinux context, and return it
12321 if a backup was made by renaming.
12322 (backup-buffer-copy): Set SELinux context to the target file.
12323 (basic-save-buffer): Set SELinux context of the newly written file.
12324 (basic-save-buffer-1): Now it also returns any SELinux context.
12325 (basic-save-buffer-2): Set SELinux context of the newly created file,
12327 * net/tramp.el (tramp-file-name-for-operation):
12328 Add file-selinux-context.
12330 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12332 Make the log-edit comments use RFC822 format throughout.
12334 * vc.el (vc-checkin, vc-modify-change-comment):
12335 Adjust to new vc-start/finish-logentry.
12336 (vc-find-conflicted-file): New command.
12337 (vc-transfer-file): Adjust to new vc-checkin.
12338 (vc-next-action): Improve scoping.
12340 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12341 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12343 * vc-git.el (vc-git-log-edit-mode): Remove.
12344 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12345 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12347 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12348 (vc-start-logentry): Remove argument `extra'.
12349 (vc-finish-logentry): Remove extra args.
12351 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12352 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12353 (vc-bzr-conflicted-files): New function.
12355 * log-edit.el (log-edit-extra-flags)
12356 (log-edit-before-checkin-process): Remove.
12357 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12358 (log-edit-headers-alist): New var.
12359 (log-edit-header-contents-regexp): New const.
12360 (log-edit-match-to-eoh): New function.
12361 (log-edit-font-lock-keywords): Use them.
12362 (log-edit): Insert a "Summary:" header as default.
12363 (log-edit-mode): Mark font-lock rules as case-insensitive.
12364 (log-edit-done): Cleanup headers.
12365 (log-view-process-buffer): Remove.
12366 (log-edit-extract-headers): New function to replace it.
12368 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12370 * subr.el (default-direction-reversed): Remove obsolescence info.
12372 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12374 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12377 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12378 I.e. include text after point in the completion region.
12379 Also, return nil when we're not after/in a symbol.
12381 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12382 default enable-multibyte-characters.
12384 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12386 * international/mule.el: Help the user choose a valid coding-system.
12387 (read-buffer-file-coding-system): New function.
12388 (set-buffer-file-coding-system): Use it. Prompt the user if the
12389 coding-system cannot encode all the chars.
12391 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12392 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12393 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12394 Don't use *vc-bzr-shelve*.
12396 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12398 Fix the version number for added files.
12399 * vc-hg.el (vc-hg-working-revision): Check if the file is
12400 registered after hg parent fails (Bug#5961).
12402 2010-04-19 Glenn Morris <rgm@gnu.org>
12404 * htmlfontify.el (htmlfontify-buffer)
12405 (htmlfontify-copy-and-link-dir): Autoload entry points.
12407 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12409 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12410 name relative to the project root (Bug#5960).
12412 2010-04-19 Glenn Morris <rgm@gnu.org>
12414 * vc-git.el (vc-git-print-log): Doc fix.
12416 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12418 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12420 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12422 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12423 default settings (Bug#5928).
12425 2010-04-19 Glenn Morris <rgm@gnu.org>
12427 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12429 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12431 2010-04-19 Kenichi Handa <handa@m17n.org>
12433 * language/indian.el (malayalam-composable-pattern): Fix previous
12434 change (add U+0D4D "SIGN VIRAMA").
12435 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12436 (tamil-composable-pattern): Fix typo in the regexp.
12437 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12438 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12439 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12441 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12443 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12444 paragraph-separate (Bug#5821).
12446 2010-04-19 Juri Linkov <juri@jurta.org>
12448 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12450 * info.el (Info-find-node-2): Comment out code that skips
12452 (Info-mouse-follow-link): New command.
12453 (Info-link-keymap): New keymap.
12454 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12455 Return a string with links instead of inserting breadcrumbs
12456 to the Info buffer.
12457 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12458 Instead of putting the `invisible' text property over the Info
12459 header, make an overlay over the Info header with the `invisible'
12460 property and `after-string' set to the string returned by
12461 `Info-breadcrumbs'.
12463 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12465 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12466 Reported by monkey@sandpframing.com.
12468 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12470 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12471 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12472 available in the "keyseq cache" any more.
12474 * custom.el (defcustom): Add edebug spec.
12476 2010-04-18 Juri Linkov <juri@jurta.org>
12478 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12480 * view.el (view-file, view-buffer): Move test for special mode-class
12481 from view-file to view-buffer.
12483 * tar-mode.el (tar-extract): Turn if's into one cond
12484 like in arc-mode.el.
12486 2010-04-18 Juri Linkov <juri@jurta.org>
12488 Add 7z archive format support (bug#5475).
12490 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12491 (archive-7z-extract): New defcustom.
12492 (archive-find-type): Add magic string for 7z.
12493 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12494 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12495 `buffer' arg of `call-process'.
12496 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12497 call the function `archive-7z-extract' with the variable
12498 `archive-7z-extract' let-bound to `archive-zip-extract'.
12499 (archive-7z-summarize, archive-7z-extract): New functions.
12501 * international/mule.el (auto-coding-alist):
12502 * files.el (auto-mode-alist): Add 7z file extension.
12504 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * loadup.el: Setup hash-cons for pure data.
12508 Fix duplicate entries in cedet's loaddefs.el files.
12509 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12510 Should make most file-local generated-autoload-file unnecessary.
12511 (print-readably): Silence warnings.
12512 (autoload-find-destination): Take load-name as an arg to make sure
12513 it's the same as the one that will be in the file.
12514 (autoload-generate-file-autoloads): Adjust to above changes.
12515 Try to make the dataflow a bit simpler.
12517 * cvs-status.el (cvs-refontify): Remove unused.
12519 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12521 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12523 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12524 twos-complement mode.
12526 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12528 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12529 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12530 (calc-inverse): Add "Option" to message, as appropriate.
12531 (calc-hyperbolic): Add "Option" to message, as appropriate.
12532 (calc-option, calc-is-option): New functions.
12534 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12535 (calc-option-prefix-help): New function.
12537 * calc/calc-misc.el (calc-help): Add "Option" entry.
12539 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12540 (calc-option-flag): New variable.
12541 (calc-do): Set `calc-option-flag to nil.
12542 (calc-set-mode-line): Add "Opt " as appropriate.
12544 2010-04-16 Juri Linkov <juri@jurta.org>
12546 Move scrolling commands from simple.el to window.el
12547 because their primitives are implemented in window.c.
12549 * simple.el (scroll-error-top-bottom)
12550 (scroll-up-command, scroll-down-command, scroll-up-line)
12551 (scroll-down-line, scroll-other-window-down)
12552 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12553 * window.el (scroll-error-top-bottom)
12554 (scroll-up-command, scroll-down-command, scroll-up-line)
12555 (scroll-down-line, scroll-other-window-down)
12556 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12557 Move from simple.el to window.el because their primitives are
12558 implemented in window.c.
12560 2010-04-16 Juri Linkov <juri@jurta.org>
12562 * isearch.el (isearch-lookup-scroll-key): Check both
12563 `isearch-scroll' and `scroll-command' properties.
12564 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12566 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12568 * simple.el (scroll-up-command, scroll-down-command)
12569 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12571 2010-04-15 Juri Linkov <juri@jurta.org>
12573 * simple.el (scroll-up-command, scroll-down-command)
12574 (scroll-up-line, scroll-down-line): Put `scroll-command'
12575 property on the these symbols. Remove them from
12576 `scroll-preserve-screen-position-commands'.
12578 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12579 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12580 Remove it from `scroll-preserve-screen-position-commands'.
12582 * isearch.el (isearch-allow-scroll): Doc fix.
12584 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12586 * net/tramp.el (tramp-error-with-buffer): Don't show the
12587 connection buffer when we are in completion mode.
12588 (tramp-file-name-handler): Catch the error for some operations
12589 when we are in completion mode. This gives the user the chance to
12590 correct the file name in the minibuffer.
12592 2010-04-15 Glenn Morris <rgm@gnu.org>
12594 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12596 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12598 Simplify by using `define-derived-mode'.
12599 * info.el (Info-mode):
12600 * calendar/todo-mode.el (todo-mode):
12601 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12602 (gomoku-mode-map): Move initialization into declaration.
12604 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12607 * ido.el (ido-file-name-all-completions-1):
12608 * minibuffer.el (minibuffer-completion-help):
12609 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12611 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12613 * simple.el (non-essential): New var.
12615 Add a new field `location' to bookmarks for non-file bookmarks.
12616 * bookmark.el (bookmark-location): Use the new field, if present.
12617 (bookmark-insert-location): Undo last change, not needed any more.
12618 * man.el (Man-bookmark-make-record):
12619 * woman.el (woman-bookmark-make-record): Add `location' field.
12621 2010-04-14 Juri Linkov <juri@jurta.org>
12623 * simple.el (scroll-error-top-bottom): New defcustom.
12624 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12626 * emulation/pc-select.el (pc-select-override-scroll-error):
12627 Obsolete in favor of `scroll-error-top-bottom'.
12629 2010-04-14 Juri Linkov <juri@jurta.org>
12631 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12632 `scroll-up-command' and `M-v' to `scroll-down-command'.
12634 * emulation/cua-rect.el (cua--init-rectangles):
12635 * forms.el (forms--change-commands):
12636 * image-mode.el (image-mode-map):
12637 Remap scroll-down-command and scroll-up-command
12638 in addition to scroll-down and scroll-up.
12640 2010-04-14 Juri Linkov <juri@jurta.org>
12642 * mwheel.el (scroll-preserve-screen-position-commands):
12643 Add mwheel-scroll to this list of commands.
12645 * simple.el (scroll-preserve-screen-position-commands):
12646 Add scroll-up-command, scroll-down-command, scroll-up-line,
12647 scroll-down-line to this list of commands.
12649 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12651 * obsolete/complete.el: Move from lisp/complete.el.
12653 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12655 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12656 to the minor mode function now turns the mode ON unconditionally.
12658 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12660 * vc-dir.el (vc-dir-kill-line): New command.
12661 (vc-dir-mode-map): Bind it to C-k.
12663 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12665 * woman.el: Add bookmark declarations to silence the compiler.
12666 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12667 step to compatibility between man and woman bookmarks.
12668 Adjust for Man-default-bookmark-title renaming.
12669 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12671 * man.el: Add bookmark declarations to silence the compiler.
12672 (Man-name-local-regexp): Make it match NAME as well.
12673 (Man-getpage-in-background): Return the buffer.
12674 (Man-notify-when-ready): Use `case'.
12675 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12676 Don't hardcode "NAME". Simplify.
12677 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12678 Rename from Man-bookmark-make-record.
12679 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12680 we have the actual man-args. Use Man-getpage-in-background rather
12681 than `man' since the arg is already processed. Let bookmark.el do the
12682 window handling. Only wait for the relevant process.
12683 Don't forget to autoload.
12685 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12687 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12689 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12691 (woman-mode): Setup bookmark support.
12693 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12694 (man-bookmark-jump): New functions.
12695 (Man-mode): Setup bookmark support.
12697 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12699 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12700 recognize ssh-keygen prompt (Bug#2817).
12702 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12704 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12706 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12708 Synchronize with Tramp repository.
12710 * net/tramp.el (tramp-completion-function-alist)
12711 (tramp-file-name-regexp, tramp-chunksize)
12712 (tramp-local-coding-commands, tramp-remote-coding-commands):
12714 (tramp-remote-process-environment): Use `format' instead of `concat'.
12715 (tramp-handle-directory-files-and-attributes)
12716 (tramp-get-remote-path): Use `copy-tree'.
12717 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12718 compatibility: Use `completion-ignore-case' if
12719 `read-file-name-completion-ignore-case' does not exist.
12720 (tramp-do-copy-or-rename-file-directly): Do not use
12721 `tramp-handle-file-remote-p'.
12722 (tramp-do-copy-or-rename-file-out-of-band):
12723 Use `tramp-compat-delete-directory'.
12724 (tramp-do-copy-or-rename-file-out-of-band)
12725 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12726 Use `format-spec-make'.
12727 (tramp-find-foreign-file-name-handler)
12728 (tramp-advice-make-auto-save-file-name)
12729 (tramp-set-auto-save-file-modes): Remove superfluous check for
12730 `stringp'. This is done inside `tramp-tramp-file-p'.
12731 (tramp-debug-outline-regexp): New defconst.
12732 (tramp-get-debug-buffer): Use it.
12733 (tramp-check-for-regexp): Use (forward-line 1).
12734 (tramp-set-auto-save-file-modes): Adapt version check.
12736 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12737 Wrap call of `featurep' for 2nd argument.
12738 (tramp-compat-make-temp-file): Simplify fallback implementation.
12739 (tramp-compat-copy-tree): Remove function.
12740 (tramp-compat-delete-directory): Provide implementation for older
12743 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12744 Do not use `tramp-fish-handle-file-attributes.
12746 * net/trampver.el: Update release number.
12748 2010-04-10 Glenn Morris <rgm@gnu.org>
12750 * progmodes/compile.el (compilation-save-buffers-predicate):
12751 Add missing :version tag.
12753 2010-04-09 Sam Steingold <sds@gnu.org>
12755 * progmodes/compile.el (compilation-save-buffers-predicate):
12756 Remove the "autoload" cookie.
12758 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12759 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12760 and `bug-reference-prog-mode' can be used in hooks directly.
12762 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12764 Add --author support to git commit.
12765 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12766 (vc-git-log-edit-mode): New minor mode.
12767 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12770 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12772 * vc-hooks.el, vc-git.el: Improve documentation comments.
12774 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12776 Fix some of the problems in defsubst* (bug#5728).
12777 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12778 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12780 2010-04-07 Sam Steingold <sds@gnu.org>
12782 * progmodes/compile.el (compilation-save-buffers-predicate):
12783 New custom variable.
12784 (compile, recompile): Pass it to `save-some-buffers'.
12786 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12788 * wid-edit.el (widget-choose): Move cursor to the second line of
12789 the buffer (Bug#5695).
12791 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12793 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12794 * vc.el (vc-print-log-setup-buttons): New function split out from
12795 vc-print-log-internal.
12796 (vc-log-internal-common): New function, a parametrized version of
12797 vc-print-log-internal.
12798 (vc-print-log-internal): Just call vc-log-internal-common with the
12800 (vc-incoming-outgoing-internal):
12801 (vc-log-incoming, vc-log-outgoing): New functions.
12802 (vc-log-view-type): New permanent local variable.
12804 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12806 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12807 of the dynamic bound vc-short-log.
12808 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12810 * vc-git.el (vc-git-log-outgoing): New function.
12811 (vc-git-log-view-mode): Use vc-log-view-type instead
12812 of the dynamic bound vc-short-log.
12814 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12815 of the dynamic bound vc-short-log. Highlight the tag.
12816 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12817 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12818 (vc-hg-incoming-mode): Remove.
12819 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12821 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12823 Fix default-directory for vc-root-diff.
12824 * vc.el (vc-root-diff): Bind default-directory to the root
12825 directory for the diff command.
12827 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12829 * progmodes/verilog-mode.el (verilog-forward-sexp):
12830 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12831 word keywords, suggested by Steve Pearlmutter.
12832 (verilog-pretty-declarations): Support lineup of declarations in
12834 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12835 fix bug for /* / comments.
12836 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12837 Speed up and simplfy as this is never called with a bound.
12838 (verilog-pretty-declarations): Enhance to line up declarations
12839 inside a parameter list, suggested by Alan Morgan.
12840 (verilog-pretty-expr): Tune assignment regular expression match
12841 string for corner cases; also use markers instead of character
12842 number as indent changes the later.
12844 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12846 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12847 as missing keyword.
12848 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12849 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12850 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12851 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12853 (verilog-keywords):
12854 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12855 1800-2009 keywords, including "global.".
12857 2010-04-06 John Wiegley <jwiegley@gmail.com>
12859 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12860 appearing in buffer list (if a live buffer name matched a recentf
12861 file basename). Should use uniquify to offer a real solution.
12863 2010-04-06 John Wiegley <jwiegley@gmail.com>
12865 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12866 comment to code, and add a :version tag.
12867 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12869 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12871 Enable recentf-mode if using virtual buffers.
12872 * ido.el (recentf-list): Declare for byte-compiler.
12873 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12874 (ido-make-buffer-list): Simplify.
12875 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12877 2010-04-05 Juri Linkov <juri@jurta.org>
12879 Scrolling commands which scroll a line instead of full screen.
12880 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12882 * simple.el (scroll-up-line, scroll-down-line): New commands.
12883 Put property isearch-scroll=t on them.
12885 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12888 2010-04-05 Juri Linkov <juri@jurta.org>
12890 Scrolling commands which do not signal errors at top/bottom.
12891 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12893 * simple.el (scroll-up-command, scroll-down-command): New commands.
12894 Put property isearch-scroll=t on them.
12896 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12897 `scroll-down-command' and [next] from `scroll-up' to
12898 `scroll-up-command'.
12900 * emulation/cua-base.el: Put property CUA=move on
12901 `scroll-up-command' and `scroll-down-command'.
12902 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12903 and `scroll-down-command' to `cua-scroll-down'.
12905 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12907 * help.el (describe-mode): Return nil.
12909 2010-04-04 John Wiegley <jwiegley@gmail.com>
12911 * ido.el (ido-use-virtual-buffers): New variable to indicate
12912 whether "virtual buffer" support is enabled for IDO.
12913 (ido-virtual): Face used to indicate virtual buffers in the list.
12914 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12915 exists, but a virtual buffer of that name does (which would be why
12916 it was in the list), recreate the buffer by reopening the file.
12917 (ido-make-buffer-list): If virtual buffers are being used, call
12918 `ido-add-virtual-buffers-to-list' before the make list hook.
12919 (ido-virtual-buffers): New variable which contains a copy of the
12920 current contents of the `recentf-list', albeit pared down for the
12921 sake of speed, and with proper faces applied.
12922 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12923 create a list of "virtual buffers" to present to the user in
12924 addition to the currently open set. Note that this logic could
12925 get rather slow if that list is too large. With the default
12926 `recentf-max-saved-items' of 200, there is little speed penalty.
12928 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12930 * font-lock.el: Require CL when compiling.
12931 (font-lock-turn-on-thing-lock): Use `case'.
12933 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12935 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12938 2010-04-02 Juri Linkov <juri@jurta.org>
12940 * ehelp.el (electric-help-orig-major-mode):
12941 New buffer-local variable.
12942 (electric-help-mode): Set it to original major-mode. Doc fix.
12943 (with-electric-help): Use `electric-help-orig-major-mode' instead
12944 of (default-value 'major-mode). Doc fix.
12945 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12947 2010-04-02 Sam Steingold <sds@gnu.org>
12949 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12950 `vc-hg-command' with a list of flags.
12952 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12953 Also accept "patch" and "RFE".
12954 (bug-reference-fontify): `bug-reference-url-format' can also be a
12955 function to be able to handle the bug kind.
12956 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12958 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12960 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12961 value to fboundp, it may not be a symbol.
12963 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12965 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12967 2010-03-31 Juri Linkov <juri@jurta.org>
12969 * simple.el (next-line, previous-line): Re-throw a signal
12970 with `signal' instead of using `ding'.
12971 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12973 2010-03-31 Juri Linkov <juri@jurta.org>
12975 * simple.el (keyboard-escape-quit): Raise deselecting the active
12976 region higher than exiting the minibuffer.
12977 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12979 2010-03-31 Juri Linkov <juri@jurta.org>
12981 * image.el (image-animated-p): Use `image-metadata' instead of
12982 `image-extension-data'. Get GIF extenstion data from metadata
12983 property `extension-data'.
12985 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * simple.el (append-to-buffer): Simplify.
12989 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12991 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12992 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12994 2010-03-31 Kenichi Handa <handa@m17n.org>
12996 * language/sinhala.el (composition-function-table): Fix regexp for
12997 the new Unicode specification.
12999 * language/indian.el (devanagari-composable-pattern)
13000 (tamil-composable-pattern, kannada-composable-pattern)
13001 (malayalam-composable-pattern): Adjust for the new Unicode
13003 (bengali-composable-pattern, gurmukhi-composable-pattern)
13004 (gujarati-composable-pattern, oriya-composable-pattern)
13005 (telugu-composable-pattern): New variables to cope with the new
13006 Unicode specification. Use them in composition-function-table.
13008 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13010 Make tmm-menubar work for the Buffers menu again (bug#5726).
13011 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
13012 vectors rather than cons cells, as used in menu-bar-update-buffers.
13014 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13016 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
13017 (js-insert-and-indent): Revert 2009-08-15 change, restoring
13018 electric punctuation for "{}();,:" (Bug#5586).
13020 * mail/sendmail.el (mail-default-directory): Doc fix.
13022 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13024 * mail/sendmail.el (mail-default-directory): Doc fix.
13026 2010-03-31 Eli Zaretskii <eliz@gnu.org>
13028 * subr.el (version-regexp-alist, version-to-list)
13029 (version-list-<, version-list-=, version-list-<=)
13030 (version-list-not-zero, version<, version<=, version=): Doc fix.
13033 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
13035 * vc.el (vc-root-diff): Doc fix.
13037 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13039 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13041 * simple.el (append-to-buffer): Fix last change.
13043 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13045 * simple.el (append-to-buffer): Ensure that point is preserved if
13046 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13049 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13051 * files.el (auto-mode-case-fold): Change default to t.
13053 2010-03-30 Juri Linkov <juri@jurta.org>
13055 * dired-x.el (dired-omit-mode): Doc fix.
13057 2010-03-30 Juri Linkov <juri@jurta.org>
13059 * replace.el (occur-accumulate-lines): Move occur-engine related
13060 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13061 to be located after `occur-engine'.
13063 2010-03-30 Juri Linkov <juri@jurta.org>
13065 Make occur handle multi-line matches cleanly with context.
13066 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13068 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13069 (occur-engine): Add local variables `ret', `prev-after-lines',
13070 `prev-lines'. Use more arguments for `occur-context-lines'.
13071 Set first elem of its returned list to `data', and the second elem
13072 to `prev-after-lines'. Don't print the separator line.
13073 In the end, print remaining context after-lines.
13074 (occur-context-lines): Add new arguments `begpt', `endpt',
13075 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13076 after-lines of the previous match with before-lines of the
13077 current match and not overlap them. Return a list with two
13078 values: the output line and the list of context after-lines.
13080 2010-03-30 Juri Linkov <juri@jurta.org>
13082 * replace.el (occur-accumulate-lines): Fix a bug where the first
13083 context line at the beginning of the buffer was missing.
13085 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13087 * files.el: Make bidi-display-reordering safe variable for boolean
13090 2010-03-29 Phil Hagelberg <phil@evri.com>
13091 Chong Yidong <cyd@stupidchicken.com>
13093 * subr.el: Extend progress reporters to perform "spinning".
13094 (progress-reporter-update, progress-reporter-do-update):
13095 Handle non-numeric value arguments.
13096 (progress-reporter--pulse-characters): New var.
13098 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13100 * progmodes/compile.el (compilation-start): Fix regexp detection
13101 of initial cd command (Bug#5771).
13103 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13105 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13107 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13109 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13110 * progmodes/gdb-mi.el: Restore.
13111 * progmodes/gdb-ui.el: Remove.
13112 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13114 2010-03-25 Glenn Morris <rgm@gnu.org>
13116 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13117 all dired buffers, even tramp ones. (Bug#5755)
13119 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13121 Add "union tags" in mpc.el.
13122 * mpc.el: Remove backward compatibility code.
13123 (mpc-browser-tags): Change default.
13124 (mpc--find-memoize-union-tags): New var.
13125 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13126 (mpc-cmd-find): Handle the case where the playlist does not exist.
13128 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13129 (mpc-cmd-add): Use mpc-cmd-flush.
13130 (mpc-tagbrowser-tag-name): New fun.
13131 (mpc-tagbrowser-buf): Use it.
13132 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13134 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13137 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13138 Use replace-regexp-in-string.
13139 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13140 (makefile-imake-mode-syntax-table): Move init into defvar.
13141 (makefile-mode): Use define-derived-mode.
13143 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13144 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13145 not be present any more.
13147 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13149 * faces.el (set-face-attribute): Fix typo in docstring.
13150 (face-valid-attribute-values): Reflow docstring.
13152 2010-03-24 Glenn Morris <rgm@gnu.org>
13154 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13156 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13158 * indent.el (indent-for-tab-command): Doc fix.
13160 2010-03-24 Alan Mackenzie <acm@muc.de>
13162 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13163 Fix off-by-one error. Fixes bug #5747.
13165 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13167 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13168 (image-dired-read-comment): Doc fix.
13170 * json.el (json-object-type, json-array-type, json-key-type)
13171 (json-false, json-null, json-read-number):
13172 * minibuffer.el (completion-in-region-functions):
13173 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13174 (cal-tex-cursor-week):
13175 * emacs-lisp/trace.el (trace-function):
13176 * eshell/em-basic.el (eshell/printnl):
13177 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13178 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13179 * obsolete/levents.el (allocate-event, event-key, event-object)
13180 (event-point, event-process, event-timestamp, event-to-character)
13181 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13182 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13183 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13184 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13185 (reftex-highlight-selection): Fix typos in docstrings.
13187 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13189 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13191 2010-03-24 Glenn Morris <rgm@gnu.org>
13193 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13194 2008-02-13 without comment; mark it obsolete.
13195 (rmail-highlight-headers): Use rmail-highlight-face once more.
13197 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13199 * woman.el (woman2-process-escapes): Only consume the newline if
13200 the filler character is on a line by itself (Bug#5729).
13202 2010-03-24 Kenichi Handa <handa@m17n.org>
13204 * language/indian.el (devanagari-composable-pattern): Add more
13207 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13209 * net/trampver.el: Update release number.
13211 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13213 * net/tramp.el (tramp-find-executable):
13214 Use `tramp-get-connection-buffer'. Make the regexp for checking
13215 output of "wc -l" more robust.
13216 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13217 (tramp-open-connection-setup-interactive-shell): Remove workaround
13218 for OpenSolaris bug, it is not needed anymore.
13220 2010-03-24 Glenn Morris <rgm@gnu.org>
13222 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13224 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13226 * files.el (auto-mode-alist): Accept more verilog file patterns.
13228 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13230 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13232 2010-03-24 Glenn Morris <rgm@gnu.org>
13234 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13235 log-edit-before-checkin-process.
13237 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13239 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13241 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13242 (log-view-process-buffer, log-edit-extra-flags): Declare.
13244 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13246 2010-03-23 Sam Steingold <sds@gnu.org>
13248 Fix bug#5620: recalculate all markers on compilation buffer
13249 modifications, not on file modifications.
13250 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13251 variable: the buffer modification time, for buffers not associated with
13253 (compilation-mode): Create it.
13254 (compilation-filter): Update it.
13255 (compilation-next-error-function): Use it instead of
13256 `visited-file-modtime' for timestamp.
13258 2010-03-23 Juri Linkov <juri@jurta.org>
13260 Implement Occur multi-line matches.
13261 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13263 * replace.el (occur): Doc fix.
13264 (occur-engine): Set `begpt' to the beginning of the first line.
13265 Set `endpt' to the end of the last match line. At first, count
13266 line numbers between `origpt' and `begpt'. Split out code from
13267 `out-line' variable to new let-bindings `match-prefix' and
13268 `match-str'. In `out-line' add non-numeric prefix to all
13269 non-first lines of multi-line matches. Finally, count lines
13270 between `begpt' and `endpt' and add to `lines'.
13272 2010-03-23 Juri Linkov <juri@jurta.org>
13274 * replace.el (occur-accumulate-lines, occur-engine):
13275 Use `occur-engine-line' instead of duplicate code.
13276 (occur-engine-line): New function created from duplicate code
13277 in `occur-accumulate-lines' and `occur-engine'.
13279 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13280 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13282 2010-03-23 Juri Linkov <juri@jurta.org>
13284 * finder.el: Remove TODO tasks.
13286 * info.el (Info-finder-find-node): Add node "all"
13287 with all package info. Handle a list of multiple keywords
13288 separated by comma.
13289 (info-finder): In interactive use with a prefix argument,
13290 use `completing-read-multiple' to read a list of keywords
13291 separated by comma.
13293 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13295 Add a new completion style `substring'.
13296 * minibuffer.el (completion-basic--pattern): New function.
13297 (completion-basic-try-completion, completion-basic-all-completions):
13299 (completion-substring--all-completions)
13300 (completion-substring-try-completion)
13301 (completion-substring-all-completions): New functions.
13302 (completion-styles-alist): New style `substring'.
13304 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13306 Get rid of .elc files after removal of the corresponding .el.
13307 * Makefile.in (compile-clean): New target.
13308 (compile-main): Use it.
13310 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13312 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13313 don't do make there. When compiling with separate object dir, there
13314 is no Makefile there.
13316 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13318 Get rid of the ELCFILES abomination, again.
13319 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13320 (all, compile): Don't call compile-last.
13321 (compile-main): Build the "elcfiles" list dynamically.
13322 (compile-targets): New (internal) target.
13324 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13326 * Makefile.in (top_srcdir): Define.
13327 (abs_top_builddir): Define.
13328 (srcdir): Don't append `/..'.
13329 (EMACS): Use ${abs_top_builddir}.
13330 (all, compile, compile-always, compile-last): Don't set emacswd.
13331 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13333 (lisp): Use $(srcdir) instead of @srcdir@.
13335 2010-03-21 Juri Linkov <juri@jurta.org>
13337 Fix message of multi-line occur regexps and multi-buffer header lines.
13338 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13340 * replace.el (occur-1): Don't display regexp if it is longer
13341 than window-width. Use `query-replace-descr' to display regexp.
13342 (occur-engine): Don't display regexp in the buffer header for
13343 multi-buffer occur. Display a separate header line with total
13344 match count and regexp for multi-buffer occur.
13345 Use `query-replace-descr' to display regexp.
13347 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13349 * net/secrets.el: Fix parenthesis.
13350 (secrets-enabled): Fix parenthesis.
13352 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13354 Use more relative file and directory names.
13355 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13356 (setwins, setwins_almost, setwins_for_subdirs):
13357 Don't `cd'; output relative names.
13358 (all, compile, compile-always, compile-last): Set emacswd.
13359 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13360 Just cd to the lisp source dir so we can use relative file names.
13362 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13364 2010-03-20 Glenn Morris <rgm@gnu.org>
13366 * textmodes/rst.el: Use faces for font-lock customization, and make the
13367 old -face variables obsolete.
13368 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13369 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13370 (rst-block-face, rst-external-face, rst-definition-face)
13371 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13372 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13374 (rst-font-lock-keywords-function): Update for above changes.
13376 2010-03-20 Juri Linkov <juri@jurta.org>
13379 * obsolete/s-region.el: Move to obsolete.
13381 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13383 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13385 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13387 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13389 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13391 Add special markup processing for commit logs.
13392 * log-edit.el (log-edit-extra-flags): New variable.
13393 (log-edit): Add new argument MODE. Use that mode when non-nil
13394 instead of the log-view-mode.
13395 (log-view-process-buffer): New function.
13397 * vc.el: Document that the checkin method takes optional
13398 arguments. Document new backend specific method: log-view-mode.
13399 (vc-default-log-edit-mode): New function.
13400 (vc-checkin): Use a backend specific log-view-mode.
13401 Pass extra arguments to the checkin method.
13402 (vc-modify-change-comment): Pass a dummy extra argument.
13404 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13406 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13407 (vc-finish-logentry): Process the log buffer before passing it
13408 down. Pass log-edit-extra-flags.
13410 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13412 (log-edit-extra-flags, log-edit-before-checkin-process):
13415 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13417 (log-edit-extra-flags, log-edit-before-checkin-process):
13419 (vc-hg-log-edit-mode): New derived mode.
13421 * vc-arch.el (vc-arch-checkin):
13422 * vc-cvs.el (vc-cvs-checkin):
13423 * vc-git.el (vc-git-checkin):
13424 * vc-mtn.el (vc-mtn-checkin):
13425 * vc-rcs.el (vc-rcs-checkin):
13426 * vc-sccs.el (vc-sccs-checkin):
13427 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13429 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13431 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13434 2010-03-19 Glenn Morris <rgm@gnu.org>
13436 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13438 2010-03-18 Glenn Morris <rgm@gnu.org>
13440 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13442 * replace.el (query-replace-history): Give it a doc string.
13443 (map-query-replace-regexp): Use query-replace-from-history-variable
13444 and query-replace-to-history-variable.
13446 * mail/hashcash.el (declare-function): Remove duplicate definition.
13448 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13449 Make it an obsolete alias for report-emacs-bug-address.
13450 (message-strip-special-text-properties): Declare.
13451 (report-emacs-bug): Remove test for a pretest bug address.
13452 Combine message-mode-specific code.
13454 * mail/supercite.el: Don't require sendmail.
13455 (mh-in-header-p): Declare rather than using with-no-warnings.
13456 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13457 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13459 * calendar/cal-french.el: Convert to utf-8.
13461 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13464 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13466 * net/secrets.el (secrets-enabled): New variable. Use it instead
13469 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13471 * net/secrets.el (top): Register the D-Bus signals only when the
13472 service "org.freedesktop.secrets" can be pinged.
13473 Provide subfeature `enabled'.
13475 2010-03-14 Juri Linkov <juri@jurta.org>
13477 Add finder unknown keywords.
13479 * finder.el (finder-unknown-keywords): New function.
13481 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13482 to create a Finder node with unknown keywords.
13484 2010-03-14 Juri Linkov <juri@jurta.org>
13486 * finder.el (finder-compile-keywords): Replace `princ' with
13487 `prin1' on a list of symbols interned from keyword strings.
13489 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13490 a comma, then split keywords using a comma and optional whitespace.
13491 Otherwise, split by whitespace.
13499 * progmodes/mixal-mode.el: Fix keywords.
13501 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13503 * Makefile.in (ELCFILES): Add net/secrets.elc.
13505 * net/secrets.el: New file.
13507 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13509 * facemenu.el (list-colors-display, list-colors-print): New arg
13510 callback. Use it to allow selecting colors.
13512 * wid-edit.el (widget-image-insert): Insert image prop even if the
13513 current display is non-graphic.
13514 (widget-field-value-set): New fun.
13515 (editable-field): Use it.
13516 (widget-field-value-get): Clean up unused var.
13517 (widget-color-value-create, widget-color--choose-action):
13518 New funs. Allow using list-colors-display to choose color.
13520 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13522 * cus-edit.el: Resort topmost custom groups.
13523 (custom-buffer-sort-alphabetically): Default to t.
13524 (customize-apropos): Use apropos-parse-pattern.
13525 (custom-search-field): New var.
13526 (custom-buffer-create-internal): Add custom-apropos search field.
13527 (custom-add-parent-links): Don't display parent doc.
13528 (custom-group-value-create): Don't sort top-level custom group.
13529 (custom-magic-value-create): Show visibility button before option name.
13531 (custom-variable-state): New fun, from custom-variable-state-set.
13532 (custom-variable-state-set): Use it.
13533 (custom-group-value-create): Hide options with standard values
13534 using the :hidden-states property. Use progress reporter.
13536 (custom-show): Simplify.
13537 (custom-visibility): Disable images by default.
13538 (custom-variable): New property :hidden-states.
13539 (custom-variable-value-create): Enable images for
13540 custom-visibility widgets. Use :hidden-states property to
13541 determine initial visibility.
13543 * wid-edit.el (widget-image-find): Give images center ascent.
13544 (visibility): Add :on-image and :off-image properties.
13545 (widget-visibility-value-create): Use them.
13547 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13549 * cus-edit.el (processes): Remove from development group.
13550 (oop, hypermedia): Delete group.
13551 (comm): Promote to top-level group.
13553 * net/browse-url.el (browse-url):
13554 * net/xesam.el (xesam):
13555 * net/tramp.el (tramp):
13556 * net/goto-addr.el (goto-address):
13557 * net/ange-ftp.el (ange-ftp): Put in comm group.
13559 * view.el (view): Remove from editing group.
13561 * uniquify.el (uniquify): Put in files group.
13563 * net/browse-url.el (browse-url):
13564 * ps-print.el (postscript): Put in external group.
13566 * cus-edit.el (outlines):
13567 * textmodes/text-mode.el (text-mode-hook):
13568 * textmodes/table.el (table):
13569 * textmodes/picture.el (picture):
13570 * outline.el (outlines): Put in wp group.
13572 * nxml/nxml-mode.el (nxml): Remove from wp group.
13574 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13576 * mail/metamail.el (metamail): Remove from hypermedia group.
13578 * cus-edit.el (abbrev):
13579 * whitespace.el (whitespace):
13580 * vcursor.el (vcursor):
13581 * reveal.el (reveal):
13582 * hl-line.el (hl-line): Put in convenience group.
13584 * epg-config.el (epg): Put in data group.
13586 * emulation/pc-select.el (pc-select): Put in emulations group.
13588 * calculator.el (calculator): Put in applications group.
13590 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13592 Add .dir-locals.el support for file-less buffers.
13593 * files.el (hack-local-variables): Split out code to apply local
13594 variable settings ...
13595 (hack-local-variables-apply): ... here. New function.
13596 (hack-dir-local-variables): Use the default directory for when the
13597 buffer does not have an associated file.
13598 (hack-dir-local-variables-non-file-buffer): New function.
13599 * diff-mode.el (diff-mode):
13600 * vc-annotate.el (vc-annotate-mode):
13601 * vc-dir.el (vc-dir-mode):
13602 * log-edit.el (log-edit-mode):
13603 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13605 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13607 Add support for shelving snapshots and for showing shelves.
13608 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13609 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13611 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13612 (vc-bzr-extra-menu-map): Map them.
13614 2010-03-11 Glenn Morris <rgm@gnu.org>
13616 * cus-edit.el (customize-changed-options-previous-release):
13619 * image.el (image-animate-max-time): Fix :version tag.
13621 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13625 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * vc-git.el (vc-git-revision-table): Include remote branches.
13629 2010-03-10 Kim F. Storm <storm@cua.dk>
13631 Animated image API.
13632 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13634 * image.el (image-animate-max-time): New defcustom.
13635 (image-animated-types): New defconst.
13636 (create-animated-image, image-animate-timer)
13637 (image-animate-start, image-animate-stop, image-animate-timeout)
13638 (image-animated-p): New functions.
13640 * image-mode.el (image-toggle-display-image):
13641 Replace `create-image' with `create-animated-image'.
13643 2010-03-09 Miles Bader <miles@gnu.org>
13645 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13646 instead of "format:"; this ensures that the output is
13647 newline-terminated.
13649 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13651 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13652 that all errors are caught, and that the return value is always a
13655 2010-03-08 Kenichi Handa <handa@m17n.org>
13657 * language/misc-lang.el (windows-1256): New coding system.
13658 (cp1256): New alias of windows-1256 (bug#5690).
13660 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13662 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13663 call to rfc822-bad-address. (Bug#5692)
13665 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13667 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13668 Use vc-git-root as default directory for revision path (Bug#5657).
13670 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13672 * calculator.el (calculator): Don't bind split-window-keep-point
13675 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13677 * vc-git.el: Re-flow to fit into 80 columns.
13678 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13679 Remove spurious `quote' element in each case alternative.
13680 (vc-git-show-log-entry): Use prog1.
13681 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13683 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13685 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13687 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13689 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13690 definition, not the name (Bug#5481).
13692 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13694 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13695 argument with a local variable. (Bug#5670)
13697 2010-03-02 Juri Linkov <juri@jurta.org>
13699 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13701 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13703 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13704 error when FILENAME and NEWNAME are existing remote directories.
13706 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13707 parameter DIR-FLAG.
13709 2010-03-02 Glenn Morris <rgm@gnu.org>
13711 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13712 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13714 2010-03-01 Kenichi Handa <handa@m17n.org>
13716 * language/burmese.el (burmese-composable-pattern): Rename from
13717 myanmar-composable-pattern.
13719 * international/characters.el (script-list):
13720 * international/fontset.el (script-representative-chars):
13721 Change myanmar to burmese.
13722 (otf-script-alist): Likewise.
13723 (setup-default-fontset): Likewise. Re-fix :otf spec.
13725 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13727 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13729 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13731 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13733 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13735 * net/tramp.el (tramp-handle-write-region): START can be a string.
13736 Take care in the checks. Reported by Dan Davison
13737 <davison@stats.ox.ac.uk>.
13739 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13741 * net/dbus.el (dbus-introspect, dbus-get-property)
13742 (dbus-set-property, dbus-get-all-properties):
13743 Use `dbus-call-method' when noninteractive. (Bug#5645)
13745 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13747 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13748 * emacs-lisp/elint.el (elint-add-required-env):
13749 * calendar/icalendar.el (icalendar--add-diary-entry):
13750 * calc/calcalg2.el (math-tracing-integral):
13751 * files.el (recover-session-finish): Use with-current-buffer
13752 instead of save-excursion.
13754 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13756 Fix in-buffer completion when after-change-functions modify the buffer.
13757 * minibuffer.el (completion--replace): New function.
13758 (completion--do-completion): Use it and use relative movement.
13760 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13762 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13764 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13766 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13767 Allow the characters _<> in the stack entry (Bug#5653).
13769 2010-02-26 Kenichi Handa <handa@m17n.org>
13771 * language/burmese.el: Fix entries in composition-function-table.
13772 (myanmar-composable-pattern): New variable.
13774 * international/fontset.el (setup-default-fontset): Add an entry
13777 * international/characters.el (script-list): Add Myanmar
13780 2010-02-26 Glenn Morris <rgm@gnu.org>
13782 * custom.el (custom-initialize-delay): Doc fix.
13784 * mail/sendmail.el (send-mail-function): Autoload the call
13785 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13787 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13789 * files.el (hack-local-variables-filter): For eval forms, also
13790 check safe-local-variable-p (Bug#5636).
13792 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13794 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13795 setting the modes by `ignore-errors'. It might fail, for example
13796 if the file is not owned by the user but the group.
13797 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13799 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13801 * files.el (directory-listing-before-filename-regexp):
13802 Use stricter matching for iso-style dates, to avoid false matches with
13803 date-like filenames (Bug#5597).
13805 * htmlfontify.el (htmlfontify): Doc fix.
13807 * eshell/eshell.el (eshell): Doc fix.
13809 * startup.el (fancy-about-screen): In mode-line, apply
13810 mode-line-buffer-id face only to the buffer name (Bug#5613).
13812 2010-02-20 Kevin Ryde <user42@zip.com.au>
13814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13815 In `watcom' anchor regexp to start of line, to avoid slowness
13818 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13820 * subr.el (remove-yank-excluded-properties): Explain in a comment
13821 why `category' property is removed.
13823 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13825 * isearch.el (isearch-update-post-hook, isearch-update):
13826 Revert 2010-02-17 change.
13828 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13830 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13831 (icalendar--convert-weekly-to-ical)
13832 (icalendar--convert-yearly-to-ical)
13833 (icalendar--convert-block-to-ical)
13834 (icalendar--convert-cyclic-to-ical)
13835 (icalendar--convert-anniversary-to-ical): Take care of time
13836 specifications where hour has 1-digit only (Bug#5549).
13838 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13840 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13841 of disassemble output in GDB 7.1.
13843 2010-02-19 Glenn Morris <rgm@gnu.org>
13845 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13846 property. (Bug#5593)
13848 2010-02-18 Sam Steingold <sds@gnu.org>
13850 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13852 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13854 Use abbreviated file names in bookmarks (bug#5591).
13855 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13856 calls to expand-file-name.
13857 (bookmark-relocate): Use abbreviated file names in bookmarks.
13858 (bookmark-load): Use abbreviated file names in messages.
13860 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13862 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13863 expand "." and "..". Reported by Thierry Volpiatto
13864 <thierry.volpiatto@gmail.com>.
13866 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13868 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13869 permissions of the temporary file to "0600". In case the remote
13870 file has no read permissions for the owner, there might be
13871 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13873 22010-02-18 Glenn Morris <rgm@gnu.org>
13875 * emacs-lisp/authors.el (authors-renamed-files-alist):
13876 Add entries for INSTALL.CVS.
13878 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13880 * vc-bzr.el: Fix typo in Known Bugs section.
13882 * isearch.el (isearch-update-post-hook): New hook.
13883 (isearch-update): Use the new hook.
13885 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13887 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13888 Fix errors in copying directories.
13889 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13890 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13891 (tramp-handle-delete-file)
13892 (tramp-handle-dired-recursive-delete-directory)
13893 (tramp-handle-write-region): Flush also the cache for the upper
13896 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13898 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13900 * cus-edit.el (hardware): Doc fix.
13902 * man.el (man): Add to external custom group.
13904 * delim-col.el (columns): Move to wp custom group.
13906 * doc-view.el (doc-view): Add to data custom group.
13908 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13910 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13911 by ispell-parse-output (Bug#5575).
13913 2010-02-16 Kenichi Handa <handa@m17n.org>
13915 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13916 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13917 (skkdic-convert): Use `euc-japan' coding system for writing.
13919 2010-02-16 Glenn Morris <rgm@gnu.org>
13921 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13922 tex-main-file before using it. (Bug#5562)
13924 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13927 warnings, since it is annoying for the user to see them each time he
13930 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13932 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13933 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13934 instead of PROC for caching "first-password-request". Otherwise,
13935 new processes would not profit from passwords already entered.
13937 * net/tramp-cache.el (tramp-dump-connection-properties):
13938 Don't save "first-password-request" property.
13940 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13942 * outline.el (outline-head-from-level):
13943 * simple.el (with-wrapper-hook):
13944 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13945 (elint-defun, elint-buffer-env, elint-top-form-logged)
13946 (elint-unbound-variable):
13947 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13948 Fix typos in docstrings.
13950 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13952 * files.el (insert-directory): When WILDCARD-REGEXP and
13953 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13954 whole directory. (Bug#5551)
13956 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13957 dired's alignment sanity. (Bug#5516)
13959 2010-02-14 Juri Linkov <juri@jurta.org>
13961 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13962 Remove remaining ^H with their preceding chars. (Bug#5566)
13964 2010-02-13 Glenn Morris <rgm@gnu.org>
13966 * simple.el (transpose-subr): Give it a doc-string.
13968 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13971 2010-02-12 Juri Linkov <juri@jurta.org>
13973 * arc-mode.el (archive-unique-fname): Make directories for nested
13974 archives. (Bug#5540)
13976 2010-02-12 Juri Linkov <juri@jurta.org>
13978 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13980 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13982 * subr.el (copy-overlay): Handle deleted overlays.
13984 * man.el (Man-completion-table): Don't signal an error if we can't run
13985 manual-program (bug#4056).
13987 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13989 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13991 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13993 * info.el (Info-bookmark-jump): Simplify.
13995 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13996 (bookmark-default-handler): Accept new bookmark field `buffer'.
13998 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
14000 * iswitchb.el (iswitchb-completions): Revert last change.
14002 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
14004 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
14005 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
14006 This prevents file names like "~/" being listed literally.
14008 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
14010 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14011 Remove dead code. (Bug#5546)
14013 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
14015 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
14016 correctly (Bug#5548).
14018 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
14020 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
14021 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
14023 2010-02-08 Kenichi Handa <handa@m17n.org>
14025 * international/mule-util.el (with-coding-priority): Add autoload
14026 cookie for putting `lisp-indent-function'.
14028 2010-02-07 Glenn Morris <rgm@gnu.org>
14030 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
14031 Move F2003 named interfaces from keywords-2 to keywords-1, and
14032 use function-name-face rather than constant-face.
14033 Simplify "abstract interface" regexp.
14035 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
14037 * eshell/esh-util.el (eshell-file-attributes): New optional arg
14038 ID-FORMAT. Pass it to `file-attributes'.
14040 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14042 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14044 * faces.el (set-face-attribute): Allow calling
14045 internal-set-lisp-face-attribute with 'unspecified family and
14046 foundry argument (Bug#5536).
14048 2010-02-07 Glenn Morris <rgm@gnu.org>
14050 * progmodes/f90.el (f90-font-lock-keywords-2)
14051 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14052 Handle F2003 named interfaces.
14054 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14056 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14057 beg and end before calling c-get-state-before-change-functions.
14059 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14061 * vc-bzr.el (vc-bzr-dir-extra-headers):
14062 Disable the pending merges header.
14064 2010-02-05 Juri Linkov <juri@jurta.org>
14066 * doc-view.el (doc-view-mode):
14067 * image-mode.el (image-mode): Put property mode-class=special.
14070 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14072 * vc-svn.el (vc-svn-revision-table): New function.
14074 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14076 * net/ange-ftp.el (ange-ftp-insert-directory):
14077 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14078 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14079 Handle also directories. (Bug#5478)
14081 2010-02-05 Glenn Morris <rgm@gnu.org>
14083 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14085 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14087 * startup.el (command-line-1): Convert options beginning with a
14088 single dash as well (Bug#5519).
14090 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14092 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14093 * minibuffer.el (completion-initials-expand): Only check the presence
14094 of delims *within* the boundaries, since otherwise the / delim is
14095 always found for files.
14097 Fix up various corner case problems.
14098 * doc-view.el (doc-view-last-page-number): New function.
14099 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14100 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14101 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14102 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14103 (doc-view-convert-current-doc): Don't create the resolution.el file
14105 (doc-view-pdf/ps->png): Do it here instead.
14106 (doc-view-already-converted-p): Check that resolution.el is present.
14107 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14108 windows that are not yet showing images.
14110 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14112 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14113 `dired-uncache' for every elemnt which is an absolute file name.
14115 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14116 directory, handle its directory component.
14117 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14118 function is called permanently and creates noise, otherwise.
14120 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14121 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14122 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14124 2010-02-04 David Burger <dburger@google.com> (tiny change)
14126 * macros.el (apply-macro-to-region-lines):
14127 Minor simplification. (Bug#5485)
14129 2010-02-04 Glenn Morris <rgm@gnu.org>
14131 * mail/rmail.el (rmail-show-message-1): Handle malformed
14132 quoted-printable text. (Bug#5441)
14134 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14136 * simple.el (visual-line-mode): Capitalize lighter.
14138 2010-02-03 John Wiegley <jwiegley@gmail.com>
14140 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14141 list of files considered for "virtual buffer" completions.
14143 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14145 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14146 also in case of (and (not full) (not wildcard)). This is needed
14147 when dired is called with a list of files, which are not in
14148 `default-directory'. (Bug#5478)
14150 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14152 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14154 2010-02-02 Juri Linkov <juri@jurta.org>
14156 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14157 from unidiff to allow function-line after @@.
14159 2010-02-02 Juri Linkov <juri@jurta.org>
14161 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14162 '(RCS SCCS) with inverted condition.
14164 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14166 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14169 2010-02-01 Juri Linkov <juri@jurta.org>
14171 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14172 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14173 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14174 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14176 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14178 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14179 (doc-view-revert-buffer): New command.
14180 (doc-view-mode-map): Use it.
14182 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14184 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14185 pending merge is detected.
14187 2010-01-31 Juri Linkov <juri@jurta.org>
14189 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14190 beginning of interactive spec like all other grep commands do.
14191 Put "all" in front of "gz". (Bug#5260)
14193 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14195 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14197 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14199 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14200 regexp is incorrect (Bug#5476).
14202 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14204 * net/tramp.el (tramp-handle-insert-directory): Handle also
14205 symlinks, when FILENAME is not in `default-directory'.
14207 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14209 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14210 FILE is not in `default-directory'. (Bug#5478)
14212 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14213 of SWITCHES. Handle the case, FILENAME is not in
14214 `default-directory'. (Bug#5478)
14215 (tramp-register-file-name-handlers): Add safe-magic property.
14217 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14219 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14222 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14224 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14225 (flymake-master-make-header-init): Add other C++ filename masks.
14226 (flymake-find-possible-master-files)
14227 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14229 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14231 Fix some busybox annoyances.
14233 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14234 not responding." string.
14235 (tramp-open-connection-setup-interactive-shell): Dump stty
14236 settings. Enable "neveropen" arg for all `tramp-send-command'
14237 calls. Handle "=" in variable values properly.
14238 (tramp-find-inline-encoding): Raise an error, when no encoding is
14240 (tramp-wait-for-output): Check, whether PROC buffer is available.
14241 Remove spurious " ^H" sequences, sent by busybox.
14242 (tramp-get-ls-command): Suppress coloring, if possible.
14244 2010-01-28 Glenn Morris <rgm@gnu.org>
14246 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14248 * log-edit.el (log-edit-strip-single-file-name): Add missing
14249 :safe, :group, and :version tags.
14251 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14253 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14254 buffers. (Bug#5477)
14256 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14258 * files.el (delete-directory): Handle moving to trash without
14259 first doing recursion (Bug#5436).
14261 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14263 * vc-hooks.el (vc-path): Mark as obsolete.
14265 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14267 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14270 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14272 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14274 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14276 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14278 * vc-bzr.el (vc-bzr-revision-table): New function.
14280 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14282 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14283 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14285 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14287 Remove support for adding --signoff on commit.
14288 Future support will use an incompatible generic mechanism.
14289 * vc-git.el (vc-git-add-signoff): Remove variable.
14290 (vc-git-toggle-signoff): Remove function.
14291 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14293 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14294 Rename from xterm-set-background-mode. Return t if the background mode
14296 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14297 earlier, call it again in case the background mode has changed.
14299 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14301 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14304 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14306 * emacs-lisp/assoc.el (aelement): Doc fix.
14307 (aput, adelete, amake): Use lexical-let (Bug#5450).
14309 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14311 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14312 is the same as subprogram call, not declaration. (Bug#5435).
14314 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14316 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14317 (tramp-smb-maybe-open-connection): Use it.
14319 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14321 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14323 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14325 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14326 just because we see "encoding: 8bit".
14327 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14329 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14331 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14333 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14335 * jka-compr.el (jka-compr-load): If load-file is not in
14336 load-history, try its file-truename version. (bug#5447)
14338 2010-01-21 Alan Mackenzie <acm@muc.de>
14340 Fix a situation where deletion of a cpp construct throws an error.
14341 * progmodes/cc-engine.el (c-invalidate-state-cache):
14342 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14343 special cpp construct is still in the buffer.
14344 (c-parse-state): Record the special cpp with markers, not numbers.
14346 2010-01-21 Kenichi Handa <handa@m17n.org>
14348 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14349 process last-command-event, as it is now decoded first (Bug#5380).
14351 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14353 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14355 2010-01-20 Glenn Morris <rgm@gnu.org>
14357 * indent.el (tab-always-indent): Fix custom-type.
14359 2010-01-19 Alan Mackenzie <acm@muc.de>
14361 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14362 buffer throws "args out of range".
14363 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14364 playing the role of delimiter.
14366 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14368 * progmodes/ada-mode.el: Fix bug#5400.
14369 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14370 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14371 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14372 Improve comments in "is" portion. Handle null procedure declaration.
14373 (ada-move-to-end): Improve doc string.
14375 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14377 * ido.el (ido-cur-list): Initialize to nil.
14378 Remove obsolete information from commentary.
14379 (ido-choice-list): Initialize to nil.
14380 (ido-get-bufname): Reject minibuffers.
14381 (ido-make-buffer-list): If "default" is a nonexistent
14382 buffer, ignore it, as per the function's comment.
14383 (ido-kill-buffer-internal): New function.
14384 (ido-kill-buffer-at-head): Use it.
14385 (ido-visit-buffer): Likewise.
14387 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14389 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14391 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14393 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14394 Fix typos in chart titles.
14396 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14397 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14398 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14399 (describe-class, eieio-describe-generic, describe-generic):
14400 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14401 (eieio-speedbar-expand):
14402 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14403 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14404 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14405 (viper-del-backward-char-in-replace, viper-backward-indent)
14406 (viper-brac-function, viper-register-to-point, viper-submit-report):
14407 * net/tramp.el (tramp-remote-coding-commands):
14408 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14409 Fix typos in docstrings.
14411 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14413 * mail/sendmail.el (mail-yank-original): Set the mark if the
14414 specified function for yanking does not do it.
14416 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14418 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14420 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14421 resyncing a directory.
14423 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14425 * progmodes/ada-mode.el: Fix bug#1920.
14426 (ada-ident-re): Delete ., allow multibyte characters.
14427 (ada-goto-label-re): New; matches goto labels.
14428 (ada-block-label-re): New; matches block labels.
14429 (ada-label-re): New; matches both.
14430 (ada-named-block-re): Delete; callers changed to use
14431 `ada-block-label-re' instead.
14432 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14433 Use `ada-block-label-re'.
14434 (ada-indent-on-previous-lines): Improve handling of goto labels.
14435 (ada-get-indent-block-start): Special-case block label.
14436 (ada-get-indent-label): Split into `ada-indent-block-label' and
14437 `ada-indent-goto-label'.
14438 (ada-goto-stmt-start, ada-goto-next-non-ws):
14439 Optionally ignore goto labels.
14440 (ada-goto-next-word): Simplify.
14441 (ada-indent-newline-indent-conditional): Insert newline before
14442 trying to fix indentation; doc fix.
14444 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14446 * calc/calc.el (calc-command-flags): Give it an initial value.
14448 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14450 * files.el (minibuffer-with-setup-hook):
14451 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14452 (artist-key-draw-continously, artist-key-do-continously-continously)
14453 (artist-key-set-point-continously, artist-mouse-draw-continously):
14454 Fix typos in docstrings.
14456 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14458 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14459 Never return t (Bug#3898).
14461 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14463 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14464 can parse the output of the external commands (Bug#5279).
14466 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14468 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14470 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14472 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14474 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14476 * startup.el (command-line): Remove unused --icon-type arg.
14477 Handle --display arg, passing it to command-line-1 (Bug#5392).
14479 2010-01-16 Mario Lang <mlang@delysid.org>
14481 * emacs-lisp/chart.el (chart-translate-namezone):
14482 * textmodes/artist.el (artist-compute-popup-menu-table):
14483 Remove duplicated words in doc-strings.
14485 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14487 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14488 to mairix-search to suppress threading (Bug#5342).
14490 2010-01-15 Kenichi Handa <handa@m17n.org>
14492 * international/mule-cmds.el (canonicalize-coding-system-name):
14493 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14495 2010-01-15 Glenn Morris <rgm@gnu.org>
14497 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14499 * wid-edit.el (widget-keymap): Doc fix.
14501 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14502 former seems to be more widely accepted by various svn versions.
14504 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14506 * find-cmd.el (find-constituents):
14507 * vc-arch.el (vc-arch-root):
14508 * window.el (window-body-height, pop-up-frames):
14509 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14510 * progmodes/ada-stmt.el (ada-if):
14511 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14512 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14513 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14514 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14516 * progmodes/flymake.el (flymake-post-syntax-check):
14517 Fix typo in error message.
14519 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14521 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14522 which is always a string. (Bug#5313)
14524 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14526 * progmodes/ada-xref.el (ada-default-prj-properties):
14527 Simplify previous change.
14529 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14531 * progmodes/ada-xref.el (ada-default-prj-properties):
14532 Default ada_project_path to $ADA_PROJECT_PATH.
14534 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14536 * progmodes/ada-mode.el (ada-create-keymap):
14537 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14539 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14541 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14542 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14543 (ada-get-current-indent, ada-imenu-generic-expression)
14544 (ada-which-function): Check for it.
14546 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14548 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14549 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14551 2010-01-14 Glenn Morris <rgm@gnu.org>
14553 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14555 2010-01-14 Kenichi Handa <handa@m17n.org>
14557 * composite.el (auto-composition-mode): Make it a buffer local
14558 variable (permanent-local).
14559 (auto-composition-function): Set the default value to
14560 auto-compose-chars.
14561 (auto-composition-mode): Make it a simple function, not a minor mode.
14562 (global-auto-composition-mode): Likewise.
14563 (turn-on-auto-composition-if-enabled): Delete it.
14565 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14567 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14569 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14571 * files.el (copy-directory): Compute target for recursive
14572 directories with identical names. (Bug#5343)
14574 2010-01-12 Glenn Morris <rgm@gnu.org>
14576 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14577 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14579 2010-01-11 Sam Steingold <sds@gnu.org>
14581 * imenu.el (imenu-default-create-index-function): Detect infinite
14582 loops caused by imenu-prev-index-position-function.
14584 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14586 * htmlfontify.el (htmlfontify-load-rgb-file)
14587 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14588 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14589 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14590 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14591 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14592 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14593 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14594 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14595 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14596 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14597 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14598 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14599 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14600 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14601 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14602 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14603 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14604 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14605 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14606 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14607 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14608 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14609 backslash-quoting from parentheses, etc.
14611 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14613 * progmodes/js.el: Autoload javascript-mode alias.
14615 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14617 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14618 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14619 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14620 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14621 Fix typos in docstrings.
14622 (ffap-url-regexp): Doc fix.
14623 (ffap-at-mouse): Fix typo in message.
14625 2010-01-11 Glenn Morris <rgm@gnu.org>
14627 * version.el (emacs-copyright): Set copyright year to 2010.
14629 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14631 * format.el (format-annotate-function): Only set
14632 write-region-post-annotation-function after running to-fn so as not to
14633 affect nested write-region calls (bug#5273).
14635 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14637 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14640 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14642 * man.el (Man-goto-section): Signal error if the section is not
14645 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14647 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14648 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14650 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14652 * progmodes/compile.el: Don't treat compile-command as safe if
14653 compilation-read-command might be nil (Bug#4218).
14655 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14657 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14660 2010-01-08 Kenichi Handa <handa@m17n.org>
14662 * international/fontset.el (build-default-fontset-data):
14663 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14665 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14667 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14668 to `create-file-buffer' as it expects, not just a buffer name.
14669 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14670 to help uniquify. (Bug#3224)
14672 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14674 * font-setting.el (font-setting-change-default-font): Use user-spec
14677 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14679 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14681 2010-01-05 Tom Tromey <tromey@redhat.com>
14683 * progmodes/python.el (python-font-lock-keywords):
14684 Handle qualified decorators (Bug#881).
14686 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14688 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14689 in a lightweight checkout.
14691 2010-01-05 Kenichi Handa <handa@m17n.org>
14693 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14695 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14697 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14699 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14701 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14702 checkouts. (Bug#618)
14703 (vc-bzr-log-view-mode): Also highlight the author.
14704 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14705 (vc-bzr-shelve-menu-map):
14706 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14707 (vc-bzr-shelve-apply): Make prompt more explicit.
14709 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14711 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14712 They are valid characters in URL paths (rfc3986), and at least
14713 Firefox does not understand the encoded version (Bug#3166).
14715 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14717 * progmodes/octave-mod.el (octave-end-keywords)
14718 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14719 Add "end" keyword (Bug#3061).
14720 (octave-end-as-array-index-p): New function.
14721 (calculate-octave-indent): Use it.
14723 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14725 * bookmark.el: Consistently put the text property on the bookmark name.
14726 (bookmark-bmenu-marks-width): Bump back to 2, to include
14728 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14729 property on the bookmark name, instead of not putting it at all.
14730 (bookmark-bmenu-list): Fix where we put the text property.
14732 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14734 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14735 for showing buffer modified state (as added in the previous change).
14737 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14739 * bookmark.el: Show modified state of bookmark buffer more accurately.
14740 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14741 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14742 (with-buffer-modified-unmodified): New macro.
14743 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14744 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14745 Use new macro to preserve the buffer modified state.
14747 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14749 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14750 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14751 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14752 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14753 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14754 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14755 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14757 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14759 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14760 Make the lines in the generated doc string shorter. (Bug#4668)
14762 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14764 * net/rcirc.el: Add follow-link binding (Bug#4738).
14766 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14768 * Makefile.in (bzr-update): Rename from cvs-update.
14769 (cvs-update): New target for backward compatibility.
14771 * makefile.w32-in (bzr-update): Rename from cvs-update.
14772 (cvs-update): New target for backward compatibility.
14774 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14776 * bookmark.el: Remove gratuitous gratitude.
14778 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14780 * bookmark.el (bookmark-bmenu-any-marks): New function.
14781 (bookmark-bmenu-save): Clear buffer modification if no marks.
14783 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14785 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14786 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14787 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14788 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14790 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14791 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14792 To: emacs-devel {_AT_} gnu.org
14793 Subject: bookmark.el bug report
14794 Date: Mon, 28 Dec 2009 14:19:16 +0800
14795 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14797 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14799 * bookmark.el: Improvements suggested by Drew Adams:
14800 (bookmark-bmenu-ensure-position): New name for
14801 `bookmark-bmenu-check-position'. Just ensure the position,
14802 don't return any meaningful value.
14803 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14806 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14808 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14809 (bookmark-yank-point, bookmark-bmenu-check-position):
14810 Fix typos in docstrings.
14811 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14812 (bookmark-name-from-full-record, bookmark-get-position)
14813 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14814 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14815 Remove useless quoting of parenthesis, etc. in docstrings.
14817 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14818 (ediff-append-custom-diff): Fix typo in error message.
14819 (ediff-meta-mark-equal-files): Fix typos in messages.
14821 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14823 * net/imap-hash.el (imap-hash-make): Doc fix.
14824 (imap-hash-test): Fix typo in error message; reflow docstring.
14825 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14826 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14827 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14828 Fix typos in docstrings.
14829 (imap-hash-open-connection): Fix typo in error message.
14831 * play/gomoku.el (gomoku): Fix typos in docstring.
14833 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14834 (gdb-jsonify-buffer): Fix typos in docstring.
14835 (gdb-goto-breakpoint): Fix typo in error message.
14836 ("Display Other Windows"): Fix typo in help message.
14837 (gdb-speedbar-expand-node): Fix typo in question.
14839 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14840 (idlwave-html-system-help-location, idlwave-html-help-location)
14841 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14842 (idlwave-help-browser-generic-args, idlwave-help-directory)
14843 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14844 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14845 (idlwave-online-help, idlwave-help-html-link)
14846 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14847 Fix typos in docstrings.
14848 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14850 (idlwave-help-assistant-start): Fix typo in error message.
14852 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14853 (octave-electric-space): Fix typos in docstrings.
14855 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14857 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14859 2010-01-01 Juri Linkov <juri@jurta.org>
14861 * comint.el (comint-input-ring-size): Make it a defcustom and
14862 increase the default to 500 (Bug#5148).
14864 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14866 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14867 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14868 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14870 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14872 Show working revision correctly for mercurial.
14873 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14874 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14876 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14878 Declare some functions for the byte-compiler.
14879 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14880 (speedbar-timer-fn, speedbar-change-expand-button-char)
14881 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14883 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14885 This changeset reverts GDB Graphical Interface to use annotations.
14886 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14888 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14890 Make vc-dir work on subdirectories of the bzr root.
14891 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14892 Return file names relative to it.
14893 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14894 relative directory to vc-bzr-after-dir-status.
14896 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14898 * font-lock.el (font-lock-refresh-defaults): New function, which
14899 can be used to let font-lock react to external changes in
14900 variables like font-lock-defaults and keywords.
14901 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14903 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14905 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14907 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14909 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14911 Supersede color.diff settings in git log (bug#5211).
14913 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14914 escape chars in its output when the user has color.diff set to `always'.
14915 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14917 2009-12-26 Kevin Ryde <user42@zip.com.au>
14919 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14920 node. Keep previous "Index" name to work with past coreutils too.
14922 * man.el (man): Revise docstring a bit to show -a and -l as
14923 examples. Add -k description since support for it has otherwise
14924 been a secret. (Further to bug#3717.)
14925 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14926 "no matches" rather than "Can't find manpage", as the latter reads
14927 like -k was interpreted as a page name, which is not so. (Bug#5431)
14929 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14931 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14932 switches. Check also for //SUBDIRED// line.
14934 2009-12-25 Kenichi Handa <handa@m17n.org>
14936 * language/indian.el (devanagari-composable-pattern): Fix to
14937 handle ZWNJ and ZWJ. Use it in composition-function-table for
14939 (malayalam-composable-pattern): Fix previous change.
14941 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14943 * ps-print.el (ps-face-attributes): It was not returning the
14944 attribute face for faces specified as string. Reported by harven
14945 <harven@free.fr>. (Bug#5254)
14946 (ps-print-version): New version 7.3.5.
14948 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14950 * calendar/icalendar.el (icalendar--convert-tz-offset):
14951 Fix timezone names.
14952 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14953 (icalendar--add-diary-entry): Remove the trailing blank that
14954 diary-make-entry inserts.
14956 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14958 Make `file-expand-wildcards' work for remote files.
14960 * files.el (file-expand-wildcards): In case of remote files, check
14961 only local file name part for wildcards. Provide feature 'files
14962 and subfeature 'remote-wildcards. (Bug#5198)
14964 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14965 if there is already an established connection.
14966 (tramp-advice-file-expand-wildcards): Remove it.
14968 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14969 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14970 Activate advice for older GNU Emacs versions. (Bug#5237)
14972 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14974 Some doc fixes (more needed).
14976 * find-cmd.el (find-constituents): Reflow docstring.
14977 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14978 (find-generic): Doc fix.
14980 2009-12-17 Juri Linkov <juri@jurta.org>
14982 Fix regression from 23.1 to allow multiple modes in Local Variables.
14984 * files.el (hack-local-variables-filter): While ignoring duplicates,
14985 don't take `mode' into account.
14986 (hack-local-variables-filter, hack-dir-local-variables):
14987 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14989 2009-12-17 Juri Linkov <juri@jurta.org>
14991 Make `dired-diff' safer. (Bug#5225)
14993 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14994 `current' or when `file' is a directory of the `current' file.
14996 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14998 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14999 unconditionally preloaded files.
15001 2009-12-16 Juri Linkov <juri@jurta.org>
15003 Revert to old 23.1 logic of using the file at the mark as default.
15004 * dired-aux.el (dired-diff): Use the file at the mark as default
15005 if it's not the same as the current file, and the target dir is
15006 the current dir or the mark is active. Add the current file
15007 as the arg of `dired-dwim-target-defaults'. Use the default file
15008 in the prompt. (Bug#5225)
15010 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
15012 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
15013 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
15014 (tramp-check-for-regexp): Check also, when an echoing shell stops
15015 to echo sent commands.
15017 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15019 * Makefile.in: Revert last change (Bug#5191).
15021 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
15023 * vc-hg.el (vc-hg-print-log): Fix argument order.
15024 (vc-hg-working-revision): Make sure the command is executed in a
15025 known environment so that we can parse the output. (Bug#4417)
15027 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15029 * progmodes/python.el (python-symbol-completions): Remove text
15030 properties from symbol string before calling python-send-receive.
15032 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
15034 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
15035 when there are values for both file and line. (Bug#5060)
15037 2009-12-14 Juri Linkov <juri@jurta.org>
15039 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15040 whitespace after the file name of the first line of unified format,
15041 because git-diff doesn't output whitespace and file modification time
15042 after the file name.
15044 2009-12-14 David Kastrup <dak@gnu.org>
15046 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15047 check if it already has the `display' property added by
15048 `Info-display-images-node', and not put the `invisible' property
15051 2009-12-13 Glenn Morris <rgm@gnu.org>
15053 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15054 (report-emacs-bug): In message-mode, sort manually before storing
15055 original report text. (Bug#5178)
15056 Remove superfluous save-excursion.
15058 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15060 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15061 when responding to "GetAll" properties.
15063 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15065 * simple.el (compose-mail): Remove mail-setup-with-from from
15066 customization checks.
15068 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15070 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15071 RAR archives created on Unix systems.
15073 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15075 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15076 the varalias that was accidentally removed by the 2009-11-19 change
15079 2009-12-12 Kenichi Handa <handa@m17n.org>
15081 * language/indian.el (indian-compose-regexp): New function.
15082 (malayalam-composable-pattern): Fix the pattern.
15083 (composition-function-table): Set malayalam-composable-pattern for
15084 Malayalam characters.
15086 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15088 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15089 rather than down-mouse-1, based on follow-link conventions.
15091 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15094 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15096 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15097 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15098 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15099 (verilog-leap-to-head, verilog-backward-token):
15100 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15102 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15104 * progmodes/verilog-mode.el (verilog-auto-lineup)
15105 (verilog-nameable-item-re): Cleanup user-visible spelling and
15106 documentation errors. One reported by Gary Delp.
15107 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15108 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15109 package, bug195. Reported by Pierre-David Pfister.
15111 2009-12-11 Glenn Morris <rgm@gnu.org>
15113 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15115 * mail/emacsbug.el: No longer require sendmail.
15116 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15117 (report-emacs-bug-orig-text): Doc fix.
15118 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15119 New local variables, to adapt to different mail-user-agents.
15120 (report-emacs-bug): Fix test for a gnu.org address.
15121 Use overlays for emphasis, since font-lock defeats 'face property.
15122 Pretest bugs also end up at the newsgroup these days.
15123 Stop message-mode stripping text properties.
15124 Set and use the new buffer-local variables.
15125 (report-emacs-bug-hook): Add doc-string.
15126 Remove some unnecessary save-excursions and simplify.
15127 Use the appropriate hook and send-command.
15129 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15130 capitalization of some menu entries.
15132 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15134 * whitespace.el (whitespace-display-char-on):
15135 Ensure `buffer-display-table' is unique when two or more windows are
15136 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15139 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15141 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15142 characters in the Attribute field.
15144 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15146 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15148 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15150 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15151 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15152 Disregard autoload-excludes.
15153 (update-directory-autoloads): Obey autoload-excludes here instead.
15154 But don't store its contents in no-autoloads and remove entries that
15155 refer to excludes files.
15157 2009-12-10 Glenn Morris <rgm@gnu.org>
15159 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15160 (expand-mail-aliases): Define for compiler.
15162 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15163 Define for compiler.
15165 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15166 appropriate for the mail-user-agent in use.
15168 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15170 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15172 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15174 Fix short log parsing and fontification.
15175 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15176 Fix fontification for the [merge] label.
15178 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15180 Drop some properties to avoid surprises (bug#5002).
15181 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15182 (hfy-fontify-buffer): Use it.
15184 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15187 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15188 Adjust all callers.
15189 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15190 args compulsory. Adjust callers.
15191 (ffap-gopher-at-point): Remove unused var `name'.
15193 Get rid of the ELCFILES abomination.
15194 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15195 (compile-elcfiles): New phony target.
15196 (compile-main): Compute ELCFILES dynamically.
15197 (compile-clean): New target to remove left-over elc files.
15198 (compile, all): Use it.
15200 2009-12-09 Kenichi Handa <handa@etlken>
15202 * international/mule-diag.el: Require help-mode instead of help-fns.
15204 2009-12-09 Kenichi Handa <handa@m17n.org>
15206 * international/mule-cmds.el (ucs-names): Supply sufficiently
15207 fine ranges instead of pre-calculating accurate ranges.
15208 Iterate with bigger gc-cons-threshold.
15210 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15212 Add support for stashing a snapshot of the current tree.
15213 * vc-git.el (vc-git-stash-snapshot): New function.
15214 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15216 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15218 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15219 instead of `(beginning|end)-of-line'.
15221 2009-12-08 Glenn Morris <rgm@gnu.org>
15223 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15225 * Makefile.in (ELCFILES): Regenerate.
15227 2009-12-07 Juri Linkov <juri@jurta.org>
15229 Don't lazy-highlight the comint output in history Isearch mode.
15231 * comint.el (comint-history-isearch-search): Instead of
15232 `comint-line-beginning-position', use `comint-after-pmark-p'
15233 to check if point if before the process mark, and go to
15234 `process-mark' in this case.
15236 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15238 * textmodes/tex-mode.el (latex-complete)
15239 (latex-indent-or-complete): Remove.
15240 (latex-mode): Set completion-at-point-functions instead.
15242 Provide a standard completion command and hook it into TAB.
15243 * minibuffer.el (completion-at-point-functions): New var.
15244 (completion-at-point): New command.
15245 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15246 * progmodes/python.el (python-mode-map): Use completion-at-point.
15247 (python-completion-at-point): Rename from python-partial-symbol and
15248 adjust for use in completion-at-point-functions.
15249 (python-mode): Setup completion-at-point for Python completion.
15250 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15251 extracted from lisp-complete-symbol.
15252 (lisp-complete-symbol): Use it.
15253 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15254 setup completion-at-point for Elisp completion.
15255 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15256 Use completion-at-point.
15257 * ielm.el (ielm-map): Use completion-at-point.
15258 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15259 * progmodes/sym-comp.el: Move to...
15260 * obsolete/sym-comp.el: Move from progmodes.
15262 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15264 Prevent save-buffer in Rmail buffers from using the coding-system
15265 of the current message, and from clobbering the encoding mnemonics
15266 in the mode line (Bug#4623).
15268 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15270 (rmail-message-encoding): New variable.
15271 (rmail-write-region-annotate): Record the encoding of the current
15272 message in rmail-message-encoding.
15273 (rmail-after-save-hook): New function, restores the encoding of
15274 the current message after the message collection is saved.
15276 2009-12-07 Juri Linkov <juri@jurta.org>
15278 * progmodes/grep.el (grep-read-files): Use `completing-read'
15279 instead of `read-string'. Set its `collection' arg to
15280 `read-file-name-internal'. (Bug#4301)
15282 2009-12-07 Juri Linkov <juri@jurta.org>
15284 Correctly restore original Isearch point. (Bug#4994)
15286 * isearch.el (isearch-mode): Move `isearch-push-state' after
15287 `(run-hooks 'isearch-mode-hook)'.
15288 (isearch-cancel): When `isearch-push-state-function' is defined,
15289 let-bind `isearch-cmds' to the first state (the last element of
15290 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15291 function and restores the original point). Otherwise, move point
15292 to `isearch-opoint'.
15294 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15297 chars that don't have names, so the table can be built much faster at
15300 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15302 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15303 change. Suggested by David Kastrup.
15305 * simple.el (compose-mail): Check for incompatibilities and warn.
15306 (compose-mail-user-agent-warnings): New option.
15308 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15310 Support showing a single log entry from vc-annotate.
15311 * vc.el (print-log): Add a new argument: START-REVISION.
15312 (vc-print-log-internal): Add a new optional argument and
15313 pass it to the backend.
15314 (vc-print-log, vc-print-root-log): Adjust callers.
15315 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15316 buffer already displays the requested log entry, use it.
15317 Otherwise display only the log entry in question.
15318 * vc-svn.el (vc-svn-print-log):
15319 * vc-mtn.el (vc-mtn-print-log):
15320 * vc-hg.el (vc-hg-state):
15321 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15322 (vc-git-show-log-entry): Return t on success.
15323 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15324 (vc-bzr-show-log-entry): Return t on success.
15325 * vc-rcs.el (vc-rcs-print-log):
15326 * vc-sccs.el (vc-sccs-print-log):
15327 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15329 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15331 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15332 Add menus to the meta mode. (Bug#5043)
15334 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15336 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15339 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15341 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15343 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15344 Berbain <raphael.berbain@gmail.com>.
15346 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15348 (tramp-initial-end-of-output): New defconst.
15349 (tramp-methods, tramp-find-shell)
15350 (tramp-open-connection-setup-interactive-shell)
15351 (tramp-maybe-open-connection): Use it.
15352 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15353 Handle existence of `#' and `$'.
15355 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15356 Use `tramp-initial-end-of-output'.
15358 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15360 Get the background mode from the terminal for xterm, and set
15362 * term/xterm.el (xterm-set-background-mode): New function.
15363 (terminal-init-xterm): Use it in case xterm supports background
15364 color queries. Recompute faces after getting the background
15367 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15369 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15370 number comment back on its own line, for easier parsing.
15372 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15374 Make it work for non-file buffers (bug#5102).
15375 * doc-view.el (doc-view-current-cache-dir):
15376 Use doc-view-buffer-file-name rather than buffer-file-name.
15377 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15379 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15381 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15382 author field is too short.
15384 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15386 * vc-git.el (vc-git-print-log): Handle a limit argument.
15387 Display the short log in graph form and with labels.
15388 (vc-git-log-view-mode): Handle labels.
15390 Make vc-revert change VC state from 'added to 'unregistered.
15391 * vc-git.el (vc-git-revert): Call git reset first.
15393 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15395 * net/newst-backend.el, net/newst-plainview.el:
15396 * net/newst-reader.el, net/newst-ticker.el:
15397 * net/newst-treeview.el, net/newsticker.el:
15398 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15400 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15402 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15404 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15405 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15406 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15407 Update annotation regexp.
15409 * simple.el (beginning-of-visual-line): Constrain to field
15410 boundaries (Bug#5106).
15412 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15414 * xml.el (xml-substitute-numeric-entities):
15415 Move newsticker--decode-numeric-entities in newst-backend.el to
15416 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15417 * net/newst-backend.el (newsticker--parse-generic-feed)
15418 (newsticker--parse-generic-items)
15419 (newsticker--decode-numeric-entities):
15420 Move newsticker--decode-numeric-entities in newst-backend.el to
15421 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15423 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15425 * progmodes/js.el (js--js-not): Add null to the list of values.
15427 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15429 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15431 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15433 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15434 delimiter if it is at the end of the current line.
15435 (bibtex-generate-url-list): Fix docstring.
15437 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15439 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15440 minibuffer's content with itself.
15441 Fold the confirm-after-completion case into the `confirm' case.
15442 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15444 2009-12-06 Kevin Ryde <user42@zip.com.au>
15446 * ffap.el (ffap-rfc-path): Make this a defcustom since
15447 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15449 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15450 manuals, similar to existing setup for help-mode. (Bug#3913.)
15452 2009-12-05 Juri Linkov <juri@jurta.org>
15454 Save and restore dired buffer's point positions too. (Bug#4880)
15456 * dired.el (dired-save-positions): Return in the first element
15457 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15459 (dired-restore-positions): First restore buffer's position.
15460 While restoring window's positions, check if window still displays
15461 the original buffer.
15463 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15465 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15468 * shell.el (shell): Require ansi-color (Bug#5113).
15470 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15472 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15474 2009-12-05 Alan Mackenzie <acm@muc.de>
15476 * progmodes/cc-mode.el (c-before-hack-hook)
15477 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15478 `c-file-style' to work again. This reversion restores the current
15479 software to its state in Emacs 23.1. (Bug#4146)
15481 2009-12-05 Kevin Ryde <user42@zip.com.au>
15483 * textmodes/sgml-mode.el (sgml-lexical-context):
15484 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15486 2009-12-05 Juri Linkov <juri@jurta.org>
15488 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15489 for virtual nodes. (Bug#4147)
15490 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15491 when moving from a virtual node.
15492 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15493 (Info-mode): Add `Info-virtual-index' to the docstring.
15495 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15497 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15498 track of the buffer position of the end of a BibTeX entry as this
15499 position may change during reformatting.
15500 (bibtex-format-entry): Remove whitespace before processing
15501 numerical fields so that we recognize the latter properly.
15502 (bibtex-reformat): Do not use push which changes the global value
15503 of bibtex-entry-format.
15504 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15505 (bibtex-field-re-init): Replace only space characters by regexp
15507 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15508 (bibtex-initialize): Also update bibtex-strings.
15509 (bibtex-kill-field): Preserve white space at end of entry.
15510 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15511 Update bibtex-reference-keys.
15513 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15515 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15516 point after a star, if that's the only place where modifications can
15519 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15521 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15524 2009-12-04 Juri Linkov <juri@jurta.org>
15526 * proced.el (proced): Call `(proced-update t)' to update process
15527 information instead of only running proced-post-display-hook.
15528 (proced-send-signal): Add a leading space to the buffer name
15529 " *Marked Processes*" to make this buffer ephemeral.
15531 2009-12-04 Juri Linkov <juri@jurta.org>
15533 * dired.el (dired-auto-revert-buffer): New defcustom.
15534 (dired-internal-noselect): Use it.
15536 2009-12-04 Juri Linkov <juri@jurta.org>
15538 Change roles of modes and functions in image-mode.el (Bug#5062).
15540 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15541 in `auto-mode-alist'.
15542 (image-mode-previous-major-mode): New variable.
15543 (image-minor-mode-map): Rename from `image-mode-text-map'.
15544 (image-mode): Move graceful error-handling code from
15545 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15546 (image-minor-mode): Remove all image-handling code.
15547 Replace `image-mode-text-map' with `image-minor-mode-map'.
15548 Check for `image-type' in mode-line format string.
15549 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15550 (image-mode-as-text): New function with most code from
15551 `image-mode-maybe'.
15552 (image-toggle-display-text): Move code that removes image
15553 properties from `image-toggle-display' to here.
15554 (image-toggle-display-image): New function with code that adds
15555 image properties copied from `image-toggle-display'.
15556 (image-toggle-display): Remove most code with leaving only code
15557 that toggles between `image-mode-as-text' and `image-mode'.
15559 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15561 * net/newst-treeview.el
15562 (newsticker--treeview-list-highlight-start): Restored call to
15563 save-excursion: Selected item was stuck.
15564 (newsticker--treeview-list-select): New.
15565 (newsticker--treeview-item-show-text)
15566 (newsticker--treeview-item-show)
15567 (newsticker--treeview-item-update): Use new
15568 newsticker-treeview-item-mode.
15569 (newsticker-treeview-update): Keep current item.
15570 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15571 (newsticker--treeview-first-feed): Doc change.
15572 (newsticker-treeview-list-menu)
15573 (newsticker-treeview-item-menu): Add menu entries.
15574 (newsticker-treeview-item-mode): New.
15576 * net/newst-backend.el (newsticker-customize): Delete other
15579 2009-12-04 Sam Steingold <sds@gnu.org>
15581 * log-view.el (log-view-mode-map): "q" calls quit-window,
15582 like in all the other non-self-insert buffers.
15584 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15587 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15588 key decoding rather than do it manually via last-input-event +
15590 (term-exec): Use delete-and-extract-region.
15591 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15592 (term-process-pager): Remove unused var `i'.
15593 (term-dynamic-simple-complete): Make obsolete.
15594 (serial-update-config-menu): Remove unused vars `y' and `str'.
15595 (term-update-mode-line): Remove unused var `temp'.
15597 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15599 Limit the number of log entries displayed by default.
15600 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15601 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15602 using a prefix argument.
15604 2009-12-03 Glenn Morris <rgm@gnu.org>
15606 * progmodes/idlwave.el (class): Restore still useful declaration.
15608 2009-12-03 Alan Mackenzie <acm@muc.de>
15610 Enhance `c-parse-state' to run efficiently in "brace deserts".
15612 * progmodes/cc-mode.el (c-basic-common-init):
15613 Call c-state-cache-init.
15614 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15615 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15616 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15618 * progmodes/cc-langs.el (c-before-font-lock-function):
15619 c-extend-and-neutralize-syntax-in-CPP has been renamed
15620 c-neutralize-syntax-in-and-mark-CPP.
15622 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15623 with `category' properties now, not `syntax-table' ones.
15625 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15626 enhanced (but slower) version of c-end-of-macro that won't land
15627 inside a literal or on another awkward character.
15628 (c-state-cache-too-far, c-state-cache-start)
15629 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15630 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15631 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15632 (c-state-min-scan-pos, c-state-brace-pair-desert)
15633 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15634 buffer local variables.
15635 (c-state-literal-at, c-state-lit-beg)
15636 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15637 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15638 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15639 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15640 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15641 (c-renarrow-state-cache)
15642 (c-append-lower-brace-pair-to-state-cache)
15643 (c-state-push-any-brace-pair, c-append-to-state-cache)
15644 (c-remove-stale-state-cache)
15645 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15646 (c-invalidate-state-cache-1, c-parse-state-1)
15647 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15648 (c-parse-state): Enhance and refactor.
15649 (c-debug-parse-state): Amend to deal with all the new variables.
15651 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15652 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15653 modify to use category text properties rather than syntax-table ones.
15654 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15655 to switch off/on the syntactic paren property of C++ template
15656 delimiters using the category property.
15657 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15658 template delims suppressed.
15659 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15660 New constant/macros which apply category properties to the start
15661 and end of preprocessor constructs.
15662 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15663 "comment out" the syntactic value of characters in preprocessor
15665 (c-with-cpps-commented-out)
15666 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15667 with characters in all or all but one preprocessor constructs
15670 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15672 * proced.el (proced-filter-alist): Use regexp-quote.
15674 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15677 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15678 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15679 arguments. Expand `default-directory'.
15681 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15682 the benefit of returning an expanded localname.
15683 (tramp-tramp-file-p): Handle the case NAME is not a string.
15685 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15687 Add support for bzr shelve/unshelve.
15688 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15689 (vc-bzr-extra-menu-map): New variables.
15690 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15691 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15692 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15693 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15694 (vc-bzr-dir-extra-headers): Display shelves.
15696 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15698 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15700 * textmodes/bibtex.el (bibtex-complete-internal):
15701 Use completion-in-region.
15702 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15704 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15706 Support applying stashes. Improve UI.
15707 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15708 (vc-git-stash-apply, vc-git-stash-pop)
15709 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15710 (vc-git-stash-menu): New functions.
15711 (vc-git-stash-menu-map): New variable.
15712 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15714 2009-12-03 Glenn Morris <rgm@gnu.org>
15716 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15717 (vc-print-log-internal): Fix previous change.
15718 (vc-revert): Correct pluralization.
15720 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15722 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15723 it to be an alist any more.
15724 (makefile-complete): Use completion-in-region.
15726 * progmodes/octave-mod.el (octave-complete-symbol):
15727 Use completion-in-region.
15730 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15731 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15732 (idlwave-complete-class): Don't quote lambda.
15733 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15734 (idlwave-mode-map): Move initialization into declaration.
15735 (idlwave-action-and-binding): Use backquotes.
15736 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15738 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15739 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15740 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15741 `parts', and `all-parts'.
15742 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15743 (idlwave-convert-xml-system-routine-info): Remove unused string
15745 (idlwave-display-user-catalog-widget): Use dolist.
15746 (idlwave-scanning-lib): Declare dynamically-scoped var.
15747 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15748 (completion-highlight-first-word-only): Declare to silence bytecomp.
15749 (idlwave-popup-select): Tighten scope of `resp'.
15750 (idlwave-find-struct-tag): Remove unused var `beg'.
15751 (idlwave-after-load-rinfo-hook): Declare.
15752 (idlwave-sintern-class-info): Remove unused var `taglist'.
15753 (idlwave-find-class-definition): Remove unused var `list'.
15754 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15755 (idlwave-what-module-find-class): Remove unused var `classes'.
15757 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15759 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15761 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15764 buffers visited. Remove redundant current-buffer-saving.
15766 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15768 Use completion-in-buffer and remove uses of dynamic scoping.
15769 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15770 (pascal-buffer-to-use, pascal-flag): Don't declare.
15771 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15772 (pascal-get-completion-decl, pascal-keyword-completion):
15773 Add `pascal-str' argument, save-excursion,
15774 return the found completions, and don't filter with pascal-pred.
15775 (pascal-completion-cache): New var.
15776 (pascal-completion): Don't switch buffer any more (it was never
15777 necessary). Don't save-excursion any more (it's done by the called
15778 subroutines). Use a cache to avoid redundant computations.
15779 Use complete-with-action rather than pascal-completion-response and
15780 let it apply the predicate as well.
15781 (pascal-complete-word): Use completion-in-buffer when
15782 pascal-toggle-completions is nil.
15783 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15785 (pascal-comp-defun): Don't change buffer any more.
15786 Use complete-with-action rather than pascal-completion-response and
15787 let it apply the predicate as well.
15788 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15791 2009-12-02 Kenichi Handa <handa@m17n.org>
15793 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15794 shape for all Indic scripts.
15796 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15798 Use completion-in-buffer.
15799 * wid-edit.el (widget-field-text-end): New function.
15800 (widget-field-value-get): Use it.
15801 (widget-string-complete, widget-file-complete)
15802 (widget-color-complete): Use it and completion-in-region.
15803 (widget-complete): Don't narrow the buffer.
15805 2009-12-02 Glenn Morris <rgm@gnu.org>
15807 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15808 (rmail-select-summary): Use rmail-pop-to-buffer.
15809 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15810 rmail-pop-to-buffer, to prevent horizontal splits.
15812 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15813 save-excursion with save-current-buffer.
15814 Widen before searching. (Bug#5093)
15815 (diary-list-sexp-entries): Remove superfluous save-excursion.
15817 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15819 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15822 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15824 * ido.el (ido-file-internal): Handle filenames at point that do
15825 not have a directory part. (Bug#5049)
15827 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15829 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15830 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15832 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15834 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15835 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15838 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15840 * comint.el (comint-insert-input): Ignore clicks to the right of
15841 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15843 * vc.el (vc-print-log-internal): Don't wait for the process to
15844 terminate before setting up the major mode.
15846 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15849 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15852 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15854 2009-12-01 Glenn Morris <rgm@gnu.org>
15856 * window.el (window--display-buffer-2): Fix previous changes.
15858 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15860 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15862 2009-12-01 Glenn Morris <rgm@gnu.org>
15864 * Makefile.in (ELCFILES): Add mpc.elc.
15866 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15868 * mpc.el: New file.
15870 2009-12-01 Glenn Morris <rgm@gnu.org>
15872 * window.el (window-to-use): Define for compiler.
15874 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15875 consistent with others (no final period).
15877 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15878 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15880 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15882 Make vc-print-log buttons work.
15883 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15885 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15887 * savehist.el (savehist-autosave-interval): Allow setting to nil
15888 through customize. (Bug#5056)
15890 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15892 Fix references to jit-lock properties.
15893 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15894 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15895 (perl-font-lock-special-syntactic-constructs):
15896 Quote jit-lock-defer-multiline property.
15898 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15900 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15902 2009-11-30 Juri Linkov <juri@jurta.org>
15904 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15905 value `buffer' of `multi-isearch-next-buffer-current-function'.
15906 Use `(current-buffer)' when `buffer' is nil.
15907 (multi-isearch-next-buffer-from-list): Don't fallback to
15908 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15910 2009-11-30 Juri Linkov <juri@jurta.org>
15912 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15913 of buffers with `get-buffer' to `multi-isearch-buffers'.
15914 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15915 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15916 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15917 FILES with `expand-file-name' converting relative file names
15918 to absolute. Doc fix. (Bug#4727)
15920 2009-11-30 Juri Linkov <juri@jurta.org>
15922 * misearch.el (multi-isearch-read-buffers)
15923 (multi-isearch-read-matching-buffers): New functions.
15924 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15925 Use them in the `interactive' spec. Doc fix.
15926 (multi-isearch-read-files, multi-isearch-read-matching-files):
15928 (multi-isearch-files, multi-isearch-files-regexp):
15929 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15931 2009-11-30 Juri Linkov <juri@jurta.org>
15933 * doc-view.el (doc-view-continuous):
15934 Rename from `doc-view-continuous-mode'.
15935 (doc-view-menu): Move "Toggle display" to the top.
15936 Add submenu "Continuous" with radio buttons "Off"/"On"
15937 and "Save as Default".
15938 (doc-view-scroll-up-or-next-page)
15939 (doc-view-scroll-down-or-previous-page)
15940 (doc-view-next-line-or-next-page)
15941 (doc-view-previous-line-or-previous-page):
15942 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15944 2009-11-30 Juri Linkov <juri@jurta.org>
15946 * comint.el (comint-mode-map): Rebind `M-r' from
15947 `comint-previous-matching-input' to
15948 `comint-history-isearch-backward-regexp'.
15949 Unbind `M-s' to allow global key binding `M-s'.
15950 Add menu items for `comint-history-isearch-backward' and
15951 `comint-history-isearch-backward-regexp'. (Bug#3746)
15953 2009-11-30 Juri Linkov <juri@jurta.org>
15955 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15956 For def=recenter, replace `recenter' with `recenter-top-bottom'
15957 that is called with `this-command' and `last-command' let-bound
15958 to `recenter-top-bottom'. When the last `def' was not `recenter',
15959 set `recenter-last-op' to nil. (Bug#4981)
15961 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15963 Minor cleanup and simplification.
15964 * filecache.el (file-cache-add-directory)
15965 (file-cache-add-directory-recursively)
15966 (file-cache-add-from-file-cache-buffer)
15967 (file-cache-delete-file-regexp, file-cache-delete-directory)
15968 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15969 (file-cache-temp-minibuffer-message): Delete function.
15970 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15972 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15973 Don't signal an error when bumping into EOB in tr, s, or y.
15975 2009-11-29 Juri Linkov <juri@jurta.org>
15977 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15980 * descr-text.el (describe-char-unidata-list): Use lowercase name
15981 for "Unicode name" like in other tags.
15983 2009-11-29 Juri Linkov <juri@jurta.org>
15985 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15986 New compatibility macro.
15987 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15989 2009-11-29 Juri Linkov <juri@jurta.org>
15991 Add defcustom to define the cycling order of `recenter-top-bottom'.
15994 * window.el (recenter-last-op): Doc fix.
15995 (recenter-positions): New defcustom.
15996 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15997 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15999 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
16001 Improve integration of Tramp and ange-ftp in eshell.
16003 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
16004 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
16005 (eshell/sudo): Flatten args. Let-bind `default-directory'.
16007 * eshell/esh-util.el (top): Require also Tramp when compiling.
16008 (eshell-directory-files-and-attributes): Check for FTP remote
16010 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
16011 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
16012 (eshell-file-attributes): Handle ".". Return `entry'.
16014 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
16015 (ange-ftp-directory-files-and-attributes)
16016 (ange-ftp-real-directory-files-and-attributes): New defuns.
16018 * net/tramp.el (tramp-maybe-open-connection): Open the remote
16019 shell with "exec" when possible. This prevents trailing prompts
16020 in `start-file-process'.
16022 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16024 Try and remove assumptions about point-min==1.
16025 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
16026 (rng-compute-mode-line-string): Show the validation percentage in
16027 terms of the narrowed text, not the widened text.
16028 (rng-do-some-validation): Don't catch internal errors when debugging.
16029 (rng-first-error): Simplify.
16030 (rng-after-change-function): Remove work around. AFAIK the bug has
16031 been fixed a while ago.
16033 * image-mode.el (image-minor-mode): Exit more gracefully when the image
16034 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
16036 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16038 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16039 `cd' doesn't always do it for us (bug#5067).
16041 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16042 on 2009-10-25 as part of some other change (bug#5067).
16044 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16046 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16048 (byte-compile-warnings): Use byte-compile-warning-types.
16049 (byte-compile-save-excursion): Warn about use of set-buffer right
16050 after save-excursion.
16052 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16053 the excursion as well.
16055 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16057 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16058 providing a Tramp related implementation of "su" and "sudo".
16059 (eshell-unix-initialize): Add "su" and "sudo".
16061 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16063 * net/socks.el (socks-send-command): Convert binary request to
16064 unibyte before sending. This fixes mishandling of some port
16065 numbers such as 129.
16067 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16069 * help.el (describe-bindings-internal): Remove `interactive'.
16071 * man.el (Man-completion-table): Trim a terminating "(".
16072 Remove the space between name page a section.
16073 Add the command's description on the `help-echo' property.
16074 Remove `process-connection-type' binding since it's unused by
16076 Provide completion for the "<section> <name>" format as well.
16077 (Man-default-man-entry): Remove spurious var shadowing the argument.
16079 2009-11-26 Kevin Ryde <user42@zip.com.au>
16081 * log-view.el: Add "Keywords: tools", since its other keywords
16082 aren't in finder-known-keywords, and following vc.el.
16084 * sha1.el (sha1-string-external): default-directory "/" in case
16085 otherwise non-existent. process-connection-type pipe for touch of
16086 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16088 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16090 Misc coding convention cleanups.
16091 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16092 hfy-init-kludge-hooks.
16093 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16094 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16095 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16097 (hfy-slant, hfy-weight): Use tables rather than code.
16098 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16099 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16100 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16101 (hfy-face-to-css): Remove `nconc' with single arg.
16102 (hfy-p-to-face-lennart): Use `or'.
16103 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16104 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16105 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16106 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16107 (hfy-force-fontification): Use run-hooks.
16109 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16111 Various minor fixes.
16112 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16113 Javascript belongs in the header, not the body.
16114 (hfy-javascript): Remove.
16115 (hfy-fontify-buffer): Don't insert it any more.
16116 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16117 Fix bug in invis handling when there were no invis props in a chunk.
16119 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16121 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16123 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16125 * finder.el (finder-mode-map): Add a menu.
16127 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16129 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16130 "unsigned" structs.
16132 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16133 fork" statement better.
16135 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16137 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16138 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16139 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16140 Reported by Clay Douglass.
16142 (verilog-auto-inst, verilog-auto-star-safe)
16143 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16144 Fix removing "// Interfaces" when saving .* expansions.
16145 Reported by Pierre-David Pfister.
16147 2009-11-26 Glenn Morris <rgm@gnu.org>
16149 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16152 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16154 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16155 Really use previous revision.
16157 2009-11-25 Kevin Ryde <user42@zip.com.au>
16159 * man.el (Man-completion-table): default-directory "/" in case
16160 doesn't otherwise exist. process-environment COLUMNS=999 so as
16161 not to truncate long names. process-connection-type pipe to avoid
16162 any chance of hitting the pseudo-tty TIOCGWINSZ.
16163 (man): completion-ignore-case t for friendliness and since man
16164 itself is case-insensitive on the command line.
16165 Further to Bug#3717.
16167 * arc-mode.el: Add "Keywords: files", so the details in its
16168 commentary can be reached from finder-by-keyword.
16169 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16170 editing mode, but it's comms related and sgml-mode.el has "comm"
16172 * textmodes/bibtex-style.el: Add "Keywords: tex".
16173 * international/isearch-x.el, international/ja-dic-cnv.el:
16174 * international/ja-dic-utl.el, international/kkc.el:
16175 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16177 2009-11-25 Juri Linkov <juri@jurta.org>
16179 * man.el (Man-completion-table): Modify regexp to include
16180 section names to completion strings. (Bug#3717)
16182 2009-11-25 Juri Linkov <juri@jurta.org>
16184 Search recursively in gzipped files. (Bug#4982)
16186 * progmodes/grep.el (grep-highlight-matches): Add new options
16187 `always' and `auto'. Doc fix.
16188 (grep-process-setup): Check `grep-highlight-matches' for
16189 `auto-detect' to determine the need to compute grep defaults.
16190 Move Windows/DOS specific --colors settings handling
16191 to `grep-compute-defaults'. Check `grep-highlight-matches'
16192 to get the value of "--color=".
16193 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16194 has the value `auto-detect'. Move Windows/DOS specific settings
16195 from `grep-process-setup'.
16196 (zrgrep): New command with alias `rzgrep'.
16198 2009-11-25 Juri Linkov <juri@jurta.org>
16200 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16201 to nil instead of switching off view-mode. (Bug#4896)
16203 2009-11-25 Juri Linkov <juri@jurta.org>
16205 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16207 * mwheel.el (mwheel-scroll-up-function)
16208 (mwheel-scroll-down-function): New defvars.
16209 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16210 `scroll-up', and `mwheel-scroll-down-function' instead of
16213 * doc-view.el (doc-view-scroll-up-or-next-page)
16214 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16215 Use this ARG in the call to image-scroll-up/image-scroll-down.
16216 Change `interactive' spec to "P". Goto next/previous page only
16217 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16218 SPC/DEL case). Doc fix.
16219 (doc-view-next-line-or-next-page)
16220 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16222 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16223 `doc-view-scroll-up-or-next-page', and buffer-local
16224 `mwheel-scroll-down-function' to
16225 `doc-view-scroll-down-or-previous-page'.
16227 2009-11-25 Juri Linkov <juri@jurta.org>
16229 Provide additional default values (directories at other Dired
16230 windows) via M-n in the minibuffer of some Dired commands.
16232 * dired-aux.el (dired-diff, dired-compare-directories)
16233 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16234 `minibuffer-default' in `minibuffer-with-setup-hook'.
16235 (dired-dwim-target-directory): Find a window that displays Dired
16236 buffer instead of failing when the next window is not Dired.
16237 Use `get-window-with-predicate' to find for the next Dired window.
16238 (dired-dwim-target-defaults): New function.
16240 * ediff-util.el (ediff-read-file-name):
16241 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16242 in `minibuffer-with-setup-hook'.
16244 2009-11-25 Juri Linkov <juri@jurta.org>
16246 Provide additional default values (file name at point or at the
16247 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16249 * minibuffer.el (read-file-name-defaults): New function.
16250 (read-file-name): Reset `minibuffer-default' to nil when
16251 it duplicates initial input `insdef'.
16252 Bind `minibuffer-default-add-function' to lambda that
16253 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16254 (minibuffer-insert-file-name-at-point): New command.
16256 * files.el (file-name-at-point-functions): New defcustom.
16257 (find-file-default): Remove defvar.
16258 (find-file-read-args): Don't use `find-file-default'.
16259 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16260 to `read-file-name'.
16261 (find-file-literally): Use `read-file-name' with
16262 `confirm-nonexistent-file-or-buffer'.
16264 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16266 * dired.el (dired-read-dir-and-switches):
16267 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16268 to `read-file-name'.
16269 (dired-file-name-at-point): New function.
16270 (dired-mode): Add hook `dired-file-name-at-point' to
16271 `file-name-at-point-functions'.
16273 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16275 Really make the *Completions* window soft-dedicated (bug#5030).
16276 * window.el (window--display-buffer-2): Add `dedicated' argument.
16277 (display-buffer): Pass it when needed so the dedicated flag is set
16278 after calling set-window-buffer, which would otherwise reset it.
16280 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * progmodes/meta-mode.el (meta-complete-symbol):
16283 * progmodes/etags.el (complete-tag):
16284 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16285 Use completion-in-region.
16287 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16288 (dabbrev-completion): Use completion-in-region.
16289 (dabbrev--abbrev-at-point): Simplify regexp.
16291 * abbrev.el (abbrev--before-point): Use word-motion functions
16292 if :regexp is not specified (bug#5031).
16294 * subr.el (string-prefix-p): New function.
16296 * man.el (Man-completion-cache): New var.
16297 (Man-completion-table): Use it.
16299 * vc.el (vc-print-log-internal): Make `limit' optional for better
16300 compatibility (e.g. with vc-annotate.el).
16302 2009-11-24 Kevin Ryde <user42@zip.com.au>
16304 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16305 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16307 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16308 when .el source file not found or other error.
16310 2009-11-24 Markus Triska <markus.triska@gmx.at>
16312 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16314 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16316 Handle the [back] button properly (bug#4979).
16317 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16318 Use help-setup-xref, help-buffer, and with-help-window.
16319 (describe-char): Add `buffer' argument.
16320 Pass proper command to help-setup-xref. Don't meddle with
16321 help-xref-stack-item directly.
16322 (describe-text-category): Use with-help-window and help-buffer.
16324 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16325 for the displayed buffer (bug#4887).
16327 * man.el (Man-completion-table): New function.
16330 2009-11-24 David Reitter <david.reitter@gmail.com>
16332 * vc-git.el (vc-git-registered): Use checkout directory (where
16333 .git is) rather than the file's directory and a relative path spec
16334 to work around a bug in git.
16336 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16338 Improve handling of processes on remote hosts.
16340 * eshell/esh-util.el (eshell-path-env): New defvar.
16341 (eshell-parse-colon-path): New defun.
16342 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16344 * eshell/esh-ext.el (eshell-search-path):
16345 Use `eshell-parse-colon-path'.
16346 (eshell-remote-command): Remove argument HANDLER.
16347 (eshell-external-command): Check for FTP remote connection.
16349 * eshell/esh-proc.el (eshell-gather-process-output):
16350 Use `file-truename', in order to start also symlinked files.
16351 Apply `start-file-process' instead of `start-process'.
16352 Shorten `command' to the local file name part.
16354 * eshell/em-cmpl.el (eshell-complete-commands-list):
16355 Use `eshell-parse-colon-path'.
16357 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16359 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16360 to `eshell-directory-change-hook'.
16362 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16364 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16365 because it could be enabled automatically if view-read-only is non-nil.
16367 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16369 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16370 made on 2009-11-22.
16372 2009-11-24 Glenn Morris <rgm@gnu.org>
16374 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16375 deleted variable bookmark-bmenu-bookmark-column.
16377 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16379 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16381 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16383 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16384 two slashes to the "file:" prefix.
16385 (browse-url-file-url): De-munge Cygwin filenames before passing
16386 them to Windows browser.
16387 (browse-url-default-windows-browser): Use call-process.
16389 2009-11-23 Juri Linkov <juri@jurta.org>
16391 Implement DocView Continuous mode. (Bug#4896)
16392 * doc-view.el (doc-view-continuous-mode): New defcustom.
16393 (doc-view-mode-map): Bind C-n/<down> to
16394 `doc-view-next-line-or-next-page', C-p/<up> to
16395 `doc-view-previous-line-or-previous-page'.
16396 (doc-view-next-line-or-next-page)
16397 (doc-view-previous-line-or-previous-page): New commands.
16399 2009-11-23 Juri Linkov <juri@jurta.org>
16401 Implement Isearch in comint input history. (Bug#3746)
16402 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16403 `isearch-mode-hook'.
16404 (comint-history-isearch): New defcustom.
16405 (comint-history-isearch-backward)
16406 (comint-history-isearch-backward-regexp): New commands.
16407 (comint-history-isearch-message-overlay): New buffer-local variable.
16408 (comint-history-isearch-setup, comint-history-isearch-end)
16409 (comint-goto-input, comint-history-isearch-search)
16410 (comint-history-isearch-message, comint-history-isearch-wrap)
16411 (comint-history-isearch-push-state)
16412 (comint-history-isearch-pop-state): New functions.
16414 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16416 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16418 (tramp-handle-make-symbolic-link)
16419 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16421 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16422 (tramp-handle-process-file): Use it.
16424 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16426 * window.el (move-to-window-line-last-op): Remove.
16427 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16429 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16431 Make M-r mirror the new cycling behavior of C-l.
16432 * window.el (move-to-window-line-last-op): New var.
16433 (move-to-window-line-top-bottom): New command.
16434 (global-map): Bind M-r move-to-window-line-top-bottom.
16436 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16438 * dired-x.el (dired-guess-shell-alist-default):
16439 Support xz format. (Bug#4953)
16441 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16443 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16444 last-command-char/last-command-event.
16445 (viper-prefix-arg-value): Do correct conversion of event-char for
16448 * emulation/viper-util.el, emulation/viper.el:
16449 Use viper-last-command-char instead of
16450 last-command-char/last-command-event.
16452 * ediff-init.el, ediff-mult.el, ediff-util.el:
16453 Replace last-command-char and last-command-event
16454 with (ediff-last-command-char) everywhere.
16456 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16457 created in fundamental mode.
16459 * ediff.el (ediff-version): Revert the change of interactive-p to
16460 called-interactively-p.
16462 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16464 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16465 generation from word-movement command names.
16467 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16469 * cus-start.el (all): Add native condition for font-use-system-font.
16471 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16473 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16474 Correct the patch from 2009-11-18. (Bug#3910)
16476 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16478 * progmodes/subword.el: Rename from lisp/subword.el.
16480 * subword.el: Rename to progmodes/subword.el.
16482 * Makefile.in (ELCFILES): Adapt to subword.el move.
16484 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16485 Stefan Monnier <monnier@iro.umontreal.ca>
16487 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16488 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16489 (bookmark-bmenu-show-filenames): Use push.
16490 (bookmark-bmenu-hide-filenames): Use local var instead of
16491 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16492 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16493 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16494 filenames now that the bookmark names are always available.
16496 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16498 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16499 (bookmark-search-pattern): Move and leave unbound.
16500 (bookmark-bmenu-mode-map): Change binding.
16501 (bookmark-read-search-input): Simplify.
16502 Don't use text-char-description. Don't error on non-char events.
16503 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16504 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16505 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16506 Use a local var for the timer.
16507 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16508 (i.e. bookmark-bmenu-search).
16510 2009-11-21 Glenn Morris <rgm@gnu.org>
16512 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16514 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16516 * net/browse-url.el (browse-url-default-windows-browser):
16517 Use cygstart for cygwin.
16519 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16521 * bookmark.el: Formatting and doc fixes only:
16522 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16523 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16524 Minor grammar and punctuation fixes in doc string.
16525 (bookmark-read-search-input): Adjust to fit within 80 columns.
16527 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16529 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16530 (c-backward-into-nomenclature): Adapt to subword renaming.
16532 * subword.el (subword-forward, subword-backward, subword-mark)
16533 (subword-kill, subword-backward-kill, subword-transpose)
16534 (subword-downcase, subword-upcase, subword-capitalize)
16535 (subword-forward-internal, subword-backward-internal):
16536 Rename from forward-subword, backward-subword, mark-subword,
16537 kill-subword, backward-kill-subword, transpose-subwords,
16538 downcase-subword, upcase-subword, capitalize-subword,
16539 forward-subword-internal, backward-subword-internal.
16541 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16543 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16545 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16547 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16548 (bookmark-bmenu-filter-alist-by-regexp)
16549 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16550 (bookmark-bmenu-search): New command.
16551 (bookmark-bmenu-mode-map): Bind it.
16553 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16555 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16556 backward-subword to quit the byte-compiler.
16558 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16560 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16562 * progmodes/cc-cmds.el (c-update-modeline)
16563 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16564 Refer to subword.el functions instead of cc-subword.el.
16566 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16567 subword.el functions instead of cc-subword.el.
16569 * progmodes/cc-subword.el: Rename to subword.el.
16570 * subword.el: Rename from progmodes/cc-subword.el.
16571 (subword-mode-map): Rename from c-subword-mode-map.
16572 (subword-mode): Rename from c-subword-mode.
16573 (global-subword-mode): New global minor mode.
16574 (forward-subword): Rename from c-forward-subword.
16575 (backward-subword): Rename from c-backward-subword.
16576 (mark-subword): Rename from c-mark-subword.
16577 (kill-subword): Rename from c-kill-subword.
16578 (backward-kill-subword): Rename from c-backward-kill-subword.
16579 (transpose-subwords): Rename from c-tranpose-subword.
16580 (downcase-subword): Rename from c-downcase-subword.
16581 (capitalize-subword): Rename from c-capitalize-subword.
16582 (forward-subword-internal): Rename from c-forward-subword-internal.
16583 (backward-subword-internal): Rename from c-backward-subword-internal.
16585 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16587 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16588 from a dired buffer.
16589 (vc-dired-deduce-fileset): New function.
16590 (vc-root-diff, vc-print-root-log): Use it.
16592 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16593 nil LIMIT argument to vc-print-log-internal.
16595 2009-11-20 Glenn Morris <rgm@gnu.org>
16597 * Makefile.in (ELCFILES): Regenerate.
16599 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16601 * calc/calc.el (calc-set-mode-line):
16602 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16603 (math-format-number): Rename `math-format-complement-signed' to
16604 `math-format-twos-complement'.
16606 * calc/calc-bin.el (math-format-twos-complement): Rename from
16607 math-format-complement-signed.
16608 (calc-radix): Rename `calc-complement-signed-mode' to
16609 `calc-twos-complement-mode'.
16610 (calc-octal-radix, calc-hex-radix): Add an argument for
16613 * calc/calc-embed.el (calc-embedded-mode-vars):
16614 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16616 * calc/calc-ext.el (calc-init-extensions):
16617 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16618 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16620 * calc/calc-units.el (math-build-units-table-buffer):
16621 Let `calc-twos-complement-mode' be nil.
16623 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16626 * calc/calc-vec.el (calcFunc-vunpack):
16627 * calc/calc-aent.el (calc-do-calc-eval):
16628 * calc/calc-forms.el (math-format-date):
16629 * calc/calc-graph.el (calc-graph-plot):
16630 * calc/calc-math.el (math-use-emacs-fn):
16631 * calc/calccomp.el (math-compose-expr):
16632 Let `calc-twos-complement-mode' be nil.
16634 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16636 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16637 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16638 * minibuffer.el (completion-in-region-functions): New hook.
16639 (completion-in-region): New function.
16640 * emacs-lisp/lisp.el (lisp-complete-symbol):
16641 * pcomplete.el (pcomplete-std-complete): Use it.
16643 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16645 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16646 (latex-complete-alist): New vars.
16647 (latex-string-prefix-p, latex-complete-bibtex-keys)
16648 (latex-complete-envnames, latex-complete-refkeys)
16649 (latex-complete-data): New functions.
16650 (latex-complete, latex-indent-or-complete): New commands.
16652 * window.el (display-buffer-mark-dedicated): New var.
16653 (display-buffer): Obey it.
16654 * minibuffer.el (minibuffer-completion-help): Use it.
16656 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16658 * filecache.el (file-cache-add-file): Use push and cons.
16659 (file-cache-delete-file-regexp): Use push.
16660 (file-cache-complete): Use completion-in-region.
16662 * simple.el (with-wrapper-hook): Fix thinko.
16664 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16665 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16666 Use with-current-buffer and string-to-number.
16667 (hfy-fallback-colour-values): Use assoc-string.
16668 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16669 (hfy-face-at): Remove unused var `found-face'.
16670 (hfy-compile-stylesheet): Remove unused var `css'.
16671 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16673 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16674 Use with-current-buffer.
16675 (hfy-text-p): Use expand-file-name and fewer setq.
16677 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16679 * htmlfontify.el, hfy-cmap.el: New files.
16681 2009-11-19 Juri Linkov <juri@jurta.org>
16683 * minibuffer.el (completions-format): New defcustom.
16684 (completion--insert-strings): Implement vertical format.
16686 * simple.el (switch-to-completions): Move point to the first
16687 completion when point was at the beginning of the buffer.
16689 2009-11-19 Juri Linkov <juri@jurta.org>
16691 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16693 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16695 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16697 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16698 (mail-signature): Change default to t.
16699 (mail-from-style): Deprecate `system-default' value.
16700 (mail-insert-from-field): For default value of mail-from-style,
16701 default to `angles' unless `angles' needs quoting and `parens'
16703 (mail-citation-prefix-regexp): Use citation regexp from
16706 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16708 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16709 Set variables for computing the prompt for reading password.
16711 2009-11-19 Glenn Morris <rgm@gnu.org>
16713 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16715 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16717 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16718 (newsticker-treeview-listwindow-height): Fix custom type.
16720 2009-11-19 Kenichi Handa <handa@m17n.org>
16722 * descr-text.el (describe-char-padded-string): Compose with TAB
16723 only if there's a font for CH.
16724 (describe-char): Fix the condition for detecting a trivial composition.
16726 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16728 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16729 more accurate version of the regexp. (Bug#3910)
16731 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16733 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16735 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16737 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16738 (font-setting-change-default-font): Fix typo in docstring.
16740 2009-11-18 Alan Mackenzie <acm@muc.de>
16742 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16744 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16746 * font-setting.el (font-use-system-font): Move ...
16748 * cus-start.el (all): ... to here.
16750 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16752 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16753 Don't set `ad-return-value' if `ad-do-it' doesn't.
16755 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16758 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16760 * menu-bar.el: Put "Use system font" in Option-menu.
16761 (menu-bar-options-save): Add font-use-system-font.
16763 * loadup.el: If feature system-font-setting or font-render-setting is
16764 there, load font-setting.
16766 * Makefile.in (ELCFILES): Add font-settings.el.
16767 * font-setting.el: New file.
16769 2009-11-17 Glenn Morris <rgm@gnu.org>
16771 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16773 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16774 Preserve point in the list buffer. (Bug#4939)
16776 (newsticker--treeview-list-update-highlight)
16777 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16779 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16781 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16784 * calc/calc-ext.el (calc-init-extensions): Remove references to
16787 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16789 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16790 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16793 2009-11-16 Kevin Ryde <user42@zip.com.au>
16795 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16796 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16798 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16799 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16800 Ignore trailing spaces by omit-nulls to split-string (fixing
16801 regression from Emacs 21 due to the incompatible split-string
16802 change). (Bug #4928.)
16804 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16806 * vc.el (vc-log-show-limit): Default to 2000.
16807 (vc-print-log-internal): Insert buttons to request more entries
16808 when limiting the output.
16810 * vc-sccs.el (vc-sccs-print-log):
16811 * vc-rcs.el (vc-rcs-print-log):
16812 * vc-cvs.el (vc-cvs-print-log):
16813 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16816 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16818 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16819 error when `tramp-gvfs-dbus-event-vector' is set.
16820 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16822 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16824 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16826 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16828 * net/dbus.el (dbus-unregister-service): New defun.
16829 (dbus-register-property): Register the handlers of
16830 "org.freedesktop.DBus.Properties" for SERVICE.
16831 (dbus-property-handler): Fix docstring.
16833 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16835 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16836 Quote doc string reference in defvaralias as it is not in special form.
16837 (byte-compile-output-docform): Doc fix.
16839 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16841 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16842 (calc-complement-signed-mode): New variables.
16843 (calc-set-mode-line): Add indicator for twos-complements.
16844 (math-format-number): Format twos-complement notation.
16846 * calc/calc-bin.el (calc-word-size): Reset the variables
16847 `math-2-word-size' and `math-half-2-word-size'.
16848 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16849 (calc-symclip): New functions.
16851 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16853 * calc/calc-embed.el (calc-embedded-mode-vars):
16854 Add `calc-complement-signed-mode' to the list of modes.
16856 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16857 (calc-b-oper-keys): Add `calc-symclip' to list.
16859 * calc/calc-ext.el (math-read-number-fancy): Read complement
16861 (calc-init-extensions): Add binding for `calc-symclip'.
16862 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16864 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16866 (calc-modes-menu): Add item for twos complement mode.
16868 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16870 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16872 * register.el (jump-to-register, insert-register): Handle Semantic
16873 tags. From commented-out advice in semantic/senator.el.
16875 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16877 * vc.el (vc-log-show-limit): New variable.
16878 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16879 when using a prefix argument.
16880 (vc-print-log-internal): Add new argument LIMIT.
16882 * vc-svn.el (vc-svn-print-log):
16883 * vc-mtn.el (vc-mtn-print-log):
16884 * vc-hg.el (vc-hg-print-log):
16885 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16886 pass it to the log command when set. Make the BUFFER argument
16889 * vc-sccs.el (vc-sccs-print-log):
16890 * vc-rcs.el (vc-rcs-print-log):
16891 * vc-git.el (vc-git-print-log):
16892 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16893 ignore it. Make the BUFFER argument non-optional.
16895 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16897 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16899 * dired.el (dired-mode-map): Move encryption items to "Operate"
16902 * strokes.el (strokes-update-window-configuration): Make strokes
16903 buffer current before erasing (Bug#4906).
16905 2009-11-15 Juri Linkov <juri@jurta.org>
16907 * simple.el (set-mark-default-inactive): Add :type, :group
16908 and :version. (Bug#4876)
16910 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16912 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16913 (archive-unique-fname): ... here. (Bug#4929)
16915 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16917 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16920 * novice.el (disabled-command-function): Add useful args.
16921 Setup the help buffer so that [back] works.
16922 Remove redundant call to help-mode.
16923 (disabled-command-function): Use `case'.
16924 (en/disable-command): New function extracted from enable-command.
16925 (enable-command, disable-command): Use it.
16927 2009-11-14 Glenn Morris <rgm@gnu.org>
16929 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16930 constants. (Bug#4913)
16932 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16934 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16936 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16937 defined in C that have no doc-strings. (Bug#1063)
16939 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16941 * cus-edit.el (data, files):
16942 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16944 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16946 * simple.el (shell-command): Doc fix (Bug#4891).
16948 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16950 2009-11-14 Glenn Morris <rgm@gnu.org>
16952 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16953 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16954 If they are already loaded, eval-after-load will do the right thing.
16956 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16959 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16961 * simple.el (x-selection-owner-p): Declare.
16962 (read-mail-command): Use custom radio type rather than choice.
16963 (completion-no-auto-exit): Doc fix.
16965 * custom.el (defgroup):
16966 * epg-config.el (epg): Doc fixes.
16968 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16970 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16971 * international/ccl.el (define-ccl-program): Do not purecopy the
16972 docstring, defconst does it anyway.
16974 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16979 * x-dnd.el (x-dnd-maybe-call-test-function):
16980 * window.el (split-window-vertically):
16981 * whitespace.el (whitespace-help-on):
16982 * vc-rcs.el (vc-rcs-consult-headers):
16983 * userlock.el (ask-user-about-lock-help)
16984 (ask-user-about-supersession-help):
16985 * type-break.el (type-break-force-mode-line-update):
16986 * time-stamp.el (time-stamp-conv-warn):
16987 * terminal.el (te-set-output-log, te-more-break, te-filter)
16988 (te-sentinel, terminal-emulator):
16989 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16990 (term-write-input-ring, term-check-source, term-start-output-log):
16991 (term-display-buffer-line, term-dynamic-list-completions):
16992 (term-ansi-make-term, serial-term):
16993 * subr.el (selective-display):
16994 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16995 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16996 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16997 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16998 (speedbar-remove-localized-speedbar-support)
16999 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
17000 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
17001 (speedbar-buffers-line-directory):
17002 * simple.el (shell-command-on-region, append-to-buffer)
17003 (prepend-to-buffer):
17004 * shadowfile.el (shadow-save-todo-file):
17005 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
17006 (scroll-bar-maybe-set-window-start):
17007 * sb-image.el (speedbar-image-dump):
17008 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
17009 (load-save-place-alist-from-file):
17010 * ps-samp.el (ps-print-message-from-summary):
17011 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
17012 (ps-background-image, ps-begin-job, ps-do-despool):
17013 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
17014 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
17015 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
17016 (pr-call-process, pr-file-list, pr-interface-save):
17017 * novice.el (disabled-command-function)
17018 (enable-command, disable-command):
17019 * mouse.el (mouse-buffer-menu-alist):
17020 * mouse-copy.el (mouse-kill-preserving-secondary):
17021 * macros.el (kbd-macro-query):
17022 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
17023 * informat.el (batch-info-validate):
17024 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
17025 * hippie-exp.el (try-expand-dabbrev-visible):
17026 * help-mode.el (help-make-xrefs):
17027 * help-fns.el (describe-variable):
17028 * generic-x.el (bat-generic-mode-run-as-comint):
17029 * finder.el (finder-mouse-select):
17030 * find-dired.el (find-dired-sentinel):
17031 * filesets.el (filesets-file-close):
17032 * files.el (list-directory):
17033 * faces.el (list-faces-display, describe-face):
17034 * facemenu.el (list-colors-display):
17035 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
17036 * epg.el (epg--process-filter, epg-cancel):
17037 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17038 (epa--read-signature-type):
17039 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17040 (emerge-file-names):
17041 * ehelp.el (electric-helpify):
17042 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17043 * ediff-vers.el (rcs-ediff-view-revision):
17044 * ediff-util.el (ediff-setup):
17045 * ediff-mult.el (ediff-append-custom-diff):
17046 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17048 * echistory.el (Electric-command-history-redo-expression):
17049 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17050 * disp-table.el (describe-display-table):
17051 * dired.el (dired-find-buffer-nocreate):
17052 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17053 * dabbrev.el (dabbrev--same-major-mode-p):
17054 * chistory.el (list-command-history):
17055 * apropos.el (apropos-documentation):
17056 * allout.el (allout-obtain-passphrase):
17057 (allout-copy-exposed-to-buffer):
17058 (allout-verify-passphrase): Use with-current-buffer.
17060 2009-11-13 Glenn Morris <rgm@gnu.org>
17062 * Makefile.in (ELCFILES): Regenerate.
17064 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17066 * net/dbus.el (dbus-registered-objects-table): Rename from
17067 `dbus-registered-functions-table', because it contains also properties.
17068 (dbus-unregister-object): Unregister also properties.
17069 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17070 Use a timeout of 500 msec, in order to not block.
17071 (dbus-register-property, dbus-property-handler): New defuns.
17073 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * simple.el (minibuffer-default-add-completions): Drop deprecated
17078 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17080 * textmodes/artist.el (artist-mouse-choose-operation):
17081 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17082 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17083 (artist-compute-up-event-key): New function.
17084 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17086 2009-11-13 Kenichi Handa <handa@m17n.org>
17088 * language/japan-util.el: Make sure that the value of jisx0208
17089 property is jisx0208 character.
17091 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17093 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17094 car or each item, not the whole list.
17096 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * minibuffer.el (minibuffer-completion-help):
17099 Use minibuffer-hide-completions.
17101 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17103 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17104 (dired-revert): Use them (bug#4880).
17106 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17108 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17110 2009-11-12 Juri Linkov <juri@jurta.org>
17112 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17114 (find-file-literally-at-point): Alias of `ffap-literally'.
17116 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17118 * textmodes/ispell.el (ispell-skip-region-alist):
17119 * textmodes/css-mode.el (auto-mode-alist):
17120 * progmodes/compile.el (auto-mode-alist):
17121 * international/mule.el (ctext-non-standard-encodings-alist)
17122 (ctext-non-standard-encodings-regexp):
17123 * simple.el (shell-command-switch, text-read-only):
17124 * replace.el (occur-mode-map):
17125 * paths.el (rmail-file-name):
17126 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17127 * find-file.el (ff-special-constructs):
17128 * files.el (file-name-handler-alist):
17129 * composite.el: Purecopy strings.
17131 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17133 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17135 * widget.el (define-widget): Purecopy the docstring.
17136 * international/mule-cmds.el (charset): Do not purecopy the
17137 docstring here, define-widget does it.
17139 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17140 * textmodes/bibtex-style.el (auto-mode-alist):
17141 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17142 * progmodes/compile.el (compile-command):
17143 * language/korea-util.el (default-korean-keyboard):
17144 * international/mule-conf.el (file-coding-system-alist):
17145 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17146 * tooltip.el (tooltip-frame-parameters):
17147 * newcomment.el (comment-end, comment-padding):
17148 * dired.el (dired-trivial-filenames):
17149 * comint.el (comint-file-name-prefix): Purecopy initial values.
17151 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17153 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17154 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17156 (tramp-advice-make-auto-save-file-name)
17157 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17158 after removing the advice.
17160 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17162 * progmodes/grep.el (grep-regexp-alist):
17163 * international/mule-cmds.el (iso-2022-control-alist):
17164 * emacs-lisp/timer.el (timer-duration-words):
17165 * subr.el (version-separator, version-regexp-alist):
17166 * minibuffer.el (completion-styles-alist):
17167 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17168 Change defvars to defconsts.
17170 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17171 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17172 * international/mule-conf.el: Allow to be byte compiled.
17174 * international/mule.el (define-charset): Purecopy props.
17175 (load-with-code-conversion): Purecopy doc string and file name.
17176 (put-charset-property): Purecopy strings.
17177 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17179 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17180 (define-char-code-property): Correctly purecopy the table.
17182 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17184 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17186 * subr.el (add-hook): Purecopy strings.
17187 (eval-after-load): Purecopy load-history-regexp and the form.
17189 * custom.el (custom-declare-group): Purecopy load-file-name.
17191 * subr.el (menu-bar-separator): New defconst.
17192 * net/eudc.el (eudc-tools-menu):
17193 * international/mule-cmds.el (set-coding-system-map)
17194 (mule-menu-keymap):
17195 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17196 * vc-hooks.el (vc-menu-map):
17197 * replace.el (occur-mode-map):
17198 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17199 (menu-bar-edit-menu, menu-bar-goto-menu)
17200 (menu-bar-custom-menu, menu-bar-showhide-menu)
17201 (menu-bar-options-menu, menu-bar-tools-menu)
17202 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17203 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17204 (menu-bar-help-menu):
17205 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17206 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17208 * term/x-win.el (x-gtk-stock-map):
17209 * progmodes/vera-mode.el (auto-mode-alist):
17210 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17211 (inferior-lisp-program, inferior-lisp-load-command):
17212 * progmodes/hideshow.el (hs-special-modes-alist):
17213 * progmodes/gud.el (same-window-regexps):
17214 * progmodes/grep.el (grep-program, find-program, xargs-program):
17215 * net/telnet.el (same-window-regexps):
17216 * net/rlogin.el (same-window-regexps):
17217 * language/ethiopic.el (font-ccl-encoder-alist):
17218 * vc-sccs.el (vc-sccs-master-templates):
17219 * vc-rcs.el (vc-rcs-master-templates):
17220 * subr.el (cl-assertion-failed):
17221 * simple.el (next-error-overlay-arrow-position):
17222 * lpr.el (lpr-command):
17223 * locate.el (locate-ls-subdir-switches):
17224 * info.el (same-window-regexps, info)
17225 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17226 * image-mode.el (image-mode, auto-mode-alist):
17227 * hippie-exp.el (hippie-expand-ignore-buffers):
17228 * format.el (format-alist):
17229 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17231 * facemenu.el (facemenu-keybindings):
17232 * dired.el (dired-listing-switches, dired-chown-program):
17233 * diff.el (diff-switches, diff-command):
17234 * cus-edit.el (same-window-regexps):
17235 * bindings.el (mode-line-mule-info)
17236 (mode-line-buffer-identification): Purecopy strings.
17238 2009-11-11 Juri Linkov <juri@jurta.org>
17240 * simple.el (dired-get-filename) <declare-function>:
17241 Tell the byte-compiler about dired-get-filename.
17242 (shell-command): In Dired mode, get filename from the current line
17243 as the default value.
17245 2009-11-10 Glenn Morris <rgm@gnu.org>
17247 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17248 * calendar/holidays.el, progmodes/cperl-mode.el:
17249 Update x-popup-menu declarations.
17251 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17252 (list-load-path-shadows): Use dolist.
17253 (list-load-path-shadows): Use with-current-buffer.
17255 2009-11-10 Juri Linkov <juri@jurta.org>
17257 * minibuffer.el (read-file-name): Support a list of default values
17258 in `default-filename'. Use the first file name where only one
17259 element is required. Doc fix.
17261 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17263 * net/dbus.el (dbus-unregister-object): Release service, if no
17264 other method is registered for it.
17266 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17268 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17269 bookmark-sort-flag is non-nil (Bug#4653).
17271 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17273 * emulation/cua-base.el: Add CUA property to some CC mode commands
17276 2009-11-08 Kevin Ryde <user42@zip.com.au>
17278 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17279 at end of sentence (Bug#4818).
17281 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17284 Handle "see declaration of" MSFT statements (Bug#4100).
17286 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17288 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17289 (tramp-advice-file-expand-wildcards): Unload via
17290 `ad-remove-advice'.
17292 * net/trampver.el: Update release number.
17294 2009-11-08 Kevin Ryde <user42@zip.com.au>
17296 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17299 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17301 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17302 in order to keep context in SELinux.
17304 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17306 * dired-aux.el (dired-query): Place cursor in echo area and allow
17309 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17310 menu item if not on a directory (Bug#4701).
17312 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17314 Sync with Tramp 2.1.17.
17316 * net/tramp.el (tramp-handle-copy-directory): Don't use
17317 `file-remote-p' (due to compatibility).
17319 * net/tramp-compat.el (tramp-compat-copy-directory)
17320 (tramp-compat-delete-directory): New defuns.
17322 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17323 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17324 Use `tramp-compat-delete-directory'.
17326 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17327 (tramp-smb-handle-delete-directory):
17328 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17330 * net/trampver.el: Update release number.
17332 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17334 * tar-mode.el (tar-copy): Call write-region on the right buffer
17337 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17338 by hand, if necessary (Bug#4878).
17340 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17342 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17343 align size column (Bug#4839).
17345 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17348 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17350 * progmodes/ld-script.el (auto-mode-alist):
17351 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17353 * cus-face.el (custom-declare-face): Purecopy face spec.
17355 2009-11-06 Kenichi Handa <handa@m17n.org>
17357 * international/uni-bidi.el: Re-generated.
17358 * international/uni-category.el: Re-generated.
17359 * international/uni-combining.el: Re-generated.
17360 * international/uni-mirrored.el: Re-generated.
17362 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17364 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17365 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17366 (tex-start-options, slitex-run-command, latex-run-command)
17367 (tex-run-command, tex-directory):
17368 * textmodes/ispell.el (ispell-html-skip-alists)
17369 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17370 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17371 (adaptive-fill-regexp):
17372 * textmodes/dns-mode.el (auto-mode-alist):
17373 * progmodes/python.el (interpreter-mode-alist):
17374 * progmodes/etags.el (tags-compression-info-list):
17375 * progmodes/etags.el (tags-file-name):
17376 * net/browse-url.el (browse-url-galeon-program)
17377 (browse-url-firefox-program):
17378 * mail/sendmail.el (mail-signature-file)
17379 (mail-citation-prefix-regexp):
17380 * international/mule-conf.el (eight-bit):
17381 * international/latexenc.el (latex-inputenc-coding-alist):
17382 * international/fontset.el (x-pixel-size-width-font-regexp):
17383 * emacs-lisp/warnings.el (warning-type-format):
17384 * emacs-lisp/trace.el (trace-buffer):
17385 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17386 (emacs-lisp-mode-map):
17387 * calendar/holidays.el (holiday-solar-holidays)
17388 (holiday-bahai-holidays, holiday-islamic-holidays)
17389 (holiday-christian-holidays, holiday-hebrew-holidays)
17390 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17391 (hebrew-holidays-1, holiday-oriental-holidays)
17392 (holiday-general-holidays):
17393 * x-dnd.el (x-dnd-known-types):
17394 * tool-bar.el (tool-bar):
17395 * startup.el (site-run-file):
17396 * shell.el (shell-dumb-shell-regexp):
17397 * rfn-eshadow.el (file-name-shadow-tty-properties)
17398 (file-name-shadow-properties):
17399 * paths.el (remote-shell-program, news-directory):
17400 * mouse.el ([C-down-mouse-3]):
17401 * menu-bar.el (menu-bar-tools-menu):
17402 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17403 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17404 (jka-compr-compression-info-list):
17405 * isearch.el (search-whitespace-regexp):
17406 * image-file.el (image-file-name-extensions):
17407 * find-dired.el (find-ls-option):
17408 * files.el (directory-listing-before-filename-regexp)
17409 (directory-free-space-args, insert-directory-program)
17410 (list-directory-brief-switches, magic-fallback-mode-alist)
17411 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17412 (automount-dir-prefix):
17413 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17414 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17415 (face-font-registry-alternatives, face-font-registry-alternatives)
17416 (face-font-family-alternatives):
17417 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17418 (facemenu-foreground-menu, facemenu-face-menu):
17419 * epa-hook.el (epa-file-name-regexp):
17420 * dnd.el (dnd-protocol-alist):
17421 * textmodes/rst.el (auto-mode-alist):
17422 * button.el (default-button): Purecopy strings.
17424 2009-11-06 Glenn Morris <rgm@gnu.org>
17426 * Makefile.in (ELCFILES): Update.
17428 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17430 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17431 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17433 * nxml/xsd-regexp.el (xsdre-gen-categories):
17434 * nxml/xmltok.el (xmltok-parse-entity):
17435 * nxml/rng-parse.el (rng-parse-validate-file):
17436 * nxml/rng-maint.el (rng-format-manual)
17437 (rng-manual-output-force-new-line):
17438 * nxml/rng-loc.el (rng-save-schema-location-1):
17439 * nxml/rng-cmpct.el (rng-c-parse-file):
17440 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17441 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17443 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17445 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17446 Remove extra save-excursions and make-variable-buffer-local's.
17447 Suggested by Stefan Monnier.
17449 (verilog-getopt-file, verilog-module-inside-filename-p)
17450 (verilog-set-define): Merge GNU 1.35 and repair changes from
17451 switching to using with-current-buffer.
17453 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17454 being treated as a number and confusing AUTORESET.
17455 Reported by Dan Dever.
17457 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17458 Add verilog-auto-ignore-concat to fix backward compatibility with
17459 older verilog-modes. Reported by Dan Katz.
17461 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17462 containing closing anchors "...$".
17464 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17465 Reported by Wade Smith.
17467 (verilog-batch-execute-func): Comment on function usage.
17469 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17471 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17474 (verilog-label-re, verilog-calc-1): Support proper indent of named
17477 (verilog-backward-token, verilog-basic-complete-re)
17478 (verilog-beg-of-statement, verilog-indent-re): Support proper
17479 indent of the assert statement at the beginning of a block of text.
17481 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17482 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17485 2009-11-05 Glenn Morris <rgm@gnu.org>
17487 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17488 Emacs 19. (Bug#1531)
17489 (byte-compile-fix-header): Update for the above change.
17490 Drop test for epoch::version.
17492 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17493 * cus-dep.el (custom-make-dependencies):
17494 * finder.el (finder-compile-keywords):
17495 Use autoload-rubric's feature argument.
17497 * calendar/diary-lib.el (top-level): Make load behave more like require.
17499 * vc-git.el (vc-git-stash-map): Move definition before use.
17501 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17503 * custom.el (custom-declare-group): Purecopy standard-value.
17504 (custom-declare-group): Purecopy custom-prefix.
17506 * international/mule.el (load-with-code-conversion):
17507 Call do-after-load-evaluation unconditionally.
17509 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17511 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17513 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17515 2009-11-04 Glenn Morris <rgm@gnu.org>
17517 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17518 (byte-compile-compatibility): Remove option.
17519 (byte-compile-close-variables, byte-compile-fix-header)
17520 (byte-compile-insert-header, byte-compile-output-docform)
17521 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17522 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17523 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17524 (byte-compile-insert, byte-compile-defun):
17525 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17526 (byte-defop-compiler19): Remove.
17527 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17528 used by anything. Replace all calls with byte-defop-compiler.
17530 2009-11-04 Juri Linkov <juri@jurta.org>
17532 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17533 (menu-bar-options-menu): Don't quote the `prop' arg of
17534 `menu-bar-make-mm-toggle'.
17536 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17538 * calendar/calendar.el (cal-loaddefs):
17539 * calendar/diary-lib.el (diary-loaddefs):
17540 * calendar/holidays.el (hol-loaddefs):
17541 * eshell/esh-module.el (esh-groups): Load rather than require.
17543 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17545 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17547 (todo-top-priorities): Only display-buffer when called interactively.
17548 (todo-item-start): Don't save excursion point.
17549 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17550 (todo-insert-item-here, todo-file-item, todo-remove-item):
17551 Adjust uses of todo-item-start and todo-item-end.
17553 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17554 (autoload-rubric): Don't use any more.
17556 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17557 and only put a prop if it is non-nil.
17559 2009-11-03 Juri Linkov <juri@jurta.org>
17561 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17562 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17564 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17565 and "Menu" to make top-level menu item visually one unit (like
17566 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17567 multi-word menu items). Fix :help string for quit-window.
17569 2009-11-03 Glenn Morris <rgm@gnu.org>
17571 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17572 (byte-compile-file-form-define-abbrev-table)
17573 (byte-compile-file-form-custom-declare-variable)
17574 (byte-compile-variable-ref, byte-compile-defvar):
17575 Whether or not a warning is enabled should only affect whether we issue
17576 the warning, not whether or not we collect the relevant data.
17577 Eg warnings can be turned on and off throughout the course of a file.
17579 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17580 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17582 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17584 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17585 * play/mpuz.el (mpuz-create-buffer):
17586 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17587 (lm-print-y,s,noise, lm-print-w0, lm-init):
17588 * play/gomoku.el (gomoku-prompt-for-move):
17589 * play/fortune.el (fortune-in-buffer):
17590 * play/dissociate.el (dissociated-press):
17591 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17592 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17593 * mail/supercite.el (sc-eref-show):
17594 * mail/smtpmail.el (smtpmail-send-it):
17595 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17596 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17597 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17598 (rmail-summary-goto-msg, rmail-summary-expunge)
17599 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17600 (rmail-summary-add-label, rmail-summary-output-menu)
17601 (rmail-summary-output-body):
17602 * mail/rfc822.el (rfc822-addresses):
17603 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17604 * mail/mailpost.el (post-mail-send-it):
17605 * mail/hashcash.el (hashcash-generate-payment):
17606 * mail/feedmail.el (feedmail-run-the-queue)
17607 (feedmail-queue-send-edit-prompt-help-first)
17608 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17609 (feedmail-deduce-address-list):
17610 * eshell/esh-ext.el (eshell-remote-command):
17611 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17612 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17613 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17614 (viper-save-string-in-file, viper-valid-marker):
17615 * emulation/viper-keym.el (viper-toggle-key):
17616 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17617 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17618 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17619 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17620 (viper-exec-form-in-emacs, viper-brac-function):
17621 * emulation/viper.el (viper-delocalize-var):
17622 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17623 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17624 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17625 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17626 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17627 * emulation/edt.el (edt-electric-helpify):
17628 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17629 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17630 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17631 (cua-indent-to-global-mark-column):
17632 * calendar/diary-lib.el (calendar-mark-1):
17633 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17634 Use with-current-buffer.
17635 * emulation/viper.el (viper-delocalize-var): Use dolist.
17637 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17639 * comint.el (comint-replace-by-expanded-history-before-point):
17640 Replace !! with the previous input string literally (Bug#1795).
17642 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17644 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17645 to be made up of whitespace.
17647 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17649 * minibuffer.el (read-file-name): Don't use file dialogs for
17650 remote directories (Bug#99).
17652 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17654 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17656 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17658 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17659 instead of deleting the window or frame.
17661 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17663 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17664 Support face colors.
17666 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17667 New function. Support face colors (Bug#1168).
17668 (tex-common-initialization): Use it.
17670 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17671 mode allows it (Bug#1168).
17673 2009-10-31 Juri Linkov <juri@jurta.org>
17675 * facemenu.el (list-colors-display): Don't mark buffer as
17676 modified (Bug#3948).
17678 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17680 * international/mule-diag.el (list-character-sets-1):
17681 Minor message fix (Bug#3526).
17683 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17684 Fix face property (Bug#4834).
17685 (etags-list-tags, etags-tags-apropos-additional)
17686 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17689 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17692 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17694 * textmodes/two-column.el (2C-split):
17695 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17696 * textmodes/tex-mode.el (tex-set-buffer-directory):
17697 * textmodes/spell.el (spell-region, spell-string):
17698 * textmodes/reftex.el (reftex-erase-buffer):
17699 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17700 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17701 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17702 (reftex-select-item):
17703 * textmodes/reftex-ref.el (reftex-label-info-update)
17704 (reftex-offer-label-menu):
17705 * textmodes/reftex-index.el (reftex-index-change-entry)
17706 (reftex-index-phrases-info):
17707 * textmodes/reftex-global.el (reftex-create-tags-file)
17708 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17709 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17710 (reftex-view-crossref-from-bibtex):
17711 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17712 (reftex-extract-bib-entries-from-thebibliography)
17713 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17714 * textmodes/refbib.el (r2b-capitalize-title):
17715 (r2b-convert-buffer, r2b-help):
17716 * textmodes/page-ext.el (pages-directory)
17717 (pages-directory-goto-with-mouse):
17718 * textmodes/bibtex.el (bibtex-validate-globally):
17719 * textmodes/bib-mode.el (bib-capitalize-title):
17720 * textmodes/artist.el (artist-clear-buffer, artist-system):
17721 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17722 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17723 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17724 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17725 (xscheme-send-control-g-interrupt, xscheme-start-process)
17726 (xscheme-process-sentinel, xscheme-cd):
17727 * progmodes/verilog-mode.el (verilog-read-always-signals)
17728 (verilog-set-define, verilog-getopt-file)
17729 (verilog-module-inside-filename-p):
17730 * progmodes/sh-script.el:
17731 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17732 (python-pdbtrack-grub-for-buffer, python-execute-file):
17733 * progmodes/octave-inf.el (inferior-octave):
17734 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17735 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17736 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17737 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17738 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17739 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17740 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17741 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17742 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17743 (idlwave-shell-examine-display, idlwave-shell-run-region)
17744 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17745 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17746 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17747 (idlwave-help-get-help-buffer):
17748 * progmodes/gud.el (gud-basic-call, gud-find-class)
17749 (gud-tooltip-activate-mouse-motions-if-enabled):
17750 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17751 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17752 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17753 (ebrowse-tags-next-file):
17754 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17755 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17756 (ebnf-eps-finish-and-write):
17757 * progmodes/cpp.el (cpp-edit-save):
17758 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17759 * progmodes/cc-defs.el (c-emacs-features):
17760 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17761 (antlr-directory-dependencies):
17762 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17763 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17764 (ada-find-any-references, ada-make-filename-from-adaname)
17765 (ada-make-body-gnatstub):
17766 * obsolete/rnews.el (news-list-news-groups):
17767 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17768 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17769 * net/rcirc.el (rcirc-debug):
17770 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17771 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17772 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17773 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17774 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17775 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17776 (newsticker--treeview-list-clear-highlight)
17777 (newsticker--treeview-list-update-highlight)
17778 (newsticker--treeview-list-highlight-start)
17779 (newsticker--treeview-tree-update-highlight)
17780 (newsticker--treeview-get-selected-item)
17781 (newsticker-treeview-mark-list-items-old)
17782 (newsticker--treeview-set-current-node):
17783 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17784 * net/newst-backend.el (newsticker--get-news-by-funcall)
17785 (newsticker--get-news-by-wget, newsticker--image-get)
17786 (newsticker--image-sentinel):
17787 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17788 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17789 (eudc-ph-close-session):
17790 * net/eudc.el (eudc-save-options):
17791 * language/thai-word.el (thai-update-word-table):
17792 * language/japan-util.el (japanese-string-conversion):
17793 * international/titdic-cnv.el (tsang-quick-converter)
17794 (ziranma-converter, ctlau-converter):
17795 * international/mule-cmds.el (describe-language-environment):
17796 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17797 (skkdic-convert-postfix, skkdic-convert-prefix):
17798 (skkdic-convert-okuri-nasi, skkdic-convert):
17799 * emacs-lisp/re-builder.el (reb-update-overlays):
17800 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17801 * emacs-lisp/gulp.el (gulp-send-requests):
17802 * emacs-lisp/find-gc.el (trace-call-tree):
17803 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17804 (eieio-describe-generic):
17805 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17806 * emacs-lisp/edebug.el (edebug-outside-excursion):
17807 * emacs-lisp/debug.el (debugger-make-xrefs):
17808 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17809 * emacs-lisp/chart.el (chart-new-buffer):
17810 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17811 Use with-current-buffer.
17812 * textmodes/artist.el (artist-system): Don't call
17813 copy-sequence on a fresh string.
17814 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17816 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17818 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17819 is no item to edit. (Bug#4820)
17820 (todo-top-priorities): Restore point and restore narrowing in Todo
17823 2009-10-31 Glenn Morris <rgm@gnu.org>
17825 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17826 (comint-last-output-start, comint-last-input-start)
17827 (comint-last-input-end): Don't defvar when compiling.
17828 (ange-ftp-process-file): Use bound-and-true-p.
17830 * pcmpl-rpm.el (top-level): Move provide statement to end.
17831 (pcmpl-rpm): Remove unused custom group.
17833 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17835 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17837 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17838 (byte-compile-warnings): Add `constants' as an option.
17839 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17840 (display-call-tree): Update for byte-compile-fdefinition possibly
17841 returning `(macro lambda ...)'. (Bug#4778)
17842 (byte-compile-variable-ref, byte-compile-setq-default):
17843 Respect `constants' member of byte-compile-warnings.
17845 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17847 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17848 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17851 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17853 * textmodes/ispell.el (ispell-skip-region-alist):
17854 * international/mule-conf.el (eight-bit):
17855 * international/fontset.el (font-encoding-alist):
17856 * startup.el (pure-space-overflow-message):
17857 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17858 * paths.el (gnus-nntp-service, rmail-spool-directory)
17859 (term-file-prefix):
17860 * files.el (save-some-buffers-action-alist):
17861 * cmuscheme.el (same-window-buffer-names):
17862 * ielm.el (same-window-buffer-names):
17863 * shell.el (same-window-buffer-names):
17864 * mail/sendmail.el (same-window-buffer-names):
17865 * progmodes/inf-lisp.el (same-window-buffer-names):
17866 * bindings.el (mode-line-client)
17867 (mode-line-column-line-number-mode-map):
17868 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17869 (tibetan-precomposed-regexp): Purecopy string arguments.
17871 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17873 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17874 (calcDigit-nondigit):
17875 * calc/calc-yank.el (calc-copy-to-buffer):
17876 * calc/calc-units.el (calc-invalidate-units-table):
17877 * calc/calc-trail.el (calc-trail-yank):
17878 * calc/calc-store.el (calc-insert-variables):
17879 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17880 * calc/calc-prog.el (calc-read-parse-table):
17881 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17882 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17883 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17884 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17885 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17886 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17887 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17888 * calc/calc-ext.el (calc-realign):
17889 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17890 (calc-embedded-finish-edit, calc-embedded-make-info)
17891 (calc-embedded-finish-command, calc-embedded-stack-change):
17892 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17894 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17895 shell-dynamic-complete-filename in preference to
17896 comint-dynamic-complete-filename.
17898 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17899 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17900 Don't consider whether the display supports colors.
17901 (bookmark-import-new-list): Use dolist.
17902 (bookmark-bmenu-mode-map): Move initialization into declaration.
17903 (bookmark-bmenu-list): Use dolist, simplify.
17904 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17905 (menu-bar-final-items): Use push.
17907 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17909 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17910 it works on remote files.
17911 (vc-hg-diff): Don't pass any `--cwd' argument.
17913 2009-10-27 Kevin Ryde <user42@zip.com.au>
17915 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17916 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17917 (Further to Bug#3921).
17919 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17921 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17922 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17923 calling `tramp-imap-put-file'. Add file size to the call.
17924 (tramp-imap-get-file-entries): Compute also user name, file size,
17926 (tramp-imap-handle-insert-directory): Insert uid and gid.
17927 (tramp-imap-handle-file-attributes): Transform uid and gid
17928 according to `id-format'.
17929 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17930 size in header X-Size.
17932 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17934 * simple.el (transpose-subr): Give clearer error when the mark
17935 is not set. (Bug#4807)
17937 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17939 * net/tramp.el (tramp-perl-file-truename): New defconst.
17940 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17941 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17942 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17943 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17945 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17946 Ignore `dired-call-process'.
17947 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17949 2009-10-26 Julian Scheid <julians37@gmail.com>
17951 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17952 (tramp-get-remote-readlink): New defun.
17953 (tramp-handle-file-truename): Use it.
17954 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17955 file exists if cache value present.
17956 (tramp-check-cached-permissions): New defun.
17957 (tramp-handle-file-readable-p): Use it.
17958 (tramp-handle-file-writable-p): Likewise.
17959 (tramp-handle-file-executable-p): Likewise.
17960 (tramp-handle-file-name-all-completions): Try using Perl to get
17961 partial completions. When perl not available, combine `cd' and
17962 `ls' into single remote operation and use shell expansion to get
17963 partial remote directory contents. Set `file-exists-p' cache for
17964 directory and any files returned by ls. Change cache handling to
17965 support partial directory contents. Use error message emitted by
17966 remote `cd' or Perl code for local tramp-error.
17967 (tramp-do-copy-or-rename-file-directly): Avoid separate
17968 tramp-send-command-and-check call.
17969 (tramp-handle-process-file): Merge three remote ops into one.
17970 Do not flush all caches when `process-file-side-effects' is set.
17971 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17972 file-attributes shows uid/gid to be set already.
17974 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17976 * textmodes/tex-mode.el (tex-dvi-view-command)
17977 (tex-show-queue-command, tex-open-quote):
17978 * progmodes/ruby-mode.el (auto-mode-alist)
17979 (interpreter-mode-alist): Purecopy strings.
17981 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17983 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17984 string for the hook, keymap and abbrev table.
17986 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17988 * x-dnd.el (x-dnd-xdnd-to-action):
17989 * startup.el (fancy-startup-text, fancy-about-text): Change to
17990 defconst from defvar.
17992 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17994 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17995 Purecopy initialization strings.
17997 * mail/sendmail.el (mail-header-separator)
17998 (mail-personal-alias-file):
17999 * mail/rmail.el (rmail-default-dont-reply-to-names)
18000 (rmail-ignored-headers, rmail-retry-ignored-headers)
18001 (rmail-highlighted-headers, rmail-secondary-file-directory)
18002 (rmail-secondary-file-regexp):
18003 * files.el (null-device, file-name-invalid-regexp)
18004 (locate-dominating-stop-dir-regexp)
18005 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
18006 (interpreter-mode-alist): Use mapcar instead of mapc.
18008 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
18010 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
18011 (completion-ignored-extensions):
18012 (debug-ignored-errors): Purecopy strings.
18014 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18016 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
18017 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
18018 (pcomplete--here): Use push.
18020 * subr.el (all-completions): Declare the 4th arg obsolete.
18022 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18024 * pcomplete.el (pcomplete-unquote-argument-function): New var.
18025 (pcomplete-unquote-argument): New function.
18026 (pcomplete--common-suffix): Always pay attention to case.
18027 (pcomplete--table-subvert): Quote and unquote the text.
18028 (pcomplete--common-quoted-suffix): New function.
18029 (pcomplete-std-complete): Use it and pcomplete-begin.
18031 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
18032 we're inside a dedicated or minibuffer window.
18034 2009-10-24 Karl Fogel <kfogel@red-bean.com>
18036 * bookmark.el: Update documentation, especially documentation
18037 of `bookmark-alist' and of the bookmark file format.
18038 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18040 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18042 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18043 keybindings apply to the mail buffer (Bug#4003). Shrink help
18046 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18047 (global-whitespace-mode, global-whitespace-newline-mode)
18048 (whitespace-toggle-options, global-whitespace-toggle-options):
18049 Doc fix (Bug#3660).
18051 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18052 of xmltok-start before the end tag was inserted (Bug#2840).
18054 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18055 patterns that are preceded by an open-paren (Bug#1320).
18057 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18059 * files.el (delete-directory): Delete symlinks to directories with
18060 delete-file (Bug#4739).
18062 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18064 * vc.el (vc-backend-for-registration): Rename from
18065 vc-get-backend-for-registration. Update callers.
18067 * international/mule-cmds.el (set-language-info-alist):
18069 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18070 (charset): Purecopy the name.
18071 (define-char-code-property): Purecopy string arguments.
18073 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18074 Purecopy string arguments.
18076 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18077 * ediff-hook.el (menu-bar-ediff-menu):
18078 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18079 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18081 2009-10-24 Glenn Morris <rgm@gnu.org>
18083 * comint.el (comint-dynamic-list-completions):
18084 * term.el (term-dynamic-list-completions): Use choose-completion rather
18085 than obsolete alias mouse-choose-completion.
18087 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18088 file-cache-choose-completion.
18089 (file-cache-choose-completion): Handle an optional event argument.
18090 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18092 * progmodes/octave-mod.el (octave-complete-symbol):
18093 Use choose-completion if mouse-choose-completion is ever removed.
18095 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18098 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18101 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18103 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18105 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18106 Ignore `pred' now that we receive one.
18107 Handle test-completion specially.
18109 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18111 * vc.el (vc-responsible-backend): Throw an error if not backend is
18112 found. Remove the REGISTER argument. Move the code dealing with
18114 (vc-get-backend-for-registration): ... here. New function.
18115 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18116 of vc-responsible-backend, pass the file name instead of the
18119 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18121 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18123 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18124 (pcomplete-comint-setup): Don't modify a global var via
18125 accidental side-effects.
18126 (pcomplete-shell-setup): Adjust call accordingly.
18127 (pcomplete-parse-comint-arguments): Use push.
18129 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18131 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18132 Allow uncapitalized info node names (Bug#3921).
18134 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18135 to the DEBUG file (Bug#3781).
18137 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18139 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18140 dictionary entry (Bug#4579).
18142 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18144 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18145 from `rfn-eshadow-update-overlay-hook' when unloading.
18146 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18147 "rsyncc". Adjust doc string.
18148 (tramp-temp-buffer-file-name): New buffer-local defvar.
18149 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18150 Keep temporary file when indicated by method ("rsync" and
18152 (tramp-handle-write-region): Handle APPEND.
18153 (tramp-delete-temp-file-function): New defun. Added to
18154 `kill-buffer-hook'.
18156 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18158 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18160 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18162 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18163 (color-name-rgb-alist, tty-standard-colors)
18164 (tty-color-mode-alist): Change to defconst.
18166 * simple.el (mark-inactive): Purecopy message.
18168 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18169 (global-map, yank-menu):
18170 * textmodes/ispell.el (ispell-menu-map):
18171 * net/eudc.el (eudc-tools-menu):
18172 * international/mule-cmds.el (describe-language-environment-map)
18173 (setup-language-environment-map, set-coding-system-map)
18174 (mule-menu-keymap):
18175 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18176 * replace.el (occur-mode-map):
18177 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18179 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18181 * calc/calc.el (math-read-number, math-read-number-simple):
18182 Use `save-match-data'.
18184 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18186 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18187 rather than fiddling with global-map bindings, since it should only
18188 affect per-terminal settings.
18189 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18191 * minibuffer.el (completion-table-with-terminator): Allow to specify
18192 the terminator-regexp.
18194 * simple.el (switch-to-completions): Look for *Completions* in other
18197 * pcomplete.el: Allow the use of completion-tables.
18198 (pcomplete-std-complete): New command.
18199 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18200 (pcomplete--here): Use a function for `form' rather than an expression,
18201 so it can be byte-compiled.
18202 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18203 Add edebug declaration.
18204 (pcomplete-show-completions): Remove unused var `curbuf'.
18205 (pcomplete-do-complete, pcomplete-stub):
18206 Don't assume `completions' is a list of strings any more.
18208 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18210 * find-dired.el (find-name-arg): Fix typo in docstring.
18212 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18214 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18215 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18217 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18220 * comint.el (comint-read-input-ring, comint-write-input-ring)
18221 (comint-substitute-in-file-name)
18222 (comint-dynamic-complete-as-filename)
18223 (comint-dynamic-simple-complete)
18224 (comint-dynamic-list-filename-completions)
18225 (comint-dynamic-list-completions)
18226 (comint-redirect-results-list-from-process): Minor simplifications.
18228 2009-10-21 Kevin Ryde <user42@zip.com.au>
18230 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18231 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18232 the first form. And insert a blank line after ";;; Code" since
18233 that's usual style. (Bug#4612)
18235 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18237 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18239 * minibuffer.el (completion-table-with-terminator): Properly implement
18240 boundaries, in case `terminator' appears in the suffix.
18241 (completion--embedded-envvar-table): Don't return boundaries if
18242 there's no valid completion. Simplify.
18243 (completion-file-name-table): New completion table extracted from
18244 completion--file-name-table.
18245 (completion--file-name-table): Use it.
18246 (read-file-name-predicate): Declare obsolete.
18247 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18248 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18249 completion-file-name-table, and use the `pred' argument.
18250 * files.el (locate-file-completion-table): Use the `pred' arg rather
18251 than read-file-name-predicate.
18252 (abbreviate-file-name): Use \` rather than ^ for BOS.
18254 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18256 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18257 vc-responsible-backend to register, it causes problems.
18259 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18261 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18263 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18265 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18266 (tramp-smb-handle-file-attributes): Use it.
18267 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18268 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18269 `mapcar'. Use `tramp-smb-get-stat-capability'.
18270 Add `dired-filename' text properties.
18271 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18272 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18275 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18277 * subr.el (read-key-delay): Reduce to 0.01.
18278 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18281 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18285 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18286 (Info-menu): Remove unused vars `last' and `completions'.
18287 (Info-index-nodes): Remove unused var `node'.
18289 * info.el (Info-complete-menu-item): Use complete-with-action.
18291 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18293 Make vc-annotate work through copies and renames.
18294 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18295 Return the file name too.
18296 (vc-annotate-revision-at-line)
18297 (vc-annotate-find-revision-at-line)
18298 (vc-annotate-revision-previous-to-line)
18299 (vc-annotate-show-log-revision-at-line): Update to get the file
18300 name from vc-annotate-extract-revision-at-line.
18301 (vc-annotate-show-diff-revision-at-line-internal): Change the
18302 argument to mean whether to show a file diff or not. Get the file
18303 name from vc-annotate-extract-revision-at-line.
18304 (vc-annotate-show-diff-revision-at-line):
18305 Update vc-annotate-show-diff-revision-at-line call.
18306 (vc-annotate-warp-revision): Add an optional file argument.
18308 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18309 (vc-git-annotate-extract-revision-at-line): Also return the file
18312 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18313 command. Remove unused code.
18314 (vc-hg-annotate-re): Update to match --follow output.
18315 (vc-hg-annotate-extract-revision-at-line): Also return the file
18318 * vc.el: Update annotate-extract-revision-at-line documentation.
18320 2009-10-18 Kevin Ryde <user42@zip.com.au>
18322 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18323 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18325 * net/browse-url.el (browse-url): Identify alist with "consp and
18326 not functionp" and let all other things go down the `apply' leg,
18327 as suggested by Stefan. (Further to bug#4531.)
18329 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18331 * minibuffer.el (read-file-name): Check for repeat before putting
18332 a default argument in file-name-history (Bug#4657).
18334 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18335 read syntax (Bug#4737).
18337 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18339 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18341 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18342 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18343 entries and make note of obsolete tags.
18345 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18347 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18349 2009-10-18 Glenn Morris <rgm@gnu.org>
18351 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18352 grep, so that binary files (eg international/uni-bidi.el) can match.
18353 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18354 now, and in any case the file header format has changed.
18356 2009-10-17 Glenn Morris <rgm@gnu.org>
18358 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18359 (flyspell-get-word, flyspell-large-region)
18360 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18362 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18364 * Makefile.in (ELCFILES): Add ede/shell.
18366 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18368 * term/common-win.el (x-colors): Purecopy it.
18370 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18372 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18373 permissive for when the buffer is empty.
18374 (tar-header-block-tokenize): Decode the username and groupname.
18375 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18377 2009-10-17 Eric Ludlam <zappo@gnu.org>
18379 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18380 contains multibyte characters, choose first applicable coding
18381 system automatically.
18383 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18385 * international/mule-cmds.el (select-safe-coding-system): If the file
18386 has a coding cookie, use it regardless of any other setting (bug#4712).
18388 2009-10-17 Glenn Morris <rgm@gnu.org>
18390 * foldout.el (foldout-mouse-swallow-events):
18391 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18393 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18394 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18395 (dired-keep-marker-symlink, dired-dwim-target)
18396 (dired-copy-preserve-time): Do not autoload these defcustoms.
18398 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18399 messages from messing up the file coding. (Bug#4623)
18401 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18403 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18404 if no match is found for the current dictionary. (Bug#4578)
18406 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18407 optional, since that is how it is documented, and this is often called
18408 with a nil argument. (Bug#4577)
18409 (flyspell-external-point-words, flyspell-auto-correct-word)
18410 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18411 (flyspell-word-search-backward): Remove nil argument in calls to
18412 flyspell-get-word, since it is not needed now.
18414 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18416 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18418 2009-10-16 Glenn Morris <rgm@gnu.org>
18420 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18422 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18424 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18425 (ange-ftp-file-size): New function.
18426 (ange-ftp-file-attributes): Use it.
18428 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18430 * net/tramp-smb.el (tramp-smb-version): New defvar.
18431 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18434 2009-10-16 Glenn Morris <rgm@gnu.org>
18436 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18437 Maybe copy some custom properties from old to new name. (Bug#4706)
18439 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18441 * subr.el (error, sit-for, start-process-shell-command)
18442 (start-file-process-shell-command): Set the calling convention
18443 after the function definition.
18445 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18447 * subr.el (error, sit-for, start-process-shell-command)
18448 (start-file-process-shell-command): Use the new
18449 set-advertised-calling-convention feature.
18451 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18453 * international/ucs-normalize.el (ucs-normalize-version):
18455 (check-range): Adjust for Unicode 5.2.
18457 2009-10-15 Juri Linkov <juri@jurta.org>
18459 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18460 to the `menu-item' format.
18462 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18464 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18465 if the environment variable does not exist.
18467 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18468 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18470 (tramp-smb-handle-add-name-to-file)
18471 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18472 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18473 (tramp-smb-handle-file-attributes)
18474 (tramp-smb-do-file-attributes-with-stat)
18475 (tramp-smb-handle-file-local-copy)
18476 (tramp-smb-handle-insert-directory)
18477 (tramp-smb-handle-make-directory)
18478 (tramp-smb-handle-make-directory-internal)
18479 (tramp-smb-handle-make-symbolic-link)
18480 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18481 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18482 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18483 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18484 Handle long file names.
18485 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18486 process is running.
18487 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18488 Read share names with "-g" option.
18490 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18492 * net/rcirc.el (rcirc-view-log-file): New command.
18493 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18494 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18497 2009-10-15 Glenn Morris <rgm@gnu.org>
18499 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18500 from the second command-line argument.
18501 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18502 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18503 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18504 w32-batch-update-autoloads.
18505 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18506 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18508 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18509 the headers cannot be located. Simplify, subtracting superflous
18512 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18514 Replace completion-base-size by completion-base-position to fix bugs
18515 such as (bug#4699).
18516 * simple.el (completion-base-position): New var.
18517 (completion-base-size): Mark as obsolete.
18518 (choose-completion): Make it work for mouse events as well.
18519 Pass the new base-position to choose-completion-string.
18520 (choose-completion-guess-base-position): New function, extracted from
18521 choose-completion-delete-max-match.
18522 (choose-completion-delete-max-match): Use it. Make obsolete.
18523 (choose-completion-string): Use the new base-position info.
18524 (completion-root-regexp): Delete.
18525 (completion-setup-function): Preserve completion-base-position.
18526 Eliminate obsolete base-size manipulation.
18527 * minibuffer.el (display-completion-list): Don't mess with base-size.
18528 (minibuffer-completion-help): Set completion-base-position instead.
18529 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18531 * textmodes/bibtex.el (bibtex-complete):
18532 * emacs-lisp/crm.el (crm--choose-completion-string):
18533 Adjust to new calling convention.
18534 * complete.el (partial-completion-mode): Use minibufferp to avoid
18535 bumping into incompatible change to choose-completion-string-functions.
18536 * ido.el (ido-choose-completion-string): Make its calling convention
18538 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18539 base-size manipulation.
18540 (comint-dynamic-list-input-ring): Use dotimes and push.
18541 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18542 fundamental-mode. Use `or'.
18544 2009-10-14 Juri Linkov <juri@jurta.org>
18546 * misearch.el (multi-isearch-next-buffer-from-list)
18547 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18549 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18551 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18554 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18555 string we return is all made up of text from the completions rather
18556 than part from the completions and part from the input (bug#4219).
18558 * ido.el (ido-everywhere): Use define-minor-mode.
18560 * buff-menu.el (list-buffers, ctl-x-map):
18561 Mark the entry points with ;;;###autoload cookies.
18563 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18565 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18566 correctly in the detached head case.
18567 (vc-git-print-log): Remove unused binding.
18569 * vc.el (vc-responsible-backend): When a directory is passed for
18570 for registration create a VC repository if no backend is
18571 responsible for the directory argument.
18572 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18574 * vc.el: Move comments about RCS and SCCS ...
18576 * vc-sccs.el: ... here, respectively.
18578 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * minibuffer.el (completion--file-name-table): Return nil if there's
18581 no file completion, even if substitute-in-file-name changed
18582 the string (bug#4708).
18584 2009-10-13 Juri Linkov <juri@jurta.org>
18586 * files-x.el (read-file-local-variable-value): Don't filter out
18587 minor modes from mode name completion (bug#4664).
18589 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18591 * international/mule-cmds.el (ucs-names): Remove exclusion of
18592 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18594 2009-10-13 Kenichi Handa <handa@m17n.org>
18596 * international/uni-name.el: Regenerated.
18598 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18600 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18601 should be automatically buffer-local, but isn't.)
18603 2009-10-12 Sam Steingold <sds@gnu.org>
18605 * progmodes/compile.el (compilation-next-error-function): Fix the
18606 timestamps if the buffer has been visited before.
18607 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18608 non-anchored patterns, like the perl one (bug#3928).
18610 2009-10-12 Glenn Morris <rgm@gnu.org>
18612 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18615 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18617 * proced.el (proced-unload-function): New function.
18619 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18620 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18623 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18625 2009-10-11 Juri Linkov <juri@jurta.org>
18627 * files-x.el (read-file-local-variable-value):
18628 Provide default value only for bound variables (bug#4664).
18630 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18632 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18633 connection methods like smb.
18635 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18638 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18639 (tramp-smb-file-name-handler-alist): Add handlers for
18640 `add-name-to-file', `make-symbolic-link'.
18641 (tramp-smb-handle-add-name-to-file)
18642 (tramp-smb-do-file-attributes-with-stat)
18643 (tramp-smb-handle-make-symbolic-link)
18644 (tramp-smb-get-cifs-capabilities): New defuns.
18645 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18646 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18647 (tramp-smb-handle-file-local-copy)
18648 (tramp-smb-handle-make-directory-internal)
18649 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18650 The file name syntax depends on cifs capabilities.
18651 (tramp-smb-handle-file-attributes):
18652 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18653 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18654 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18656 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18658 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18659 (eieio-defclass): Apply deftype handler and setf-method properties
18661 (eieio-add-new-slot): Avoid union function from cl library.
18662 (eieio--typep): New function.
18663 (eieio-perform-slot-validation): Use it.
18665 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18667 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18668 Update documentation to refer to the variables documented in r1.135.
18671 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18673 * bookmark.el (Info-suffix-list): Remove this unused variable.
18674 (bookmark-current-point): Remove this obsolete variable.
18675 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18676 Adjust for removal of bookmark-current-point.
18678 (bookmarks-already-loaded, bookmark-current-buffer)
18679 (bookmark-yank-point): Document. (Bug#4188)
18681 2009-10-10 Glenn Morris <rgm@gnu.org>
18683 * frame.el (frame-height): Doc fix.
18685 * calendar/calendar.el (calendar-split-width-threshold): New option.
18686 (calendar-basic-setup): Use calendar-split-width-threshold.
18688 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18690 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18691 Ideographic Supplement" range (U+1F200..U+1F2FF).
18693 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18695 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18696 since the list will have been rebuilt anyway. (Bug#4349)
18698 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18700 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18701 (bookmark-bmenu-execute-deletions): Don't save here, as
18702 bookmark-delete will now do so if necessary.
18703 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18706 2009-10-09 Glenn Morris <rgm@gnu.org>
18708 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18710 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18712 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18713 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18714 argument now, so the two function's behaviors will match. (Bug#3645)
18716 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18718 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18719 (tramp-file-name-real-host, tramp-file-name-port):
18720 Apply `save-match-data'.
18722 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18723 case both directories are remote.
18724 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18725 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18727 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18729 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18731 2009-10-07 Glenn Morris <rgm@gnu.org>
18733 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18736 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18738 * files-x.el (read-file-local-variable): Include some
18739 non-user-variables in the completion table (bug#4664).
18741 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18743 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18746 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18747 (tramp-smb-file-name-handler-alist): Add handler for
18748 `copy-directory', `expand-file-name', `set-file-modes'.
18749 (tramp-smb-handle-copy-directory)
18750 (tramp-smb-handle-expand-file-name)
18751 (tramp-smb-handle-set-file-modes): New defuns.
18752 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18753 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18755 (tramp-smb-handle-insert-directory): Don't flush the cache.
18756 (tramp-smb-maybe-open-connection): Check for samba client and
18759 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18761 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18762 to not error out of search for "^lisp=" fails.
18764 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18766 * makefile.w32-in (WINS_UPDATES): New macro.
18767 (custom-deps, finder-data, autoloads): Use it.
18769 2009-10-07 Glenn Morris <rgm@gnu.org>
18771 * Makefile.in (autoloads): Revert previous change.
18772 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18773 the list of preloaded files passed on the command-line, get
18774 it from src/Makefile.
18776 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18777 show the original buffer rather than a random one.
18779 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18781 * help.el (describe-no-warranty): Place point in a slightly better
18782 position in the GPLv3 text.
18784 2009-10-06 Sam Steingold <sds@gnu.org>
18786 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18787 the comm attribute is present before calling regexp-quote.
18789 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18791 * play/animate.el (animate-string): For good effect, make sure
18792 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18794 * play/animate.el (animate-sequence, animate-birthday-present):
18795 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18797 2009-10-06 Glenn Morris <rgm@gnu.org>
18799 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18801 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18802 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18803 (batch-update-autoloads): Process a string value of autoload-excludes,
18804 set during the build process.
18805 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18807 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18808 inside with-parsed... macro so that `v' is defined.
18810 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18811 * progmodes/fortran.el (fortran-end-of-block)
18812 (fortran-beginning-of-block):
18813 Also push mark in the macro case.
18815 * emerge.el (emerge-show-file-name):
18816 * calc/calc.el (calc-quit):
18817 * calc/calc-misc.el (calc-big-or-small):
18818 * calc/calc-graph.el (calc-graph-view):
18819 * calc/calc-ext.el (calc-reset):
18820 * calendar/calendar.el (calendar-basic-setup):
18821 Use window-full-height-p.
18823 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18824 header we don't understand, don't insert another. (Bug#4624)
18825 If changing mime charset, insert the new one in the right place.
18827 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18829 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18830 (cal-tex-cursor-month): Correctly increment the end date for diary and
18831 holiday listing. (Bug#4626)
18833 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18835 * help-fns.el (describe-function-1): Don't burp if the function is not
18838 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18840 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18841 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18842 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18843 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18845 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18846 (eieio-default-superclass): Reflow docstrings.
18847 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18848 (eieio-unbind-method-implementations, defmethod)
18849 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18850 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18851 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18852 (eieio-slot-originating-class-p, eieio-slot-name-index)
18853 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18854 (constructor, initialize-instance, no-next-method, object-print)
18855 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18856 Fix typos in docstrings.
18857 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18858 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18859 (next-method-p): Doc fixes.
18860 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18861 Fix typos in error messages.
18862 (eieio-defmethod): Fix typo in description of generic method.
18864 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18865 (eieio-persistent-save-interactive, slot-missing):
18866 Fix typos in docstrings.
18867 (eieio-instance-inheritor-slot-boundp): Doc fix.
18869 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18870 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18872 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18873 (eieio-custom-object-apply-reset):
18874 Fix typos in docstrings and error messages.
18876 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18877 Fix typo in docstring.
18879 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18880 (eieio-browse-tree): Doc fix.
18881 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18882 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18883 Fix typos in docstrings.
18885 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18886 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18887 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18888 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18891 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18893 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18894 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18895 Set log-view-vc-backend so that diff can work.
18897 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18899 (vc-diff-internal): Autoload this instead of vc-version-diff.
18901 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18903 * simple.el (eval-expression): Doc fix.
18905 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18907 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18909 * files.el (directory-files-no-dot-files-regexp): New defconst.
18910 (delete-directory): Use it.
18911 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18913 * net/tramp.el (tramp-verbose): Fix docstring.
18914 (tramp-methods): Add recursive option to `tramp-copy-args'.
18915 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18916 "scp1_old", "scp2_old", "rsync", "rsyncc".
18917 (tramp-default-method): Check also for `auth-source-user-or-password'.
18918 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18919 Add handler for `copy-directory'.
18920 (tramp-handle-copy-directory): New defun.
18921 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18922 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18923 Optimize sent command.
18925 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18927 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18928 window if necessary.
18930 * calendar/calendar.el (calendar-basic-setup): Don't call
18931 switch-to-buffer in a dedicated window.
18933 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18935 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18936 don't do anything related to relocating, just return nil.
18937 (bookmark-error-no-filename): New error.
18938 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18939 bookmark has no file. Don't even attempt to handle things that
18940 are not files; the whole point of custom handlers is to keep that
18941 knowledge elsewhere anyway. Tighten some comments.
18942 (bookmark-file-or-variation-thereof): Remove now-unused function.
18943 (bookmark-location): Doc string fix.
18946 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18948 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18949 don't use a file dialog, because they usually don't know how to read
18950 a directory target from the user. (Bug#4230)
18951 Also, make sure the prompt can display directories as well as files.
18953 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18955 * bookmark.el (bookmark-set, bookmark-buffer-name):
18956 Improve doc strings. (Bug#1193)
18958 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18960 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18961 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18962 (bookmark-get-annotation, bookmark-set-annotation)
18963 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18964 (bookmark-set-position, bookmark-get-front-context-string)
18965 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18966 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18967 (bookmark-jump-other-window, bookmark-handle-bookmark)
18968 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18969 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18970 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18971 Improve doc strings to say whether bookmark can be a string or
18972 a record or both, and make other consistency and clarity fixes.
18973 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18974 (bookmark-default-annotation-text, bookmark-yank-word)
18975 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18976 (bookmark-import-new-list, bookmark-maybe-rename)
18977 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18978 (bookmark-bmenu-bookmark): Give these doc strings.
18979 (bookmark-bmenu-check-position): Give this a doc string, but also
18980 add a FIXME comment about how the function may be pointless.
18981 (bookmark-default-handler): Rework doc string and change a
18982 parameter name, to clarify that this takes a bookmark record
18983 not a bookmark name.
18984 (bookmark-set): Change a parameter name to indicate its meaning,
18985 and improve the doc string a bit.
18988 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18990 * bookmark.el (bookmark-alist): Document the new `handler' element
18991 in the param alist.
18992 (bookmark-make-record-function): Adjust documentation for above.
18995 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18997 * info.el (Info-bookmark-make-record): Document this function.
18998 (Info-bookmark-jump): Document with a doc string, not just a comment.
19001 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
19003 * files.el (copy-directory): New defun.
19005 * dired-aux.el (dired-copy-file-recursive): Use it.
19007 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
19009 * files-x.el (modify-dir-local-variable)
19010 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
19013 * recentf.el (recentf-unload-function): New function.
19015 2009-10-04 Glenn Morris <rgm@gnu.org>
19017 * window.el (window-full-height-p): Add doc string.
19019 2009-10-04 Martin Rudalics <rudalics@gmx.at>
19021 * window.el (window-full-height-p): New function. (Bug#4543)
19023 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
19025 * vc.el: Remove commented out code.
19026 (vc-derived-from-dir-mode): Remove, unused.
19027 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
19029 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
19031 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
19032 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
19033 there could be recursive loading when `default-directory' is a
19034 remote file name. (Bug#4614)
19036 2009-10-03 Glenn Morris <rgm@gnu.org>
19038 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19040 (calendar-generate-window): Test for shrinkability rather than width.
19042 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19043 reusing existing buffers, in case we happen to visit two files with the
19044 same basename. (Bug#4593)
19046 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19048 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19049 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19050 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19051 subdirs of cedet as well.
19052 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19054 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19056 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19057 Obey advertised-signature-table.
19059 * help-fns.el (help-function-arglist): Don't check
19060 advertised-signature-table.
19061 (describe-function-1): Do it here instead so it also applies to subrs.
19063 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19065 * simple.el (start-file-process): Say in the doc-string, that file
19066 handlers might not support pty association, if PROGRAM is nil.
19068 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19069 HOST and USER are strings. They are nil, when there are
19070 incomplete entries in ~/.netrc, for example.
19071 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19072 root directory ("device busy" error otherwise).
19074 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19075 Flush file properties of created directory.
19077 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19079 * makefile.w32-in (WINS_BASIC): Remove cedet.
19080 (WINS_CEDET): Add cedet.
19081 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19083 2009-10-02 Kevin Ryde <user42@zip.com.au>
19085 * net/browse-url.el (browse-url): Pass any symbol in
19086 browse-url-browser-function to `apply', since if you've mistakenly put
19087 an unbound symbol then the error is clearer. (Bug#4531)
19089 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19091 * allout.el (allout-init, allout-back-to-current-heading)
19092 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19093 (allout-ascend, allout-up-current-level, allout-end-of-level)
19094 (allout-previous-visible-heading, allout-forward-current-level)
19095 (allout-backward-current-level, allout-show-children):
19096 * apropos.el (apropos-describe-plist):
19097 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19098 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19099 * completion.el (add-completion, add-permanent-completion):
19100 * descr-text.el (describe-text-category, describe-char):
19101 * desktop.el (desktop-lazy-abort):
19102 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19103 * dired.el (dired-build-subdir-alist):
19104 * ediff.el (ediff-version):
19105 * elide-head.el (elide-head, elide-head-show):
19106 * emerge.el (emerge-version):
19108 * face-remap.el (variable-pitch-mode):
19109 * faces.el (describe-face):
19110 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19112 * files.el (find-file-existing, auto-save-mode):
19113 * font-lock.el (font-lock-fontify-buffer):
19114 * help-fns.el (describe-function, describe-variable)
19115 (describe-syntax, describe-categories):
19116 * help.el (view-lossage, describe-bindings, describe-key)
19118 * hexl.el (hexl-current-address):
19119 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19120 * info.el (Info-goto-emacs-key-command-node):
19121 * log-edit.el (log-edit-insert-cvs-template)
19122 (log-edit-insert-cvs-rcstemplate):
19123 * menu-bar.el (menu-bar-mode):
19124 * mouse.el (mouse-appearance-menu):
19125 * newcomment.el (comment-indent-new-line):
19126 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19127 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19128 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19129 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19130 * recentf.el (recentf-mode):
19131 * savehist.el (savehist-mode, savehist-save):
19132 * shadowfile.el (shadow-copy-files):
19133 * simple.el (kill-ring-save, next-line, previous-line)
19134 (normal-erase-is-backspace-mode):
19135 * strokes.el (strokes-update-window-configuration)
19136 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19137 (strokes-xpm-for-stroke):
19138 * time.el (emacs-uptime, emacs-init-time):
19139 * tutorial.el (tutorial--describe-nonstandard-key)
19140 (tutorial--detailed-help):
19141 * type-break.el (type-break-mode)
19142 (type-break-mode-line-message-mode, type-break-query-mode)
19143 (type-break-guesstimate-keystroke-threshold):
19144 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19145 * version.el (emacs-version):
19146 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19147 * winner.el (winner-mode):
19148 * calendar/timeclock.el (timeclock-in, timeclock-out)
19149 (timeclock-status-string, timeclock-change)
19150 (timeclock-workday-remaining-string)
19151 (timeclock-workday-elapsed-string)
19152 (timeclock-when-to-leave-string):
19153 * calendar/todo-mode.el (todo-add-category):
19154 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19155 * emacs-lisp/autoload.el (update-file-autoloads):
19156 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19157 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19158 (checkdoc-message-text, checkdoc-defun):
19159 * emacs-lisp/debug.el (debugger-list-functions):
19160 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19161 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19162 (eieio-describe-generic):
19163 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19164 * emacs-lisp/shadow.el (list-load-path-shadows):
19165 * emulation/cua-base.el (cua-mode):
19166 * emulation/edt.el (edt-set-scroll-margins):
19167 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19168 (tpu-toggle-regexp, tpu-toggle-search-direction)
19169 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19170 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19171 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19172 (viper-set-parsing-style-toggling-macro)
19173 (viper-set-emacs-state-searchstyle-macros):
19174 * emulation/viper.el (viper-set-hooks):
19175 * eshell/esh-mode.el (eshell-truncate-buffer):
19176 * international/mule-cmds.el (prefer-coding-system)
19177 (describe-input-method, describe-language-environment):
19178 * international/mule-diag.el (list-character-sets)
19179 (describe-character-set, describe-coding-system)
19180 (describe-fontset, list-fontsets, list-input-methods):
19181 * mail/sendmail.el (mail-signature):
19182 * net/ange-ftp.el (ange-ftp-copy-file):
19183 * net/browse-url.el (browse-url):
19184 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19185 * net/quickurl.el (quickurl-add-url):
19186 * net/rcirc.el (names, topic):
19187 * net/xesam.el (xesam-mode):
19188 * play/5x5.el (5x5-new-game):
19189 * play/yow.el (apropos-zippy):
19190 * progmodes/ada-mode.el (ada-mode-version):
19191 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19193 (f90-beginning-of-block):
19194 * progmodes/fortran.el (fortran-end-of-block)
19195 (fortran-beginning-of-block):
19196 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19197 * progmodes/python.el (python-describe-symbol, python-shell):
19198 * term/ns-win.el (ns-print-buffer):
19199 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19200 * textmodes/flyspell.el (flyspell-mode-on):
19201 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19202 (pages-directory-for-addresses):
19203 * textmodes/table.el (table-recognize-cell)
19204 (table-query-dimension, table-generate-source)
19205 (table-insert-sequence, table--warn-incompatibility):
19206 * textmodes/tex-mode.el (tex-validate-buffer):
19207 * textmodes/texinfmt.el (texinfmt-version)
19208 (texinfo-format-buffer):
19209 Use `called-interactively-p' instead of `interactive-p'.
19211 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19213 * image-mode.el (image-toggle-display):
19214 * emacs-lisp/elp.el (elp-instrument-function):
19215 * emacs-lisp/advice.el (ad-make-advised-definition):
19216 * emacs-lisp/easy-mmode.el (define-minor-mode):
19217 * net/browse-url.el (browse-url-maybe-new-window):
19218 * progmodes/sh-script.el (sh-learn-buffer-indent):
19219 Pass new argument 'any to `called-interactively-p'.
19221 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19223 * international/uni-bidi.el:
19224 * international/uni-category.el:
19225 * international/uni-combining.el:
19226 * international/uni-comment.el:
19227 * international/uni-decimal.el:
19228 * international/uni-decomposition.el:
19229 * international/uni-digit.el:
19230 * international/uni-lowercase.el:
19231 * international/uni-mirrored.el:
19232 * international/uni-name.el:
19233 * international/uni-numeric.el:
19234 * international/uni-old-name.el:
19235 * international/uni-titlecase.el:
19236 * international/uni-uppercase.el:
19237 Regenerate from Unicode 5.2.0 data.
19239 2009-10-01 Glenn Morris <rgm@gnu.org>
19241 * Makefile.in (ELCFILES): Regenerate.
19243 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19245 * subr.el (interactive-p): Mark obsolete.
19246 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19247 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19248 advertised-signature-table for subroutines as well.
19250 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19251 (set-advertised-calling-convention): New function.
19252 (make-obsolete, define-obsolete-function-alias)
19253 (make-obsolete-variable, define-obsolete-variable-alias):
19254 Make the optional-ness of `when' obsolete.
19255 (define-obsolete-face-alias): Make `when' non-optional.
19256 * help-fns.el (help-function-arglist):
19257 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19258 Use advertised-signature-table.
19260 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19262 * files.el (delete-directory): New defun. The original function
19263 in fileio.c has been renamed to `delete-directory-internal'.
19265 * dired.el (dired-delete-file): Call `delete-directory' with
19266 RECURSIVE parameter.
19268 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19269 parameter RECURSIVE. Implementation is missing.
19271 * net/tramp.el (tramp-handle-make-directory): Flush upper
19272 directory's file properties.
19273 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19274 (tramp-handle-dired-recursive-delete-directory): Flush directory
19275 properties after the remove command only.
19277 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19278 Handle optional parameter RECURSIVE.
19280 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19281 Handle optional parameter RECURSIVE.
19283 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19284 connection timeout.
19285 (tramp-smb-handle-delete-directory): Handle optional parameter
19288 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19290 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19291 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19292 (byte-compile-defmacro): Use backquotes.
19294 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19296 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19297 has no associated file.
19298 (vc-resynch-buffer): Use vc-dir-buffers.
19300 2009-10-01 Glenn Morris <rgm@gnu.org>
19302 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19303 (chart-file-count):
19304 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19305 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19306 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19307 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19308 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19309 (eieio-copy-parents-into-subclass, make-instance, class-children)
19310 (eieio-generic-form):
19312 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19313 match-data. (Bug#4555).
19315 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19316 rather than parsing it as a regexp. This relaxes the layout
19317 requirements and makes errors easier to detect.
19318 (check-declare-verify): Check file is regular.
19319 (check-declare-directory): Doc fix.
19320 * subr.el (declare-function): Doc fix.
19322 * ibuffer.el (ibuffer-format-qualifier):
19323 * isearch.el (hi-lock-regexp-okay):
19324 * calc/calc.el (math-zerop):
19325 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19326 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19327 Remove unused declarations.
19329 2009-09-30 Eric Ludlam <zappo@gnu.org>
19331 * emacs-lisp/eieio.el (boolean-p): Delete.
19333 2009-09-30 Glenn Morris <rgm@gnu.org>
19335 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19337 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19338 filename is not a string.
19340 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19342 * files.el (safe-local-eval-forms): Fix typo.
19344 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19346 * vc-hooks.el (vc-dir-buffers): New var.
19347 (vc-state-refresh): New function.
19348 (vc-state): Use it.
19349 (vc-after-save): Always ask the backend to recompute the new state.
19350 Always call vc-dir if necessary, using vc-dir-buffers.
19351 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19352 Use vc-dir-buffers.
19353 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19354 (vc-dir-prepare-status-buffer, vc-dir-update)
19355 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19356 Don't call expand-file-name on default-directory.
19358 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19360 * speedbar.el (speedbar-item-delete):
19361 * calc/calc-prog.el (calc-kbd-if):
19362 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19364 * epa.el (epa-key-list-mode-map):
19365 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19367 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19368 (hs-show-hook): Fix typo in docstring.
19370 2009-09-29 Glenn Morris <rgm@gnu.org>
19372 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19373 file-name-nondirectory call preventing location of cedet files.
19374 (check-declare-verify): Use literal search rather than re-search.
19375 Add basic defmethod and defclass, and define-overloadable-function.
19377 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19378 Use tramp-compat-file-attributes rather than nonexistent
19379 tramp-compat-handle-file-attributes.
19381 * Makefile.in (lisptagsfiles4): New.
19382 (AUTOGENEL): Add cedet loaddefs files.
19383 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19384 (update-elclist, compile-always, backup-compiled-files)
19385 (bootstrap-clean): Add yet another directory level.
19386 (update-elclist): Use LC_COLLATE rather than COLLATE.
19387 (ELCFILES): Update, via `make update-elclist'.
19389 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19391 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19392 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19393 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19395 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19397 * Makefile.in (lisptagsfiles3): Define.
19398 (TAGS, TAGS-LISP): Use it.
19399 (update-elclist): Add third directory level to look for elc files.
19400 (compile-always): Likewise.
19401 (backup-compiled-files): Likewise.
19402 (bootstrap-clean): Likewise.
19403 (ELCFILES): Update.
19405 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19407 * Makefile.in (ELCFILES): Add CEDET files.
19409 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19411 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19413 * net/tramp.el (top): Require tramp-imap.
19415 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19416 Use `tramp-compat-handle-file-attributes'.
19418 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19420 * net/tramp-imap.el: New package.
19422 2009-09-28 Eric Ludlam <zappo@gnu.org>
19424 * emacs-lisp/chart.el:
19425 * emacs-lisp/eieio-base.el:
19426 * emacs-lisp/eieio-comp.el:
19427 * emacs-lisp/eieio-custom.el:
19428 * emacs-lisp/eieio-datadebug.el:
19429 * emacs-lisp/eieio-opt.el:
19430 * emacs-lisp/eieio-speedbar.el:
19431 * emacs-lisp/eieio.el: New files.
19433 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19435 * whitespace.el (whitespace-trailing-regexp)
19436 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19439 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19441 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19444 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19445 menu-bar-ediff-menu.
19447 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19448 define-overloadable-function.
19450 * progmodes/autoconf.el: Provide autoconf as well, so that this
19451 file can be `require'd.
19453 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19455 * emacs-lisp/autoload.el (generated-autoload-feature)
19456 (generated-autoload-load-name): New vars.
19457 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19458 (make-autoload): Recognize define-overloadable-function and
19459 defclass forms (for EIEIO).
19461 * Makefile.in (update-subdirs): Exclude cedet directory.
19463 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19465 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19467 * faces.el: Default light-background background for region face to
19468 ns_selection_color under NS.
19470 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19472 * net/imap-hash.el: New library, see NEWS.
19474 * Makefile.in (ELCFILES): Add imap-hash.el.
19476 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19478 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19479 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19480 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19481 definition where the docstring could be taken for the return value.
19483 2009-09-26 Glenn Morris <rgm@gnu.org>
19485 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19486 Add option to only show images below a certain size.
19487 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19488 save-excursion calls.
19490 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19492 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19493 subdirectories) and eieio.
19495 2009-09-26 Alan Mackenzie <acm@muc.de>
19497 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19498 Correct buggy bracketing. (Bug#4289)
19500 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19501 character constants (as case labels). (Bug#4289)
19503 2009-09-25 Juri Linkov <juri@jurta.org>
19505 * files.el (safe-local-eval-forms): Allow time-stamp in
19506 before-save-hook (Bug#4554).
19508 2009-09-25 Drew Adams <drew.adams@oracle.com>
19510 * menu-bar.el (list-buffers-directory): Doc fix.
19512 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19514 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19515 Try and avoid copying twice the same paragraph.
19516 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19517 Remove save-excursion.
19518 (log-edit-changelog-entry): Do it here instead.
19520 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19522 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19523 when available, instead of hardcoding mode names. Doc fix.
19525 * menu-bar.el (list-buffers-directory): Add docstring.
19526 Make automatically buffer-local.
19528 * dired.el (dired-mode):
19529 * files.el (cd-absolute):
19530 * pcvs.el (cvs-temp-buffer):
19531 * pcvs-util.el (cvs-get-buffer-create):
19532 * shell.el (shell-mode):
19533 * vc-dir.el (vc-dir-mode):
19534 Don't make `list-buffers-directory' buffer local.
19536 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19538 * comint.el (comint-exec, comint-run, make-comint):
19539 Doc fixes (Bug#4542).
19541 2009-09-25 Glenn Morris <rgm@gnu.org>
19543 * mail/rmailmm.el (rmail-mime): New custom group.
19544 Move all defcustoms in this file into this group.
19545 (rmail-mime-media-type-handlers-alist): Revert previous change.
19546 (rmail-mime-show-images): New option.
19547 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19548 references to it, since it wasn't actually used for anything.
19549 (rmail-mime-insert-image): New function.
19550 (rmail-mime-image): Use rmail-mime-insert-image.
19551 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19552 obey the value of `rmail-mime-show-images' option. Print the size of
19555 2009-09-25 David Engster <deng@randomsample.de>
19557 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19559 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19561 * whitespace.el: Does not highlight trailing spaces While point is
19562 at end of line. Does not highligt spaces at beginning of buffer
19563 while point is at beginning of buffer. Does not highlight spaces
19564 at end of buffer while point is at end of buffer. (Bug#4177)
19566 (whitespace-display-mappings): Adjust initialization.
19567 (whitespace-point, whitespace-font-lock-refontify): New vars.
19568 (whitespace-color-on, whitespace-color-off): Adjust code.
19569 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19570 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19571 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19573 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19575 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19577 * textmodes/sgml-mode.el: Remove xml-mode alias.
19579 * files.el (auto-mode-alist, conf-mode-maybe)
19580 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19582 2009-09-24 Alan Mackenzie <acm@muc.de>
19584 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19585 c-forward-conditionals, but it doesn't move point and doesn't set
19587 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19588 (c-down-conditional-with-else, c-backward-conditional)
19589 (c-forward-conditional): Refactor to use c-scan-conditionals.
19591 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19593 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19594 (help-default-arg-highlight): Remove.
19595 (help-highlight-arg): New function.
19596 (help-do-arg-highlight): Use it.
19597 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19599 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19601 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19602 Undo last change, which didn't fix the problem and introduced others.
19604 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19606 * progmodes/gdb-mi.el: Don't require speedbar.
19607 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19609 2009-09-24 Glenn Morris <rgm@gnu.org>
19611 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19613 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19615 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19616 there is no newline after the final mime boundary. (Bug#4539)
19617 Move markers on insertion so that any buttons inserted don't end up in
19618 the next part of a multipart message.
19619 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19620 (rmail-mime-bulk-handler): Optionally handle images.
19621 (rmail-mime-image): New button action.
19622 (rmail-mime-image-handler): New function.
19623 (rmail-mime-mode): New mode.
19624 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19626 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19628 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19629 than just dropping elements from it (bug#4504).
19631 * term.el (term-set-scroll-region): Don't move cursor any more.
19632 (term-handle-ansi-escape): Call term-goto here instead.
19633 Suggested by Ivan Kanis <apple@kanis.eu>.
19635 * term.el: Require CL.
19636 (term-ansi-reset): New function.
19637 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19638 (term-handle-colors-array): Simplify.
19640 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19642 * allout.el (allout-overlay-interior-modification-handler)
19643 (allout-obtain-passphrase):
19644 * epa-file.el (epa-file-write-region):
19645 * ps-print.el (ps-begin-job):
19646 * vc-hooks.el (vc-toggle-read-only):
19647 * vc-rcs.el (vc-rcs-rollback):
19648 * vc-sccs.el (vc-sccs-rollback):
19649 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19650 (vc-version-diff, vc-revert, vc-rollback):
19651 * wdired.el (wdired-check-kill-buffer):
19652 * emacs-lisp/authors.el (authors):
19653 * net/socks.el (socks-open-connection):
19654 * net/zeroconf.el (zeroconf-service-add-hook):
19655 * obsolete/vc-mcvs.el (vc-mcvs-register):
19656 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19657 (gdb-select-frame):
19658 * progmodes/grep.el (lgrep, rgrep):
19659 * progmodes/idlw-help.el (idlwave-help-check-locations)
19660 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19661 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19662 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19663 (reftex-toc-rename-label): Fix typos in error messages.
19665 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19666 (dired-copy-how-to-fn): Doc fix.
19667 (dired-files-attributes, dired-read-shell-command):
19668 Fix typos in docstrings.
19670 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19671 (dired-x-find-file-other-window): Reflow docstrings.
19672 (dired-omit-marker-char, dired-read-shell-command)
19673 (dired-x-submit-report): Fix typos in docstrings.
19675 * shell.el (shell-mode-hook):
19676 * view.el (View-scroll-line-forward):
19677 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19678 Fix typos in docstrings.
19680 * net/dig.el (dig-invoke): Fix typo in docstring.
19681 (query-dig): Reflow docstring.
19683 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19684 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19685 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19686 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19687 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19688 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19689 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19690 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19691 (idlwave-completion-map, idlwave-current-indent)
19692 (idlwave-custom-ampersand-surround, idlwave-customize)
19693 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19694 (idlwave-define-abbrev, idlwave-determine-class-special)
19695 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19696 (idlwave-end-block-reg, idlwave-end-of-statement)
19697 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19698 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19699 (idlwave-explicit-class-listed, idlwave-file-header)
19700 (idlwave-fill-paragraph, idlwave-find-class-definition)
19701 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19702 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19703 (idlwave-in-quote, idlwave-indent-action-table)
19704 (idlwave-indent-expand-table, idlwave-indent-line)
19705 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19706 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19707 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19708 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19709 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19710 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19711 (idlwave-outlawed-buffers, idlwave-popup-select)
19712 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19713 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19714 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19715 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19716 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19717 (idlwave-statement-type, idlwave-struct-skip)
19718 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19719 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19720 (idlwave-what-module-find-class): Fix typos in docstrings.
19721 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19722 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19723 (idlwave-find-module, idlwave-find-structure-definition)
19724 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19725 (idlwave-list-load-path-shadows, idlwave-next-statement)
19726 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19727 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19728 (idlwave-template): Reflow docstrings.
19730 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19731 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19732 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19733 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19734 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19735 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19736 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19737 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19738 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19739 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19740 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19741 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19742 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19743 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19744 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19745 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19746 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19747 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19748 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19749 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19750 Fix typos in docstrings.
19751 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19752 (idlwave-shell-hide-output, idlwave-shell-mode)
19753 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19756 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19758 2009-09-24 Ivan Kanis <apple@kanis.eu>
19760 * term.el (term-bold-attribute): New var.
19761 (term-handle-colors-array): Use it.
19763 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19765 * progmodes/gdb-mi.el (gdb-version): New variable.
19766 (gdb-non-stop-handler): Set gdb-version.
19767 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19768 Condition "--thread" option on gdb-version.
19769 (gdb-invalidate-threads): Remove unused argument.
19771 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19773 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19774 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19776 2009-09-23 Glenn Morris <rgm@gnu.org>
19778 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19779 replying to mail without References or Message-Id. (Bug#4525)
19781 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19783 * term/ns-win.el (ns-reg-to-script): New variable.
19785 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19787 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19789 2009-09-22 Sam Steingold <sds@gnu.org>
19791 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19792 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19793 to 1 because hg returns status 1 when nothing is found.
19794 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19796 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19798 * textmodes/fill.el: Convert to utf-8 encoding.
19799 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19802 * add-log.el (change-log-fill-forward-paragraph): New function.
19803 (change-log-mode): Use it so fill-region DTRT.
19804 Set fill-indent-according-to-mode here rather than in
19805 change-log-fill-paragraph.
19806 (change-log-fill-paragraph): Remove.
19808 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19810 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19811 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19813 2009-09-22 Glenn Morris <rgm@gnu.org>
19815 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19816 the scroll-bar scroll the calendar window rather than the buffer.
19818 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19819 commands that move point (as opposed to scrolling).
19821 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19823 * emacs-lisp/elint.el (elint): New custom group.
19824 (elint-log-buffer): Make it a defcustom.
19825 (elint-scan-preloaded, elint-ignored-warnings)
19826 (elint-directory-skip-re): New options.
19827 (elint-builtin-variables): Doc fix.
19828 (elint-preloaded-env): New variable.
19829 (elint-unknown-builtin-args): Add an entry for encode-time.
19830 (elint-extra-errors): Make it a variable rather than a constant.
19831 (elint-preloaded-skip-re): New constant.
19832 (elint-directory): Skip files matching elint-directory-skip-re.
19833 (elint-features): New variable, local to linted buffers.
19834 (elint-update-env): Initialize elint-features. Possibly add
19835 elint-preloaded-env to the buffer's environment.
19836 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19838 (elint-init-form): New function, extracted from elint-init-env.
19839 Make non-list forms a warning rather than an error.
19840 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19841 easy-menu-define, put that adds an error-condition, and provide.
19842 When requiring cl, also require cl-macs. Really require cl, to handle
19843 some cl macros. Store required libraries in the list elint-features,
19844 so as not to re-load them. Treat cc-require like require.
19845 (elint-init-env): Call elint-init-form to do the work.
19846 Handle eval-and-compile and such like.
19847 (elint-add-required-env): Do not clear messages.
19848 (elint-special-forms): Add handlers for function, defalias, if, when,
19850 (elint-form): Add optional argument to ignore elint-special-forms,
19851 useful to prevent recursive calls from handlers. Doc fix.
19852 Respect elint-ignored-warnings.
19853 (elint-form): Respect elint-ignored-warnings.
19854 (elint-bound-variable, elint-bound-function): New variables.
19855 (elint-unbound-variable): Respect elint-bound-variable.
19856 (elint-get-args): Respect elint-bound-function.
19857 (elint-check-cond-form): Add some simple handling for (f)boundp and
19859 (elint-check-defalias-form): New handler.
19860 (elint-check-let-form): Make an empty let a warning rather than an
19862 (elint-check-setq-form): Make an empty setq a warning rather than an
19863 error. Respect elint-ignored-warnings.
19864 (elint-check-defvar-form): Accept null doc-strings.
19865 (elint-check-conditional-form): New handler. Does some simple-minded
19866 checking of featurep and (f)boundp tests.
19867 (elint-put-function-args): New function.
19868 (elint-initialize): Use elint-scan-doc-file rather than
19869 elint-find-builtin-variables. Use elint-put-function-args.
19870 Possibly scan preloaded-file-list.
19871 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19872 extend to handle functions as well.
19874 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19876 * linum.el (linum-delete-overlays, linum-update-window):
19877 Do not modify the right margin. (Bug#3971)
19879 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19881 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19882 Use nxml-mode instead of xml-mode.
19884 2009-09-21 Kevin Ryde <user42@zip.com.au>
19886 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19888 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19890 * net/dig.el (dig-mode): Use define-derived-mode.
19892 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19894 * vc-dispatcher.el (vc-do-command): Return the process object in
19895 the asynchronous case. Use when instead of if. Do not run
19896 vc-exec-after to display a message if not enabled. (Bug#4463)
19898 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19899 properties to the stash strings.
19900 (vc-git-stash-list): Return a list of strings.
19901 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19902 (vc-git-stash-show-at-point): New functions.
19903 (vc-git-stash-map): New keymap.
19905 * register.el (ctl-x-r-map): Define the keys here instead of
19908 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19910 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19911 list, to workaround performance problem (bug#4485).
19913 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19915 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19917 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19919 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19920 Document that this option is not recommended to use.
19922 2009-09-19 Glenn Morris <rgm@gnu.org>
19924 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19927 * calc/calc-alg.el (var):
19928 * calc/calcalg2.el (var): Define for compiler.
19930 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19932 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19933 Doc fix (Bug#3932).
19935 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19937 * time-stamp.el (time-stamp-month-dd-yyyy)
19938 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19939 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19940 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19941 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19942 Remove functions that have been obsolete since 1995 (Bug#4436).
19944 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19945 indent buffer only if called interactively (Bug#4452).
19947 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19948 Eli Zaretskii <eliz@gnu.org>
19950 This fixes bug#4197 (merged to bug#865, though not identical).
19951 * server.el (server-auth-dir): Add docstring note about FAT32.
19952 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19953 but warn against using them.
19955 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19957 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19958 older GDB where there is no has_more field.
19960 2009-09-19 Glenn Morris <rgm@gnu.org>
19962 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19964 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19966 * files.el (auto-mode-alist): Change default for XML files to nXML
19969 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19971 * server.el (server-ensure-safe-dir): Pass 'integer
19972 to `file-attributes', as suggested.
19974 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19976 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19977 (dired-query): Use read-key.
19979 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19981 * cus-start.el (ns-use-qd-smoothing): Remove.
19983 2009-09-18 Glenn Morris <rgm@gnu.org>
19985 * allout.el (top-level): Remove unnecessary progn.
19987 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19989 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19990 definition of abbrev table.
19992 * speedbar.el (speedbar-track-mouse):
19993 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19994 * net/eudc.el (eudc-expand-inline):
19995 * net/newst-backend.el (newsticker--cache-read-feed):
19996 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19997 condition-case handlers.
19999 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
20001 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
20002 (gdb-var-list): Add an element for has_more field.
20003 (gdb-non-stop-handler): Enable pretty printing for STL containers.
20004 (gdb-var-create-handler, gdb-var-list-children-handler-1)
20005 (gdb-var-update-handler-1): Parse output of dynamic variable
20006 objects (STL containers).
20007 (gdb-var-delete-1): Pass var1 as an explicit second argument.
20008 (gdb-get-field): Delete alias. Use bindat-get-field directly.
20010 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
20012 (gud-speedbar-buttons): Make node expandable if expression "has more"
20015 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
20017 * startup.el (emacs-quick-startup): Remove variable and all uses.
20018 (command-line): Set `inhibit-x-resources' instead.
20019 (command-line-1): Use `inhibit-x-resources' instead.
20021 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
20023 * subr.el: Fix last change to avoid using the `unless' macro,
20024 which breaks bootstrapping.
20026 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20028 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
20029 extended definitions, in case we reload subr.el after having
20031 (eval-next-after-load): Mark as obsolete.
20033 2009-09-17 Juri Linkov <juri@jurta.org>
20035 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
20036 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
20037 (menu-bar-showhide-menu, menu-bar-tools-menu)
20038 (menu-bar-describe-menu, menu-bar-help-menu)
20039 (minibuffer-local-completion-map, minibuffer-local-map):
20042 2009-09-17 Glenn Morris <rgm@gnu.org>
20044 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20045 arguments, whether or not it has a handler.
20047 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20049 * simple.el (hard-newline): Give it a doc-string.
20051 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20052 (lisp-mode-syntax-table): Give them doc-strings.
20054 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20056 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20057 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20058 (menu-bar-options-menu, menu-bar-showhide-menu)
20059 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20060 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20061 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20062 (menu-bar-options-menu, menu-bar-tools-menu)
20063 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20064 (menu-bar-help-menu):
20065 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20068 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20069 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20070 calls for the menu names and :help.
20072 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20074 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20075 to :minor-mode-function (bug#4455).
20077 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20079 * startup.el (command-line): Initialize the window-system after
20080 processing the command-line.
20082 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20083 page-delimiter matches the empty string.
20085 2009-09-16 Glenn Morris <rgm@gnu.org>
20087 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20088 byte-compile-not-obsolete-var. It's a list now.
20089 (byte-compile-not-obsolete-funcs): New variable.
20090 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20091 byte-compile-not-obsolete-funcs.
20092 (byte-compile-variable-ref, byte-compile-defvar): Update for
20093 byte-compile-not-obsolete-vars name-change and list nature.
20094 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20095 and variables behind (f)boundp tests.
20096 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20098 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20100 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20102 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20104 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20105 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20108 2009-09-15 Stephen Eglen <stephen@gnu.org>
20110 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20111 the virtual-buffers, use the name of the buffer specified by
20112 find-file-noselect, as the match may be a symlink. (This was a
20113 problem if the target and the symlink had different names.)
20115 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20119 * desktop.el (desktop-path): Check user-emacs-directory.
20121 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20123 * loadup.el: Use after-load-functions to GC after loading each file.
20124 Remove the explicit GC calls that used to be sprinkled around.
20126 * subr.el (after-load-functions): New hook.
20127 (do-after-load-evaluation): Run it. Use string-match-p to detect
20128 `obsolete' packages, rather than painfully extracting the relevant
20131 2009-09-15 Glenn Morris <rgm@gnu.org>
20133 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20134 free variable `doc'.
20136 * dired.el (dired-mode-map): Add menu entry for async shell command.
20138 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20139 variables, also consider the .elc files, since the .el files are
20140 normally gzipped (subsequent code locates the .el.gz from the .elc).
20142 * calc/calc-prog.el (arglist): Define for compiler.
20144 * calendar/diary-lib.el (diary-display-function): Change the default to
20146 (body): Define for compiler.
20148 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20149 (byte-compile-file-form, byte-compile-lambda)
20150 (byte-compile-top-level-body, byte-compile-form)
20151 (byte-compile-variable-ref, byte-compile-setq)
20152 (byte-compile-setq-default, byte-compile-body)
20153 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20154 (batch-byte-compile): Give some more local variables with common names
20155 a "bytecomp-" prefix to avoid masking warnings about free variables.
20157 * startup.el (command-line-1): Give local variables with common names a
20158 distinguishing prefix, so as not to hide free variable warnings during
20161 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20162 clever and add a suffix to make a unique name, just let the user decide
20163 whether or not to overwrite it. If the input is a directory, write the
20164 default filename to that directory. (Bug#4388)
20165 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20166 is a filename-as-a-directory.
20168 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20170 * textmodes/page.el (what-page): Don't move to beginning of line.
20171 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20173 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20175 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20177 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20179 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20180 * help.el (help-for-help-internal): Add purecopy calls for text.
20182 * vc.el (top): print-log method now takes an optional SHORTLOG
20183 argument. Add a new method: root.
20184 (vc-root-diff, vc-print-root-log): New functions.
20185 (vc-log-short-style): New variable.
20186 (vc-print-log-internal): Add support for showing short logs.
20188 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20189 vc-print-root-log and vc-print-root-diff.
20191 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20192 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20193 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20196 * vc-cvs.el (vc-cvs-print-log):
20197 * vc-mtn.el (vc-mtn-print-log):
20198 * vc-rcs.el (vc-rcs-print-log):
20199 * vc-sccs.el (vc-sccs-print-log):
20200 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20201 that is ignored for now.
20203 * vc-mtn.el (vc-mtn-annotate-command):
20204 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20206 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20208 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20209 to function-key-map, and give them ascii-character property.
20210 * term/x-win.el (x-alternatives-map):
20211 * term/ns-win.el (ns-alternatives-map):
20212 * term/internal.el (msdos-key-remapping-map):
20213 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20215 2009-09-14 Glenn Morris <rgm@gnu.org>
20217 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20218 temp-buffers (2009-09-12).
20220 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20222 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20223 the new read-key function.
20225 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20227 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20228 is defined (Bug#4405).
20230 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20232 * recentf.el (recentf-cleanup): Use a hash table to find
20233 duplicates (Bug#4407).
20235 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20237 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20238 kp-0 to ascii equivalents (Bug#4325).
20240 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20242 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20244 * eshell/em-hist.el:
20245 * eshell/em-dirs.el (eshell-complete-user-reference):
20246 Declare pcomplete functions and variables to avoid compiler warnings.
20248 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20250 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20251 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20252 * eshell/em-alias.el (eshell-aliases-file):
20253 * eshell/em-hist.el (eshell-history-file-name):
20254 Use expand-file-name instead of concat to make file names (Bug#4308).
20256 2009-09-13 Glenn Morris <rgm@gnu.org>
20258 * ediff-merg.el (ediff-do-merge):
20259 * filesets.el (filesets-run-cmd):
20260 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20261 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20262 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20263 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20264 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20265 Replace empty `let's with `progn'.
20267 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20269 * mail/sendmail.el (send-mail-function):
20270 * tooltip.el (tooltip-mode):
20271 * simple.el (transient-mark-mode):
20272 * rfn-eshadow.el (file-name-shadow-mode):
20273 * frame.el (blink-cursor-mode):
20274 * font-core.el (global-font-lock-mode):
20275 * files.el (temporary-file-directory)
20276 (small-temporary-file-directory, auto-save-file-name-transforms):
20277 * epa-hook.el (auto-encryption-mode):
20278 * composite.el (global-auto-composition-mode):
20279 Use custom-initialize-delay.
20280 * startup.el (command-line): Don't explicitly call
20281 custom-reevaluate-setting for all the above vars.
20282 * custom.el (custom-initialize-safe-set)
20283 (custom-initialize-safe-default): Delete.
20285 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20287 * term/x-win.el (x-initialize-window-system):
20288 * term/w32-win.el (w32-initialize-window-system):
20289 * term/ns-win.el (ns-initialize-window-system): Don't call
20290 mouse-wheel-mode since it's enabled globally by default already.
20292 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20293 actually define the variable, but only silences the byte-compiler.
20294 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20295 before looking it up.
20296 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20299 2009-09-12 Glenn Morris <rgm@gnu.org>
20301 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20303 (elint-add-required-env): Don't beep on error.
20304 (elint-forms): In case of error, return ENV unchanged.
20305 (elint-init-env): Skip non-list forms.
20306 (elint-log): Handle unknown file positions.
20308 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20310 * epg.el (epg-make-context): Add autoload cookie.
20311 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20312 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20313 (epg-verify-string, epg-start-sign, epg-sign-file)
20314 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20315 (epg-encrypt-string, epg-start-export-keys)
20316 (epg-export-keys-to-file, epg-export-keys-to-string)
20317 (epg-start-import-keys, epg-import-keys-from-file)
20318 (epg-import-keys-from-string, epg-start-receive-keys)
20319 (epg-receive-keys, epg-import-keys-from-server)
20320 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20321 (epg-sign-keys, epg-start-generate-key)
20322 (epg-generate-key-from-file, epg-generate-key-from-string):
20323 Remove autoload cookie.
20325 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20327 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20328 reevaluation of trash-directory.
20330 * mwheel.el: Fix last change.
20331 (mouse-wheel-mode): New defvar.
20332 (mouse-wheel-mode): Remove autoload cookie.
20334 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20336 * mwheel.el (mwheel-installed-bindings): New var.
20337 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20338 the bindings we set last time. Use custom-initialize-delay.
20339 * loadup.el: Load mwheel after term/*-win.el.
20340 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20341 and mouse-wheel-up-event now that their first evaluation is done
20342 sufficiently late to be correct.
20344 * startup.el (tutorial-directory): Make it a defcustom.
20345 Use custom-initialize-delay rather than eval-at-startup to set it.
20346 * image.el (image-load-path): Make it a defcustom.
20347 Use custom-initialize-delay rather than eval-at-startup to set it.
20348 * subr.el (eval-at-startup): Remove.
20349 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20351 * subr.el (do-after-load-evaluation): Warn the user after loading an
20354 2009-09-12 Glenn Morris <rgm@gnu.org>
20356 * proced.el (proced-mark-alt): Remove alias.
20357 (proced-mode-map): Remove proced-mark-alt.
20359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20360 Elint file and directory. Remove initialization entry.
20362 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20364 (elint-current-buffer): Set mode-line-process.
20365 (elint-init-env): Handle define-derived-mode.
20366 Fix declare-function with unspecified arglist. Guard against odd
20367 defalias statements (eg iso-insert's 8859-1-map).
20368 (elint-add-required-env): Use a temp buffer.
20369 (elint-form): Just print the function/macro name, not the whole form.
20370 Return env unchanged if we fail to parse a macro.
20371 (elint-forms): Guard against parse errors.
20372 (elint-output): New function, to handle batch mode.
20373 (elint-log-message): Add optional argument. Use elint-output.
20374 (elint-set-mode-line): New function.
20376 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20378 * emacs-lisp/elp.el (elp-not-profilable): Add more
20379 functions (Bug#4233).
20381 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20383 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20384 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20386 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20388 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20389 (gdb-var-list-children): Use json parsing.
20391 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20393 * progmodes/js.el (js--proper-indentation): Handle the case where
20394 char-before is null. Reported by Deniz Dogan.
20396 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20398 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20400 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20402 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20403 (epg-digest-algorithm-alist): Add SHA224.
20404 (epg-context-set-passphrase-callback)
20405 (epg-context-set-progress-callback): Add description about
20408 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20410 * custom.el (custom-delayed-init-variables): New var.
20411 (custom-initialize-delay): New function.
20412 * startup.el (command-line): "Re"evaluate all vars in
20413 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20414 explicitly any more.
20415 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20416 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20418 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20420 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20422 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20423 (gdb-var-update-handler): Use json parsing.
20425 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20427 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20428 decode annotated text, regardless of language environment. (Bug#2741)
20430 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20432 * Makefile.in (autoloads): Make rmail.el writable as well.
20434 2009-09-11 Glenn Morris <rgm@gnu.org>
20436 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20438 * dired.el: Regenerate with extracted autoloads.
20439 * Makefile.in (autoloads): Make dired.el writable.
20441 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20442 * ibuffer.el: Regenerate with extracted autoloads.
20443 * Makefile.in (autoloads): Make ibuffer.el writable.
20445 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20446 * version.el (emacs-copyright, emacs-major-version)
20447 (emacs-minor-version): Reformat doc-strings for make-docfile.
20449 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20450 functions and variables, since they must be stuff specific to some other
20452 (apropos-print): Make mouse-click message less specific about button.
20454 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20455 that records where a macro was defined.
20456 * help-fns.el (describe-function-1): Mention if a function has a
20458 * help-mode.el (help-function-cmacro): New button.
20460 * locate.el (top-level): Always require dired.
20461 (locate-mode-map): Initialize inside the defvar.
20463 * net/ange-ftp.el (dired-compress-file): Declare.
20464 (ange-ftp-dired-compress-file): Add doc string.
20466 * term/ns-win.el (x-display-name, x-setup-function-keys):
20467 Unify doc-strings with X versions.
20469 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20471 * emulation/crisp.el (crisp-mode-map): Move initialization
20473 (crisp-mode): Use define-minor-mode.
20475 * progmodes/xscheme.el (xscheme-evaluation-commands):
20476 Put a :advertised-binding property rather than using
20477 advertised-xscheme-send-previous-expression.
20478 (advertised-xscheme-send-previous-expression): Declare obsolete.
20479 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20481 (crisp-mode): Add corresponding bindings to
20482 undo's :advertised-binding instead.
20483 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20484 than using dired-advertised-find-file.
20485 (dired-advertised-find-file):
20486 * simple.el (advertised-undo):
20487 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20488 (widget-keymap): Put a :advertised-binding property rather
20489 than using advertised-widget-backward.
20490 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20491 than using advertised-undo.
20492 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20494 2009-09-10 Simon South <ssouth@slowcomputing.org>
20496 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20497 Mark mode is enabled and region is active; otherwise indent or
20498 insert TAB as usual.
20499 (delphi-mode): Update description of TAB-key binding.
20501 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20503 * subr.el (define-key-rebound-commands): Mark obsolete.
20504 * startup.el (precompute-menubar-bindings): Remove.
20505 (normal-top-level): Remove obsolete code that tried to precompute
20507 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20508 define-key-rebound-commands and precompute-menubar-bindings.
20510 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20512 * net/imap.el (imap-interactive-login): Better messages.
20513 (imap-open): Fix bug with renamed buffer on reconnect.
20514 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20515 for easier debugging and cleaner code. On successful (guessed based on
20516 server capabilities) secondary authentication, set imap-state
20518 (imap-last-authenticator): Define imap-last-authenticator as a variable
20521 2009-09-10 Glenn Morris <rgm@gnu.org>
20523 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20525 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20526 (byte-compile-file-form-autoload): Don't warn about unknown functions
20527 where the autoload statement comes after the use.
20528 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20529 that any handlers inside the body (eg require) are in turn respected.
20531 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20534 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20535 and syntax and abbrev tables basic docs, if they don't have any.
20537 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20539 * international/mule-cmds.el (top-level): Require cl when compiling.
20540 (view-hello-file): Use default-value rather than
20541 default-enable-multibyte-characters.
20543 * progmodes/fortran.el: Move all safe and risky properties into the
20546 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20547 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20548 * mail/undigest.el:
20549 Put autoloads in rmail.el rather than loaddefs.el.
20550 * mail/rmail.el: Regenerate with extracted autoloads.
20552 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20553 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20555 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20557 Reported in thread for Bug#4375.
20558 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20559 "-data-evaluate-expression" instead of print.
20560 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20561 (gdb-tooltip-print): Parse output from above MI command.
20562 (gdb): Revert 2009-08-11 change. User should detach inferior
20565 Remove the word "separate" from IO functions as inferior
20566 output is now never displayed in the GUD buffer.
20568 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20570 * startup.el (command-line-normalize-file-name): On Windows and
20571 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20573 2009-09-10 Juri Linkov <juri@jurta.org>
20575 * isearch.el (isearch-text-char-description): Propertize escape
20576 character sequences with the `escape-glyph' face. (Bug#4344)
20578 * simple.el (shell-command): Set asynchronous process filter to
20579 `comint-output-filter'. (Bug#4343)
20581 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20582 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20583 the list. Move "asm" to the bottom.
20584 (grep-find-ignored-directories): Add `choice' with nil value
20585 to empty the list easily.
20586 (grep-find-ignored-files): New option.
20587 (grep-files-history): Set to nil by default instead of '("ch" "el").
20588 (grep-compute-defaults): Add "<X>" to `grep-template'.
20589 (grep-read-files): Bind new local variables `default-alias' and
20590 `default-extension'. Use a list of default values for the file prompt.
20591 (lgrep): Add `--exclude=' command line options composed from
20592 `grep-find-ignored-files'.
20593 (rgrep): Add `-name' command line options composed from
20594 `grep-find-ignored-files'. (Bug#4301)
20596 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20598 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20601 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20603 * calendar/time-date.el (autoload):
20604 Expand define-obsolete-function-alias into defalias and make-obsolete
20605 for old Emacsen that Gnus supports.
20606 (with-no-warnings): Define it for old Emacsen.
20607 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20609 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20610 float-time is available; suppress compile warning for time-to-seconds.
20612 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20614 * net/imap.el (imap-message-map): Docstring fix.
20616 2009-09-09 Glenn Morris <rgm@gnu.org>
20618 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20619 line numbers too. (Bug#4374)
20621 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20623 * smerge-mode.el (smerge-remove-props, smerge-refine):
20624 Use with-silent-modifications (bug#4342).
20626 * subr.el (with-silent-modifications): New macro.
20628 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20630 * files.el (top-level): Require `cl' when compiling.
20632 2009-09-07 Glenn Morris <rgm@gnu.org>
20634 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20636 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20637 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20639 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20641 * vc-git.el (vc-git-annotate-command): Use separator to parse
20642 arguments correctly.
20644 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20646 * proced.el (proced-mode): Doc fix.
20648 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20650 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20652 (tramp-do-file-attributes-with-ls): Check for file existence at
20654 (tramp-do-file-attributes-with-stat): Likewise.
20655 (tramp-convert-file-attributes): Return nil when attr is nil.
20657 2009-09-05 Glenn Morris <rgm@gnu.org>
20659 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20660 properties to this button.
20661 (diary-fancy-display): Don't extend the button to the final newline.
20662 (diary-fancy-display-mode): Continue to define "q" as a local key.
20664 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20667 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20669 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20670 (byte-compile-dest-file-function): New option.
20671 (byte-compile-dest-file): Doc fix.
20672 Obey byte-compile-dest-file-function.
20673 (byte-compile-cl-file-p): New function.
20674 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20675 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20676 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20677 than for file being previously loaded.
20678 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20679 (byte-compile-file-form-require): Handle the case where requiring a file
20680 indirectly causes CL to be loaded.
20682 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20684 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20685 before killing the old buffer, since by the time `kill-buffer' is
20686 run so many buffer variables have been set to nil that it may not
20687 behave as expected. (Bug#4061)
20689 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20691 * files.el (find-alternate-file): If the old buffer is modified
20692 and visiting a file, behave similarly to `kill-buffer' when
20693 killing it, thus reverting to the pre-1.878 behavior; see
20694 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20695 for discussion. Also, consult `buffer-file-name' as a variable
20696 not as a function, for consistency with the rest of the code.
20698 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20700 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20701 also when adding a new directory.
20703 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20706 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20708 * files.el (locate-file-completion-table): Make it provide boundary
20709 information, so partial-completion works better.
20711 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20713 * mail/footnote.el (Footnote-text-under-cursor):
20714 Check footnote-text-marker-alist before using it (bug#4324).
20716 2009-09-04 Glenn Morris <rgm@gnu.org>
20718 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20719 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20720 * play/solitaire.el, play/tetris.el:
20721 Remove leading * from defcustom and defface docs.
20723 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20725 (diary-fancy-overriding-map): New variable.
20726 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20729 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20732 2009-09-03 Glenn Morris <rgm@gnu.org>
20734 * arc-mode.el (archive-mode):
20735 * dos-fns.el (set-default-process-coding-system):
20736 * man.el (Man-getpage-in-background):
20737 * menu-bar.el (menu-bar-describe-menu):
20738 * server.el (server-process-filter):
20739 * startup.el (command-line):
20740 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20741 * w32-fns.el (set-default-process-coding-system):
20742 * x-dnd.el (x-dnd-handle-file-name):
20743 * international/mule-cmds.el (mule-menu-keymap)
20744 (set-default-coding-systems, language-info-alist, set-language-info)
20745 (set-language-environment, standard-display-european-internal)
20746 (set-locale-environment):
20747 * international/mule-diag.el (mule-diag):
20748 * mail/emacsbug.el (report-emacs-bug):
20749 * mail/rmail.el (rmail-mode):
20750 * mail/sendmail.el (mail-setup):
20751 Use default-value rather than default-enable-multibyte-characters.
20753 * progmodes/f90.el: Move all safe properties into the defcustoms.
20754 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20756 * calendar/appt.el (appt-check):
20757 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20758 (diary-check-diary-file, diary-list-entries)
20759 (diary-include-other-diary-files, diary-simple-display)
20760 (diary-fancy-display, diary-print-entries)
20761 (diary-mark-included-diary-files, diary-make-entry):
20762 Don't call substitute-in-file-name on diary-file.
20764 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20765 Stefan Monnier <monnier@iro.umontreal.ca>
20767 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20768 (footnote-mode-map): Move initialization into the declaration.
20769 (footnote-minor-mode-map): Define it rather than changing global-map.
20770 (footnote-mode): Use define-minor-mode.
20772 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20774 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20775 (tramp-do-file-attributes-with-perl)
20776 (tramp-do-file-attributes-with-stat): Rename from
20777 `tramp-handle-file-attributes-with-*'.
20778 (tramp-handle-file-attributes): Use them.
20779 (tramp-do-directory-files-and-attributes-with-perl)
20780 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20781 `tramp-handle-directory-files-and-attributes-with-*'.
20782 (tramp-handle-directory-files-and-attributes): Use them.
20783 (tramp-method-out-of-band-p): Additional parameter SIZE.
20784 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20785 (tramp-handle-write-region): Use it.
20786 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20787 (tramp-handle-vc-registered): Check, whether the first run did
20788 return files to be tested.
20789 (tramp-advice-make-auto-save-file-name): Do not call directly
20790 `tramp-handle-make-auto-save-file-name', because this would bypass
20791 the locking mechanism.
20793 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20794 (file-remote-p, process-file, start-file-process, set-file-times)
20795 (tramp-compat-file-attributes): Compatibility functions shall not
20796 call directly `tramp-handle-*', because this would bypass the
20798 (tramp-compat-number-sequence): New defun.
20800 2009-09-02 Glenn Morris <rgm@gnu.org>
20802 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20803 alias for float-time.
20804 (time-to-number-of-days): In Emacs, use float-time.
20805 * net/newst-backend.el (time-add): Suppress warnings from compat
20807 * time.el (emacs-uptime, emacs-init-time):
20808 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20809 Use float-time rather than time-to-seconds.
20811 * minibuffer.el (completion-initials-expand): Fix typo.
20813 * faces.el (modeline, modeline-inactive, modeline-highlight)
20814 (modeline-buffer-id):
20815 * info.el (info-menu-5): Mark these face aliases as obsolete.
20817 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20819 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20821 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20822 no "--thread" option.
20823 (gdb-stopped): Don't print "Switched to thread" message when it is
20826 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20828 * minibuffer.el (completion-try-completion)
20829 (completion-all-completions): Remove ill-defined (and
20830 mistakenly installed and luckily never used nor documented)
20831 `completion-styles' property.
20832 (completion-initials-expand, completion-initials-all-completions)
20833 (completion-initials-try-completion): New functions.
20834 (completion-styles-alist): Add doc to each entry.
20835 Add new `initials' entry.
20837 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20839 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20840 MI command -var-evaluate-expression.
20841 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20842 and tweak for case of string child.
20843 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20845 2009-09-01 Glenn Morris <rgm@gnu.org>
20847 * add-log.el (change-log-date-face, change-log-name-face)
20848 (change-log-email-face, change-log-file-face, change-log-list-face)
20849 (change-log-conditionals-face, change-log-function-face)
20850 (change-log-acknowledgement-face):
20851 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20852 (custom-modified-face, custom-set-face, custom-changed-face)
20853 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20854 (custom-documentation-face, custom-state-face, custom-comment-face)
20855 (custom-comment-tag-face, custom-variable-tag-face)
20856 (custom-variable-button-face, custom-face-tag-face)
20857 (custom-group-tag-face-1, custom-group-tag-face):
20858 * diff-mode.el (diff-header-face, diff-file-header-face)
20859 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20860 (diff-added-face, diff-changed-face, diff-function-face)
20861 (diff-context-face, diff-nonexistent-face):
20862 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20863 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20864 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20865 (Info-title-4-face):
20866 * isearch.el (isearch-lazy-highlight-face):
20867 * log-view.el (log-view-file-face, log-view-message-face):
20868 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20869 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20870 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20872 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20873 (smerge-base-face, smerge-markers-face):
20874 * wid-edit.el (widget-documentation-face, widget-button-face)
20875 (widget-field-face, widget-single-line-field-face)
20876 (widget-inactive-face, widget-button-pressed-face):
20877 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20878 (woman-addition-face):
20879 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20880 (eshell-ls-executable-face, eshell-ls-readonly-face)
20881 (eshell-ls-unreadable-face, eshell-ls-special-face)
20882 (eshell-ls-missing-face, eshell-ls-archive-face)
20883 (eshell-ls-backup-face, eshell-ls-product-face)
20884 (eshell-ls-clutter-face):
20885 * eshell/em-prompt.el (eshell-prompt-face):
20886 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20887 * obsolete/old-whitespace.el (whitespace-highlight-face):
20888 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20889 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20890 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20891 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20892 (antlr-font-lock-literal-face):
20893 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20894 (ebrowse-root-class-face, ebrowse-file-name-face)
20895 (ebrowse-default-face, ebrowse-member-attribute-face)
20896 (ebrowse-member-class-face, ebrowse-progress-face):
20897 * progmodes/make-mode.el (makefile-space-face):
20898 * progmodes/sh-script.el (sh-heredoc-face):
20899 * textmodes/flyspell.el (flyspell-incorrect-face)
20900 (flyspell-duplicate-face):
20901 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20902 * textmodes/texinfo.el (texinfo-heading-face):
20903 Mark face aliases with "-face" suffix as obsolete.
20905 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20908 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20909 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20910 easy-menu-define wants to modify these.
20912 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20914 * net/browse-url.el (browse-url-file-url):
20915 * term/internal.el (dos-codepage-setup):
20916 Use default-value rather than default-enable-multibyte-characters.
20918 * progmodes/etags.el (etags-goto-tag-location):
20919 * progmodes/flymake.el (flymake-highlight-line)
20920 (flymake-goto-file-and-line, flymake-goto-line):
20921 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20922 (gdb-goto-breakpoint):
20923 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20924 * progmodes/python.el (python-find-function)
20925 (python-pdbtrack-track-stack-file):
20926 * progmodes/verilog-mode.el (verilog-surelint-off):
20927 * term/ns-win.el (ns-open-file-select-line):
20928 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20929 Use forward-line rather than goto-line.
20931 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20932 * textmodes/reftex-index.el (reftex-display-index):
20933 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20934 * textmodes/reftex-toc.el (reftex-toc):
20935 Remove unnecessary bindings of default-major-mode (all are followed by
20936 major-mode check and possible mode switch).
20938 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20940 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20941 Handle watchpoints (bug#4282).
20942 (def-gdb-thread-buffer-command): Enable thread to be selected by
20943 clicking without selecting threads buffer first.
20944 (gdb-current-context-command): Use selected frame so that "up",
20945 "down" etc work in the GUD buffer.
20946 (gdb-update): Find selected frame before rendering stack buffer.
20947 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20949 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20951 * progmodes/sym-comp.el (displayed-completions): Remove.
20952 (symbol-complete): Use minibuffer-complete.
20954 2009-08-31 Glenn Morris <rgm@gnu.org>
20956 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20958 * apropos.el (apropos-symbols-internal):
20959 Handle (obsolete) face aliases.
20961 * faces.el (describe-face): Adjust the output format to be more like
20962 describe-variable, and to mention (obsolete) face aliases.
20963 Adjust the whitespace so that help-setup-xref works.
20965 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20966 * calendar/diary-lib.el (diary-button-face):
20967 Mark these face aliases as obsolete.
20969 * calendar/calendar.el (calendar-today): Doc fix.
20971 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20973 * progmodes/gdb-mi.el (gdb-control-all-threads)
20974 (gdb-control-current-thread): Force tool bar update.
20975 (gdb-non-stop-handler): New function.
20976 (gdb-init-1): Use it to test if non-stop mode is supported.
20977 Remove unused gdbmi buffer type.
20979 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20981 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20982 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20984 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20986 * comint.el (comint-exec-1): Check command is non-null first.
20987 Part of gdb-mi.el change (2009-08-28).
20989 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20991 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20993 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20995 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20996 instead of `dolist' to avoid a recursive require when bootstrapping.
20998 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21000 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
21002 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
21004 * net/imap.el (imap-send-command): Simplify.
21005 (imap-wait-for-tag): point-max -> buffer-size.
21007 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
21009 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
21010 with constant argument.
21012 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
21014 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
21016 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
21017 Change default, since most of our files don't have a history.
21018 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
21021 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21024 * calc/calc.el: Improve commenting convention.
21025 (calc-digit-map, toplevel): Simplify.
21027 * comint.el (comint-insert-input): Be careful to only set point if we
21028 don't delegate to some other command.
21030 * proced.el (proced-signal-list): Make it an alist.
21031 (proced-grammar-alist): Capitalize names.
21032 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
21033 Disable undo manually and make it read-only.
21034 Use completion-annotate-function.
21036 * minibuffer.el (minibuffer-message): If the current buffer is not
21037 a minibuffer, insert the message in the echo area rather than at the
21039 (completion-annotate-function): New variable.
21040 (minibuffer-completion-help): Use it.
21041 (completion--embedded-envvar-table): Environment vars are
21042 always case-sensitive.
21044 2009-08-30 Glenn Morris <rgm@gnu.org>
21046 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21047 from fortran-current-defun.
21048 (fortran-beginning-of-subprogram): Be more precise about finding the
21049 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21050 (fortran-end-of-subprogram): Simplify.
21051 (fortran-current-defun): Use fortran-start-prog-re.
21053 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21055 * subr.el (do-after-load-evaluation): Simplify.
21057 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21059 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21061 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21062 (vc-rcs-print-log): Use it.
21064 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21066 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21068 * paths.el (abbrev-file-name): Move to abbrev.el.
21069 * abbrev.el (abbrev-file-name): Move from paths.el.
21070 Obey user-emacs-directory.
21071 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21072 user-emacs-directory.
21073 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21074 abbrev-file-name and calc-settings-file any more.
21075 * startup.el (command-line): Recompute abbrev-file-name and
21076 abbreviated-home-dir.
21077 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21078 of the special code for when C-h bindings haven't been changed.
21079 (display-startup-echo-area-message): Use with-current-buffer.
21080 (command-line-1): Use a list of strings, rather than a list of lists
21081 of strings for longopts.
21083 * files.el (get-free-disk-space): Use / for default-directory.
21085 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21086 Use with-current-buffer.
21088 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21089 Recognize immutable variables like most-positive-fixnum.
21090 (byte-compile-setq-default): Check and warn if trying to assign
21091 to an immutable variable, or a non-variable.
21093 * progmodes/cc-vars.el (c-comment-continuation-stars):
21094 * progmodes/cc-engine.el (c-looking-at-bos):
21095 * progmodes/cc-cmds.el (c-toggle-auto-state)
21096 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21097 (c-comment-line-break-function): Add version of obsolescence.
21099 2009-08-28 Juri Linkov <juri@jurta.org>
21101 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21102 associated with `archive-mode'.
21104 * image.el (image-type-header-regexps): Use only JPEG magic number
21105 to determine JPEG images, and don't use `image-jpeg-p' because
21106 Emacs can display non-JFIF non-Exif JPEG images.
21108 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21110 * arc-mode.el (archive-mode):
21111 * emacs-lisp/re-builder.el (re-builder-unload-function):
21112 Protect against the default value of `major-mode' being nil.
21114 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21116 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21117 Fix typos in docstrings.
21119 * progmodes/js.el (js--macro-decl-re): Doc fix.
21120 (js--plain-method-re, js--split-name): Refloc docstring.
21121 (js--class-styles, js--make-merged-item, js--splice-into-items):
21122 Fix typos in docstrings; reflow docstrings.
21123 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21124 (js--variable-decl-matcher, js--inside-pitem-p)
21125 (js--parse-state-at-point, js--get-all-known-symbols)
21126 (js--symbol-history, js-find-symbol, js--js-references)
21127 (js--moz-interactor, js--js-encode-value, js--read-tab):
21128 Fix typos in docstrings.
21130 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21132 * textmodes/reftex.el (reftex-get-file-buffer-force):
21133 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21134 * emulation/viper.el (viper-go-away, viper-set-hooks):
21135 * emacs-lisp/re-builder.el (re-builder-unload-function):
21136 * emacs-lisp/bytecomp.el (byte-compile-file):
21137 * ses.el (ses-unload-function):
21138 * hexl.el (hexl-find-file):
21139 * files.el (normal-mode):
21140 * ehelp.el (with-electric-help):
21141 * autoinsert.el (auto-insert-alist):
21142 * arc-mode.el (archive-mode):
21143 Use (default-value 'major-mode) instead of default-major-mode.
21145 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21146 * international/mule.el (load-with-code-conversion):
21147 * emacs-lisp/debug.el (debug):
21148 * ediff-vers.el (ediff-rcs-get-output-buffer):
21149 * dired.el (dired-internal-noselect): Don't let-bind
21150 default-major-mode around code that doesn't use it.
21151 E.g. buffer creation via get-buffer-create doesn't use it.
21153 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21155 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21156 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21157 when writing the temp file. Otherwise, epa-file gets confused.
21158 (tramp-register-file-name-handlers): Make it a defun. Move also
21159 `epa-file-handler' to the front of `file-name-handler-alist'.
21161 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21163 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21164 start right after a ^M.
21165 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21166 (tramp-completion-file-name-regexp-separate)
21167 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21168 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21169 Don't modify last-coding-system-used by accident.
21170 (tramp-completion-file-name-handler): Apply the checks here,
21171 instead during registration.
21172 (tramp-register-file-name-handlers): Rename from
21173 `tramp-register-file-name-handler'. Register both
21174 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21175 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21177 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21179 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21180 Remove variable ...
21181 (gdb-init-1, gdb-display-separate-io-buffer)
21182 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21184 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21185 (gdb-inferior-filter): Use comint-output-filter to stop
21186 echoing and remove ^M characters.
21188 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21190 * emulation/viper-init.el (viper-restore-cursor-type):
21191 * emulation/cua-base.el (cua--update-indications):
21192 Replace default-cursor-type with (default-value 'cursor-type).
21194 * mail/sendmail.el (mail-recover-1):
21195 * international/mule-diag.el (describe-current-coding-system-briefly)
21196 (describe-current-coding-system):
21197 * international/mule-cmds.el (select-safe-coding-system)
21198 (select-message-coding-system)
21199 (set-language-environment-coding-systems, set-locale-environment):
21200 * hexl.el (hexl-insert-multibyte-char):
21201 * dos-w32.el (find-buffer-file-type-coding-system):
21202 * simple.el (what-cursor-position):
21203 Replace uses of default-buffer-file-coding-system
21204 with (default-value 'buffer-file-coding-system).
21206 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21207 Replace uses of default-cursor-in-non-selected-windows
21208 with (default-value 'cursor-in-non-selected-windows).
21209 Use with-current-buffer.
21211 * mail/feedmail.el: Use CL macros.
21212 (feedmail-run-the-queue, feedmail-send-it-immediately):
21213 * dos-w32.el (find-buffer-file-type): Replace uses of
21214 default-buffer-file-type with (default-value 'buffer-file-type).
21216 2009-08-28 Glenn Morris <rgm@gnu.org>
21218 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21219 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21220 Use default-value of major-mode rather than default-major-mode.
21222 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21224 * Makefile.in (update-elcfiles): Report left over elc files.
21226 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21227 expand-file-name and with-current-buffer.
21228 (mail-get-names, mail-directory): Use with-current-buffer.
21230 * vc.el (vc-read-revision): New function.
21231 (vc-version-diff, vc-merge): Use it.
21233 2009-08-27 Sam Steingold <sds@gnu.org>
21235 * simple.el (kill-do-not-save-duplicates): New user option.
21236 (kill-new): When it is non-nil, and the new string is the same as
21237 the latest kill, set replace to t to avoid duplicates in kill-ring.
21239 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21241 * net/tramp.el (tramp-handle-process-file): Do not flush all
21242 caches when `process-file-side-effects' is set.
21243 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21244 instead of `tramp-find-file-exists-command'.
21245 Unset `process-file-side-effects'.
21247 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21249 * net/tramp.el (tramp-methods): New method "rsyncc".
21250 (top): Add completion function for "rsyncc".
21251 (tramp-message-show-message): New defvar.
21252 (tramp-message, tramp-error): Use it.
21253 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21255 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21256 `tramp-methods' entry `copy-env' of "rsyncc".
21257 (tramp-vc-registered-read-file-names): New defconst.
21258 (tramp-vc-registered-file-names): New defvar.
21259 (tramp-handle-vc-registered): Implement optimization strategy.
21260 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21261 (tramp-vc-file-name-handler): New defun.
21262 (tramp-get-ls-command, tramp-get-test-command)
21263 (tramp-get-file-exists-command, tramp-get-remote-ln)
21264 (tramp-get-remote-perl, tramp-get-remote-stat)
21265 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21267 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21268 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21270 (tramp-get-file-property): Check for timestamps in
21271 `tramp-cache-inhibit-cache'.
21272 (tramp-set-file-property): Write timestamp.
21274 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21276 * language/japan-util.el (japanese-symbol-table): Add entries for
21279 * international/characters.el: Add category `j' to cp932-2-byte.
21281 2009-08-27 Kenichi Handa <handa@m17n.org>
21283 * international/fontset.el (build-default-fontset-data): New macro.
21284 (setup-default-fontset): Use build-default-fontset-data for CJK,
21285 tibetan, ethiopic, and ipa.
21287 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21289 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21290 (enable-multibyte-characters): Not customizable any more.
21292 * subr.el (default-mode-line-format, default-header-line-format)
21293 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21294 (default-direction-reversed, default-truncate-lines)
21295 (default-left-margin, default-tab-width, default-case-fold-search)
21296 (default-left-margin-width, default-right-margin-width)
21297 (default-left-fringe-width, default-right-fringe-width)
21298 (default-fringes-outside-margins, default-scroll-bar-width)
21299 (default-vertical-scroll-bar, default-indicate-empty-lines)
21300 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21301 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21302 (default-scroll-down-aggressively, default-fill-column)
21303 (default-cursor-type, default-buffer-file-type)
21304 (default-cursor-in-non-selected-windows)
21305 (default-buffer-file-coding-system, default-major-mode)
21306 (default-enable-multibyte-characters): Mark as obsolete.
21308 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21310 * vc-dir.el (vc-dir-update): Remove debug helper.
21312 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21314 2009-08-26 Sam Steingold <sds@gnu.org>
21316 * simple.el (save-interprogram-paste-before-kill): New user option.
21317 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21318 save the interprogram-paste into kill-ring before overriding it
21319 with the Emacs kill.
21321 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21323 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21324 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21325 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21326 and move to vc-rcs.el.
21327 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21329 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21330 (vc-rcs-update-changelog): Remove.
21331 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21332 and move to vc-rcs.el.
21334 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21335 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21337 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21338 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21339 vc.el, renamed to be RCS specific.
21341 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21343 (vc-cvs-update-changelog): Move here from vc.el.
21345 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21348 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21350 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21352 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21354 * vc-git.el (vc-git-register): Use "git add" for directories.
21355 (vc-git-stash, vc-git-stash-show): New functions.
21356 (vc-git-extra-menu-map): Bind them.
21358 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21359 directory correctly in case the item is a directory itself.
21361 * vc.el: Document the desired behavior for reverted files in the
21363 (vc-default-prettify-state-info): Remove function, unused.
21365 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21367 2009-08-26 Glenn Morris <rgm@gnu.org>
21369 * bindings.el (standard-mode-line-format): Reposition dashes in
21370 which-func entry. (Bug#4217)
21372 * files.el (enable-local-variables, enable-local-eval)
21373 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21375 (auto-mode-alist, ignored-local-variables)
21376 (save-some-buffers-action-alist): Move risky declarations to the
21378 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21379 (font-lock-defaults, format-alist, imenu--index-alist)
21380 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21381 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21382 (mode-line-modified, mode-line-mule-info, mode-line-position)
21383 (mode-line-process, mode-line-remote, outline-level)
21384 (parse-time-rules, rmail-output-file-alist)
21385 (special-display-buffer-names, vc-mode):
21386 Move risky declarations to the relevant files.
21387 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21388 (mode-line-modified, mode-line-process, mode-line-position)
21389 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21390 * font-core.el (font-lock-defaults):
21391 * format.el (format-alist):
21392 * vc-hooks.el (vc-mode):
21393 * window.el (special-display-buffer-names):
21394 * international/mule-cmds.el (input-method-alist):
21395 Define riskiness here (dumped file) rather than in files.el.
21396 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21397 * imenu.el (imenu-generic-expression, imenu--index-alist):
21398 * outline.el (outline-level):
21399 * time.el (display-time-string):
21400 * calendar/parse-time.el (parse-time-rules):
21401 * mail/rmailout.el (rmail-output-file-alist):
21402 Autoload riskiness here, rather than placing in files.el.
21404 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21406 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21408 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21410 * simple.el (process-file-side-effects): New defvar.
21412 * dired-aux.el (dired-show-file-type):
21413 * vc.el (vc-diff-internal):
21414 * vc-arch.el (vc-arch-diff):
21415 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21416 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21417 * vc-git.el (vc-git-registered, vc-git-working-revision)
21418 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21419 (vc-git--empty-db-p):
21420 * vc-hooks.el (vc-user-login-name):
21421 * vc-svn.el (vc-svn-registered, vc-svn-state)
21422 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21423 * progmodes/grep.el (grep-probe): Let-bind
21424 `process-file-side-effects' with nil.
21426 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21428 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21429 daemon. Replace ping by checking for running service for bluez
21430 and zeroconf. (Bug#4239)
21432 2009-08-25 Kevin Ryde <user42@zip.com.au>
21434 * net/dig.el (dig): Add autoload cookie.
21436 2009-08-25 Glenn Morris <rgm@gnu.org>
21438 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21439 load-history for absolute file-names.
21440 (byte-compile-file-form-require): Warn about use of the cl package.
21442 * format.el (format-alist): Doc fix.
21444 * play/bubbles.el (top-level): Don't require cl at run-time.
21446 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21449 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21451 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21453 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21455 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21457 * calc/calc-alg.el (math-trig-rewrite)
21458 (math-hyperbolic-trig-rewrite): New functions.
21459 (calc-simplify): Simplify trig functions when asked.
21461 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21463 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21465 2009-08-24 Kenichi Handa <handa@m17n.org>
21467 * language/ind-util.el (mapthread): Delete it.
21468 (combinatorial): New function.
21469 (indian--puthash-cv): Use combinatorial instead of mapthread.
21471 2009-08-22 Kevin Ryde <user42@zip.com.au>
21473 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21474 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21475 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21476 Clarify docstring that the value is strings not symbols.
21477 (checkdoc-list-of-strings-p): New function.
21479 2009-08-22 Glenn Morris <rgm@gnu.org>
21481 * files.el (auto-mode-alist):
21482 * hippie-exp.el (he-concat-directory-file-name):
21483 * lpr.el (lpr-windows-system, printer-name):
21484 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21485 * ps-print.el (ps-windows-system):
21486 * startup.el (command-line):
21487 * emulation/viper-ex.el (viper-glob-function):
21488 * international/mule-cmds.el (set-language-environment-coding-systems):
21489 * net/ange-ftp.el (ange-ftp-write-region):
21490 * obsolete/fast-lock.el (fast-lock-cache-name):
21491 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21492 unisoft-unix, vax-vms, win32, w32.
21494 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21495 given name if the pattern is not more specific.
21497 * calendar/lunar.el (lunar-phase-names): New option.
21498 (lunar-phase): Doc fix.
21499 (lunar-cycles-per-year): New constant.
21500 (lunar-index): New function.
21501 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21502 (lunar-phase-name): Use lunar-phase-names.
21503 (calendar-lunar-phases): Use format.
21504 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21506 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21507 Copy imenu-example--name-and-position function here for own use.
21508 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21510 * bs.el (bs--redisplay):
21511 * cus-edit.el (custom-redraw):
21512 * ibuffer.el (ibuffer-bury-buffer):
21513 * server.el (server-goto-line-column):
21514 * startup.el (command-line-1):
21515 * strokes.el (strokes-xpm-for-stroke):
21516 * term.el (term-display-buffer-line):
21517 * view.el (View-goto-line):
21518 * calc/calc.el (calc-do, calc-trail-buffer):
21519 * play/gamegrid.el (gamegrid-add-score-insecure):
21520 * progmodes/ada-mode.el (ada-compile-goto-error):
21521 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21522 (ebrowse-select-1st-to-9nth):
21523 * progmodes/cperl-mode.el (cperl-time-fontification):
21524 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21525 * progmodes/gud.el (gud-display-line):
21526 (idlwave-shell-display-line):
21527 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21528 * progmodes/make-mode.el (makefile-browser-toggle):
21529 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21530 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21531 * textmodes/picture.el (picture-draw-rectangle):
21532 * textmodes/reftex-index.el (reftex-index-goto-letter):
21533 (reftex-select-jump-to-previous):
21534 * textmodes/reftex-sel.el (reftex-find-start-point)
21535 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21536 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21537 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21538 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21539 * textmodes/two-column.el (2C-associated-buffer):
21540 Use forward-line rather than goto-line.
21542 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21545 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21546 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21547 (quick-check-list-to-regexp): Declare.
21549 * progmodes/make-mode.el (makefile-browser-insert-selection):
21550 Use goto-char rather than goto-line.
21552 * progmodes/prolog.el (compilation-error-regexp-alist)
21553 (compilation-forget-errors): Declare.
21555 2009-08-22 Juri Linkov <juri@jurta.org>
21557 * progmodes/grep.el (lgrep, rgrep): At the beginning
21558 set `dir' to `default-directory' unless `dir' is a non-nil
21559 readable directory. (Bug#4052)
21560 (lgrep, rgrep): Change a weird way to report an error
21561 from using `read-string' to using `error'.
21562 Instead of using interactive arguments in the function body,
21563 add new argument `confirm'.
21565 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21567 * textmodes/remember.el (remember-buffer):
21568 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21569 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21570 (icalendar-extract-ical-from-buffer):
21571 * net/newst-treeview.el (newsticker-groups-filename):
21572 * net/newst-backend.el (newsticker-cache-filename):
21573 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21574 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21575 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21576 (speedbar-buffers-line-path, speedbar-path-line)
21577 (speedbar-buffers-line-path):
21578 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21580 * epa.el (epa-display-verify-result):
21581 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21583 2009-08-21 Glenn Morris <rgm@gnu.org>
21585 * progmodes/js.el (inferior-moz-process): Fix declaration.
21587 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21589 * obsolete/rnewspost.el (news-mail-reply):
21590 Use goto-char rather than goto-line.
21592 * term/ns-win.el (ns-open-file-select-line):
21593 Use line-beginning-position rather than goto-line.
21595 * apropos.el (apropos-command):
21596 * ehelp.el (electric-helpify):
21597 * printing.el (pr-show-setup):
21598 * strokes.el (strokes-help):
21599 * tutorial.el (tutorial--describe-nonstandard-key)
21600 (tutorial--detailed-help):
21601 * woman.el (woman-mini-help, woman-display-extended-fonts):
21602 * calc/calc-help.el (calc-describe-key):
21603 * emulation/edt.el (edt-electric-helpify):
21604 * international/mule-diag.el (mule-diag):
21605 * play/yow.el (apropos-zippy):
21606 * progmodes/python.el (python-describe-symbol):
21607 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21608 * textmodes/table.el (*table--cell-describe-mode)
21609 (*table--cell-describe-bindings):
21610 Use help-print-return-message rather than the now obsolete alias.
21612 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21613 (calendar-cursor-to-visible-date):
21614 * play/5x5.el (5x5-position-cursor):
21615 * play/decipher.el (decipher):
21616 * play/gomoku.el (gomoku-goto-xy):
21617 * play/landmark.el (lm-goto-xy):
21618 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21619 (mpuz-paint-digit):
21620 Use forward-line, not goto-line.
21622 * mail/rmail.el (rmail-obsolete): Delete custom group.
21623 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21624 (rmail-remote-password, rmail-remote-password-required):
21625 Remove unneeded :set-after and :set properties.
21627 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21629 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21631 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21633 * loadup.el: Remove leftover macos code.
21635 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21636 Explicitly pass the date format to git blame so that user local
21637 so that the output format can be parsed.
21639 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21641 * net/dbus.el (top): Don't check for (getenv
21642 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21644 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21646 * log-edit.el (log-edit-strip-single-file-name): New var.
21647 (log-edit-insert-changelog): Use it. Bug#3571.
21649 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21651 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21654 * help.el (help-print-return-message): Rename from
21655 print-help-return-message.
21657 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21658 cvs-mode-map parent hack.
21659 (log-view-mode): Derive from special-mode.
21661 * linum.el (linum-mode): window-size-change-functions is redundant.
21662 Adapt to new window-configuration-change-hook behavior.
21663 (linum-after-size, linum-after-config): Remove.
21665 * imenu.el (imenu-example--name-and-position)
21666 (imenu-example--lisp-extract-index-name)
21667 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21670 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21671 (inferior-prolog-mode): Use it.
21672 (inferior-prolog-load-file): Reset list of errors.
21674 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21676 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21678 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21680 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21682 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21683 is running already.
21685 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21687 * subr.el (listify-key-sequence-1): Use normal syntax since those
21688 integers are nowadays always represented by the same (positive) number
21690 (read-key-empty-map): New const.
21691 (read-key-delay): New var.
21692 (read-key): New function.
21693 (force-mode-line-update): Use with-current-buffer.
21694 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21695 (start-process-shell-command, start-file-process-shell-command):
21696 Discourage the use of command-args.
21698 2009-08-19 Glenn Morris <rgm@gnu.org>
21700 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21702 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21704 * simple.el (choose-completion-string): Don't rely on
21705 minibuffer-completing-file-name and ad-hoc checks to decide whether
21706 to continue completion or not.
21708 * minibuffer.el (minibuffer-hide-completions): New function.
21709 (completion--do-completion): Use it.
21710 (completions-annotations): New face.
21711 (completion--insert-strings): Use it.
21712 (completion-pcm--delim-wild-regex): Add docstring.
21713 (completion-pcm--string->pattern): Add support for 0-width delimiters
21714 in completion-pcm--delim-wild-regex.
21716 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21718 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21719 Remove unused var `buffer-modified-p'.
21721 * minibuffer.el (completion--do-completion): Move point for the #b001
21722 case as well (bug#4176).
21723 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21725 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21727 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21728 and :session buses.
21730 2009-08-18 Kenichi Handa <handa@m17n.org>
21732 * international/ucs-normalize.el (ucs-normalize-version):
21734 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21735 (utf-8-hfs): Make it perform normalization on encoding too.
21737 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21738 (sentence-end-without-space): Delete duplicated chars.
21739 (sentence-end-base): Likewise.
21741 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21742 (html-mode): Delete duplicated chars from sentence-end-base.
21744 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21745 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21747 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21749 * files.el (hack-one-local-variable): If the mode function is for
21750 a minor mode, pass it an argument (Bug#4148).
21752 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21754 * net/tramp.el (tramp-register-completion-file-name-handler):
21755 Check also for (member 'partial-completion completion-styles).
21757 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21759 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21762 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21764 * progmodes/cperl-mode.el: Merge upstream 6.2.
21765 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21766 (cperl-forward-re): Check cperl-brace-recursing.
21767 (cperl-highlight-charclass): New function.
21768 (cperl-find-pods-heres): Use it.
21769 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21770 (cperl-beautify-regexp-piece): Fix column calculation.
21771 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21772 (cperl-beautify-level): Don't process entire regexp.
21773 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21775 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21776 (cperl-init-faces): Build a list in the normal way.
21778 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21780 * calendar/parse-time.el (parse-time-string-chars): Save match
21783 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21785 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21786 (sql-product): Use it.
21787 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21788 (sql-set-product): Add completion.
21789 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21790 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21791 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21792 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21793 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21794 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21795 (sql-highlight-db2-keywords): Remove.
21796 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21797 (sql-highlight-product): Use derived-mode-p.
21798 (sql-set-sqli-buffer): Use with-current-buffer.
21799 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21802 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21804 * term.el: Fix commenting convention, turn comments into docstrings.
21806 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21808 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21810 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21812 * calendar/parse-time.el (parse-time-string-chars): Compute using
21813 character classes, to handle non-ascii characters (Bug#3190).
21815 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21817 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21818 another heredoc if the user adds another < (Bug#3226).
21820 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21821 Don't initialize based on window-system (Bug#4124).
21823 * facemenu.el (facemenu-read-color): Use a completion function
21824 that accepts any defined color, such as RGB triplets (Bug#3677).
21826 * files.el (get-free-disk-space): Change fallback default
21827 directory to /. Expand DIR argument before switching to fallback.
21828 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21830 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21832 * files.el (load-library): Doc fix.
21834 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21836 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21837 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21838 incremental search string.
21840 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21843 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21844 (ediff-merge-region-is-non-clash)
21845 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21846 Also check if the job is really a merge job.
21848 * ediff.el (ediff-current-file): New function.
21850 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21852 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21854 (js-insert-and-indent): Delete function.
21855 (js-mode-map): Don't bind keys to js-insert-and-indent.
21856 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21857 (js-end-of-defun): Rename from js--end-of-defun.
21858 (js-auto-indent-flag): Delete variable.
21860 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21862 * progmodes/js.el: Remove proclaim statement.
21863 Defvar which-func-imenu-joiner-function to silence compiler.
21865 * files.el (auto-mode-alist): Use js-mode for .js files.
21867 * progmodes/js2-mode.el: Remove file.
21869 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21871 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21873 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21875 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21876 Karl Landstrom <karl.landstrom@brgeight.se>
21878 * progmodes/js.el: New file.
21880 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21882 * timezone.el (timezone-parse-date): Add ability to understand ISO
21883 basic format (minimal separators) dates in addition to the
21884 already-supported extended format dates.
21886 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21888 * international/ucs-normalize.el: Add a `coding' file variable.
21890 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21892 2009-08-14 Sam Steingold <sds@gnu.org>
21894 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21896 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21898 * faces.el (help-argument-name): Define it here instead of
21899 help-fns.el, because in daemon mode help-fns.el may be loaded when
21900 faces are still uninitialized (Bug#1078).
21902 * help-fns.el (help-argument-name): Move defface to faces.el.
21904 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21906 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21907 create buffer with a pty but no process so that GDB can make the
21908 inferior the controlling process.
21910 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21912 * international/ucs-normalize.el: New file.
21914 2009-08-13 Richard Stallman <rms@gnu.org>
21916 * mail/rmail.el (rmail-get-attr-names):
21917 Accept an attribute header that is too short.
21919 * mail/rmail.el (rmail-forget-messages):
21920 Ignore nil elt in rmail-message-vector. Use dotimes.
21922 * progmodes/compile.el (compilation-goto-locus):
21923 Use next-error-move-function.
21925 * simple.el (next-error-move-function): New variable.
21927 2009-08-12 Juri Linkov <juri@jurta.org>
21929 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21930 always non-nil. (Bug#4052)
21932 * replace.el (read-regexp): Return empty string when
21933 `default-value' is nil.
21934 (keep-lines-read-args): Don't use empty string as the
21935 default value for `read-regexp'. (Bug#2495)
21937 2009-08-12 Juri Linkov <juri@jurta.org>
21939 * international/mule-cmds.el (ucs-insert): Change arguments
21940 from `arg' to `character', `count', `inherit' to be the same
21941 as in `insert-char'. Doc fix. (Bug#4039)
21943 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21945 2009-08-12 Juri Linkov <juri@jurta.org>
21947 * files-x.el: New file.
21949 * files.el: Move code that deals with adding/deleting
21950 file/directory-local variables to files-x.el.
21952 * Makefile.in (ELCFILES): Add files-x.elc.
21954 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21956 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21957 to use `goto-line'.
21958 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21960 (gdb-invalidate-disassembly): Do not refresh upon receiving
21961 'update signal. Instead, update all disassembly buffers only after
21963 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21964 (gdb-starting): Move -data-list-register-names...
21965 (gdb-stopped): ...here so it's sent when first thread stops.
21966 (gdb-registers-handler-custom): Do nothing if register names are
21969 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21970 from `gdb-mi.el' to avoid extra tangling.
21972 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21973 change which breaks `gud-def' definitions used in `gdb'.
21974 (gdb-update-gud-running): No extra fuss for updating frame number.
21976 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21978 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21979 (describe-language-environment-map, setup-language-environment-map)
21980 (set-coding-system-map): Move initialization into declaration.
21981 (set-language-info-alist): Last arg to define-key-after can be skipped.
21983 * international/quail.el (quail-completion-1): Simplify.
21984 (quail-define-rules): Use slightly more compact code.
21985 (quail-insert-decode-map): Propertize keys, compact columns.
21987 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21990 2009-08-10 Miles Bader <miles@gnu.org>
21992 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21993 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21994 (js2-instance-member, js2-private-member, js2-private-function-call)
21995 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21996 (js2-magic-paren, js2-external-variable):
21997 Remove "-face" suffix from face names.
21998 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21999 (js2-highlight-undeclared-vars, js2-peek-token)
22000 (js2-parse-function-params, js2-mode-show-errors)
22001 (js2-mode-show-warnings, js2-make-magic-delimiter)
22002 (js2-mode-highlight-magic-parens): Update to use new face names.
22004 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
22006 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
22007 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
22009 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
22011 * subr.el: Provide hashtable-print-readable.
22013 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
22014 hs-c-like-adjust-block-beginning.
22015 (hs-hide-block-at-point): Stop hiding at the beginning of
22016 hs-block-end-regexp (Bug#700).
22018 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
22020 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
22022 (gdb-registers-handler-custom): Do not fail when register names
22025 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22027 * progmodes/gdb-mi.el (gdb-control-all-threads)
22028 (gdb-control-current-thread): Interactive setters for
22029 `gdb-gud-control-all-threads' to use in menu.
22030 (gdb-show-run-p): Show «Go» when process is not active.
22031 (gud-tool-bar-map): Add non-stop/A,T indicator.
22032 Uses gud/thread.xpm and gud/all.xpm.
22034 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
22036 * net/net-utils.el (net-utils-font-lock-keywords): New var.
22037 (nslookup-font-lock-keywords): Make it a variable.
22038 (net-utils-mode): New mode for viewing diagnostic network output.
22039 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22040 (net-utils-run-simple): New function.
22041 (ifconfig, iwconfig, netstat, arp, route): Use it.
22043 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22045 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22046 (gdb-memory-set-address, def-gdb-set-positive-number)
22047 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22048 after changing settings.
22049 (gdb-invalidate-disassembly): Update when first shown.
22050 (gdb-edit-locals-value): Fix.
22051 (gdb-registers-handler-custom): Print registers in right order and
22052 allow changing register values (only for current thread yet).
22053 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22054 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22055 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22056 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22057 Thread info in mode name.
22058 (gdb-registers-mode-map): TAB to switch to locals.
22060 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22062 * mail/rmail.el (rmail-add-mbox-headers)
22063 (rmail-set-message-counters-counter): Search for
22064 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22066 2009-08-08 Glenn Morris <rgm@gnu.org>
22068 * Makefile.in (ELCFILES): Update.
22070 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22072 * mail/sendmail.el (mail-yank-original):
22073 Set buffer-file-coding-system from the one used by the message whose
22076 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22077 to "windows" when "pgnuplot" is used.
22078 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22079 Don't call accept-process-output if "pgnuplot" is used.
22080 (calc-graph-init): Don't send -display and -geometry to
22081 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22082 running "pgnuplot -V" with shell-command-to-string.
22084 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22087 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22089 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22092 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22094 * vc-dispatcher.el (vc-resynch-window): Update comment.
22096 * term.el (term-handle-ansi-escape): Add comments with the
22097 terminfo capabilities implemented.
22099 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22101 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22102 (gdb-var-create-handler): Rewritten using JSON parser.
22103 (gdb-propertize-header): Move earlier.
22104 (gdb-set-header): Remove to avoid duplication.
22105 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22106 Refresh disassembly buffers only after threads list have been
22108 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22111 2009-08-04 Juri Linkov <juri@jurta.org>
22113 * files.el: Commands to add/delete file/directory-local variables.
22114 (read-file-local-variable, read-file-local-variable-value)
22115 (read-file-local-variable-mode, modify-file-local-variable)
22116 (modify-file-local-variable-prop-line)
22117 (modify-dir-local-variable): New functions.
22118 (add-file-local-variable, delete-file-local-variable)
22119 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22120 (add-dir-local-variable, delete-dir-local-variable)
22121 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22122 (copy-dir-locals-to-file-locals-prop-line): New commands.
22124 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22126 * abbrev.el (insert-abbrev-table-description): Prettify output.
22127 Suggested by Karl Chen.
22129 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22131 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22132 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22133 (gdb-overlay-arrow-position, gdb-thread-position)
22134 (gdb-disassembly-position): Declare variables.
22135 (gdb-wait-for-pending): Function now.
22136 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22137 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22138 compilation goes smoothly.
22139 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22140 (gdb-non-stop-setting): New customization setting which replaces
22141 `gdb-non-stop' so changing it doesn't break active GDB session.
22142 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22143 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22144 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22145 (gdb-show-threads-by-default): New customization options.
22146 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22148 (gdb-get-buffer-create): Send buffers update signal when they are
22150 (gdb-invalidate-locals, gdb-invalidate-registers)
22151 (gdb-invalidate-breakpoints)
22152 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22153 (gdb-invalidate-memory): Accept update signal.
22154 (gdb-current-context-command): Use --frame option.
22155 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22156 Implement `gdb-frame-number' selection logic.
22157 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22158 whether to show GUD toolbar buttons.
22159 (gdb-thread-exited): Unselect current thread when it exits.
22160 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22161 (gdb-mark-line): Routine which sets overlay arrow or inverses
22162 video on fringeless displays.
22163 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22164 to build aligned columns of data in GDB buffers and set text
22165 properties line-by-line.
22166 (gdb-invalidate-breakpoints)
22167 (gdb-breakpoints-list-handler-custom)
22168 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22169 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22170 (gdb-registers-handler-custom): Align data columns.
22171 (gdb-locals-handler-custom): Now prints data like in variable
22173 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22174 Remove confusing buttons.
22175 (gdb-invalidate-threads): Append --frame.
22176 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22177 between breakpoints/threads buffers.
22178 (gdb-set-window-buffer): Now can ignore dedicated windows.
22179 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22180 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22181 (def-gdb-thread-buffer-gud-command): Replaces
22182 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22183 for fine thread control.
22184 (gdb-preempt-existing-or-display-buffer): New function used to
22185 display bound buffers without breaking window layout.
22186 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22187 (gdb-select-frame): New version of `gdb-frames-select' which now
22188 sets `gdb-frame-number' so commands may use --frame option instead
22189 of inner debugger state.
22190 (gdb-frame-handler): Do not set `gdb-frame-number'.
22191 (gdb-threads-mode-map): Select threads with mouse.
22193 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22194 avoid compilation warning.
22195 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22198 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22199 Argument `key' renamed to `buffer-type'.
22200 (gdb-current-context-buffer-name): Do not add thread info to
22201 buffer name when no thread is selected.
22202 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22203 command (bug 3794).
22204 (gdb-thread-selected): Handle `=thread-selected' notification.
22205 (gdb-wait-for-pending): New macro to deal with congestion problems.
22206 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22208 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22209 This fixes problem similar to one described in bug 3947.
22210 (gud-menu-map): More menu items.
22211 (gdb-init-1): Reset `gdb-thread-number' to nil.
22213 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22216 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22217 (gdb-current-context-command): Do not append --thread if
22218 `gdb-thread-number' is nil.
22219 (gdb-running-threads-count, gdb-stopped-threads-count):
22221 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22222 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22223 New customization options.
22224 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22226 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22227 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22228 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22229 set `gdb-thread-number' and update `gud-running' properly.
22230 (gdb-running): Update threads list when new threads appear.
22231 (gdb-stopped): Support non-stop operation and new thread switching
22233 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22234 (gdb-json-partial-output): New set of JSON routines.
22235 (def-gdb-auto-update-trigger): New `signal-list' optional
22237 (gdb-thread-list-handler-custom): Update `gud-running',
22238 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22239 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22240 (gdb-continue-thread, gdb-step-thread): New commands for fine
22241 thread execution control.
22242 (gud-menu-map): New menu items to switch non-stop options.
22243 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22244 (gdb-send): Mimic RET properly (bug 3794).
22246 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22247 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22249 (def-gdb-auto-update-handler): New nopreserve optional argument.
22250 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22252 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22253 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22254 (gdb-parent-mode): New mode to derive other GDB modes from.
22255 (gdb-display-disassembly-for-thread)
22256 (gdb-frame-disassembly-for-thread): New commands for threads
22259 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22260 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22261 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22262 (gdb-update): We now store all GDB buffers in a list so that they
22263 can be updated by traversing a list instead of calling invalidate
22264 triggers explicitly.
22265 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22266 pair for GDB buffer.
22267 (gdb-stack-buffer-name): Add thread information.
22268 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22269 handle pending triggers.
22270 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22271 (def-gdb-thread-buffer-simple-command)
22272 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22273 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22274 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22275 New commands which show buffers bound to thread.
22276 (gdb-stack-list-locals-regexp): Remove unused regexp.
22278 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22279 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22280 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22281 to (gud-comint-buffer) in *-buffer-name functions
22282 because (gdb-get-target-string) already does that.
22283 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22284 (gdb-changed-registers-handler): Rewritten without regexps.
22286 * progmodes/gdb-mi.el: Basic thread selection support.
22287 (gdb-thread-number): New variable.
22288 (gdb-current-context-command): New macro which adds --thread
22290 (gdb-threads-mode-map): Select thread with SPC.
22291 (gdb-thread-list-handler-custom): Mark current thread with overlay
22292 arrow. Synchronize GDB thread and Emacs thread.
22293 (gdb-select-thread): New command which selects current thread.
22294 (gdb-invalidate-frames, gdb-invalidate-locals)
22295 (gdb-invalidate-registers): Use --thread option.
22297 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22299 * net/tramp.el (top): Make check for tramp-gvfs loading more
22301 (tramp-handle-insert-file-contents): `unwind-protect' must be
22302 inside `with-parsed-tramp-file-name'.
22304 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22307 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22309 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22310 directory if CLASSPATH is not set.
22312 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22314 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22316 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22318 2009-08-02 Kevin Ryde <user42@zip.com.au>
22320 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22321 Update freshmeat link. Delete newsforge.com as it seems gone.
22323 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22325 * select.el (x-set-selection): Doc fix (Bug#4021).
22327 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22329 * help-fns.el (describe-variable): Treat list return values from
22330 dir-locals-find-file properly (Bug#4005).
22332 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22334 * net/tramp.el (tramp-debug-message): Print also microseconds.
22336 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22338 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22340 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22341 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22344 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22345 (tramp-get-file-property): Use it.
22347 * autorevert.el (auto-revert-handler):
22348 Allow `auto-revert-tail-mode' for remote files.
22350 2009-08-02 Jason Rumney <jasonr@gnu.org>
22352 * minibuffer.el (read-file-name): Treat confirm options to
22353 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22355 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22357 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22358 (font-lock-variable-name-face, font-lock-constant-face):
22359 Darken the colors for light backgrounds.
22361 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22363 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22364 month names. (Bug#3987)
22366 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22368 * simple.el (line-move-finish): Pass whole number to
22369 line-move-to-column.
22370 (line-move-visual): Perform hscroll to the recorded position.
22372 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22374 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22376 2009-07-29 Alan Mackenzie <acm@muc.de>
22378 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22380 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22382 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22383 (gdb-place-breakpoints): Use full path when setting breakpoints.
22385 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22387 * calc/calc.el (calc-mode-map): Add keybinding for
22388 `calc-transpose-lines'.
22390 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22392 * calc/calc-misc.el (calc-transpose-lines): New function.
22394 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22396 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22397 Simplify check for out-of-band methods.
22398 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22399 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22401 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22403 * vc-git.el (vc-git-checkin): Fix typo.
22405 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22407 * progmodes/js2-mode.el: New file.
22409 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22411 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22412 (gud-menu-map): Adjust tooltip accordingly.
22414 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22416 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22417 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22419 * add-log.el (change-log-mode-map): Add a menu.
22421 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22423 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22424 function returns nil.
22425 (dbus-handle-event): Handle special return value :ignore.
22426 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22428 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22430 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22433 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22437 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22439 * term/pc-win.el (x-display-name, x-colors)
22440 (x-select-enable-clipboard, x-select-text): Doc fix.
22442 * term/common-win.el (x-display-name, x-colors): Doc fix.
22444 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22445 (xw-defined-colors): Doc fix.
22447 * w32-fns.el (x-select-text, x-setup-function-keys)
22448 (x-get-selection, x-set-selection): Doc fix.
22450 * term/x-win.el (x-select-text, x-setup-function-keys)
22451 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22453 * select.el (x-set-selection): Doc fix.
22455 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22457 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22458 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22459 "IsNSSSupportAvailable" method is not available.
22460 Reported by Steve Youngs <steve@sxemacs.org>.
22462 2009-07-24 Kenichi Handa <handa@m17n.org>
22464 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22465 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22466 (build-unicode-category-table): Fix range checks.
22468 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22470 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22471 the buffer we try to sync is current when calling
22474 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22475 not show up to date files.
22477 2009-07-24 Glenn Morris <rgm@gnu.org>
22479 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22480 Add autoload cookies. If necessary, initialize.
22481 (elint-log): Handle non-file buffers.
22482 (elint-initialize): Add optional argument to reinitialize.
22483 (elint-find-builtin-variables): Save excursion.
22485 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22487 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22490 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22492 * vc.el (vc-print-log-internal): New function, split out from ...
22493 (vc-print-log): ... here.
22494 (vc-dir-move-to-goal-column): Declare.
22496 * vc-git.el (vc-git-add-signoff): New variable.
22497 (vc-git-checkin): Use it.
22498 (vc-git-toggle-signoff): New function.
22499 (vc-git-extra-menu-map): Bind it to menu.
22500 (vc-git--run-command-string): Accept a nil FILE argument.
22501 (vc-git-stash-list): New function.
22502 (vc-git-dir-extra-headers): Use it.
22504 2009-07-23 Glenn Morris <rgm@gnu.org>
22506 * help-fns.el (describe-variable): Describe ignored and risky local
22507 variables in a similar way to that in which we describe safe ones.
22509 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22510 (byte-compile-output-file-form, byte-compile-output-docform)
22511 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22512 Give some more local variables with common names a "bytecomp-" prefix,
22513 so as not to shadow things during compilation.
22514 * emacs-lisp/cl-macs.el (load-time-value)
22515 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22516 `outbuffer' to `bytecomp-outbuffer'.
22518 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22519 since the next two variables cover them automatically now.
22520 (elint-builtin-variables, elint-autoloaded-variables): New.
22521 (elint-unknown-builtin-args): Remove all members, since they can be
22522 parsed automatically now.
22523 (elint-extra-errors): New.
22524 (elint-env-add-env, elint-env-add-macro): Use cadr.
22525 (elint-current-buffer): Use or. Change final message.
22526 (elint-get-top-forms): Use line-end-position.
22527 (elint-init-env): Use cadr. Handle autoload, declare-function,
22529 (elint-add-required-env): Doc fix. Use or. Standardize error.
22530 (regexp-assoc): Remove unused function.
22531 (elint-top-form): Set elint-current-pos, to record the start of the
22532 top-level form, for compilation-mode.
22533 (elint-form): Trap errors in macro expansion. Use dolist.
22534 (elint-unbound-variable): Use elint-builtin-variables and
22535 elint-autoloaded-variables.
22536 (elint-get-args): Use cadr, or.
22537 (elint-check-cond-form): Use dolist, cadr.
22538 (elint-check-condition-case-form): Doc fix. Use cadr.
22539 Use elint-extra-errors.
22540 (elint-log): New function.
22541 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22542 Distinguish errors and warnings.
22543 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22544 Use a bytecomp-style format.
22545 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22546 (elint-get-log-buffer): Use compilation mode. Disable undo.
22547 Don't truncate lines.
22548 (elint-initialize): Set builtin and autoloaded variable lists.
22549 Only process elint-unknown-builtin-args if non-nil.
22550 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22552 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22554 2009-07-22 Kevin Ryde <user42@zip.com.au>
22556 * net/newst-backend.el (newsticker--parse-atom-1.0)
22557 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22558 (newsticker--parse-rss-1.0):
22559 * progmodes/idlwave.el (idlwave-mode):
22560 * progmodes/idlw-shell.el (idlwave-shell-mode):
22561 * progmodes/vera-mode.el (vera-mode):
22562 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22563 * progmodes/vhdl-mode.el (vhdl-mode):
22564 * textmodes/table.el (table-generate-source)
22565 (table--warn-incompatibility):
22566 Hyperlink urls in docstrings with URL `...'.
22568 2009-07-22 Glenn Morris <rgm@gnu.org>
22570 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22571 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22572 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22573 Remove leading * from defcustom docs.
22575 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22577 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22579 (list-load-path-shadows): Optionally, just return shadows as a string.
22581 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22583 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22585 * mail/rmailedit.el (rmail-edit-mode):
22586 Use auto-save-include-big-deletions.
22588 * mail/rmail.el (rmail-variables):
22589 Use auto-save-include-big-deletions.
22591 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22594 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22596 * calc/calc.el (calc-undo-length): New variable.
22597 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22599 2009-07-21 Richard Stallman <rms@gnu.org>
22601 * files.el (auto-save-mode): Handle buffer-save-size = -2
22604 2009-07-21 Glenn Morris <rgm@gnu.org>
22606 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22608 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22610 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22611 silence compiler. Instead...
22612 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22613 (ps-print-ensure-fontified): Update for above function name changes.
22615 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22616 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22617 silence compiler. Instead...
22618 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22619 (mh-show-buffer): Only define for compiler.
22620 (pr-mh-current-message): Update for above function name changes.
22622 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22624 (find-file-noselect, insert-file-1): Update for above change.
22626 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22628 * mail/mailclient.el (mailclient-send-it): Fix message.
22630 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22631 (edebug-eval): Check cl-debug-env is bound.
22632 (print-level, print-circle): Don't redefine built-in variables.
22634 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22635 (custom-print-vectors): Remove old comments from doc.
22637 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22638 (emerge-version): Make the variable an obsolete alias for the
22639 emacs-version variable. Make the function obsolete.
22640 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22641 Emerge options, rather than merging in into the main Options menu.
22642 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22643 and auto advance modes. Disable edit/fast items when not relevant.
22645 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22647 * term/vt420.el (terminal-init-vt420): Fix typo.
22649 2009-07-20 Sam Steingold <sds@gnu.org>
22651 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22652 variable (removed from compile.el on 2004-03-11).
22654 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22656 * files.el (hack-local-variables-filter): Fix last change.
22658 2009-07-19 Juri Linkov <juri@jurta.org>
22660 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22661 (dir-local-variables-alist): New buffer-local variable.
22662 (hack-local-variables-filter): If variable is not dir-local,
22663 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22664 because file-local overrides dir-local.
22665 (c-postprocess-file-styles) <declare-function>:
22666 Remove obsolete declaration.
22667 (hack-dir-local-variables): Add dir-local variable/value pair to
22668 `dir-local-variables-alist' and remove duplicates. Doc fix.
22670 * help-fns.el (describe-variable): Add information about
22671 file-local and dir-local variables.
22673 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22675 * files.el (hack-local-variables-filter): Rewrite.
22677 2009-07-19 Glenn Morris <rgm@gnu.org>
22679 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22680 Silence compiler by only defining on XEmacs.
22682 * international/mule.el (auto-coding-regexp-alist): Only match
22683 BABYL... at the start of buffer, not of lines. (Bug#3790)
22685 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22686 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22687 (cal-menu-context-mouse-menu): Doc fix.
22689 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22691 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22693 2009-07-18 Juri Linkov <juri@jurta.org>
22695 * info.el: Virtual Info keyword finder.
22696 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22697 (Info-finder-file): New variable.
22698 (Info-finder-find-file): New function.
22699 (finder-known-keywords, finder-package-info)
22700 (find-library-name, lm-commentary): Use defvar and
22701 declare-function to silence compiler warnings.
22702 (Info-finder-find-node): New function.
22703 (info-finder): New command.
22705 * subr.el (process-kill-buffer-query-function): New function.
22706 (add-hook)<kill-buffer-query-functions>: Add hook
22707 `process-kill-buffer-query-function'.
22709 2009-07-18 Alan Mackenzie <acm@muc.de>
22711 * progmodes/cc-mode.el (c-before-hack-hook)
22712 (c-postprocess-file-styles): Give invocation of `c-set-style'
22713 DONT-OVERRIDE parameter of t. Already set style variables will
22714 thus not be overridden by style settings given by `c-file-syle'.
22716 * files.el (hack-local-variables-filter): Remove entries with
22717 duplicate keys from `file-local-variables-alist'.
22719 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22721 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22722 x-set-selection if display-selections-p returns nil for the
22725 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22727 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22729 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22731 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22732 Accept nil in addition to a regexp.
22733 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22734 Accept nil in addition to a regexp.
22735 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22736 buffers that have an associated file. Handle nil values of
22737 desktop-buffers-not-to-save and desktop-files-not-to-save.
22740 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22741 (x-disown-selection-internal): New functions.
22743 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22745 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22747 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22748 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22750 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22752 * simple.el (set-mark): Revert last change.
22754 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22756 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22757 rendering of pngs is not possible instead of messaging a long
22760 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22762 * w32-fns.el (x-selection-owner-p): New function.
22764 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22765 (mouse-yank-at-click, mouse-yank-primary):
22766 If select-active-regions is non-nil, deactivate the mark before
22769 * simple.el (deactivate-mark, set-mark): Only save selection if we
22772 2009-07-17 Kenichi Handa <handa@m17n.org>
22774 * case-table.el (describe-buffer-case-table): Fix for the case
22775 that KEY is a cons.
22777 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22779 * vc-rcs.el (vc-rcs-find-file-hook):
22780 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22782 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22784 * net/tramp.el (tramp-wait-for-output): Handle the case when
22785 commands do not return a newline but a null byte before the shell
22788 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22790 * term/ns-win.el (ns-set-alpha): Don't declare.
22791 (ns-set-background-alpha): Remove function.
22793 2009-07-16 Kevin Ryde <user42@zip.com.au>
22795 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22796 y-or-n-p, for safety.
22798 2009-07-16 Richard Stallman <rms@gnu.org>
22800 * files.el (auto-save-mode): If buffer-saved-size is -2,
22803 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22804 (rmail-retry-ignored-headers): Add more uninteresting fields.
22806 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22808 * net/rcirc.el (rcirc): Use history variables.
22809 (rcirc-server-name-history, rcirc-nick-name-history)
22810 (rcirc-server-port-history): New variables.
22812 2009-07-15 Kenichi Handa <handa@m17n.org>
22814 * international/mule-cmds.el (set-language-environment-charset):
22815 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22818 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22819 Delete unibyte-display.
22821 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22823 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22825 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22827 * simple.el (deactivate-mark): Optional argument FORCE.
22828 (set-mark): Use deactivate-mark.
22830 * info.el (Info-search): No need to check transient-mark-mode
22831 before calling deactivate-mark.
22833 * select.el (x-set-selection): Doc fix.
22834 (x-valid-simple-selection-p): Allow buffer values.
22835 (xselect--selection-bounds): Handle buffer values.
22836 Suggested by David De La Harpe Golden.
22838 * mouse.el (mouse-set-region, mouse-drag-track):
22839 Call copy-region-as-kill before setting the mark, to let
22840 select-active-regions work.
22842 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22844 * simple.el (deactivate-mark): If select-active-regions is
22845 non-nil, copy the selection data into a string.
22846 (activate-mark): If select-active-regions is non-nil, set the
22847 selection to the current buffer.
22848 (set-mark): Update selection if select-active-regions is non-nil.
22850 * select.el (x-valid-simple-selection-p): Allow buffer values.
22852 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22854 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22855 and more featureful message-mode.
22857 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22859 * select.el (x-set-selection): Doc fix.
22860 (x-valid-simple-selection-p): Disallow selection data consisting
22861 of a list or cons of integers, since that is not used.
22862 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22863 (xselect-convert-to-string, xselect-convert-to-length)
22864 (xselect-convert-to-filename, xselect-convert-to-charpos)
22865 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22867 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22869 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22870 output in -break-info command (Emacs bug #3794).
22872 2009-07-14 Glenn Morris <rgm@gnu.org>
22874 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22875 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22876 (edebug-print-length, edebug-print-level, edebug-print-circle)
22877 (edebug-sit-for-seconds, edebug-view-outside)
22878 (edebug-bounce-point, edebug-set-global-break-condition)
22879 (edebug-Go-nonstop-mode, edebug-trace-mode)
22880 (edebug-Trace-fast-mode, edebug-continue-mode)
22881 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22882 (edebug-visit-eval-list): Doc fixes.
22884 * subr.el (def-edebug-spec): Doc fix.
22886 2009-07-14 Kenichi Handa <handa@m17n.org>
22888 * international/characters.el: Fix setting of category ?C.
22890 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22892 * term/ns-win.el (x-select-font): defalias x-select-font to
22893 ns-popup-font-panel instead of generate-fontset-menu.
22895 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22897 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22899 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22901 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22902 the PK\003\004 header (Bug#3770).
22904 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22906 * pcomplete.el (pcomplete-comint-setup): Check for
22907 shell-dynamic-complete-filename too.
22909 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22911 * simple.el (temporary-goal-column): Change the value for
22912 line-move-visual to a cons cell.
22913 (line-move-visual): Record or set the window hscroll, if
22914 necessary (Bug#3494).
22915 (line-move-1): Handle cons value of temporary-goal-column.
22917 2009-07-11 Kenichi Handa <handa@m17n.org>
22919 * international/mule-diag.el (describe-character-set): Don't show
22922 2009-07-10 Sam Steingold <sds@gnu.org>
22924 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22925 Omake sometimes indents the errors it prints, so allow all
22926 regexps to start with spaces.
22928 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22930 * cus-edit.el (customize-changed-options-previous-release):
22931 Bump value to 22.1. (Bug#3804)
22933 2009-07-08 Sam Steingold <sds@gnu.org>
22935 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22936 to be a cons cell (test . ignored-directory) to selectively ignore
22937 some directories depending on the location of the search.
22939 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22941 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22942 remote user is root, on the local host.
22943 (tramp-local-host-p): Either the local user or the remote user
22944 must be root. (Bug#3771)
22946 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22948 * progmodes/gdb-mi.el (gdb): Remove description of
22949 gdb-use-separate-io-buffer.
22950 (menu): Don't allow toggling of or enable
22951 gdb-use-separate-io-buffer from menubar.
22953 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22955 * mail/unrmail.el (unrmail): Make sure the message ends with two
22956 newlines (Bug#3769).
22958 2009-07-08 Glenn Morris <rgm@gnu.org>
22960 * calendar/calendar.el (calendar-current-date): Rework previous change.
22962 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22964 * calendar/calendar.el (calendar-current-date):
22965 Add an optional argument giving an offset from today.
22967 2009-07-08 Glenn Morris <rgm@gnu.org>
22969 * tutorial.el (tutorial--describe-nonstandard-key):
22970 Adjust the message for when a key has been unbound.
22971 (help-with-tutorial): Hide the arch-tag.
22973 2009-07-08 Kenichi Handa <handa@m17n.org>
22975 * international/fontset.el (setup-default-fontset): For each
22976 script, append (not set) font-specs.
22978 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22981 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22983 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22984 -data-list-register-names to ...
22985 (gdb-starting): ... here because GDB 7.0 requires execution to
22986 have started when using this MI command.
22987 (gdb-set-header): New function to distinguish select and
22988 unselected tabs in gdb buffers.
22989 (gdb-propertize-header): New macro that uses gdb-set-header.
22990 (gdb-breakpoints-header, gdb-locals-header): Use it.
22991 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22993 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22995 * Makefile.in (ELCFILES): Remove fadr.elc.
22997 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22999 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
23000 may contain frame information, so `string-match' should be used.
23001 (gdb-update): Disassembly is invalidated through
23002 `gdb-get-selected-frame'.
23003 (gdb-pad-string): New function to pad string with spaces.
23004 (gdb-invalidate-disassembly): Invalidate only if the buffer
23006 (gdb-disassembly-handler-custom): Column alignment.
23007 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
23009 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
23011 (gdb-frame-handler): Match convention to for disassembly buffer
23013 (gdb-stack-list-frames-handler): Rewritten without regexps.
23014 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
23015 not highlight breakpoints without line information.
23016 (gdb-input): Add trailing newline to command.
23018 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
23020 (gdb-breakpoints-list-handler-custom): Replacement for
23021 `gdb-break-list-handler'. Using real parser instead of regexps
23023 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
23024 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
23025 to place breakpoints.
23026 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
23028 (gdb-disassembly-handler-custom): Show overlay arrow.
23029 (gdb-disassembly-place-breakpoints): Show breakpoints in
23030 disassembly buffer.
23031 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
23032 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
23033 instead of parsing breakpoints buffer. Fixed old menu references
23038 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23039 (gdb-memory-address): New variable which holds top address of
23040 memory page shown in memory buffer.
23041 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23042 New customization variables.
23044 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23045 display the memory buffer.
23046 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23047 buffer display parameters.
23048 (def-gdb-memory-format, gdb-memory-format-binary)
23049 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23050 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23051 Functions for setting memory buffer format.
23052 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23053 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23054 unit size used in memory buffer.
23055 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23056 Switch to next/previous page of memory buffer.
23057 Now using (bindat-get-field) instead of fadr functions.
23059 2009-07-07 Sam Steingold <sds@gnu.org>
23061 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23062 non-top-level files.
23064 2009-07-07 Kenichi Handa <handa@m17n.org>
23066 * international/mule-cmds.el (reset-language-environment):
23067 Put the highset priority to the charset iso-8859-1.
23069 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23071 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23072 to the end of the line when locating the block (Bug#700).
23074 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23076 * net/tramp.el (tramp-handle-write-region): Flush file properties
23077 in case of short track.
23079 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23081 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23082 Coded custom representation of verilog error regular expressions
23083 to work with Emacs-22's new format.
23084 (verilog-error-regexp-xemacs-alist): Coded custom representation
23085 of verilog error regular expressions to work with XEmacs format.
23086 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23087 error recognition into XEmacs.
23088 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23089 error recognition into Emacs-22.
23091 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23093 * woman.el: Remove stand-alone closing parentheses.
23094 (woman-file-name, woman2-format-paragraphs)
23095 (woman-leave-blank-lines): Code cleanup.
23096 (woman-use-own-frame): Change default to nil.
23097 (woman-italic, woman-bold, woman-unknown, woman-addition):
23098 Change defaults to inherit from default faces.
23099 (woman2-process-escapes): Consume the newline after a stand-alone
23100 filler character (Bug#3651).
23102 2009-07-06 Glenn Morris <rgm@gnu.org>
23104 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23105 (top-level): Move provide to the end.
23106 (ffap): Remove defunct URL from custom group.
23108 * subr.el (eval-after-load): Doc fix.
23110 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23112 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23113 `calc-embedded-word' is called twice.
23115 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23117 * files.el (find-alternate-file-other-window, find-alternate-file):
23118 Obey confirm-nonexistent-file-or-buffer.
23120 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23122 * dired-aux.el (dired-show-file-type): Handle remote files.
23124 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23126 * desktop.el (desktop-globals-to-save):
23127 Add file-name-history (Bug#2750).
23129 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23131 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23133 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23135 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23136 property on entire argument since this is what eshell-lisp-command
23139 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23141 * net/tramp-gvfs.el (tramp-gvfs-methods)
23142 (tramp-gvfs-zeroconf-domain)
23143 (tramp-bluez-discover-devices-timeout): Add version flag.
23144 (tramp-gvfs-handler-mounted-unmounted)
23145 (tramp-gvfs-connection-mounted-p): Polish handling of
23146 incompatibilities between GVFS 0.2 and 1.0.
23148 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23150 * cus-start.el (all): Add make-pointer-invisible.
23152 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23154 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23155 formatted correctly.
23157 2009-07-02 Juri Linkov <juri@jurta.org>
23159 * info.el: Virtual Info files and nodes.
23160 (Info-virtual-files, Info-virtual-nodes): New variables.
23161 (Info-current-node-virtual): New variable.
23162 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23164 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23165 to check for a virtual file instead of checking a fixed list
23167 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23168 instead of ad-hoc processing of "dir" and (apropos history toc).
23169 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23170 instead of ad-hoc processing of "dir" and (apropos history toc).
23171 Reread a file when moving from a virtual node.
23172 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23173 (Info-directory-toc-nodes, Info-directory-find-file)
23174 (Info-directory-find-node): New functions.
23175 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23176 (Info-history): Move part of code to
23177 `Info-history-find-node'.
23178 (Info-history-toc-nodes, Info-history-find-file)
23179 (Info-history-find-node): New functions.
23180 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23181 (Info-toc): Move part of code to `Info-toc-find-node'.
23182 (Info-toc-find-node): New function.
23183 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23184 the current Info file name to references because now the node
23185 "*TOC*" belongs to the same Info manual.
23186 (Info-toc-build): Rename from `Info-build-toc'.
23187 (Info-toc-nodes): Rename input argument `file' to `filename'.
23188 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23189 instead of ad-hoc processing of ("dir" apropos history toc).
23190 (Info-index-nodes): Use Info-virtual-file-p
23191 to check for a virtual file instead of checking a fixed list
23193 (Info-index-node): Add check for `Info-current-node-virtual'.
23194 Raise `save-match-data' higher up the tree to contain
23195 `search-forward' too (bug fix).
23196 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23197 (Info-virtual-index-nodes): New variable.
23198 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23199 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23200 (Info-apropos-file, Info-apropos-nodes): New variables.
23201 (Info-apropos-toc-nodes, Info-apropos-find-file)
23202 (Info-apropos-find-node, Info-apropos-matches): New functions.
23203 (info-apropos): Move part of code to `Info-apropos-find-node' and
23204 `Info-apropos-matches'.
23205 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23206 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23207 for a virtual file instead of checking a fixed list of node names.
23209 * simple.el (async-shell-command): New command.
23211 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23213 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23214 instead of `mount-info'.
23216 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23218 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23219 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23221 2009-07-02 Kenichi Handa <handa@m17n.org>
23223 * international/mule.el (set-keyboard-coding-system): Force *-unix
23224 coding-system to avoid eol conversion.
23226 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23229 Add handler for `process-file', `shell-command' and
23230 `start-file-process'.
23231 (tramp-gvfs-handle-shell-command)
23232 (tramp-gvfs-handle-start-file-process)
23233 (tramp-gvfs-handle-process-file): New defuns.
23234 (tramp-synce-list-devices): Simplify check for existence of property.
23236 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23238 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23240 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23242 * language/korean.el (set-language-info-alist): Add korean-cp949,
23245 2009-07-01 Kenichi Handa <handa@m17n.org>
23247 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23249 * international/encoded-kb.el: Deleted.
23251 * international/mule.el (set-keyboard-coding-system): Perform the
23252 necessary setup here instead of calling encoded-kbd-setup-display.
23254 2009-07-01 Glenn Morris <rgm@gnu.org>
23256 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23258 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23260 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23262 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23264 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23265 Handle also the 'rename case, when setting file modes. (Bug#3712)
23266 (tramp-default-file-modes): Remove execute permissions.
23268 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23269 (top): Add a default for "synce" in `tramp-default-user-alist'.
23270 Add completion function for "synce" method.
23271 (tramp-hal-service, tramp-hal-path-manager)
23272 (tramp-hal-interface-manager, tramp-hal-interface-device):
23274 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23275 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23278 * net/trampver.el: Update release number.
23280 2009-06-30 Kenichi Handa <handa@m17n.org>
23282 * international/fontset.el (setup-default-fontset): Add CJK fonts
23283 for symbols and the other miscellaneous characters.
23285 * language/korea-util.el (setup-korean-environment-internal):
23286 Make char-width-table suitable for Korean environments.
23287 (exit-korean-environment): Cancel above.
23289 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23290 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23291 setup-function to make char-width-table suitable for respective
23292 environments, and an exit-function to cancel that.
23294 * language/japan-util.el (setup-japanese-environment-internal):
23295 Call use-cjk-char-width-table with arg `ja_JP'.
23297 * international/characters.el (cjk-char-width-table): Delete it.
23298 (cjk-char-width-table-list): New variable.
23299 (use-cjk-char-width-table): New arg local-name.
23300 (use-default-char-width-table): Fix for the case that Emacs is
23301 already using the default char-width-table.
23303 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23305 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23306 modes mandatory. (Bug#3712)
23308 2009-06-29 Alan Mackenzie <acm@muc.de>
23310 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23311 correction between the visible width of TABs and their number of bytes.
23313 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23315 * server.el (server-buffer-done): Prevent kill-buffer from
23316 prompting by clearing the buffer modification flag (Bug#3696).
23318 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23320 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23321 (verilog-endcomment-reason-re): Support unique case and priority case.
23322 (verilog-basic-complete-re): Support localparam lineup.
23323 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23324 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23326 (verilog-leap-to-case-head): Now support *nested* unique &
23327 priority case statements.
23328 (verilog-auto-lineup): Make just declarations the default (as it
23330 (verilog-leap-to-case-head): Support priority/unique case statements.
23331 (verilog-auto-lineup): Rework to give users radio buttons to
23332 select the various styles of automatic lineup.
23333 (verilog-error-regexp-alist): Rework to support the XEmacs style
23334 of error regular expressions from compilers, lint tools &
23335 simulators. Note that GNU Emacs has made it impossible for a mode
23336 to load such things.
23337 (electric-verilog-terminate-line, verilog-indent-declaration)
23338 (verilog-auto-wiure): Rework for radio button selection of
23339 auto-lineup selection of specification of auto lineup.
23340 (verilog-beg-of-statement-1): Redesign to support proper operation
23341 in additional code, based on testing with auto-lineup.
23342 (verilog-calculate-indent, assignments & declarations)
23343 (verilog-backward-token): Enhance to support auto-lineup of
23344 assignments & declarations.
23345 (verilog-in-directive-p, verilog-at-struct-p): New function for
23346 easy test of whether we are.
23347 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23348 to support safe execution at almost anyline.
23349 (verilog-calc-1): Properly support indenting deep inside generate
23351 (verilog-init-font): Remove definition & use of verilog-init-font,
23352 as it is redundant with font-lock-defaults.
23353 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23354 to avoid circular calls if syntax-ppss is a function (as is the
23355 case now in 22.x GNU Emacs) as that function would sometimes call
23356 itself, leading to (nearly) infinite recursion.
23357 (verilog-ovm-begin-re, verilog-ovm-end-re)
23358 (verilog-ovm-statement-re, verilog-leap-to-head)
23359 (verilog-backward-token): Add support for OVM macros. Some are
23360 complete statements, and others open and close scopes like begin
23362 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23363 (verilog-defun-level-generate-only-re): Really fix the defun-list
23365 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23366 coverpoint, constraint and cross statements.
23367 (verilog-defun-level-list, verilog-generate-defun-level-list)
23368 (verilog-all-defun-level-list): Redo these specifications - it is
23369 too hard to support eval-when compile aggregation of lists also
23370 built at when-compile time.
23371 (verilog-defun-level-list): Place defconsts of variables used in
23372 building regular expressions which are built in eval-when-compile
23373 bodies in the same eval-when-compile body to facilitate compile
23375 (verilog-beg-block-re-ordered): Support indenting
23376 virtual/protected tasks and functions.
23377 (verilog-defun-level-list, verilog-in-generate-region-p)
23378 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23379 indentation of some module items (generate items).
23380 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23381 across virtual/protected tasks and functions.
23383 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23385 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23386 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23387 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23388 in concatenations. Reported by Yishay Belkind.
23389 (verilog-auto-ascii-enum): Support one-hot state machines in
23390 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23391 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23392 modport in AUTOINST and add vl-modport for users.
23393 Reported by David Rogoff.
23394 (verilog-auto-inout-module, verilog-auto-inst)
23395 (verilog-decls-get-interfaces, verilog-insert-definition)
23396 (verilog-insert-one-definition, verilog-read-decls)
23397 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23398 (verilog-sig-modport, verilog-signals-combine-bus)
23399 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23400 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23401 Suggested by David Rogoff.
23402 (verilog-repair-open-comma): Fix non-insertion of comma when
23403 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23404 (verilog-make-width-expression): Simplify [A-1:0] expression
23405 widths to just {A{1'b0}}.
23406 (verilog-mode): Cleanup checkdoc warnings.
23407 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23408 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23409 inputs/outputs or data type. Suggested by Vasu Kandadi.
23410 (next-error-last-buffer): Fix byte-compiler warning.
23411 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23412 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23413 or shell command text during AUTO expansion. Suggested by Tad Truex.
23414 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23415 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23416 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23417 in AUTOINOUT. Reported by Matthew Lovell.
23418 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23419 causing use of <= assignments. Reported by Alex Reed.
23420 (verilog-read-decls): Fix triand, trior, wand, wor to be
23421 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23422 (verilog-extended-complete-re): Support import "DPI-C" functions.
23423 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23424 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23425 (verilog-insert-date, verilog-insert-year)
23426 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23427 Windows systems. Reported by Michael Potts.
23428 (verilog-read-module-name): Fix AUTOINST when the child module
23429 declaration's name is a tick define. Reported by Elliot Mednick.
23430 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23431 passed to next parameter's definition. Reported by Bruce T.
23432 (verilog-read-decls): Fix detecting "parameter int" when using
23433 AUTOINSTPARAM. Reported by Bruce T.
23434 (verilog-goto-defun): Fix goto not finding modules unless first
23435 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23436 (verilog-mode): Expand -f flag arguments on entry to mode so
23437 verilog-goto-defun will work. Reported by Lawrence Butcher.
23438 (verilog-getopt): Expand environment variables in -f file
23439 arguments. Suggested by Lawrence Butcher.
23440 (verilog-set-define): Fix "Symbol's value as variable is void"
23441 when reading enumerations.
23442 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23443 Suggested by Stephen Peltan.
23444 (verilog-read-defines): Fix reading of enumerations in include
23445 files. Reported by Steve Peltan.
23447 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23449 * files.el (trash-directory): Fix defcustom type.
23451 2009-06-28 Juri Linkov <juri@jurta.org>
23453 * help-fns.el (describe-function-1): Correctly locate adviced
23454 functions in hyperlink (Bug#2438).
23456 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23458 * files.el (trash-directory): Change default to nil.
23459 (move-file-to-trash): If trash-directory is nil and
23460 system-move-file-to-trash is unbound, perform freedesktop-style
23463 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23465 * files.el (move-file-to-trash): Add freedesktop trash
23468 2009-06-28 Glenn Morris <rgm@gnu.org>
23470 * autorevert.el (global-auto-revert-non-file-buffers)
23471 (global-auto-revert-mode): Doc fixes.
23473 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23475 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23477 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23479 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23480 opened an X connection before calling x-get-resource (Bug#3194).
23482 * play/doctor.el: Remove reference to obsolete website.
23483 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23485 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23487 Remove find-file-not-found-hook VC method. (Bug#2757)
23488 * vc-hooks.el (vc-file-not-found-hook)
23489 (vc-default-find-file-not-found-hook): Remove functions.
23490 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23491 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23494 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23496 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23498 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23499 compatibility function for `looking-back'.
23501 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23502 Use `ispell-looking-back'.
23504 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23506 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23507 rather than `filename'.
23509 2009-06-23 Miles Bader <miles@gnu.org>
23511 * face-remap.el (text-scale-set): New function.
23513 2009-06-23 Glenn Morris <rgm@gnu.org>
23515 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23517 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23519 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23521 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23523 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23524 Simplify Persian conditionals.
23526 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23527 variable `filename'.
23529 * comint.el (comint-insert-input): Doc fix.
23531 * Makefile.in (ELCFILES): Fix typo in previous change.
23533 2009-06-23 Miles Bader <miles@gnu.org>
23535 * cus-start.el: Add entry for `recenter-redisplay'.
23537 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23539 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23540 Add an optional argument for the backend, use it instead of
23541 calling vc-backend.
23542 (vc-mode-line): Add an optional argument for the backend.
23543 Pass the backend to vc-state and vc-working-revision. Move code for
23544 special handling for vc-state being a buffer to ...
23546 * vc-rcs.el (vc-rcs-find-file-hook):
23547 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23549 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23550 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23551 vc-stay-local-p and vc-mode-line calls.
23553 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23554 (vc-cvs-diff, vc-cvs-annotate-command)
23555 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23556 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23557 vc-mode-line calls.
23559 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23561 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23562 backend when calling vc-mode-line.
23563 (vc-register): Do not create a closure for calling the vc register
23564 function, call it directly.
23566 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23568 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23569 to make it obvious item can be clicked.
23571 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23573 2009-06-23 Kenichi Handa <handa@m17n.org>
23575 * language/korea-util.el (korean-key-bindings): Change the binding
23576 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23579 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23581 Sync with Tramp 2.1.16.
23583 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23585 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23586 when a loading of a package fails. Completion function for rsync
23587 is `tramp-completion-function-alist-ssh'.
23588 (all): Replace all calls of `split-string' and
23589 `tramp-split-string' by `tramp-compat-split-string'.
23590 (tramp-default-method): Use `tramp-compat-process-running-p'.
23591 (tramp-default-proxies-alist): Allow also Lisp forms.
23592 (tramp-remote-path): Add choice "Private Directories".
23593 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23594 (tramp-domain-regexp): Allow also "-", "_" and ".".
23595 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23596 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23597 (tramp-debug-message): Insert header line in debug buffer.
23598 (tramp-handle-directory-files-and-attributes-with-stat):
23599 Care about filenames with spaces, or starting with "-".
23600 (tramp-handle-dired-uncache): New defun.
23601 (tramp-handle-insert-directory): Don't flush the directory from
23602 cache, this is handled by `dired-uncache' now.
23603 (tramp-handle-insert-file-contents): Improve error handling.
23604 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23605 Quote `tramp-end-of-output'.
23606 (tramp-action-password): Improve trace message.
23607 (tramp-check-for-regexp): Both echoes must be present, before removing.
23608 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23609 (tramp-compute-multi-hops): Eval cons cells of
23610 `tramp-default-proxies-alist'.
23611 (tramp-maybe-open-connection): Use the same command pattern for
23612 first hop and further hops.
23613 (tramp-wait-for-output): Remove handling of newlines.
23614 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23615 (tramp-split-string): Remove function. It is handled in
23618 * net/tramp-cmds.el (tramp-bug):
23619 Recommend `tramp-cleanup-all-connections' in the bug mail.
23621 * net/tramp-compat.el (tramp-compat-split-string)
23622 (tramp-compat-process-running-p): New defuns.
23624 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23625 for `dired-uncache'.
23627 * net/tramp-gvfs.el: New package.
23629 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23630 Add handler for `dired-uncache'.
23631 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23633 * net/trampver.el: Update release number. Make version check fit
23636 2009-06-22 Jim Meyering <meyering@redhat.com>
23638 Automatically handle .xz suffix (XZ-compressed files), too.
23639 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23640 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23642 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23643 Nick Roberts <nickrob@snap.net.nz>
23645 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23646 repository (http://sphinx.net.ru/hg/gdb-mi/).
23648 2009-06-22 Glenn Morris <rgm@gnu.org>
23650 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23651 `mode' and `eval' entries. (Bug#3430)
23653 * Makefile.in (ELCFILES): Add fadr.elc.
23655 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23656 differing behavior of \n and ^ in strings. (Bug#3385)
23658 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23660 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23662 (lisp-indent-function): Make it a defcustom.
23664 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23666 * progmodes/gdb-ui.el: Replace with ...
23667 * progmodes/gdb-mi.el: ... this file.
23668 * progmodes/gud.el: Modify for gdb-mi.el.
23670 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23672 * fadr.el: New file.
23674 See ChangeLog.14 for earlier changes.
23676 ;; Local Variables:
23680 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23682 This file is part of GNU Emacs.
23684 GNU Emacs is free software: you can redistribute it and/or modify
23685 it under the terms of the GNU General Public License as published by
23686 the Free Software Foundation, either version 3 of the License, or
23687 (at your option) any later version.
23689 GNU Emacs is distributed in the hope that it will be useful,
23690 but WITHOUT ANY WARRANTY; without even the implied warranty of
23691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23692 GNU General Public License for more details.
23694 You should have received a copy of the GNU General Public License
23695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.