1 2011-04-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3 * net/rcirc.el (rcirc-mode-map): Remove M-o binding.
5 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
7 * startup.el (command-line): Save the cursor's theme-face
8 directly, instead of using face-override-spec.
10 * custom.el (load-theme): Minor optimization in assigning faces.
12 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14 * help-fns.el (describe-variable): Complete all variables having
15 documentation, including keywords.
16 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20 Convert to lexical-binding.
22 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23 (bs--get-marked-string, bs--get-modified-string)
24 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
28 * ehelp.el (electric-help-execute-extended)
29 (electric-help-ctrl-x-prefix):
30 * hexl.el (hexl-revert-buffer-function):
31 * linum.el (linum-after-change, linum-after-scroll):
32 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
34 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
36 2011-04-04 Daiki Ueno <ueno@unixuser.org>
43 * epg.el: Use lexical binding.
45 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
47 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
49 * textmodes/flyspell.el (flyspell-word): Recognize default
50 dictionary case for flyspell-mark-duplications-exceptions. Use
51 regexp matching for languages.
52 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
53 default dictionary (Bug#7926).
55 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
57 * emacs-lisp/package.el (package--with-work-buffer): Recognize
60 * net/network-stream.el: Move from gnus/proto-stream.el. Change
61 prefix to network-stream throughout.
62 (open-protocol-stream): Merge into open-network-stream, leaving
63 open-protocol-stream as an alias. Handle nil BUFFER args.
65 * subr.el (open-network-stream): Move to net/network-stream.el.
67 2011-04-02 Glenn Morris <rgm@gnu.org>
69 * find-dired.el (find-exec-terminator): New option.
70 (find-ls-option): Test for -ls support.
71 (find-ls-subdir-switches): Test for -b in find-ls-option.
72 (find-dired, find-grep-dired): Doc fixes.
73 (find-dired): Use find-exec-terminator.
75 * find-dired.el (find-ls-option, find-ls-subdir-switches)
76 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
77 (find-name-arg): Remove purecopy.
79 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
80 (grep-compute-defaults): Check for `-exec COMMAND +' support.
81 Set grep-find-use-xargs, grep-find-command, and grep-find-template
82 accordingly. Don't add the null-device if not needed.
84 * files.el (save-some-buffers): Doc fix.
86 2011-04-02 Eli Zaretskii <eliz@gnu.org>
88 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
90 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
92 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
93 Use `dolist' rather than `mapcar'.
95 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
99 * subr.el (apply-partially): Use new closures rather than CL.
100 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
101 (dolist, dotimes): Use slightly different expansion for lexical code.
102 (functionp): Move to C.
104 (with-wrapper-hook): Use it and apply-partially instead of CL.
105 (eval-after-load): Preserve lexical-binding.
106 (save-window-excursion, with-output-to-temp-buffer): Turn them
109 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
111 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
113 (help-add-fundoc-usage): Don't add `Not documented'.
114 (help-function-arglist): Handle closures, subroutines, and new
116 (help-make-usage): Remove leading underscores.
117 (describe-function-1): Handle closures.
118 (describe-variable): Use special-variable-p for completion.
120 * files.el (lexical-binding): Declare safe.
122 * emacs-lisp/pcase.el: Don't use destructuring-bind.
123 (pcase--memoize): Rename from pcase-memoize. Change weakness.
124 (pcase): Add `let' pattern.
125 Change memoization so it actually works.
126 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
127 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
130 * emacs-lisp/macroexp.el: Use lexical binding.
131 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
132 Don't convert ' to #' without checking that it's indeed quoting
135 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
136 Use eval-sexp-add-defvars.
137 (eval-sexp-add-defvars): New fun.
139 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
141 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
143 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
144 than the internal `byte-compile-lambda'.
145 (defmethod): Don't hide code under quotes.
146 (eieio-defmethod): New `code' argument.
148 * emacs-lisp/eieio-comp.el: Remove.
150 * emacs-lisp/edebug.el (edebug-eval-defun)
151 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
152 (edebug-toggle): Avoid `eval'.
154 * emacs-lisp/disass.el (disassemble-internal): Handle new
156 (disassemble-1): Handle new byte codes.
158 * emacs-lisp/cl.el (pushnew): Silence warning.
160 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
161 (cl-byte-compile-throw): Remove.
162 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
164 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
167 * emacs-lisp/cconv.el: New file.
169 * emacs-lisp/bytecomp.el: Use lexical binding instead of
170 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
171 (byte-compile-initial-macro-environment):
172 Handle declare-function here.
173 (byte-compile--lexical-environment): New var.
174 (byte-stack-ref, byte-stack-set, byte-discardN)
175 (byte-discardN-preserve-tos): New lap codes.
176 (byte-interactive-p): Don't use any more.
177 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
179 (byte-compile-lapcode): Use them and handle new lap codes.
180 (byte-compile-obsolete): Remove.
181 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
182 (byte-compile-arglist-warn): Check late def of inlinable funs.
183 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
184 since they should have been expanded by now.
185 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
186 (byte-compile-from-buffer): Remove unused second arg.
187 (byte-compile-preprocess): New function.
188 (byte-compile-toplevel-file-form): New function to distinguish
189 file-form calls from outside from file-form calls from hunk-handlers.
190 (byte-compile-file-form): Simplify.
191 (byte-compile-file-form-defsubst): Remove.
192 (byte-compile-file-form-defmumble): Simplify now that
193 byte-compile-lambda always returns a byte-code-function.
194 (byte-compile): Preprocess.
195 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
196 Remove, not used any more.
197 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
198 (byte-compile-make-args-desc): New funs.
199 (byte-compile-lambda): Handle lexical functions. Always return
200 a byte-code-function.
201 (byte-compile-reserved-constants): New var, to make up room for
202 closed-over variables.
203 (byte-compile-constants-vector): Obey it.
204 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
205 (byte-compile-macroexpand-declare-function): New function.
206 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
208 (byte-compile-form): Check obsolescence here.
209 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
210 (byte-compile-variable-ref): Remove.
211 (byte-compile-dynamic-variable-op): New fun.
212 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
213 (byte-compile-variable-set): New funs.
214 (byte-compile-discard): Add 2 args.
215 (byte-compile-stack-ref, byte-compile-stack-set)
216 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
217 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
218 macroexpand-all instead.
219 (byte-compile-quote-form): Remove.
220 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
221 (byte-compile-bind, byte-compile-unbind): New funs.
222 (byte-compile-let): Handle let* and lexical binding.
223 (byte-compile-let*): Remove.
224 (byte-compile-catch, byte-compile-unwind-protect)
225 (byte-compile-track-mouse, byte-compile-condition-case):
226 Handle a new :fun-body form, used for lexical scoping.
227 (byte-compile-save-window-excursion)
228 (byte-compile-with-output-to-temp-buffer): Remove.
229 (byte-compile-defun): Simplify.
230 (byte-compile-stack-adjustment): New fun.
231 (byte-compile-out): Use it.
232 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
234 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
237 * emacs-lisp/byte-opt.el: Use lexical binding.
238 (byte-inline-lapcode): Remove (to bytecomp).
239 (byte-compile-inline-expand): Pay attention to inlining to/from
240 lexically bound code.
241 (byte-compile-unfold-lambda): Don't handle byte-code-functions
243 (byte-optimize-form-code-walker): Don't handle save-window-excursion
244 any more and don't call compiler-macros.
245 (byte-compile-splice-in-already-compiled-code): Remove.
246 (byte-code): Don't inline any more.
247 (disassemble-offset): Receive `bytes' as argument rather than via
249 (byte-compile-tag-number): Declare before first use.
250 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
251 `return' even if make-spliceable.
252 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
253 obsolete interactive-p.
254 (byte-optimize-lapcode): Optimize new lap-codes.
255 Don't trip up on new form of `byte-constant' lap code.
257 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
259 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
261 * custom.el (custom-initialize-default, custom-declare-variable):
264 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
266 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
267 (COMPILE_FIRST): Add macroexp and cconv.
268 * makefile.w32-in: Mirror changes in Makefile.in.
275 * textmodes/bibtex-style.el:
284 * emacs-lisp/smie.el:
287 * abbrev.el: Use lexical binding.
289 2011-04-01 Eli Zaretskii <eliz@gnu.org>
291 * info.el (info-display-manual): New function.
293 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
295 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
297 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
299 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
300 an entry for that server in rcirc-authinfo. (Bug#8385)
302 2011-03-31 Glenn Morris <rgm@gnu.org>
304 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
306 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
308 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
310 * progmodes/python.el (python-default-interpreter)
311 (python-python-command-args, python-jython-command-args)
312 (python-which-shell, python-which-args, python-which-bufname)
313 (python-file-queue, python-comint-output-filter-function)
314 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
315 variables and functions.
317 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
319 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
320 (completion-in-region-mode): New minor mode.
321 (completion-in-region): Use it.
322 (completion-in-region--data, completion-in-region-mode-map): New vars.
323 (completion-in-region--postch): New function.
324 (completion--capf-misbehave-funs, completion--capf-safe-funs):
326 (completion--capf-wrapper): New function.
327 (completion-at-point): Use it to track well-behavedness of
329 (completion-help-at-point): New command.
331 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
333 * vc/add-log.el (add-change-log-entry): Don't use whitespace
334 syntax class to search for whitespace on a single line
335 (Message-ID: <4D938140.4030905@redhat.com>).
337 2011-03-30 Leo Liu <sdl.web@gmail.com>
339 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
341 (edit-abbrevs-map): Bind them here.
342 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
344 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
346 * allout.el (allout-hide-by-annotation, allout-flag-region):
347 Reduce possibility of overlay leakage by making them volatile.
349 * allout-widgets.el (allout-widgets-tally): Define as nil so the
350 hash is not shared between buffers. Mode initialization is
351 responsible for giving it a useful starting value.
352 (allout-item-span): Reduce possibility of overlay leakage by
353 making them volatile.
354 (allout-widgets-count-buttons-in-region): Add diagnostic function
355 for tracking down button overlay leaks.
357 2011-03-29 Leo Liu <sdl.web@gmail.com>
359 * ido.el (ido-read-internal): Use the default history var
360 minibuffer-history if no HISTORY is specified.
362 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
364 * net/imap.el (imap-shell-open, imap-process-connection-type):
365 Use imap-process-connection-type for 'shell' streams as well as
366 Kerberos, SSL, other subprocesses.
368 2011-03-28 Leo Liu <sdl.web@gmail.com>
370 * abbrev.el (abbrev-table-empty-p): New function.
371 (prepare-abbrev-list-buffer): Place empty abbrev tables after
372 nonempty ones. (Bug#5937)
374 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
376 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
378 2011-03-27 Leo Liu <sdl.web@gmail.com>
380 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
381 for foreground and background colors.
382 (ansi-color-make-color-map): Adapt.
384 2011-03-25 Leo Liu <sdl.web@gmail.com>
386 * midnight.el (midnight-time-float): Remove. Note it calculates
387 the microsecond component incorrectly and seconds-to-time does the
389 Remove redundant (require 'timer).
391 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
392 (ido-completions): Remove unused arguments. (Bug#8329)
394 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
396 * minibuffer.el (completion--flush-all-sorted-completions):
397 Remove itself from hook.
398 (completion-at-point): Let the functions perform the completion
399 immediately and return nil or t.
400 * comint.el (comint-dynamic-complete-functions): Now identical to
401 completion-at-point-functions.
402 (comint-dynamic-list-input-ring): Remove unused var `index'.
403 (comint--match-partial-filename, comint--unquote&expand-filename):
404 New funs, split from comint-match-partial-filename.
405 (comint-dynamic-complete): Use completion-at-point.
406 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
408 2011-03-24 Drew Adams <drew.adams@oracle.com>
410 * thingatpt.el: Support `defun'.
412 2011-03-23 Leo Liu <sdl.web@gmail.com>
414 * abbrevlist.el: Move to obsolete/abbrevlist.el.
416 * help-mode.el (help-mode-finish): Tweak regexp.
418 2011-03-23 Glenn Morris <rgm@gnu.org>
420 * eshell/esh-opt.el (eshell-eval-using-options):
421 Do not bind unused local variable `eshell-option-stub'.
423 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
425 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
427 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
428 keymap variable in `with-no-warnings' to avoid a warning when the
429 keymap has been already `defconst'ed.
431 2011-03-22 Leo Liu <sdl.web@gmail.com>
433 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
434 encode all chars in abbrevs; otherwise use emacs-mule or
435 utf-8-emacs. (Bug#8308)
437 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
439 * simple.el (backward-delete-char-untabify):
440 Avoid warning about using `delete-backward-char'.
442 * image.el (image-type-file-name-regexps): Make it variable.
443 `imagemagick-register-types' modifies it, and the user may want
444 to add new extensions for known image types.
445 (imagemagick-register-types): Throw error if not using ImageMagick.
447 2011-03-22 Leo Liu <sdl.web@gmail.com>
449 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
450 located before rcirc-prompt-end-marker.
451 (rcirc-complete): Error if point is not after rcirc prompt.
452 Handle the case when table is nil.
453 (rcirc-user-authenticated): Define to fix compiler warning.
455 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
457 * custom.el (custom--inhibit-theme-enable): Make it affect only
458 custom-theme-set-variables and custom-theme-set-faces.
459 (provide-theme): Ignore custom--inhibit-theme-enable.
460 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
461 (custom-enabling-themes): Delete variable.
462 (enable-theme): Accept only loaded themes as arguments.
463 Ignore the special custom-enabled-themes variable.
464 (custom-enabled-themes): Forbid themes from setting this.
465 Eliminate use of custom-enabling-themes.
466 (custom-push-theme): Quote "changed" custom var entry.
468 2011-03-21 Leo Liu <sdl.web@gmail.com>
470 * ido.el (ido-read-internal): Add ido-selected to history instead
473 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
475 * subr.el (deferred-action-list, deferred-action-function):
478 2011-03-21 Leo Liu <sdl.web@gmail.com>
480 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
481 change on 2011-02-13 (bug#8309).
483 * minibuffer.el (read-file-name-function): Change default value.
484 (read-file-name--defaults): Rename from read-file-name-defaults.
485 (read-file-name-default): Rename from read-file-name.
486 (read-file-name): Call read-file-name-function.
488 2011-03-21 Glenn Morris <rgm@gnu.org>
490 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
493 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
495 * cus-theme.el: Add missing provide statement.
496 (customize-create-theme): Extract theme value correctly.
497 (custom-theme-visit-theme): Autoload.
498 (customize-create-theme): Prompt before inserting default faces.
500 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
502 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
503 units and musical notes.
505 2011-03-20 Leo <sdl.web@gmail.com>
507 * ido.el (ido-read-internal): Use completing-read-default.
508 (ido-completing-read): Fix compatibility with completing-read.
510 2011-03-20 Christian Ohler <ohler@gnu.org>
512 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
513 (ert-delete-all-tests): Use `called-interactively-p' rather than
515 (ert--make-xrefs-region): Respect END.
517 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
519 * dired-aux.el (dired-create-directory): Signal an error if the
520 directory already exists (Bug#8246).
522 * facemenu.el (list-colors-display): Call list-faces-display
523 inside with-help-window.
524 (list-colors-print): Use display property to align the final
525 column, instead of checking window-width.
527 2011-03-19 Eli Zaretskii <eliz@gnu.org>
529 * emerge.el (emerge-metachars): Separate value for ms-dos and
531 (emerge-protect-metachars): Quote correctly for ms-dos and
534 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
536 * info.el (info-initialize): Replace all uses of `:' with
537 path-separator for compatibility with non-Unix systems.
538 Cache quoting of path-separator. (Bug#8258)
540 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
542 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
543 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
544 (mouse-avoidance-mode): Fix typos in docstrings.
546 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
548 * startup.el (package-subdirectory-regexp): Move from package.el.
549 Omit \\` and \\', and let callers add them.
551 * emacs-lisp/package.el (package-strip-version)
552 (package-load-all-descriptors): Add \\` and \\' to
553 package-subdirectory-regexp before using it.
554 (package-untar-buffer): New arg DIR; ensure that file untars only
555 into this expected directory. Remove superfluous delete-region.
556 (package-unpack): Caller changed.
557 (package-tar-file-info): Use package-subdirectory-regexp.
559 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
561 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
562 diff-mode-shared-map (bug#8284).
563 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
565 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
567 * calendar/time-date.el (format-seconds): Use assoc instead of
568 assoc-string, since assoc-string doesn't exist in XEmacs.
570 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
572 * custom.el (custom-known-themes): Reflow docstring.
573 (custom-theme-load-path): Fix typo in docstring.
574 (load-theme): Fix typo in error message.
575 (custom-available-themes, custom-variable-theme-value):
576 Use `let', not `let*'.
578 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
580 * calc/README: Mention inclusion of musical notes.
582 * calc/calc-units.el (calc-lu-quant): Rename from
583 `calc-logunits-quantity'.
584 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
585 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
586 (calc-db): Rename from `calc-dblevel'.
587 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
588 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
589 (calc-np): Rename from `calc-nplevel'.
590 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
591 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
592 (calc-lu-plus): Rename from `calc-logunits-add'.
593 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
594 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
595 (calc-lu-minus): Rename from `calc-logunits-sub'.
596 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
597 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
598 (calc-lu-times): Rename from `calc-logunits-mul'.
599 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
600 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
601 (calc-lu-divide): Rename from `calc-logunits-div'.
602 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
603 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
605 * calc/calc-ext.el (calc-init-extensions): Update the names of the
606 functions being autoloaded.
608 * calc/calc.el (calc-lu-power-reference): Rename from
609 `calc-logunits-power-reference'.
610 (calc-lu-field-reference): Rename from
611 `calc-logunits-field-reference'.
613 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
615 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
617 * minibuffer.el (completion-all-sorted-completions):
618 Use :completion-cycle-penalty text property if present.
620 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
622 * allout.el (allout-yank-processing): Adjust for new rebulleting
623 regime so bullet being yanked is used without prompting the user
626 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
628 * startup.el (command-line): Warn the user that _emacs is deprecated.
630 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
632 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
633 (delphi-verbose, delphi-comment-face, delphi-string-face)
634 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
635 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
636 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
637 (delphi-new-comment-line, delphi-font-lock-defaults)
638 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
639 Fix typos in docstrings.
641 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
643 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
644 Invert the roles of character and string values for INSTEAD, so a
645 string is used for the more common case of a defaulting prompt.
647 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
649 * progmodes/ruby-mode.el (ruby-backward-sexp):
650 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
651 * play/gamegrid.el (gamegrid-make-face):
652 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
653 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
654 * notifications.el (notifications-notify):
655 * net/xesam.el (xesam-search-engines):
656 * net/quickurl.el (quickurl-list-insert):
657 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
659 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
661 * startup.el (command-line): Update package subdirectory regexp.
663 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
665 * allout.el (allout-abbreviate-flattened-numbering)
666 (allout-mode-deactivate-hook): Fix up obsolescence "date".
668 * subr.el (read-char-choice): Only show the cursor after the prompt,
669 not after the answer.
671 2011-03-15 Kevin Ryde <user42@zip.com.au>
673 * help-fns.el (variable-at-point): Skip leading quotes, if any
676 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
678 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
681 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
683 * shell.el (shell): When called interactively, offer to change the
684 shell file name on remote hosts.
686 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
688 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
689 integration for LDAP parameters. The host, base, user or binddn,
690 and secret tokens can be specified in a netrc file, for instance.
691 This is optional because an `auth-source' parameter must be
692 specified in the search attributes.
694 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
696 * help.el (describe-mode): Link to the mode's definition (bug#8185).
698 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
700 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
701 into declaration. Remove redundant and harmful binding.
703 2011-03-12 Eli Zaretskii <eliz@gnu.org>
705 * files.el (file-ownership-preserved-p): Pass `integer' as an
706 explicit 2nd argument to `file-attributes'. If the file's owner
707 is the Administrators group on Windows, and the current user is
708 Administrator, consider that a match.
710 * server.el (server-ensure-safe-dir): Consider server directory
711 safe on MS-Windows if its owner is the Administrators group while
712 the current Emacs user is Administrator. Use `=' to compare
713 numerical UIDs, since they could be integers or floats.
715 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
717 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
719 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
721 Sync with Tramp 2.2.1.
723 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
725 * net/trampver.el: Update release number.
727 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
729 * progmodes/compile.el (compilation--previous-directory): Fix up
730 various nil/dead-marker mismatches (bug#8014).
731 (compilation-directory-properties, compilation-error-properties):
732 Don't call it at a position past the one we're about to change.
734 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
735 Disable obsolescence warnings in the file that declares it.
737 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
739 * allout-widgets.el (allout-widgets-tally): Initialize
740 allout-widgets-tally as a hash table rather than nil to prevent
741 mode-line redisplay warnings.
742 Also, clarify the module description and fix a comment typo.
744 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
746 * help-fns.el (describe-variable): Don't complete keywords.
747 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
749 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
751 * emacs-lisp/package.el (package-version-join): Impose a standard
752 string representation for pre/alpha/beta version lists.
753 (package-unpack-single): Standardize the directory name by passing
754 it through package-version-join.
755 (package-strip-rcs-id): Accept any version string that does not
756 signal an error in version-to-list.
758 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
760 * simple.el (delete-trailing-whitespace): Return nil for the
761 benefit of `write-file-functions'.
763 2011-03-10 Glenn Morris <rgm@gnu.org>
765 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
767 * vc/vc-git.el (vc-git-program): New option.
768 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
769 (vc-git--call): Use it.
771 * eshell/esh-util.el (eshell-condition-case): Doc fix.
773 * cus-edit.el (Custom-newline): If no button at point, look
774 for a subgroup button at start-of-line. (Bug#2298)
776 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
778 2011-03-10 Julien Danjou <julien@danjou.info>
780 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
781 `cursor-type' is nil.
783 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
785 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
787 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
789 * allout.el Summary: Change so yank of distinctive-bullet items
790 preserves the existing header prefix, rebulleting it if necessary,
791 rather than replacing it. This is necessary for proper operation
792 of cooperative addons like allout-widgets.
793 (allout-make-topic-prefix, allout-rebullet-heading): Change
794 SOLICIT arg to INSTEAD, and interpret additionally a string value
795 as alternate bullet to be used, instead of prompting the user for
798 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
801 Do not use `tramp-file-name-port', because this returns also
802 `tramp-default-port'.
804 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
806 * net/rcirc.el (rcirc-handler-001): Remove useless
807 with-rcirc-process-buffer.
808 (rcirc-check-auth-status): Swap arguments to string-match.
810 2011-03-09 Glenn Morris <rgm@gnu.org>
812 * shell.el (shell-mode):
813 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
815 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
816 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
818 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
820 * emacs-lisp/package.el (package-refresh-contents)
821 (package-menu-execute): Use condition-case-no-debug.
823 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
825 * simple.el (shell-command-to-string): Use `process-file'.
827 * emacs-lisp/package.el (package-tar-file-info): Handle also
830 * emacs-lisp/package-x.el (package-upload-buffer-internal):
831 Use `equal' for upload base check.
833 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
835 * textmodes/texinfo.el (texinfo-environments):
836 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
838 2011-03-08 Glenn Morris <rgm@gnu.org>
840 * cus-start.el (cursor-in-non-selected-windows):
841 Fix :set quoting oddness. (Bug#8192)
843 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
844 in some setf expressions. (Bug#2159)
846 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
848 * custom.el (custom-available-themes): Return themes in
851 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
853 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
854 application of patch from Alan Mackenzie (Bug#7595).
856 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
858 * net/rcirc.el (rcirc-connect): Fix PASS bug.
860 2011-03-07 Glenn Morris <rgm@gnu.org>
862 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
863 Give an explicit error if failed to make writable. (Bug#6146)
865 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
867 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
868 Add optional `after-sunset' argument. (Bug#8190)
870 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
872 * play/morse.el (nato-alphabet, nato-region, denato-region):
873 New variable and functions. (Bug#2288)
874 (morse-region, unmorse-region): Barf if read-only.
876 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
878 * progmodes/gud.el (gdb-script-syntax-propertize-function):
879 Don't change the syntax of a \n that closes a comment (bug#8169).
881 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
883 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
885 (package--update-file): Doc fix. Accept relative file names.
886 (package--archive-contents-from-file): Remove the argument, since
887 it's necessarily always "archive-contents".
888 (package-maint-add-news-item): Pass relative file name args to
889 package--update-file.
890 (package-upload-buffer-internal): Prompt for a destination if
891 package-archive-upload-base is invalid. Create the directory if
893 (package-upload-buffer, package-upload-file): Doc fix.
895 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
897 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
898 and move isearch-yank-line to M-s C-e (Bug#8183).
900 2011-03-06 Alan Mackenzie <acm@muc.de>
902 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
903 (c-guess-basic-syntax): Move CASE 19 to a different place,
904 correctly to process template-args-cont lines.
906 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
908 * calc/calc-ext.el (calc-init-extensions):
909 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
910 and calc-nplevel, respectively. Add keybindings for calc-spn,
911 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
912 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
914 * calc/calc-units.el (calc-dblevel): Rename from
915 calc-logunits-dblevel.
916 (calc-nplevel): Rename from calc-logunits-nplevel.
917 (math-midi-round, math-freqp, math-midip, math-spnp)
918 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
919 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
920 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
921 (math-notes): New variable.
923 * calc/calc.el (calc-note-threshold): New variable.
925 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
927 * emacs-lisp/package.el (package-archives): Accept either ordinary
928 directory names, in addition to HTTP URLs.
929 (package--with-work-buffer): New macro. Handle normal directories.
930 (package-handle-response): Don't display the failing buffer.
931 (package-download-single, package-download-tar)
932 (package--download-one-archive): Use package--with-work-buffer.
933 (package-archive-base): Rename from package-archive-url.
935 2011-03-06 Glenn Morris <rgm@gnu.org>
937 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
938 (xmodmap-generic-mode): Respect generic-extras-enable-list.
940 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
942 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
944 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
946 * allout.el (allout-init, allout-prefixed-keybindings)
947 (allout-unprefixed-keybindings):
948 * progmodes/prolog.el (prolog-find-term):
949 Fix typos in docstrings.
951 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
953 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
955 2011-03-06 Kevin Ryde <user42@zip.com.au>
957 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
959 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
961 * window.el (one-window-p, walk-windows, display-buffer):
962 Doc fixes. (Bug#5567)
964 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
966 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
967 of the variable if it exists.
969 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
976 * net/tramp-cache.el:
977 * obsolete/fast-lock.el:
978 * textmodes/reftex.el:
979 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
981 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
983 * files.el (delete-directory, copy-directory, list-directory):
984 Use read-directory-name.
986 * find-file.el (ff-find-the-other-file):
987 * net/ange-ftp.el (ange-ftp-make-directory):
988 * printing.el (pr-interactive-dir):
989 * progmodes/ada-prj.el (ada-prj-load-directory):
990 * progmodes/ebnf2ps.el (ebnf-print-directory)
991 (ebnf-spool-directory, ebnf-eps-directory)
992 (ebnf-syntax-directory):
994 * speedbar.el (speedbar-create-directory):
995 * vc/emerge.el (emerge-merge-directories):
996 * vc/vc-dir.el (vc-dir):
997 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
999 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1001 * help-mode.el (help-buffer): If we are to return the current
1002 buffer, signal an error if it's not in Help mode (Bug#8147).
1004 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1006 * files.el (file-name-version-regexp): Handle backup files of the
1007 form `foo.js.~HEAD~1~' (Bug#8159).
1009 2011-03-05 Glenn Morris <rgm@gnu.org>
1011 * eshell/esh-var.el: Don't require esh-test when compiling.
1012 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1013 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1014 * eshell/esh-test.el: Move to ../../test/eshell.el.
1016 2011-03-05 David Engster <deng@randomsample.de>
1018 * files.el (save-some-buffers): Report the names of buffers saved
1019 automatically due to buffer-save-without-query (Bug#8134).
1021 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1023 * net/rcirc.el: Add QuakeNet authentication support.
1024 (rcirc-authinfo, rcirc-check-auth-status)
1025 (rcirc-authenticate): Support QuakeNet.
1027 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1029 * net/rcirc.el: Add functionality to authenticate before
1030 autojoining channels.
1031 (rcirc-authenticate-before-join): New option.
1032 (rcirc-authenticated-hook): New variable.
1033 (rcirc-connect): Make local variable rcirc-user-authenticated.
1034 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1035 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1037 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1038 Call rcirc-check-auth-status.
1040 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1042 * net/soap-client.el (soap-namespace-put-link): Check if the target
1043 name is fully qualified -- use only the name part.
1044 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1045 types, treated the same as xsd:sequence. (Bug#8166)
1047 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1049 * files.el (find-file-noselect): Don't ask about re-visiting
1050 non-literally if the file is already visited in image-mode.
1053 2011-03-05 Glenn Morris <rgm@gnu.org>
1055 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1056 (eshell-mode): Use eshell-kill-buffer-function.
1057 Run the -initialize functions independently of the -load-hooks.
1058 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1059 (eshell-gather-process-output, eshell-sentinel)
1060 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1061 Use eshell-kill-process-function.
1062 * eshell/em-alias.el (eshell-alias-load-hook):
1063 * eshell/em-banner.el (eshell-banner-load-hook):
1064 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1065 * eshell/em-dirs.el (eshell-dirs-load-hook):
1066 * eshell/em-glob.el (eshell-glob-load-hook):
1067 * eshell/em-hist.el (eshell-hist-load-hook):
1068 * eshell/em-pred.el (eshell-pred-load-hook):
1069 * eshell/em-prompt.el (eshell-prompt-load-hook):
1070 * eshell/em-rebind.el (eshell-rebind-load-hook):
1071 * eshell/em-script.el (eshell-script-load-hook):
1072 * eshell/em-smart.el (eshell-smart-load-hook):
1073 * eshell/em-term.el (eshell-term-load-hook):
1074 * eshell/em-unix.el (eshell-unix-load-hook):
1075 * eshell/esh-arg.el (eshell-arg-load-hook):
1076 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1077 * eshell/esh-ext.el (eshell-ext-load-hook):
1078 * eshell/esh-io.el (eshell-io-load-hook):
1079 * eshell/esh-mode.el (eshell-exit-hook):
1080 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1081 * eshell/esh-var.el (eshell-var-load-hook):
1082 Set default hook values to nil. (Bug#5375)
1084 * eshell/esh-module.el (eshell-module-unload-hook)
1085 (eshell-modules-list): Remove leading * from defcustom docs.
1087 * eshell/esh-util.el (eshell-for): Make it obsolete.
1088 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1089 * eshell/em-dirs.el (eshell-save-some-last-dir):
1090 * eshell/em-hist.el (eshell-save-some-history)
1091 (eshell-hist-parse-modifier):
1092 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1093 (eshell-ls-entries):
1094 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1095 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1097 * eshell/esh-ext.el (eshell-find-interpreter):
1098 * eshell/esh-mode.el (eshell-mode):
1099 * eshell/esh-module.el (eshell-unload-extension-modules):
1100 * eshell/esh-proc.el (eshell-process-interact):
1101 * eshell/esh-test.el (eshell-test):
1102 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1103 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1104 (eshell-variables-list):
1105 * eshell/eshell.el (eshell-unload-all-modules):
1106 Replace eshell-for with dolist.
1108 2011-03-04 Glenn Morris <rgm@gnu.org>
1110 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1112 2011-03-04 Tom Tromey <tromey@redhat.com>
1114 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1116 2011-03-04 Glenn Morris <rgm@gnu.org>
1118 * outline.el (outline-regexp): No longer allow nil.
1119 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1121 * net/browse-url.el (browse-url):
1122 Handle deleted default-directory. (Bug#6077)
1124 * recentf.el (recentf-include-p): In case of a buggy predicate,
1125 err on the side of including, not excluding. (Bug#5843)
1127 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1129 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1132 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1134 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1135 if there is no node. (Bug#3261)
1137 2011-03-04 Leo <sdl.web@gmail.com>
1139 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1141 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1143 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1145 * cus-edit.el (custom-buffer-create-internal):
1146 Split search string before passing it to `customize-apropos' (bug#8136).
1148 2011-03-04 Drew Adams <drew.adams@oracle.com>
1150 * image-dired.el (image-dired-cmd-read-exif-data-options):
1151 Fix typo in docstring (bug#8156).
1153 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1155 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1157 2011-03-03 Christian Ohler <ohler@gnu.org>
1159 * emacs-lisp/ert.el (ert--explain-equal): New function.
1160 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1161 All callers changed.
1162 (ert--explain-equal-including-properties): Rename from
1163 `ert--explain-not-equal-including-properties'. All callers
1166 2011-03-03 Christian Ohler <ohler@gnu.org>
1168 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1169 (ert-char-for-test-result, ert-string-for-test-result)
1170 (ert-run-tests-batch, ert--print-test-for-ewoc):
1171 Handle `ert-test-quit'.
1173 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1175 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1176 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1178 2011-03-03 Glenn Morris <rgm@gnu.org>
1180 * files.el (file-truename): Doc fix. (Bug#2341)
1182 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1184 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1186 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1188 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1189 programs output backslashes. (Bug#7663)
1191 2011-03-03 Glenn Morris <rgm@gnu.org>
1193 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1194 (mail-mode): Remove mail-sent-via from the doc.
1195 (mail-sent-via): Make it obsolete. (Bug#1776)
1197 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1198 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1200 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1201 with no parents. (Bug#8025)
1203 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1205 * password-cache.el (password-in-cache-p): Add autoload.
1207 2011-03-02 Glenn Morris <rgm@gnu.org>
1209 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1210 * dired-x.el (Man-support-local-filenames): Autoload it.
1211 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1213 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1215 (dired-smart-shell-command): Just call dired-current-directory.
1217 * dired-x.el (dired-jump-other-window): Add autoload.
1218 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1219 (dired-default-directory-alist): Mark as risky.
1221 * dired-x.el (dired-omit-here-always): Make it obsolete.
1223 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1225 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1226 (artist-select-op-pen-line): New function.
1227 (artist-menu-map): New variable.
1228 (artist-mode-map): Add a menu to the menu-bar.
1230 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1232 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1235 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1237 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1238 (math-logunits-quant, math-logunits-level):
1239 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1241 (math-logunits-level): Extract units from ratio.
1243 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1245 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1247 2011-03-01 Glenn Morris <rgm@gnu.org>
1249 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1250 (diary-hebrew-birthday): Rename and rework functions added
1253 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1255 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1256 (diary-hebrew-birthday): New functions.
1258 2011-03-01 Glenn Morris <rgm@gnu.org>
1260 * dired.el (dired-safe-switches-p): Beef it up.
1261 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1263 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * dired.el (dired-safe-switches-p): New function.
1267 2011-03-01 Glenn Morris <rgm@gnu.org>
1269 * files.el (dir-locals-collect-variables):
1270 Add the ability to exclude subdirectories. (Bug#8100)
1272 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1274 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1276 * ido.el (ido-everywhere): Doc fix.
1277 (ido-mode): Doc fix.
1279 2011-02-28 Glenn Morris <rgm@gnu.org>
1281 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1283 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1285 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1288 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1290 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1292 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1294 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1295 Fix typos in docstrings.
1297 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1299 * dired-aux.el (dired-update-file-line):
1300 Fix 2010-11-09 change. (Bug#8131)
1302 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1304 * international/mule-cmds.el (set-default-coding-systems): Use the
1305 -unix variant of encoding in default-keyboard-coding-system.
1308 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1310 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1312 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1314 * term/screen.el: New file (Bug#2650).
1316 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1318 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1319 (pcase-mutually-exclusive-predicates): New var.
1320 (pcase--split-consp, pcase--split-pred): Use it.
1321 (pcase--split-equal, pcase--split-member): When splitting against
1322 a pure predicate, run it to know the outcome.
1323 (pcase--u1): Mark vars that are actually used.
1324 (pcase--q1): Avoid introducing unused vars.
1326 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1328 * calc/calc-ext.el (calc-init-extensions):
1329 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1331 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1334 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1335 argument is a variable.
1337 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1340 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1341 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1343 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1345 * password-cache.el (password-in-cache-p): Convenience function to
1346 check if a key is in the cache, even if the value is nil.
1348 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1350 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1351 (package--archive-contents-from-file): New functions.
1352 (package-update-news-on-upload): New var.
1353 (package-upload-buffer-internal): Extract archive-contents from
1354 package-archive-upload-base if it is not found at archive-url.
1355 Obey package-update-news-on-upload.
1356 (package-upload-buffer, package-upload-file): Doc fix.
1358 2011-02-24 Glenn Morris <rgm@gnu.org>
1360 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1361 the cache, and from non-file sources.
1363 * help-fns.el (describe-variable): Return consistent results when a
1364 dir-local from a file came from the cache or did not. (Bug#8095)
1365 If a dir-local has no associated file, say it came from a "directory".
1367 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1368 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1370 * files.el (dir-locals-find-file): Doc fix.
1371 Fix the check for cache elements that have no associated file,
1372 and the mtime check for those that do. (Bug#8095)
1374 * dired-x.el (dired-hack-local-variables):
1375 Handle interrupts during hacking local variables. (Bug#5216)
1377 * emacs-lisp/autoload.el (autoload-save-buffers)
1378 (autoload-find-destination, update-directory-autoloads):
1379 Avoid prompts when updating autoloads.
1381 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1383 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1385 2011-02-23 Kenichi Handa <handa@m17n.org>
1387 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1388 error when a multipart boundary in the nested multipart is found.
1390 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1393 2011-02-23 Glenn Morris <rgm@gnu.org>
1395 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1396 * dired-x.el (dired-omit-mode): Safe if boolean.
1397 (dired-enable-local-variables): Fix doc and custom type.
1398 (dired-enable-local-variables, dired-local-variables-file)
1399 (dired-hack-local-variables): Make obsolete.
1400 (dired-omit-here-always): Use dir-locals.el instead.
1402 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1404 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * help-fns.el (describe-function-1): Don't signal an error just because
1407 the DOC file disappeared.
1409 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1411 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1412 remote check to "ftp". (Bug#8089)
1414 2011-02-21 Alan Mackenzie <acm@muc.de>
1417 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1418 in macros finding their way into c-state-nonlit-pos-cache.
1419 Strengthen the comments.
1420 (c-state-dump): New commented out diagnostic routine.
1422 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1425 `field' property of `rfn-eshadow-overlay'.
1427 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1429 * net/netrc.el (netrc-parse): Comment fix.
1431 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1433 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1434 Autoload. Add optional arg FRAME, and pass it to color-values.
1435 (color-complement): Caller changed. Doc fix.
1436 (color-gradient): Rewrite for better clarity and efficiency.
1438 * faces.el (color-values): Use cond for clarity. Doc fix.
1440 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1442 (list-colors-sort-key, list-colors-print):
1443 Use color-normalized-values.
1445 2011-02-20 Drew Adams <drew.adams@oracle.com>
1447 * color.el: First part of merge from hexrgb.el.
1448 (color-rgb-to-hex): Rename from color-rgb->hex.
1449 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1450 saturation to zero if the value is too small.
1451 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1452 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1453 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1454 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1455 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1456 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1457 (color-cie-de2000): Doc fix.
1459 2011-02-20 Alan Mackenzie <acm@muc.de>
1461 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1462 locating the beginning of a macro. (Bug#7595)
1464 2011-02-20 Glenn Morris <rgm@gnu.org>
1466 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1469 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1470 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1472 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1473 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1475 * progmodes/hideshow.el (hs-find-block-beginning)
1476 (hs-hide-level-recursive): Ignore comments when parsing braces
1479 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1481 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1482 (vc-bzr-pull): Use it.
1484 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1486 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1487 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1488 but returning an alist. Ignore comments in bzr conffile.
1489 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1490 (vc-bzr-error-regex-alist): New var.
1491 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1493 * vc/vc-dispatcher.el (vc-do-async-command):
1494 Bind inhibit-read-only to t.
1496 * progmodes/compile.el (compilation--flush-directory-cache):
1497 Handle the case where cdr of compilation--flush-directory-cache
1498 points to no buffer, which can occur if we previously switched to
1499 compilation-mode in a pregenerated buffer.
1501 2011-02-19 Kenichi Handa <handa@m17n.org>
1503 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1504 get the header copy into the temporary buffer.
1505 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1506 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1507 buffer-file-coding-system to undecided.
1509 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1511 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1512 Document completion with asterisk and a substring.
1514 2011-02-19 Glenn Morris <rgm@gnu.org>
1516 * files.el (find-file-literally): Doc fix.
1518 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1520 * log-edit.el (log-edit-insert-changelog):
1521 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1523 2011-02-19 Glenn Morris <rgm@gnu.org>
1525 * dired-x.el: Don't require dired-aux.
1526 (dired-do-create-files, dired-mark-read-regexp)
1527 (dired-do-create-files-regexp): Autoload from dired-aux.
1529 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1530 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1532 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1533 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1535 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1536 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1537 (dired-clean-up-buffers-too): Declare.
1539 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1540 * dired.el (dired-initial-position): Merge dired-x's version here.
1541 (dired-find-subdir): Declare.
1543 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1544 * dired-aux.el (dired-add-entry): Give it a doc-string.
1545 Merge dired-x's dired-omit handling here.
1546 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1548 * international/mule-diag.el (list-input-methods-1):
1549 Indent all lines of multi-line doc-strings. (Bug#8066)
1551 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1553 Fix 2011-02-02 changes.
1555 * apropos.el (apropos-print): Call apropos-mode before setting up
1556 buffer variables. Use inhibit-read-only.
1558 * emacs-lisp/package.el (package--list-packages):
1559 Call package-menu-mode before setting up buffer variables.
1561 * play/solitaire.el (solitaire): Call solitaire-mode before
1562 setting up buffer variables. Use inhibit-read-only.
1564 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1566 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1567 Bind case-fold-search to nil when looking for end of here-doc.
1569 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1571 * image-mode.el (image-toggle-display-image):
1572 Set find-file-literally non-nil in buffers visiting binary image
1575 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * files.el (cd): Make completion obey cd-path (bug#7924).
1579 2011-02-18 Glenn Morris <rgm@gnu.org>
1581 * progmodes/prolog.el: Don't require compile when compiling.
1582 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1583 (compilation-forget-errors, compilation-fake-loc)
1584 (compilation-parse-errors-function, compilation-error-list): Declare.
1585 (prolog-inferior-mode): Require 'compile.
1587 * emulation/cua-base.el (pc-selection-mode): Declare.
1589 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1590 (customize-object): Add autoload cookie.
1591 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1592 (eieio-browse, describe-class, eieio-describe-class)
1593 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1594 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1595 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1596 * Makefile.in (autoloads): Make eieio.el writable.
1598 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1599 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1600 (dired-hack-local-variables): Use inhibit-read-only.
1601 (dired-guess-default): Simplify.
1602 (dired-make-relative-symlink): Use dotimes.
1603 (dired-simultaneous-find-file): Use dolist.
1604 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1605 (dired-x-hands-off-my-keys): Doc fix.
1606 (dired-x-bind-find-file): Doc fix. Use remapping.
1607 (after-init-hook): No need to add dired-x-bind-find-file.
1608 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1609 No need to call expand-file-name.
1610 (dired-filename-at-point): Remove unused locals `end', `filename'.
1612 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1614 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1616 2011-02-18 Christian Ohler <ohler@gnu.org>
1618 * emacs-lisp/ert.el (ert--setup-results-buffer)
1619 (ert-results-pop-to-backtrace-for-test-at-point)
1620 (ert-results-pop-to-messages-for-test-at-point)
1621 (ert-results-pop-to-should-forms-for-test-at-point)
1622 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1623 were incorrect and unnecessary. This should make `make check'
1626 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1628 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1629 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1630 * lisp/allout.el: Remove commentary about remove encryption
1631 passphrase mnemonic support and verification.
1632 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1633 armored text using gpg1, and indicate that the gpg version *might*
1634 be the problem in the error message.
1636 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1638 * net/rcirc.el (rcirc-float-time): New function.
1639 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1640 (rcirc-ctcp-sender-PING): Use it.
1642 2011-02-17 Glenn Morris <rgm@gnu.org>
1644 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1645 (speedbar-update-flag, speedbar-fetch-etags-command)
1646 (speedbar-fetch-etags-arguments):
1647 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1648 (term-completion-autolist, term-completion-addsuffix)
1649 (term-completion-recexact, term-completion-fignore):
1650 * term/sup-mouse.el (sup-mouse-fast-select-window):
1651 * term/x-win.el (x-select-request-type):
1652 Convert some defvars with "*" to defcustoms.
1654 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1656 * vc/vc.el (vc-default-previous-version):
1657 Remove alias that points nowhere. (Bug#4496)
1659 * dired-x.el (dired-clean-up-after-deletion):
1660 kill-buffer does not need save-excursion.
1661 (dired-do-run-mail): Doc fix.
1662 (dired-filename-at-point): Doc fix.
1663 Use looking-at, and skip-chars rather than re search.
1665 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1667 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1669 * allout-widgets.el: New allout extension that shows allout
1670 outline structure with graphical widgets. 'allout-widgets'
1671 customize group is an 'allout' subgroup, for easy discovery.
1673 * allout.el: Include PGP and GnuPG in Keywords, and other
1674 commentary refinements.
1675 (allout-abbreviate-flattened-numbering): Rename to
1676 allout-flattened-numbering-abbreviation, and
1677 define-obsolete-variable-alias the old name.
1678 (allout-flattened-numbering-abbreviation): Rename from
1679 allout-abbreviate-flattened-numbering.
1680 (allout-mode-p): Include among autoloads, for use by other modes
1682 (allout-listify-exposed):
1683 Use allout-flattened-numbering-abbreviation.
1684 (allout-encrypt-string): Use set-buffer-multibyte directly.
1685 (allout-set-buffer-multibyte): Remove.
1687 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1689 * simple.el (just-one-space): Remove useless `or' call.
1691 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1693 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1694 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1695 (soap-decoded-multi-refs, soap-current-wsdl)
1696 (soap-encoded-namespaces): Rename CL-style *...* variables.
1698 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1700 * net/soap-client.el: Add "comm" and "hypermedia" to the
1701 keywords. Reflow too long lines.
1703 * net/soap-inspect.el: Ditto. Require 'cl.
1705 2011-02-16 Bastien Guerry <bzg@altern.org>
1707 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1708 in a `doctor-type' argument.
1710 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1712 * net/soap-client.el:
1713 * net/soap-inspect.el: New files.
1715 2011-02-16 Leo <sdl.web@gmail.com>
1717 * dired-x.el (dired-mode-map, dired-extra-startup):
1718 Remove dired-copy-filename-as-kill since it's already in dired.el.
1720 2011-02-16 Glenn Morris <rgm@gnu.org>
1722 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1723 Doc fixes. Add :set property, replacing top-level calls.
1724 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1725 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1726 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1727 (dired-clean-up-after-deletion): Use when and dolist.
1728 (dired-jump): Use unless and when.
1729 (dired-virtual): Use line-end-position.
1730 (dired-default-directory-alist): Rename from default-directory-alist.
1731 (dired-default-directory): Update for above name change.
1732 (dired-vm): Drop VM < 5 and simplify.
1733 (dired-buffer-more-recently-used-p): Rewrite.
1734 (dired-filename-at-point): Use when and or.
1735 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1738 2011-02-15 Glenn Morris <rgm@gnu.org>
1740 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1742 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1744 * vc/vc-git.el (vc-git-root-log-format): New option for
1745 customizing log format.
1746 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1747 (vc-git-log-view-mode): Use it.
1748 (vc-git-expanded-log-entry): New function.
1749 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1751 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1752 customizing log format.
1753 (vc-hg-print-log): Use it.
1754 (vc-hg-expanded-log-entry): New function.
1755 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1756 vc-hg-expanded-log-entry. Truncate lines in root log.
1758 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1760 * vc/log-view.el (log-view-mode-menu):
1761 Add log-view-toggle-entry-display.
1763 2011-02-14 Glenn Morris <rgm@gnu.org>
1765 * dired-x.el: Don't require man when compiling.
1766 (dired-omit-extensions, dired-local-variables-file)
1767 (dired-x-hands-off-my-keys): Make them defcustoms.
1768 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1769 (vm-visit-folder): Declare rather than defining.
1770 (dired-x-help-address, dired-x-variable-list): Remove.
1771 (dired-x-submit-report): Make it an obsolete alias.
1773 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1775 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1777 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1779 * net/imap.el: Bring it back.
1781 2011-02-13 Alan Mackenzie <acm@muc.de>
1783 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1784 narrow-to-region call that cuts context off the end (Bug#7722).
1786 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1787 Refactor nested if-forms with a simple cond.
1788 (c-forward-<>-arglist): Revert 2011-01-31 change.
1790 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1792 * vc/log-view.el: New command log-view-toggle-entry-display for
1793 toggling log entries between concise and detailed forms.
1794 (log-view-toggle-entry-display): New command.
1795 (log-view-mode-map): Bind RET to it.
1796 (log-view-expanded-log-entry-function): New variable.
1797 (log-view-current-entry, log-view-inside-comment-p)
1798 (log-view-current-tag): New functions.
1799 (log-view-toggle-mark-entry): Use log-view-current-entry and
1800 log-view-end-of-defun instead of searching directly with
1801 log-view-message-re.
1802 (log-view-end-of-defun): Likewise. Add optional ARG for
1803 compatibility with end-of-defun.
1804 (log-view-end-of-defun): Ignore comments and VC buttons.
1806 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1807 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1809 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1811 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1813 * net/imap-hash.el: Remove file.
1815 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1817 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1819 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1822 * net/tramp-imap.el: Remove file.
1824 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1826 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1827 widget library for buttons, just use button.el.
1829 * vc/log-view.el (log-view-mode-map): Don't inherit from
1832 2011-02-12 Glenn Morris <rgm@gnu.org>
1834 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1835 (nintersection, set-difference, nset-difference)
1836 (set-exclusive-or, nset-exclusive-or): Doc fix.
1838 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1840 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1841 :italic props, so that frame-set-background-mode works. (Bug#7966)
1843 * simple.el (next-error): Doc fix.
1845 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1847 * dired-aux.el (dired-create-files): Adapt destination name to
1848 match the new behavior of copy-directory.
1850 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1852 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1853 from rmail-dont-reply-to-names. Callers changed.
1854 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1855 (rmail-dont-reply-to): Make it an obsolete alias.
1857 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1858 nil, and make obsolete (Bug#7888).
1859 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1861 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1863 * mail/rmailsort.el (rmail-sort-by-correspondent)
1864 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1866 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1868 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1870 * files.el (copy-directory): New argument COPY-CONTENTS for
1871 copying directory contents into another existing directory.
1873 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1875 * minibuffer.el (completion-table-case-fold): New function for
1876 creating a case-insensitive completion table.
1878 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1880 * net/tramp.el (tramp-default-method): Also check if
1881 `auth-source-search' is bound.
1882 (tramp-read-passwd): Use `auth-source-search' instead of
1883 `auto-source-user-or-password'.
1885 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1886 `auto-source-user-or-password.
1887 (tramp-imap-passphrase-callback-function): Use it.
1889 * net/imap-hash.el: Autoload `auto-source-search' instead of
1890 `auto-source-user-or-password.
1891 (imap-hash-open-connection): Use it.
1893 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1894 `auto-source-user-or-password.
1895 (smtpmail-try-auth-methods): Use it.
1897 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1899 * emacs-lisp/package.el: Allow packages to be reinstalled.
1900 (package--write-file-no-coding): Remove EXCL arg.
1901 (package-unpack-single): Don't use it.
1903 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1905 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1906 in each sub directory.
1907 (vc-svn-registered): Use vc-svn-root.
1908 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1909 (vc-svn-repository-hostname): Use "svn info".
1911 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1913 * simple.el (delete-trailing-whitespace): New optional buffer
1916 2011-02-11 Bastien Guerry <bzg@altern.org>
1918 * files.el (basic-save-buffer): save unmodified buffers when
1919 the file pointed by buffer-file-name doesn't exist.
1921 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1923 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1925 2011-02-11 Glenn Morris <rgm@gnu.org>
1927 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1929 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1931 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1933 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * server.el (server-process-filter): Use pcase.
1937 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1939 (smie-indent--parent): Extend to "parent of arg".
1940 (smie-indent-inside-string): New function.
1941 (smie-indent-functions): Use it.
1943 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1944 bzr locking race condition.
1946 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1947 still valid before using it.
1949 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1950 `message' -> `compilation-message' rename (bug#8004).
1952 Move keymap initialization into declaration.
1953 * textmodes/enriched.el (enriched-mode-map):
1954 * textmodes/bib-mode.el (bib-mode-map):
1955 * term/lk201.el (lk201-function-map):
1956 * tar-mode.el (tar-mode-map):
1957 * replace.el (occur-mode-map):
1958 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1959 * progmodes/idlw-help.el (idlwave-help-mode-map):
1960 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1961 * play/solitaire.el (solitaire-mode-map):
1962 * play/snake.el (snake-mode-map, snake-null-map):
1963 * play/pong.el (pong-mode-map):
1964 * play/handwrite.el (menu-bar-handwrite-map):
1965 * play/gametree.el (gametree-mode-map):
1966 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1967 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1968 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1969 (newsticker--url-keymap):
1970 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1971 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1972 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1973 (menu-bar-edit-menu, menu-bar-custom-menu)
1974 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1975 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1976 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1977 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1978 (menu-bar-tools-menu, menu-bar-describe-menu)
1979 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1980 (menu-bar-help-menu):
1981 * mail/rmailsum.el (rmail-summary-mode-map):
1982 * kmacro.el (kmacro-step-edit-map):
1983 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1984 (ibuffer-mode-operate-map):
1985 * hi-lock.el (hi-lock-menu, hi-lock-map):
1986 * emulation/vip.el (vip-mode-map):
1987 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1988 * bookmark.el (bookmark-bmenu-mode-map):
1989 * help-mode.el (help-mode-map): Move initialization into declaration.
1991 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1993 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1994 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1995 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1996 (rcirc-cmd-me, rcirc-authenticate): Use them.
1998 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2000 * allout.el: Synopsis: Change allout user configuration so
2001 auto-activation is controlled solely by customization
2002 `allout-auto-activation'.
2004 (allout-auto-activation-helper, allout-setup): New autoloads
2005 implement new custom set procedure for allout-auto-activation.
2006 Also, explicitly invoke (allout-setup) after allout-auto-activation
2007 is custom-defined, to affect the settings in emacs sessions besides
2008 the few where allout-auto-activation customization is done.
2009 (allout-auto-activation): Use allout-auto-activation-helper to
2010 :set. Revise the docstring.
2011 (allout-init): Reduce functionality to just customizing
2012 allout-auto-activation, and mark obsolete.
2013 (allout-mode): Respect string values for allout-auto-activation.
2014 Run allout-after-copy-or-kill-hook without any args.
2015 (allout-mode, allout-layout, allout-default-layout)
2016 (outlineify-sticky): Adjust docstring for new scheme.
2017 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2018 should concentrate on the kill ring.
2020 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2022 * password-cache.el (password-cache-remove): Accept secrets that are
2025 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2028 of here-doc that immediately follows a comment.
2030 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2032 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2034 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2036 (rcirc-ctcp-sender-PING): New function.
2038 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2041 Remove the mark/nomark handling, and activate shift-select-mode instead.
2043 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2045 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2047 * calc/calc-units.el (math-logunits-quant): Add support for
2048 non-logarithmic units.
2050 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2052 * allout.el (allout-after-copy-or-kill-hook): New hook for
2053 extension-specific processing of killed text.
2054 (allout-mode): Include new allout-after-copy-or-kill-hook among
2056 (allout-kill-line, allout-kill-topic): Ensure that processing
2057 after kill happens even if barf-if-buffer-read-only is raised.
2058 Include new allout-after-copy-or-kill-hook among that subsequent
2060 (allout-deannotate-hidden): Actually remove the annotation text
2063 * allout.el (allout-listify-exposed): Copy text sans text properties.
2065 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2067 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2069 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2071 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2073 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2075 * calc/calc.el (calc-logunits-field-reference): Rename from
2076 `calc-default-field-reference-level'.
2077 (calc-logunits-power-reference): Rename from
2078 `calc-default-power-reference-level'.
2080 * calc/calc-units.el (math-logunits-quant): Rename from
2081 `math-logunits-level'
2082 (math-logunits-plus): Rename from math-logcombine.
2083 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2084 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2085 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2087 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2088 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2089 (calc-logunits-quantity): Rename from `calc-level'.
2090 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2091 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2092 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2093 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2094 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2097 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2098 (calc-ul-prefix-help): Remove.
2099 (calc-l-prefix-help): New function.
2100 (calc-full-help): Add reference to `calc-l-prefix-help'.
2102 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2104 * calc/README: Mention logarithmic units.
2106 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2108 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2109 non-ASCII characters (Bug#7925).
2111 2011-02-05 Glenn Morris <rgm@gnu.org>
2113 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2115 * calendar/diary-lib.el (diary-font-lock-keywords):
2116 Tweak diary-time-regexp match. (Bug#7891)
2118 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2119 (f90-mode): Use it for mode's `find-tag-default-function' property.
2121 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2123 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2125 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2127 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2130 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2133 font-lock-syntax-table remappings.
2134 (sh-here-doc-markers, sh-here-doc-re): Remove.
2135 (sh-font-lock-close-heredoc): Remove.
2136 (sh-syntax-propertize-here-doc): New function.
2137 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2138 instead of the sh-here-doc-re.
2139 (sh-font-lock-paren): Don't do anything in comments or strings.
2140 Handle line continuations. Accept a few more chars.
2141 Don't rely on the font-lock-syntax-table remappings.
2142 `esac' is not a valid pattern.
2143 (sh-syntax-propertize-function): Handle here-docs differently, so we
2144 don't bother syntax-propertizing the insides.
2146 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2147 Handle new bashisms ";&" and ";;&" (bug#7947).
2149 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2151 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2152 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2154 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2156 * net/tramp.el (tramp-postfix-method-format)
2157 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2158 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2159 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2160 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2161 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2164 2011-02-04 Sam Steingold <sds@gnu.org>
2166 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2168 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2170 * international/mule-util.el (with-coding-priority): Doc fix.
2172 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2174 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2176 2011-02-03 Sam Steingold <sds@gnu.org>
2178 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2179 Do not error out when `func' is nil.
2181 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2183 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2184 `tramp-default-remote-path' to the docstring.
2185 (tramp-get-remote-path): Suppress error message when `getconf
2188 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2190 2011-02-03 Glenn Morris <rgm@gnu.org>
2192 * vc/vc-hg.el (vc-hg-command): Doc fix.
2194 * term/w32-win.el (libpng-version): Declare for compiler.
2196 * msb.el: No need to load dired while compiling.
2198 * emacs-lisp/elint.el (elint-standard-variables):
2199 Remove a couple of built-ins that now have doc-strings.
2201 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2202 `require' is automatically `eval-and-compile'd.
2204 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2205 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2207 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2208 Move definition before use.
2209 (strokes-report-bug): Make it obsolete.
2211 2011-02-02 Sam Steingold <sds@gnu.org>
2213 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2214 from `special-mode', entering it makes the buffer read-only, so
2215 call it only when everything has been already inserted.
2216 * emacs-lisp/ert.el (ert--setup-results-buffer)
2217 (ert-results-pop-to-backtrace-for-test-at-point)
2218 (ert-results-pop-to-messages-for-test-at-point)
2219 (ert-results-pop-to-timings): Ditto.
2220 * emacs-lisp/package.el (package--list-packages): Ditto.
2221 * play/solitaire.el (solitaire): Ditto.
2223 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2225 * progmodes/compile.el: Make all faces inherit.
2226 (compilation-warning): Inherit from font-lock-variable-name-face.
2227 (compilation-info): Inherit from font-lock-type-face.
2228 (compilation-line-number): Reassign to font-lock-keyword-face.
2229 (compilation-column-number): Reassign to font-lock-doc-face.
2230 (compilation-leave-directory-face): Reassign to
2231 font-lock-builtin-face.
2233 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2235 * dired.el (dired-insert-directory): Don't invoke `ls' when
2236 ls-lisp.el is used to emulate it.
2238 2011-02-01 Julien Danjou <julien@danjou.info>
2240 * color.el (color-gradient): Add a color-gradient function.
2242 2011-02-01 Sam Steingold <sds@gnu.org>
2244 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2245 bind "z" to `kill-this-buffer'.
2246 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2247 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2248 (apropos-mode): Inherit from `special-mode'.
2249 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2250 * bookmark.el (bookmark-bmenu-mode): Define using
2251 `define-derived-mode' inheriting from `special-mode'.
2252 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2253 * image-mode.el (image-mode-map): Ditto.
2254 * replace.el (occur-mode): Define using
2255 `define-derived-mode' inheriting from `special-mode'.
2256 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2257 * calendar/diary-lib.el (diary-fancy-display-mode):
2258 Inherit from `special-mode-map'.
2259 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2260 Inherit from `special-mode'.
2261 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2263 (package-menu-mode): Define using `define-derived-mode'
2264 inheriting from `special-mode'.
2265 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2266 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2267 (xesam-mode-map): Define separately.
2268 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2269 * progmodes/compile.el (compilation-minor-mode-map)
2270 (compilation-mode-map): Inherit from `special-mode-map'.
2271 * vc/diff-mode.el (diff-mode-shared-map):
2272 Inherit from `special-mode-map'.
2273 * vc/log-view.el (log-view-mode-map): Add a comment.
2275 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2277 * custom.el (load-theme): Define return value. Drop use of
2278 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2279 (custom-theme-load-confirm): Scroll in the correct window.
2280 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2282 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2283 checkbox if load-theme fails.
2285 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * progmodes/compile.el (compilation-next-error): Check there's
2288 a message before using it (bug#7941).
2290 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2292 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2293 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2294 of potential pivots.
2296 2011-01-31 Alan Mackenzie <acm@muc.de>
2298 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2299 Continue parsing if we encounter a naked # (Bug#7595).
2300 (c-beginning-of-statement): Avoid loop in locating the beginning
2301 of a macro. (Not actually committed until 2011-02-20, see above).
2303 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2305 * files.el (copy-directory): Fix arguments to recursive call.
2307 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2309 * files.el (copy-directory): If destination is an existing
2310 directory, copy into a subdirectory there.
2312 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2314 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2317 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2319 * image-dired.el (image-dired-mouse-display-image): No-op if no
2320 file is found (Bug#7817).
2322 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2324 2011-01-31 Kenichi Handa <handa@m17n.org>
2326 * international/quail.el (quail-keyboard-layout-alist):
2327 Remove superfluous SPC for "pc105-uk" (bug#7927).
2329 2011-01-31 Glenn Morris <rgm@gnu.org>
2331 * msb.el (msb-menu-bar-update-buffers): Update for changed
2332 argument handling of menu-bar-select-frame. (Bug#7902)
2334 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2336 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2337 to the recursion depth (Bug#7722).
2339 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2341 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2342 command-line-default-directory (Bug#7872).
2344 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * progmodes/compile.el (compilation--flush-directory-cache):
2347 New function, extracted from compilation--remove-properties.
2348 (compilation--remove-properties, compilation--parse-region): Use it.
2349 (compilation--previous-directory): Handle one more case.
2350 (compilation-enable-debug-messages): Remove.
2351 (compilation-parse-errors, compilation--flush-parse): Just remove the
2352 left over debug messages.
2354 2011-01-31 Sam Steingold <sds@gnu.org>
2356 * progmodes/compile.el (compilation-enable-debug-messages):
2357 Add a variable to make the parsing messages introduced in
2358 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2359 (compilation-parse-errors, compilation--flush-parse): Use it.
2361 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2363 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2364 (rcirc-nick-completion-format): New defcustom.
2365 (rcirc-complete): Use it.
2367 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2369 * net/rcirc.el: Clean log filenames (Bug#7933).
2370 (rcirc-log-write): Use convert-standard-filename.
2371 (rcirc-log-filename-function): Documentation updates.
2373 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2375 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2376 Check report-emacs-bug-can-use-osx-open and use that if t.
2377 (report-emacs-bug-can-use-osx-open): New function.
2378 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2379 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2381 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2383 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2384 updating Dired or VC-dir buffers after async command completes.
2386 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2387 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2389 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2390 completions if it exists. Use vc-set-async-update.
2391 (vc-git-pull): Use vc-set-async-update.
2393 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2394 read-shell-command. Use vc-set-async-update.
2395 (vc-hg-merge-branch): Use vc-set-async-update.
2397 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2399 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2400 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2403 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2405 * progmodes/compile.el: Avoid an N² behavior in grep.
2406 (compilation--previous-directory): New fun.
2407 (compilation--previous-directory-cache): New var.
2408 (compilation--remove-properties): Flush it.
2409 (compilation-directory-properties, compilation-error-properties):
2410 Use the new fun to speed up looking for the current directory.
2412 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2414 * vc/vc-hg.el (vc-hg-history): New var.
2415 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2416 (vc-hg-merge-branch): New function.
2418 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2419 the other way around.
2421 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2422 (vc-git-merge-branch): New functions.
2423 (vc-git-history): New var.
2425 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2427 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2429 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2430 vc-do-async-command.
2432 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2435 2011-01-28 Leo <sdl.web@gmail.com>
2437 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2438 highlighting to the "this function is advised" message.
2440 * help-mode.el (help-mode-finish): Apply highlighting here, to
2441 avoid clobbering by substitute-command-keys (Bug#6304).
2443 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2445 * woman.el (woman0-roff-buffer): Process roff escape sequences
2446 occurring prior to the first request (Bug#7843).
2448 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * progmodes/compile.el: Don't use font-lock any more.
2451 (compilation-error-regexp-alist-alist): Change handling of makepp
2452 so it preserves the warning/error distinction on subsequent files.
2453 Simplify various rules.
2454 (compilation-directory-properties): Use font-lock-face.
2455 Add a compilation-message property.
2456 (compilation-internal-error-properties): Use font-lock-face.
2457 Don't set the compilation-debug property here.
2458 (compilation--put-prop, compilation--remove-properties)
2459 (compilation--parse-region, compilation--ensure-parse)
2460 (compilation--ensure-parse): New functions.
2461 (compilation-parse-errors): New function, largely inspired of
2462 compilation-mode-font-lock-keywords. Set compilation-debug here.
2463 (compilation--parsed): New var.
2464 (compilation--flush-parse): Use compilation--ensure-parse.
2465 (compilation-start): Don't call font-lock.
2466 (compilation-turn-on-font-lock): Remove.
2467 (compilation-setup): Don't set font-lock-extra-managed-props not change
2468 other font-lock settings, other than keywords.
2469 Don't activate font-lock-mode.
2470 Set change-major-mode-hook and before-change-functions.
2471 (compilation--unsetup): Remove properties and hooks.
2472 (compilation-next-single-property-change): New function.
2473 (compilation-next-error): Use it to parse when needed.
2474 (compile-goto-error): Parse buffer as needed.
2475 (compilation--compat-error-properties): Don't need a dummy `face'
2478 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2481 (compilation-process-setup-function): Fix docstring's false promises.
2482 (compilation-error-regexp-alist-alist): Catch omake's continuous
2483 recompilation message and avoid reuse of old markers.
2484 (compilation-parse-errors-function): Declare obsolete.
2485 (compilation-buffer-modtime): Remove.
2486 (compilation--make-cdrloc, compilation--loc->col)
2487 (compilation--loc->line, compilation--loc->file-struct)
2488 (compilation--loc->marker, compilation--loc->visited)
2489 (compilation--make-file-struct, compilation--file-struct->file-spec)
2490 (compilation--file-struct->formats)
2491 (compilation--file-struct->loc-tree): New macros. Use them.
2492 (compilation--message): New defstruct. Use them.
2493 (compilation-next-error-function): Don't mess with timestamps to try
2494 and guess when to reparse.
2496 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2499 (tex-old-error-file-name): New function,
2500 extracted from tex-compilation-parse-errors.
2501 (tex-compilation-parse-errors): Remove.
2502 (tex-error-regexp-alist): New var.
2503 (tex-shell): Use it to avoid compilation-parse-errors-function.
2505 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2506 (grep-mode-font-lock-keywords): Remove regexp that seems like
2507 a left-over from before we used compile.el.
2508 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2509 modifying the buffer within with-silent-modifications.
2511 * progmodes/compile.el: Cleanup text-properties namespace by using
2512 `compilation-message' instead of `message', `compilation-directory'
2513 instead of `directory', and `compilation-debug' instead of `debug'.
2514 (compilation-last-buffer, compilation-parsing-end)
2515 (compilation-error-list, compilation-old-error-list): Move to the
2516 compatibility part of the code.
2517 (compilation-error-properties): If `file' is a function, let it return
2519 (compilation-mode-font-lock-keywords): Be more conservative with the
2520 omake "^ *" pattern prefix, to try and minimize the risk of
2521 pathologically slow regexp matching.
2522 (compilation-start): Use inhibit-read-only.
2523 (compilation--unsetup): New function.
2524 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2525 (compilation-filter): Minor tweaks.
2526 (compilation-next-error-function): Try and avoid abusing variables.
2527 (compilation--flush-file-structure): New fun.
2528 (compilation-fake-loc): Use it to improve behavior when file is reused.
2529 (debug-ignored-errors): Add "Moved past last ...".
2530 (compilation--compat-error-properties)
2531 (compilation--compat-parse-errors): Rename by doubling the "-".
2533 Port features from the previous prolog.el to the new one.
2534 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2535 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2536 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2537 variable and use a function to compute the value dynamically.
2538 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2539 (prolog-continued-prompt-regexp): Remove, unused.
2540 (prolog-find-value-by-system): Try and use the value of prolog-system
2541 in the *prolog* buffer if it helps.
2542 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2543 (prolog-zip-on): ..and check prolog-system and version here instead.
2544 (prolog-inferior-self-insert-command): New command.
2545 (prolog-inferior-mode-map): Use it.
2546 (prolog-inferior-error-regexp-alist): New var.
2547 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2548 (prolog-input-filter): Use derived-mode-p.
2549 (prolog-inferior-guess-flavor): New function.
2550 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2551 make-comint to avoid running comint-mode twice.
2552 (prolog-inferior-buffer): New fun.
2553 (prolog-old-process-region, prolog-old-process-file):
2554 Don't call prolog-bsts here...
2555 (prolog-build-prolog-command): ...do it here instead.
2556 (prolog-old-process-region, prolog-old-process-file):
2557 Use compilation-fake-loc and compilation-forget-errors.
2558 (prolog-consult-compile-region): Use bolp.
2560 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2562 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2564 2011-01-27 Sam Steingold <sds@gnu.org>
2566 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2567 Remove "*server*" which is never created by emacs server.
2569 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2571 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2572 there are some diff switches.
2574 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2576 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2577 Copy change made to ruby-font-lock-syntactic-keywords.
2579 * htmlfontify.el: Make it obey the font-lock-face text property.
2580 Miscellaneous cleanup such as:
2581 - Don't hide expressions after a closing paren.
2582 - Move initial setq into let.
2583 - Hoist common parts out of ifs.
2584 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2585 (hfy-face-at): Use get-text-property instead.
2586 (hfy-prop-invisible-p): Use invisible-p if available.
2587 (htmlfontify-manual): Use \\[...].
2588 (hfy-html-quote-regex): Use [...].
2589 (hfy-combined-face-spec): Simplify.
2590 (hfy-compile-face-map): Don't presume point-min==1.
2591 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2592 match end of string.
2593 (hfy-text-p): η-reduce.
2594 (hfy-tags-for-file): Receive cache-hash directly.
2595 (hfy-mark-tag-names): Adjust call.
2597 2011-01-27 Glenn Morris <rgm@gnu.org>
2599 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2600 (msb-after-load-hook): Remove eval-after-load wackiness.
2602 2011-01-25 Sam Steingold <sds@gnu.org>
2604 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2605 literal "diff" (important for windows-nt).
2607 2011-01-25 Glenn Morris <rgm@gnu.org>
2609 * emacs-lisp/copyright.el (copyright-at-end-flag)
2610 (copyright-names-regexp): Add safety properties.
2611 (copyright-year-ranges): New option.
2612 (copyright-find-end): New function, split from copyright-update-year.
2613 (copyright-update-year): Use copyright-find-end.
2614 (copyright-fix-years): Optionally, convert years to ranges.
2615 Handle years continued over comment lines.
2616 Do not mess with the fill-prefix.
2617 Do not call copyright-update.
2618 (copyright-update-directory): Optionally, fix years rather than update.
2619 Skip directories. Find files with only safe local vars.
2621 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * files.el (file-name-non-special): Only change buffer-file-name after
2624 insert-file-contents if it's `visit'ing the file (bug#7854).
2626 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2628 * dired.el (dired-revert): Doc fix (Bug#7758).
2630 * simple.el (line-move-visual): Doc fix (Bug#7594).
2632 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2634 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2635 here-doc which ends with an underscore.
2636 (ruby-mode-set-encoding): Skip shebang line always.
2637 (ruby-mode-map): Bind C-c C-c to comment-region.
2638 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2639 (ruby-forward-sexp): Stop after literal hash key labels.
2640 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2643 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2645 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2646 the correct buffer (Bug#7650).
2648 2011-01-25 Glenn Morris <rgm@gnu.org>
2650 * comint.el (comint-mode): Doc fix. (Bug#7897)
2652 * simple.el (do-auto-fill): Give it a doc string.
2654 * button.el (make-text-button): Doc fix. (See bug#7881)
2656 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2659 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2661 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2662 Handle ?" and friends differently (e.g. don't use backrefs).
2664 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2666 * calc/calc.el (calc-default-power-reference-level)
2667 (calc-default-field-reference-level): New variables.
2668 * calc/calc-units.el (math-standard-units): Add dB and Np.
2669 (math-logunits): New variable.
2670 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2671 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2672 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2674 (math-find-base-units-rec): Add entry for ln(10).
2675 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2676 (calc-ul-prefix-help): New function.
2677 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2678 functions. Add keybindings for new units functions.
2680 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2682 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2683 rcirc buffers. (Bug#4940)
2685 2011-01-22 Glenn Morris <rgm@gnu.org>
2687 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2688 split out from copyright-update-year.
2689 (copyright-update): Don't mess with the GPL version if we don't own the
2690 copyright. Update license regexp, and remove no longer needed
2692 (copyright-fix-years): Use copyright-find-copyright.
2694 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2696 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2698 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2700 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2701 (lm): Rename to landmark.
2702 (lm-test-run): Rename to landmark-test-run.
2704 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2706 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2707 "Case sensitive" menu item.
2709 2011-01-22 Roland McGrath <roland@frob.com>
2711 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2712 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2714 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2718 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2720 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2721 Assume foo(bar) is a manpage reference rather than some unquoted
2724 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2726 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2727 Suggested by Flo <sensorflo@gmail.com>.
2729 2011-01-22 Glenn Morris <rgm@gnu.org>
2731 * progmodes/compile.el (compilation-error-regexp-alist):
2732 Fix custom type. (Bug#7812)
2734 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2736 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2737 allout-number-siblings, in keeping with what obtained due to
2738 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2740 (allout-before-change-handler): Better expose spots affected by
2743 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2745 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2747 2011-01-22 Phil Hagelberg <phil@evri.com>
2749 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2750 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2751 (pcmpl-ssh-config-hosts): New function.
2752 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2753 pcmpl-ssh-known-hosts.
2755 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2757 * calc/calc-undo.el (calc-undo): Autoload it.
2758 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2759 and autoload for `calc-undo'.
2760 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2761 * calc/calc-prog.el:
2762 * calc/calc-graph.el:
2763 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2765 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2767 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2768 keybindings to `calc-undo'.
2770 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2772 Don't mess with *temp*.
2773 * obsolete/spell.el: Move from textmodes/spell.el.
2775 * term.el (term-read-input-ring):
2776 * startup.el (display-startup-echo-area-message):
2777 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2778 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2779 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2782 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2784 * allout.el (allout-institute-keymap): Use fset instead of
2785 reapplying defalias.
2787 (allout-hotspot-key-handler): Check for non-control-modified
2788 bindings for hotspot characters if there are no control-modified
2791 * allout.el: Summary - migrate to defining allout mode using
2792 define-minor-mode instead of defun. Significantly clean-up
2793 internal keymap provisions, refactoring and, in the process,
2794 removing a lot of accumulated cruft.
2796 allout-mode-map is now a keymap by virtue of being a defalias to
2797 allout-mode-map-value, which contains the actual keymap structure.
2799 (allout-mode): Use define-minor-mode rather than defun.
2800 Remove now-unnecessary minor-mode setup activities from the body.
2801 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2802 entry will be '(allout-mode . allout-mode-map) - see
2803 allout-mode-map-value, below. Adjust docstring to track changes.
2804 (allout-minor-mode): Remove this defalias, now that we're using
2806 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2807 keymap is allout-mode-map-value, via defalias.
2808 (allout-mode-map-value): The variable holding the actual mode
2809 keymap structure, by virtue of defalias from allout-mode-map.
2810 (allout-compose-and-institute-keymap): Rename from
2811 allout-bind-keys, and including the binding-composition
2812 functionality of the former produce-allout-mode-map and
2813 allout-setup-mode-map.
2814 (allout-institute-keymap): Take over the "setup" part of the former
2815 allout-setup-mode-map. Reassign allout-mode-map-value value and
2816 update the defalias.
2817 (allout-command-prefix, allout-prefixed-keybindings)
2818 (allout-unprefixed-keybindings):
2819 Use allout-compose-and-institute-keymap to process the bindings.
2820 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2821 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2822 user can customize if they want to use that binding.
2823 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2824 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2825 elided that, previously, instead of the one for \C-h.)
2826 (allout-hotspot-key-handler): Remove attempt to resolve the key
2827 through the literal key-string lookup on allout-keybindings-list.
2828 That probably hasn't worked for a Long Time, and removal of
2829 allout-keybindings-list further simplifies the keybindings situation.
2830 (allout-pre-command-business): Use allout-mode-map-value instead
2832 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2833 the bindings if they want to use a keybinding having a trailing
2834 \C-h. No deprecation needed since this feature was never in a release.
2835 (allout-keybindings-list): Remove. It's not been useful for a
2836 while. (See allout-hotspot-key-handler changes, above.)
2837 (produce-allout-mode-map): Remove. Consolidate into
2838 allout-compose-and-institute-keymap.
2839 (allout-mode-map-adjustments): Remove. No longer necessary with
2840 removal of allout-preempt-trailing-ctrl-h.
2841 (allout-setup-mode-map): Remove. Consolidate into
2842 allout-compose-and-institute-keymap and allout-institute-keymap.
2844 2011-01-20 Glenn Morris <rgm@gnu.org>
2846 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2848 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2850 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2852 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2854 * files.el (find-alternate-file, basic-save-buffer)
2855 (basic-save-buffer-2, revert-buffer, recover-file)
2856 (kill-buffer-ask, abort-if-file-too-large)
2857 (set-visited-file-name, write-file, backup-buffer)
2858 (basic-save-buffer, save-some-buffers):
2859 * dired-aux.el (dired-compress-file): Callers changed.
2861 2011-01-19 Glenn Morris <rgm@gnu.org>
2863 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2864 Also check the property status. (Bug#7861)
2866 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2868 * net/tramp.el (tramp-debug-message): Extend function exclude
2869 list. Use `regexp-opt'.
2871 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2873 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2874 highlighting doesn't spill over subsequent lines.
2876 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2877 keymap expression. Improve docstring.
2879 * electric.el (electric-indent-post-self-insert-function):
2880 Don't auto-indent for indent-to-left-margin, it's too often
2883 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2885 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2886 spaces if the frame was resized, so that the full visible buffer
2887 serves as canvas for strokes.
2889 2011-01-16 Glenn Morris <rgm@gnu.org>
2891 * info-xref.el (info-xref-docstrings): Replace cl function.
2892 Also skip directories.
2894 2011-01-16 Kevin Ryde <user42@zip.com.au>
2896 * info-xref.el: Version 3.
2897 (info-xref-check, info-xref-check-all): Move commentary details
2898 into docstrings for better visibility.
2899 Use compilation-mode for the results buffer.
2900 (info-xref-output, info-xref-output-error, info-xref-with-output)
2901 (info-xref-filename, info-xref-in-progress):
2902 New internals for this.
2903 (info-xref-check-list, info-xref-check-buffer)
2904 (info-xref-check-all-custom): Use those.
2905 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2906 (info-xref-output-heading): Rename from info-xref-filename-heading.
2907 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2908 (info-xref-filename-heading): Move to output managing section.
2909 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2910 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2911 (info-xref-subfile-p): Move to generic section with those two.
2912 (info-xref-check-node): New function split from
2913 info-xref-check-buffer, shared by info-xref-docstrings.
2914 (info-xref-goto-node-p): Move to a checking section with that func.
2915 (info-xref-unavail): New counter.
2916 (info-xref-check-node): Use it.
2917 (info-xref-with-output): Show count of unavailables at end of output.
2918 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2919 symlinks. Exclude .texi files. Exclude Emacs backup files.
2920 (info-xref-check-all-custom): Fix quietening viper-mode and
2921 gnus-registry-install -- use setq not let so as not to unbind
2924 2011-01-16 Juri Linkov <juri@jurta.org>
2926 * isearch.el (isearch-abort): Don't quit if search has
2927 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2929 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2931 * files.el (backup-buffer): Make last-resort backup file in
2932 .emacs.d (Bug#6953).
2934 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2935 make it with permission 700.
2937 2011-01-15 Kenichi Handa <handa@m17n.org>
2939 * mail/rmailmm.el (rmail-mime-insert-header):
2940 Set rmail-mime-coding-system to a cons whose car is the last coding
2941 system used to decode the header.
2942 (rmail-mime-find-header-encoding): New function.
2943 (rmail-mime-insert-decoded-text):
2944 Override rmail-mime-coding-system if it is a cons.
2945 (rmail-show-mime): If only a header part was decoded, find the
2946 coding system while ignoring mm-charset-override-alist.
2948 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2950 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2952 2011-01-15 Kenichi Handa <handa@m17n.org>
2954 * mail/rmailmm.el (rmail-mime-next-item)
2955 (rmail-mime-previous-item): Delete them.
2956 (rmail-mime-shown-mode): Recursively call for children.
2957 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2959 (rmail-mime-raw-mode): Recursively call for children.
2960 (rmail-mode-map): Change mapping of tab and backtab to
2961 forward-button and backward-button respectively.
2962 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2964 (rmail-mime-update-tagline): New function.
2965 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2966 body display is changed.
2967 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2968 (rmail-mime-image): Delete this button type.
2969 (rmail-mime-toggle): New button type.
2970 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2971 body display is changed. Change the save button label to "Save".
2972 Don't process show/hide button here.
2973 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2974 the body display is changed. Unconditionally call
2975 rmail-mime-insert for children.
2976 (rmail-mime-handle): Update `display' vector of the just inserted
2978 (rmail-mime-process): If mail-header-parse-content-type returns
2979 nil, use "text/plain" as the fallback type.
2980 (rmail-mime-insert): For raw-mode, recursively call
2981 rmail-mim-insert for children.
2982 (rmail-mime): Handle the case that the current buffer is not rmail
2983 buffer (e.g. in summary buffer).
2985 2011-01-15 Kenichi Handa <handa@m17n.org>
2987 * mail/rmailmm.el (rmail-mime-next-item)
2988 (rmail-mime-previous-item): Skip the body of a non-multipart
2989 entity if a tagline is shown.
2991 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2993 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2994 (tmm-prompt): Simplify.
2995 (tmm-add-prompt): Remove unused var `win'.
2997 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2998 to minor mode which used nil accidentally to mean "turn off".
3000 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3002 * net/tramp-sh.el (tramp-find-inline-compress)
3003 (tramp-get-inline-coding): Quote command after pipe symbol for
3004 local calls under W32. (Bug#6784)
3006 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3008 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3009 only when running under W32.
3011 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3013 * progmodes/grep.el (grep-compute-defaults): Quote the program
3014 file name after the pipe symbol in Grep templates. (Bug#6784)
3015 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3017 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3019 * buff-menu.el (Buffer-menu-buffer-list): New var.
3020 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3021 restricted buffer list is not lost on revert (Bug#7749).
3023 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3025 * net/ldap.el (ldap-search-internal): Discard stderr output.
3027 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3029 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3031 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3035 2011-01-15 Kenichi Handa <handa@m17n.org>
3037 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3038 part as a plain text.
3039 (rmail-mime-process-multipart): Set the default content-type to
3040 nil for unknown multipart subtypes (bug#7651).
3042 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3044 * hexl.el (hexl-mode-old-*): Remove.
3045 (hexl-mode--old-var-vals): New var to replace them.
3046 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3047 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3048 Use them to set local vars (bug#7846).
3049 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3050 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3051 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3053 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3054 (smerge-resolve--normalize-re): New var.
3055 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3056 (smerge-resolve): Use them.
3057 * newcomment.el (comment-only-p): New function.
3058 (comment-or-uncomment-region): Use it.
3060 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3062 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3063 table, get the value before switching to the output buffer. (Bug#7733)
3065 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3069 2011-01-14 Kim F. Storm <storm@cua.dk>
3071 * emulation/cua-base.el (cua--init-keymaps):
3072 Remap exchange-point-and-mark in cua-global-keymap.
3074 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3076 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3079 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3081 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3083 (easy-menu-create-menu, easy-menu-convert-item-1):
3084 Use :label rather than nil for labels. Use `case'.
3085 Add :enable as alias for :active.
3086 (easy-menu-binding): Obey :label.
3088 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3090 Use run-mode-hooks for major mode hooks (bug#513).
3091 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3092 Rename from reftex-toc-map.
3093 (reftex-toc-mode): Use define-derived-mode.
3094 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3095 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3096 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3097 (reftex-select-label-mode, reftex-select-bib-mode):
3098 Use define-derived-mode.
3099 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3100 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3101 Move init into delcaration.
3102 (reftex-index-mode, reftex-index-phrases-mode):
3103 Use define-derived-mode.
3104 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3105 speedbar-syntax-table. Move init into declaration.
3106 (speedbar-mode-map): Rename from speedbar-key-map.
3107 Move init into declaration.
3108 (speedbar-file-key-map): Move init into declaration.
3109 (speedbar-mode): Use define-derived-mode.
3110 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3111 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3112 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3113 (chart-face-list): Move initialization into declaration.
3114 (chart-mode): Use define-derived-mode.
3115 * calculator.el (calculator-mode-map): Move init into declaration.
3116 (calculator-mode): Use define-derived-mode.
3118 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3119 work for nested comments.
3121 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3122 (prolog-use-prolog-tokenizer-flag): Change default when
3123 syntax-propertize can be used.
3124 (prolog-syntax-propertize-function): New var.
3125 (prolog-mode-variables): Move make-local-variable into `set'.
3126 Don't make comment-column local since we don't set it.
3127 Set comment-add (as it was in previous prolog.el). Use dolist.
3128 Set syntax-propertize-function.
3129 (prolog-mode, prolog-inferior-mode):
3130 Call prolog(-inferior)-menu directly, not through the mode-hook.
3131 (prolog-buffer-module, prolog-indent-level)
3132 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3133 (prolog-comment-limits, prolog-goto-comment-column):
3134 Use line-(end|beginning)-position.
3135 (prolog-build-prolog-command): Tighten up regexp.
3136 (prolog-consult-compile): Move make-local-variable into `set'.
3137 (prolog-consult-compile-filter, prolog-goto-next-paren)
3138 (prolog-help-on-predicate, prolog-clause-info)
3139 (prolog-mark-predicate): Don't let+setq.
3140 (prolog-indent-line): Use indent-line-to.
3141 Only call prolog-goto-comment-column if necessary.
3142 (prolog-indent-level): Use bobp.
3143 (prolog-first-pos-on-line): Remove, not used any more.
3144 (prolog-in-string-or-comment): Use syntax-ppss if available.
3145 (prolog-help-on-predicate): Use read-string.
3146 (prolog-goto-predicate-info): Simplify.
3147 (prolog-read-predicate): Use `default' rather than `initial'.
3148 (prolog-temporary-file): Use make-temp-file to close a security hole.
3149 (prolog-toggle-sicstus-sd): New command.
3150 (prolog-electric-underscore, prolog-variables-to-anonymous):
3151 Use dynamic-scoping as it was meant.
3152 (prolog-menu): Move menu definitions to top-level.
3153 Use a toggle-button for Sicstus's source debugger.
3154 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3156 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3157 Move other menu definition to top-level.
3159 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3161 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3162 name. Keep original document's directory as default-directory
3164 (doc-view-initiate-display): Fall back to normal mode when
3165 doc-view-mode cannot be enabled, also when extracting the document
3166 text into a separate buffer (bug#6446).
3168 * simple.el (shell-command): Don't error out if shell command
3169 buffer contains text with non-nil read-only property when erasing
3172 2011-01-13 Kim F. Storm <storm@cua.dk>
3174 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3175 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3176 items when cycling through the matches.
3178 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3180 * dired-x.el (dired-omit-verbose): New defcustom that allows
3181 disabling the omit messages.
3182 (dired-omit-expunge): Use it.
3184 2011-01-13 Christian Ohler <ohler@gnu.org>
3186 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3188 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3190 * font-lock.el (font-lock-verbose): Default to nil.
3192 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3194 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3195 (compose-mail): New arg RETURN-ACTION.
3196 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3198 * mail/sendmail.el (mail-return-action): New var.
3199 (mail-mode): Make it buffer-local.
3200 (mail-bury): Obey it. Move special Rmail window handling to
3202 (mail, mail-setup): New arg RETURN-ACTION.
3203 (sendmail-user-agent-compose): Move from simple.el.
3205 * mail/rmail.el (rmail-mail-return): New function.
3206 (rmail-start-mail): Pass it to compose-mail.
3208 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3210 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3211 menus. Add menu item for customize-themes.
3213 * cus-theme.el (customize-themes):
3214 * emacs-lisp/package.el (package--list-packages):
3215 Use switch-to-buffer.
3217 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3219 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3221 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * progmodes/prolog.el: Fix up coding convention and such.
3224 (prolog-indent-width): Use the same default as in
3225 previous prolog.el rather than tab-width which depends on which buffer
3226 is current when the file is loaded.
3227 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3229 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3230 (prolog-known-systems): Remove.
3231 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3232 Move initialization into declaration.
3233 (prolog-mode-map): Move initialization into declaration.
3234 Remove system-specific mode-map vars, since they referred to the same
3236 (prolog-mode-variables): Obey the user's preference w.r.t
3237 adaptive-fill-mode. Prefer symbol-value to `eval'.
3238 (prolog-mode-keybindings-edit): Add compatibility bindings.
3239 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3240 (mercury-mode-map): New var.
3241 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3242 (prolog-ensure-process, prolog-process-insert-string)
3243 (prolog-consult-compile): Use with-current-buffer.
3244 (prolog-guess-fill-prefix): Simplify data flow.
3245 (prolog-replace-in-string): New function to use instead of
3247 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3248 (prolog-uncomment-region): Use `uncomment-region' when available.
3249 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3250 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3251 of int-to-char and char-to-int.
3252 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3254 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3256 * progmodes/prolog.el: Replace by a whole new file.
3258 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3261 (declare-function, undefined, insert-for-yank)
3262 (replace-regexp-in-string): Follow checkdoc's recommendations.
3264 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3267 refreshing the diary buffer.
3269 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3271 * allout.el: Add 2011 to the file copyright.
3272 (allout-encrypt-string): Prevent encryption from adding an extra
3273 newline at the end of the topic body.
3274 (allout-version): Increment to 2.3.
3276 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3278 * net/dbus.el (dbus-unregister-service): Complete doc.
3279 Fix call of dbus-error signal.
3280 (dbus-register-property): Use `dont-register' keyword.
3282 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3284 * net/dbus.el (dbus-unregister-service): Translate returned
3285 integer into a symbol.
3286 (dbus-register-property): Use `dbus-register-service' to do the
3289 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3291 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3292 Suggested by Joakim Verona.
3294 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3296 * wid-edit.el (visibility): Replace :on-image and :off-image
3297 widget properties with :on-glyph and :off-glyph, for consistency
3298 with the `visibility' widget.
3299 (widget-toggle-value-create, widget-visibility-value-create):
3300 Merge into a single function `widget-toggle-value-create'.
3302 * cus-edit.el (custom-variable-value-create, custom-visibility)
3303 (custom-face-edit-value-create, custom-face-value-create):
3304 Replace :on-image and :off-image widget properties with :on-glyph and
3305 :off-glyph, for consistency with the `visibility' widget.
3307 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3309 * net/ldap.el (ldap-search-internal): Don't use eval.
3311 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3313 * subr.el (read-char-choice): Use read-key.
3315 * custom.el (custom-safe-themes): Rename from
3316 custom-safe-theme-files. Add :risky tag.
3317 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3318 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3320 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3322 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3323 from Search and add a label to Undo.
3325 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3326 inappropriate buttons and adding :vert-only tags.
3328 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3329 removal of Help tool-bar button. Remove Undo button for space.
3331 * info.el (info-tool-bar-map): Add :vert-only tags.
3333 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3335 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3336 image backend support. Either of them is fine.
3338 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3340 * subr.el (y-or-n-p): Doc fix.
3342 * custom.el (custom-safe-theme-files): New defcustom.
3343 (custom-theme-load-confirm): New function.
3344 (load-theme): Load theme using `load', confirming with
3345 custom-theme-load-confirm if necessary.
3347 * subr.el (read-char-choice): New function, factored out from
3348 dired-query and hack-local-variables-confirm.
3350 * dired-aux.el (dired-query):
3351 * files.el (hack-local-variables-confirm): Use it.
3353 * dired-aux.el (dired-compress-file):
3354 * files.el (abort-if-file-too-large, find-alternate-file)
3355 (set-visited-file-name, write-file, backup-buffer)
3356 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3357 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3358 Use new format string args for y-or-n-p and yes-or-no-p.
3360 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3362 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3363 [gcc-include]: Tighten file name match, add match for column
3365 [gnu]: Remove unused group.
3367 2011-01-08 Glenn Morris <rgm@gnu.org>
3369 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3371 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3373 2011-01-07 Sam Steingold <sds@gnu.org>
3375 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3376 the `explicit-shell-file-name' because that is the
3377 non-interactive shell.
3379 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3381 * subr.el (y-or-n-p): Accept format string args.
3383 2011-01-07 Glenn Morris <rgm@gnu.org>
3385 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3387 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3389 * allout.el (allout-back-to-current-heading): Ensure return to
3390 the visible containing topic, rather than a collapsed one.
3391 (allout-view-change-hook): Remove hook that was deprecated long ago.
3392 (allout-exposure-change-hook): Remove documentation remarks
3393 concerning removed allout-view-change-hook.
3394 (allout-flag-region): Remove invocation of and documentation
3395 remarks concerning allout-view-change-hook.
3397 2011-01-06 Glenn Morris <rgm@gnu.org>
3399 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3400 (vc-bzr-annotate-extract-revision-at-line):
3401 Handle authors with embedded spaces. (Bug#7792)
3403 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3405 * doc-view.el (doc-view-image-width): New variable.
3406 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3407 backend for PNG images, and do dynamic rescaling instead of
3408 reconverting the whole doc.
3410 2011-01-05 Glenn Morris <rgm@gnu.org>
3412 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3414 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3416 * allout.el: Reconcile with changes in line movement behavior for
3417 long text lines that cross more than a single physical window
3418 line, ie when truncate-lines is nil.
3419 (allout-next-visible-heading): Provide for change in line-move
3420 behavior on long lines when truncate-lines is nil. In that case,
3421 line-move can wind up on the same textual line when it moves to
3422 the next window line, and moving to the bullet position after the
3423 move yields zero advancement. Add logic to detect and compensate
3424 for the lack of progress.
3425 (allout-current-topic-collapsed-p): move-end-of-line respect for
3426 field boundaries is different when operating with body lines
3427 shorter than window width versus ones greater than window width,
3428 which can yield false negatives in this function. Avoid
3429 difference by applying move-end-of-line while field-text-motion is
3432 2011-01-04 Glenn Morris <rgm@gnu.org>
3434 * textmodes/rst.el (rst-compile-toolsets):
3435 Add pdf and s5 to option alist.
3437 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3439 * net/dbus.el (dbus-register-property): Add optional parameter
3440 dont-register-service. Updated docstring accordingly.
3442 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3444 * textmodes/rst.el (rst-compile-pdf-preview)
3445 (rst-compile-slides-preview): Remove extra line.
3447 2011-01-04 Glenn Morris <rgm@gnu.org>
3449 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3450 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3451 default to `prog' without a .py extension.
3452 (rst-compile-pdf-preview, rst-compile-slides-preview):
3453 Use program names from rst-compile-toolsets, rather than hard-coding.
3454 (rst-portable-mark-active-p): Fix presumed typo.
3456 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3458 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3459 libpng versions both before and after 1.4.0. (Bug#7716)
3461 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3463 * time.el (display-time-mode): Mention display-time-interval in
3464 the doc string. (Bug#7713)
3466 2011-01-02 Kenichi Handa <handa@m17n.org>
3468 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3469 condition-case and return an error message string if something
3471 (rmail-show-mime): Adjust for the above change. Insert the
3472 header by rmail-mime-insert-header.
3474 2011-01-02 Kenichi Handa <handa@m17n.org>
3476 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3477 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3478 (rmail-mime-mbox-buffer)
3479 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3480 (rmail-mime-entity): Argument changed. All codes handling an
3481 entity object are changed.
3482 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3484 (rmail-mime-entity-children, rmail-mime-entity-handler)
3485 (rmail-mime-entity-tagline): New functions.
3486 (rmail-mime-message-p): New function.
3487 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3488 (rmail-mime-entity-segment, rmail-mime-next-item)
3489 (rmail-mime-previous-item, rmail-mime-shown-mode)
3490 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3491 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3492 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3494 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3495 (rmail-mime-insert-decoded-text): New function.
3496 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3497 (rmail-mime-insert-image): Argument changed. Caller changed.
3498 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3499 (rmail-mime-set-bulk-data): New function.
3500 (rmail-mime-insert-bulk): Argument changed.
3501 (rmail-mime-multipart-handler): Return t.
3502 (rmail-mime-process-multipart): Argument changed.
3503 Handle "multipart/alternative" here.
3504 (rmail-mime-process): Argument changed.
3505 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3506 (rmail-mime-insert): Argument changed. Handle raw display mode.
3507 (rmail-mime): Argument changed. Handle toggling of raw display
3509 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3510 rmail-mime-view-buffer.
3511 (rmail-insert-mime-forwarded-message): Likewise.
3512 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3514 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3515 non-nil, handle the header in rmail-show-mime-function.
3517 2011-01-02 Leo <sdl.web@gmail.com>
3519 * help-fns.el (describe-variable): Fix previous change.
3521 2011-01-02 Juri Linkov <juri@jurta.org>
3523 * isearch.el (isearch-lazy-highlight-error): New variable.
3524 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3525 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3526 to the current value of `isearch-error' (Bug#7468).
3528 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3530 * help-fns.el (describe-variable): Don't emit trailing whitespace
3533 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3535 * textmodes/rst.el (rst-compile-pdf-preview)
3536 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3538 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3540 * emulation/edt-mapper.el: Override mapping of function keys so
3541 that the later call to read-key-sequence works.
3543 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3545 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3546 Unix EOLs. (Bug#7589)
3548 2011-01-02 Leo <sdl.web@gmail.com>
3550 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3551 if point is not behind eshell-last-output-end (Bug#7585).
3553 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * files.el (file-local-variables-alist):
3556 Make permanent-local (bug#7767).
3558 2011-01-02 Glenn Morris <rgm@gnu.org>
3560 * version.el (emacs-copyright): Set short copyright year to 2011.
3562 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3564 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3565 an existing temp buffer. (Bug#7746)
3567 2011-01-02 Glenn Morris <rgm@gnu.org>
3569 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3570 multiple addresses. (Bug#7760)
3572 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3574 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3575 do-auto-fill if everything points back to allout-auto-fill.
3576 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3577 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3579 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3581 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3584 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3586 * doc-view.el (doc-view-set-doc-type): New function refactored
3588 (doc-view-fallback-mode): New function.
3589 (doc-view-mode): Use it.
3590 (doc-view-mode-maybe): New function that checks if doc-view-mode
3591 can be used and falls back to the next best mode otherwise.
3593 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3594 DVI, OpenDocument, and MS Office files.
3596 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3598 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3600 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3602 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3603 on a copy of auto-mode-alist, because that deletes with side
3606 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3608 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3609 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3610 fallback instead of hard coding fundamental mode.
3612 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3614 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3615 Office) files also for searching.
3617 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3619 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3620 Office) files. Not yet enabled via auto-mode-list.
3621 (doc-view-unoconv-program): New custom variable.
3622 (doc-view-mode-p): Handle new odf document type.
3623 (doc-view-odf->pdf): New conversion function.
3624 (doc-view-convert-current-doc): Call it for odf files.
3625 (doc-view-mode): Recognize newly supported file extensions.
3627 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3629 * net/tramp.el (tramp-default-method-alist)
3630 (tramp-default-user-alist)
3631 (tramp-local-host-regexp, tramp-prefix-domain-format)
3632 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3635 * net/tramp-gvfs.el:
3637 * net/tramp-imap.el:
3639 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3640 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3642 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3644 * saveplace.el (save-place-alist-to-file): Save list sorted and
3645 pretty-printed, so that it is mergeable by line-based text merging,
3646 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3648 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3650 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3651 (allout-mode): Argument "toggle" => "force".
3652 Refine the docstring.
3653 Remove special provisions for reactivation, besides the 'force'
3655 Consolidate layout provisions coce directly into the activation
3656 condition branch, now that we've removed those provisions.
3657 (allout-unload-function): Explicitly activate the mode before
3658 deactivating, if it's initially deactivated.
3659 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3660 warnings for version of function used only where
3661 set-buffer-multibyte is unavailable.
3663 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3665 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3666 are handled by the menu-bar entries. As before, don't use
3667 :visibile to avoid changing the tool-bar.
3669 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3671 * net/secrets.el (secrets-delete-alias): New defun.
3673 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3675 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3676 methods, otherwise ~/.ssh/config would be ignored.
3678 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3680 * emacs-lisp/rx.el: Make it a superset of sregex.
3681 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3682 of args, add `regex' alias.
3683 (rx-info): Add arg to distinguish head and standalone forms.
3684 (rx-check, rx-form): Pass the corresponding arg.
3686 (rx-repeat): Make it work for any number of args.
3687 (rx-syntax): Make it accept syntax chars as is.
3688 * obsolete/sregex.el: Move from emacs-lisp/.
3689 * emacs-lisp/re-builder.el: Remove sregex support.
3690 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3692 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3694 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3695 PRIMARY first, then the clipboard. (Bug#7699)
3697 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3699 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3702 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3704 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3705 .emacs.elc (Bug#7530).
3707 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3708 image spec (Bug#7480).
3710 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3712 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3713 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3716 2010-12-20 Leo <sdl.web@gmail.com>
3718 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3719 always be performed (Bug#7680).
3721 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3723 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3724 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3727 * color.el: Move from gnus/.
3729 * vc/diff.el (diff-better-file-name): Function deleted.
3730 abbreviating file names causes problems with shell-quote-argument.
3731 (diff-no-select): Just use expand-file-name.
3733 * tool-bar.el (tool-bar--image-expression): New function.
3734 (tool-bar-local-item, tool-bar--image-exp): Use it.
3735 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3736 Use :enable instead of :visible to avoid changing the tool-bar
3737 configuration unnecessarily.
3739 * info.el (info-tool-bar-map): Add separators.
3741 2010-12-17 Ken Brown <kbrown@cornell.edu>
3743 * loadup.el: Use version numbers in Cygwin build.
3745 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3747 * ido.el (ido-file-internal): Ask for confirmation before
3748 overwriting an existing file (Bug#1238).
3750 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3752 * tool-bar.el (tool-bar-setup): Add separators.
3754 * menu-bar.el (featurep): Use menu-bar-separator.
3756 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3758 Migrate allout encryption provisions from pgg to epg.
3760 * allout.el (allout-toggle-current-subtree-encryption)
3761 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3762 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3763 for simpler universal argument interpretation.
3764 (allout-toggle-subtree-encryption): Adjust docstring to describe
3765 changed encryption provisions. Change fetch-pass to keymode-cue, for
3766 simpler universal argument interpretation. Remove provisions for
3767 handling key type and identity - they'll all be within
3768 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3769 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3770 for keypair recipients (universal argument > 1) and, in addition,
3771 associating the specified recipients with the outline (universal
3772 argument > 4) using a file local variable setting for
3773 'epa-file-encrypt-to'.
3774 Require epa, for recipients handling.
3775 Change how regexp filtering elements are named.
3776 Describe the problem with caching of incorrect symmetric-decryption
3778 Use the epa-passphrase-callback-function, in case the user is using
3780 Support saving of the selected keypair recipients when invoked with a
3782 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3784 Establish epg-context with armoring and default epg-protocol.
3785 Remove all passphrase cache, verification, and hinting code.
3786 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3787 No longer used, delete.
3788 (allout-mode): Adjust docstring to describe changed encryption
3789 provisions. Describe the problem with caching of incorrect
3790 symmetric-decryption keys.
3791 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3792 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3793 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3794 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3797 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3799 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3800 key selection prompt; make 'silent as default (Bug#7487).
3802 2010-12-16 Leo <sdl.web@gmail.com>
3804 * eshell/eshell.el (eshell-directory-name):
3805 Use locate-user-emacs-file (Bug#7578).
3807 2010-12-15 Glenn Morris <rgm@gnu.org>
3809 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3811 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3812 Scott Evans <gse@antisleep.com>
3814 * rect.el (rectange--default-line-number-format)
3815 (rectangle-number-line-callback): New functions.
3816 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3818 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3820 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3821 Delete unused variables.
3822 (move-to-column-force): Remove function obsolete since 21.2.
3824 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3826 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3827 (tramp-handle-insert-file-contents): Do not set permanent-local
3830 * net/tramp-cache.el (tramp-persistency-file-name):
3831 Use `locate-user-emacs-file' if fboundp.
3833 * net/tramp-sh.el (tramp-methods): Add "ksu".
3834 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3837 2010-12-14 Glenn Morris <rgm@gnu.org>
3839 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3840 (find-tag-marker-ring): Declare.
3841 (js-find-symbol): Require etags.
3843 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3845 (mail-alias-file): Don't autoload. Doc fix.
3846 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3847 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3848 Mark as obsolete, and risky.
3849 (mail-setup): Simplify.
3851 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3852 * mail/sendmail.el (build-mail-aliases): Update autoload.
3854 * dired.el (dired-trivial-filenames, dired-chown-program)
3855 (dired-auto-revert-buffer): Remove autoload cookies.
3856 * mail/sendmail.el (mail-recover-1): Require 'dired.
3858 * dired.el (dired-subdir-switches, dired-chown-program)
3859 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3860 Make into defcustoms.
3861 (dired-chown-program): Simplify initialization.
3863 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3865 2010-12-13 Romain Francoise <romain@orebokech.com>
3867 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3869 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3871 * net/netrc.el (netrc-point-at-eol): Remove the unused
3872 netrc-point-at-old and netrc-bound-and-true-p bindings.
3873 (netrc-parse): Cache the netrc contents.
3875 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3877 * subr.el (posn-col-row): Evaluate header-line-format in the
3878 context of the POSITION window's buffer.
3880 2010-12-13 Glenn Morris <rgm@gnu.org>
3882 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3883 (with-silent-modifications): Doc fixes.
3885 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3887 * net/tramp.el (tramp-action-password, tramp-process-actions):
3888 Revert previous from. Use `save-restriction'.
3890 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3892 * calendar/diary-lib.el (diary-list-sexp-entries):
3893 Handle case of no newline at end of file. (Bug#7536)
3895 2010-12-13 Glenn Morris <rgm@gnu.org>
3897 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3899 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3901 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3902 (tramp-process-actions): Do not widen.
3904 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3905 Protect buffer-modified value. (Bug#7557)
3907 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3909 * log-edit.el (log-edit-changelog-entries):
3910 Regexp quote filename. (Bug#7505)
3912 2010-12-13 Tom Breton <tehom@panix.com>
3914 * cus-edit.el (custom-save-all):
3915 Bind print-length and print-level to nil. (Bug#7581)
3917 2010-12-13 Glenn Morris <rgm@gnu.org>
3919 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3920 Run hooks to update menu contents. (Bug#7586)
3922 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3923 file names, for the sake of MS Windows. (Bug#7588)
3925 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3928 empty lines without a leading space.
3930 2010-12-13 Leo <sdl.web@gmail.com>
3932 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3933 while mapping over marks (Bug#6810).
3935 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3937 * image-dired.el (image-dired-db-file)
3938 (image-dired-temp-image-file, image-dired-gallery-dir)
3939 (image-dired-temp-rotate-image-file): Set default values relative
3940 to image-dired-dir (Bug#7518).
3942 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3944 * format.el (format-decode-run-method): Pass args FROM and TO, not
3945 point-min and point-max, to shell-command-on-region (Bug#7488).
3947 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3949 * frame.el (blink-cursor-mode): Make default t for ns.
3951 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3953 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3955 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3957 * comint.el (comint-dynamic-list-input-ring)
3958 (comint-dynamic-complete-filename)
3959 (comint-replace-by-expanded-filename)
3960 (comint-dynamic-simple-complete)
3961 (comint-dynamic-list-filename-completions)
3962 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3964 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3967 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3969 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3972 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3974 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3977 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3979 * files.el (file-relative-name): Handle UNC file names on
3980 DOS/Windows. (Bug#4674)
3982 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3984 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3985 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3986 (epg-context-set-passphrase-callback): Mention that the callback
3987 is not called when used with GnuPG 2.x.
3989 2010-12-13 Glenn Morris <rgm@gnu.org>
3991 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3992 Ensure ps-footer-font-size-internal is initialized.
3993 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3995 2010-12-13 Kenichi Handa <handa@m17n.org>
3997 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3998 within condition-case.
3999 (rmail-show-mime): Don't use condition-case.
4000 (rmail-search-mime-message): New function.
4001 (rmail-search-mime-message-function): Set to
4002 rmail-search-mime-message.
4004 2010-12-13 Leo <sdl.web@gmail.com>
4006 * ido.el (ido-common-initialization): New function. (bug#3274)
4008 (ido-completing-read): Call it.
4010 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4012 * bookmark.el (bookmark-name-from-full-record): Rename back to
4013 this original name from `bookmark-name-from-record' reverting part
4014 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4015 As Drew Adams pointed out, there was no reason to cause churn for
4016 third-party callers. (Bug#7609)
4018 2010-12-12 Alan Mackenzie <acm@muc.de>
4020 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4021 template arglist, check that the current language supports this.
4023 2010-12-11 Glenn Morris <rgm@gnu.org>
4025 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4026 state of the file matches. (Bug#7544)
4027 (vc-bzr-register, vc-bzr-checkin)
4028 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4029 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4031 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4033 2010-12-11 Karel Klíč <kklic@redhat.com>
4035 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4037 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4039 Derive from prog-mode, use derived-mode-p, and fix up various
4040 minor style issues in lisp/progmodes.
4042 * progmodes/vhdl-mode.el (vhdl-mode):
4043 * progmodes/verilog-mode.el (verilog-mode):
4044 * progmodes/vera-mode.el (vera-mode):
4045 * progmodes/sql.el (sql-mode):
4046 * progmodes/scheme.el (scheme-mode):
4047 * progmodes/perl-mode.el (perl-mode):
4048 * progmodes/octave-inf.el (inferior-octave-mode):
4049 * progmodes/autoconf.el (autoconf-mode):
4050 * progmodes/m4-mode.el (m4-mode):
4051 * progmodes/inf-lisp.el (inferior-lisp-mode):
4052 * progmodes/idlwave.el (idlwave-mode):
4053 * progmodes/icon.el (icon-mode):
4054 * progmodes/idlw-help.el (idlwave-help-mode):
4055 * progmodes/dcl-mode.el (dcl-mode):
4056 * progmodes/idlw-shell.el (idlwave-shell-mode):
4057 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4058 (ebrowse-member-mode, ebrowse-electric-position-mode):
4059 Use define-derived-mode.
4061 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4062 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4063 (xscheme-debugger-mode-p, xscheme-send-string-1):
4064 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4065 (tcl-load-file, tcl-restart-with-file):
4066 * progmodes/ps-mode.el (ps-run-running):
4067 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4068 * progmodes/js.el (js--get-all-known-symbols):
4069 * progmodes/inf-lisp.el (inferior-lisp-proc):
4070 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4071 (idlwave-template, idlwave-update-buffer-routine-info)
4072 (idlwave-update-current-buffer-info)
4073 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4074 (idlwave-scan-class-info, idlwave-fix-keywords)
4075 (idlwave-list-buffer-load-path-shadows):
4076 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4077 (idlwave-toolbar-remove):
4078 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4079 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4080 (idlwave-shell-menu-def):
4081 * progmodes/idlw-complete-structtag.el
4082 (idlwave-prepare-structure-tag-completion):
4083 * progmodes/gud.el (gud-set-buffer):
4084 * progmodes/f90.el (f90-backslash-not-special):
4085 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4087 * progmodes/xscheme.el (xscheme-start)
4088 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4089 * progmodes/which-func.el (which-function):
4090 * progmodes/vhdl-mode.el (vhdl-set-style):
4091 * progmodes/verilog-mode.el (verilog-set-compile-command)
4092 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4093 (verilog-set-define, verilog-auto-reeval-locals):
4094 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4095 * progmodes/simula.el (simula-mode):
4096 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4097 * progmodes/python.el (python-check, python-mode):
4098 * progmodes/prolog.el (prolog-mode-variables):
4099 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4100 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4101 * progmodes/delphi.el (delphi-mode):
4102 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4103 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4104 (c-font-lock-init): Move make-local-variable to their setq.
4106 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4107 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4109 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4110 (sh-set-shell): Don't set require-final-newline since it's already done
4112 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4113 since we never set it.
4114 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4115 Use read-string and standard prompt.
4116 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4117 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4118 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4119 (meta-common-mode-map): Rename from meta-mode-map.
4120 Remove C-m binding, which is a user preference, not mode specific.
4121 (meta-common-mode): New major mode; replace meta-common-initialization.
4122 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4123 around with font-lock.
4124 * progmodes/etags.el (select-tags-table-mode):
4125 Derive from special-mode.
4126 * progmodes/octave-mod.el (octave-mode):
4127 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4128 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4129 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4130 Let define-derived-mode do its job.
4131 * progmodes/cpp.el (cpp-edit-mode-map):
4132 Move initialization into declaration.
4133 (cpp-edit-mode): Use define-derived-mode.
4134 (cpp-edit-load): Use derived-mode-p.
4135 * progmodes/mixal-mode.el (mixal-mode):
4136 * progmodes/f90.el (f90-mode):
4137 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4138 require-final-newline since prog-mode does it already.
4139 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4140 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4141 * progmodes/antlr-mode.el: Require cc-mode upfront.
4142 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4144 (antlr-directory-dependencies, antlr-show-makefile-rules):
4146 (antlr-language-option): Don't assume point-min==1.
4147 (antlr-mode): Use define-derived-mode.
4148 * progmodes/ada-mode.el: Use derived-mode-p.
4149 (ada-mode): Use define-derived-mode.
4150 Use hack-local-variables-hook.
4152 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4155 (texinfo-mode): Don't disable adaptive-fill-mode.
4156 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4157 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4158 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4159 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4160 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4161 (texinfo-insert-@quotation, texinfo-insert-@samp)
4162 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4163 (texinfo-insert-@uref): Use define-skeleton.
4164 (texinfo-insert-@-with-arg): Delete.
4166 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4168 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4169 nil, do quote archive member names. (Bug#6144)
4171 2010-12-10 Glenn Morris <rgm@gnu.org>
4173 * files.el (diff-no-select): Declare.
4175 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4176 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4178 * comint.el (comint-input-ring-file-name): Doc fix.
4180 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4182 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4184 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4185 Use them instead of `nil' and `>', respectively.
4186 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4188 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4189 and menu-bar-positive-p instead of `nil' and `>', respectively.
4192 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4194 * whitespace.el (whitespace-newline-mode): Code fix.
4196 2010-12-09 Glenn Morris <rgm@gnu.org>
4198 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4199 Rename functions without commas, update callers.
4201 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4203 * whitespace.el (whitespace-cleanup-region):
4204 Clean up spaces before tabs. (Bug#7582)
4206 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4208 * bookmark.el: Adjust parameter names and doc strings to resolve
4209 confusion over whether "bookmark" meant a bookmark name or a
4210 bookmark record. Along the way, shorten one function's name for
4211 similar reasons. (Issue #7548)
4212 (bookmark-name-from-record): New name for
4213 `bookmark-name-from-full-record'. All callers changed.
4214 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4215 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4216 (bookmark-get-annotation, bookmark-set-annotation)
4217 (bookmark-get-filename, bookmark-set-filename)
4218 (bookmark-get-position, bookmark-set-position)
4219 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4220 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4221 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4222 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4223 Rename `bookmark' parameter to `bookmark-name-or-record', to
4224 clearly show its role, and shorten or adjust doc strings accordingly.
4225 (bookmark-set-name): Same, and pass the parameter directly to
4226 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4227 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4228 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4229 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4230 and in some cases shorten doc string accordingly.
4231 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4232 and `new-name', and adjust an internal variable to avoid confusion.
4233 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4234 parameter in doc string.
4236 2010-12-08 Glenn Morris <rgm@gnu.org>
4238 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4239 from gdb's history file. (Bug#7575)
4241 * mail/emacsbug.el (report-emacs-bug):
4242 Try to handle some other mail clients.
4244 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4247 Use string-prefix-p.
4248 (file-name-version-regexp): New var.
4249 (file-name-sans-versions):
4250 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4251 (jka-compr-get-compression-info): Use dolist.
4252 (jka-compr-compression-info-list): Don't bother specifying
4253 version/backup regexps.
4255 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4257 * simple.el (just-one-space): Make argument n default to 1 if
4260 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4262 * electric.el (electric-indent-post-self-insert-function):
4263 Delete trailing newlines even if we don't reindent.
4265 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * minibuffer.el (completion-at-point): Remove the `arg'.
4268 * bindings.el (complete-symbol): Move back from minibuffer.el.
4270 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4272 * simple.el (just-one-space): Delete newlines for negative arg.
4274 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4277 (ansi-color-filter-apply): Simplify.
4278 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4280 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4282 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4284 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4286 * dired.el (dired-use-ls-dired): Set default to a special
4287 "unspecified" value.
4288 (dired-insert-directory): When called the first time, check
4289 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4291 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4293 * replace.el: Add "collect" feature to occur.
4294 (occur-collect-regexp-history): New var.
4295 (occur-read-primary-args): Return a replace string for nlines,
4297 (occur): Extend the meaning of nlines.
4299 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4302 (which-func-update-1): Distinguish symbols from strings.
4303 (which-function): Stay within 80 columns.
4305 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4309 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4311 (comment-style): Use comment-styles's docs to describe values.
4313 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4315 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4316 and ns-show-prefs (Bug#7535).
4318 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4319 bindings (Bug#7535).
4321 2010-12-03 Glenn Morris <rgm@gnu.org>
4323 * nxml/nxml-mode.el: Require rng-nxml.
4324 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4325 Remove declarations.
4327 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4328 * nxml/rng-nxml.el, nxml/rng-valid.el:
4329 Remove leading `*' from defcustom docs.
4331 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4332 (normal-top-level-add-to-load-path, tty-handle-args):
4333 Convert comments to basic doc-strings.
4335 * net/browse-url.el (browse-url-url-at-point)
4336 (browse-url-default-browser): Remove autoload cookies.
4338 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4339 Remove more undefined cl functions.
4341 * vc/diff.el (diff-sentinel): Make new arguments optional.
4342 * ibuf-ext.el (diff-sentinel): Update declaration.
4344 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4346 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4347 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4348 (epg-context-set-passphrase-callback): Mention that the callback
4349 is not called when used with GnuPG 2.x.
4351 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4353 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4354 (tramp-file-name-port): Check also for `tramp-default-port'.
4355 (tramp-get-connection-name): New defun.
4356 (tramp-get-connection-process): Use it.
4357 (tramp-debug-message): Extend function exclude list.
4358 (tramp-drop-volume-letter): Fix doc string.
4360 * net/tramp-cmds.el: Remove solved todo item.
4363 * net/tramp-gvfs.el:
4365 * net/tramp-imap.el:
4366 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4367 and `tramp-default-user-alist', respectively.
4369 * net/tramp-gw.el (tramp-gw-open-connection):
4370 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4372 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4373 `tramp-file-name-port'.
4375 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4376 and "psftp". Exchange "%k" marker with options.
4377 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4378 Compute size of link target.
4379 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4380 `tramp-current-*' up due to gateway methods. Optimize computing of
4381 copy arguments. Use `tramp-get-connection-name' and
4382 `tramp-get-connection-buffer'. Improve debug messages.
4383 (tramp-compute-multi-hops): Remove port determination.
4384 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4386 * net/trampver.el: Update release number.
4388 2010-12-02 Glenn Morris <rgm@gnu.org>
4390 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4391 Avoid infinite loop over windows. (Bug#7492)
4393 * progmodes/flymake.el (flymake-check-file-limit):
4394 Allow nil to mean "no limit".
4395 (flymake-check-patch-master-file-buffer): Update for above change.
4396 Allow a .tex file-name extension to be optional.
4397 (flymake-master-tex-init): Also match \include statements.
4399 2010-11-30 Sam Steingold <sds@gnu.org>
4401 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4402 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4403 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4404 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4405 define-derived-mode').
4406 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4407 users who want to call `nxml-parent-document-set'.
4409 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4411 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4412 stand-alone lines, since that is handled by log-edit-match-to-eoh
4415 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4417 * dired.el (dired-get-filename): Replace backslashes with slashes
4418 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4419 * locate.el (locate-default-make-command-line): Don't consider
4420 drive letter and root directory part of
4421 `directory-listing-before-filename-regexp'. (Bug#7308)
4422 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4424 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4427 of :smie-open/close-alist.
4428 (smie-next-sexp): Make it accept a "start token" as argument.
4429 (smie-indent-keyword): Be careful not to misidentify tokens that span
4430 more than one line, as empty lines. Add argument `token'.
4432 2010-11-27 Kenichi Handa <handa@m17n.org>
4434 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4435 multipart subtypes, insert all as usual.
4437 * mail/rmail.el: Require rfc2047.
4439 2010-11-27 Kenichi Handa <handa@m17n.org>
4441 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4442 (rmail-mime-entity-disposition)
4443 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4444 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4445 (rmail-mime-save): Handle the case that the button's `data' is a
4447 (rmail-mime-insert-text): New function.
4448 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4449 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4450 (rmail-mime-insert-bulk): New function mostly copied from the old
4451 rmail-mime-bulk-handler.
4452 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4453 (rmail-mime-process-multipart): New function mostly copied from
4454 the old rmail-mime-multipart-handler.
4455 (rmail-mime-show): Just call rmail-mime-process.
4456 (rmail-mime-process): New function mostly copied from the old
4458 (rmail-mime-insert-multipart, rmail-mime-parse)
4459 (rmail-mime-insert, rmail-show-mime)
4460 (rmail-insert-mime-forwarded-message)
4461 (rmail-insert-mime-resent-message): New functions.
4462 (rmail-insert-mime-forwarded-message-function): Set to
4463 rmail-insert-mime-forwarded-message.
4464 (rmail-insert-mime-resent-message-function): Set to
4465 rmail-insert-mime-resent-message.
4467 * mail/rmailsum.el: Require rfc2047.
4468 (rmail-header-summary): Handle multiline Subject: field.
4469 (rmail-summary-line-decoder): Change the default to
4470 rfc2047-decode-string.
4472 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4473 (rmail-mime-feature): Change the default to `rmailmm'.
4474 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4475 (rmail-display-labels): Likewise.
4476 (rmail-show-message-1): Check rmail-enable-mime, and use
4477 rmail-show-mime-function for a MIME message. Decode the headers
4478 according to RFC2047.
4480 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4482 * progmodes/which-func.el (which-func-imenu-joiner-function):
4483 Return a string, as expected.
4484 (which-function-mode): Make sure we stop any previous timer before
4487 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4489 * net/tramp.el (tramp-default-method-alist)
4490 (tramp-default-user-alist, tramp-default-proxies-alist):
4491 Adapt custom options type. (Bug#7445)
4493 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4495 * progmodes/python.el: Add Ipython support (Bug#5390).
4496 (python-shell-prompt-alist)
4497 (python-shell-continuation-prompt-alist): New options.
4498 (python--set-prompt-regexp): New function.
4499 (inferior-python-mode, run-python, python-shell):
4500 Require ansi-color. Use python--set-prompt-regexp to set the comint
4501 prompt based on the Python interpreter.
4502 (python--prompt-regexp): New var.
4503 (python-check-comint-prompt)
4504 (python-comint-output-filter-function): Use it.
4505 (run-python): Use a pipe (Bug#5694).
4507 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4509 * progmodes/python.el (run-python): Doc fix.
4510 (python-keep-current-directory-in-path): New var (Bug#7454).
4512 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4514 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4515 Prompt user before actually printing.
4517 2010-11-27 Glenn Morris <rgm@gnu.org>
4519 * startup.el (package-enable-at-startup, package-initialize):
4520 Remove unnecessary declarations.
4522 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4524 * international/characters.el (glyphless-char-display-control):
4525 Exclude newline and TAB from the c0-control group.
4527 2010-11-27 Glenn Morris <rgm@gnu.org>
4529 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4530 (expand-mail-aliases): Remove unnecessary autoload.
4532 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4534 * shell.el (shell-dir-cookie-re): Move definition before use.
4536 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4537 Replace undefined CL functions.
4539 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4541 * simple.el (prog-mode): Set bidi-paragraph-direction to
4544 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4546 2010-11-26 Glenn Morris <rgm@gnu.org>
4548 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4549 diary-outlook-formats can be sensitive to calendar-date-style.
4550 (diary-outlook-formats): Simplify the default setting.
4551 (diary-from-outlook-internal): Pass subject and body as arguments.
4552 Use dolist rather than dotimes. Don't save the diary buffer.
4553 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4554 Pass subject and body as explicit arguments to the -internal function.
4556 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4559 parsing them. This makes mailto:...?subject=foo\nbar work.
4561 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * vc/diff.el (diff): Fix last change.
4565 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4567 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4568 (pcase--dontcare-upats): New var.
4569 (pcase-let, pcase-let*): Generate better code.
4570 Accept the same bodies as `let'.
4571 (pcase-dolist): New macro.
4572 (pcase--trivial-upat-p): New helper function.
4573 (pcase--expand): Strip leading "(let nil" if any.
4575 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577 * mail/mailclient.el (browse-url): Require.
4578 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4579 use the external browser function to send the mail (bug#7469).
4581 * net/browse-url.el (browse-url-browser-function): Revert the
4582 default back to the previous value, since the new value broke
4584 (browse-url-mailto-function): New variable for mailto: URLs.
4585 (browse-url): Use the new variable for mailto: URLs.
4587 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * eshell/esh-cmd.el (eshell-parse-command):
4590 * eshell/esh-arg.el (eshell-parse-arguments):
4591 * eshell/em-script.el (eshell-source-file):
4592 Use with-silent-modifications.
4594 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4596 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4597 for a merge location.
4599 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4600 (vc-bzr-merge-branch): Always prompt.
4601 (vc-bzr-async-command): Use the full branch filename.
4603 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * shell.el (shell): Use current-buffer by default if it's already
4606 a shell mode buffer and its process is dead.
4607 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4609 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4611 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4612 Mention that the keywords should be comma separated.
4614 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4616 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4617 Accept optional prefix arg meaning to prompt for a command.
4618 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4619 prefix arg meaning to prompt for a command.
4620 (vc-pull): Alias for vc-update.
4622 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4623 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4624 (vc-bzr-merge-branch): New functions, implementing merge-branch
4625 and pull operations.
4627 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * Makefile.in: Fix up last merge.
4631 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4632 (diff-sentinel): Get them as arguments instead.
4633 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4634 (diff-file-local-copy, diff-better-file-name): New funs.
4635 (diff-no-select): Rename from diff-into-buffer.
4636 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4637 Prefer closures to buffer-local variables.
4638 (diff): Adjust accordingly.
4639 (diff-buffer-with-file): Move from files.el.
4640 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4641 (diff-buffer-internal): Remove.
4642 (diff-buffer-buffer): Remove.
4643 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4644 the buffer name used, and so as not to mess up windows and frames.
4646 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4648 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4649 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4650 (diff-buffer-with-file): Use it.
4651 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4654 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4656 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4657 \ref's or \pageref's value as default instead of initial input.
4659 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4661 * files.el (backup-by-copying-when-mismatch): The default value is
4664 * startup.el (normal-top-level):
4665 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4666 `backup-by-copying-when-mismatch'.
4668 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4670 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4672 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4674 * progmodes/python.el (python-font-lock-keywords):
4675 Highlight top-level augmented assignments (Bug#6445).
4677 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4679 * term/ns-win.el (ns-right-control-modifier)
4680 (ns-right-command-modifier): Defvar them.
4682 * cus-start.el (all): Add ns-right-control-modifier and
4683 ns-right-command-modifier (Bug#7458).
4685 2010-11-20 Glenn Morris <rgm@gnu.org>
4687 * emacs-lisp/authors.el (authors-ignored-files)
4688 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4690 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4692 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4693 (report-emacs-bug-parse-query-results)
4694 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4695 keywords used for querying the bug database to show them in the
4696 existing bugs buffer.
4698 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4700 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4702 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4704 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4706 * international/characters.el (glyphless-char-display-control):
4707 Make it a defcustom, with update-glyphless-char-display as its
4709 (top level): Don't call update-glyphless-char-display.
4711 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4713 Sync with Tramp 2.2.0.
4715 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4716 `file-remote-p' (due to compatibility).
4718 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4719 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4721 * net/trampver.el: Update release number.
4723 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4725 * faces.el (glyphless-char): Define value for `pc'.
4727 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4729 Implemented a bug querying mechanism.
4730 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4731 (report-emacs-bug-create-existing-bugs-buffer)
4732 (report-emacs-bug-parse-query-results)
4733 (report-emacs-bug-query-existing-bugs): New functions.
4735 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4737 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4738 a \ref{} or \pageref{} macro, then use its value as initial input.
4740 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4742 * calc/calc-units.el (math-build-units-table-buffer):
4743 calc/README: Mention that the TeX specific units won't use the
4744 `tex' prefix in TeX mode.
4745 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4746 prefix for units in TeX mode.
4748 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * simple.el (kill-new, kill-append, kill-region):
4751 * comint.el (comint-kill-region): Make the yank-handler argument
4754 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4756 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4757 that are both openers (resp. closers) and something else.
4758 (smie-grammar): Loosen definition of valid values.
4759 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4760 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4761 (smie-indent-after-keyword): Adjust users.
4762 (smie-indent-keyword): Don't indent empty lines.
4764 * vc-hg.el (vc-hg-program): New var.
4765 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4766 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4768 2010-11-18 Glenn Morris <rgm@gnu.org>
4770 * emacs-lisp/autoload.el (autoload-find-destination): The function
4771 coding-system-eol-type may return non-numeric values. (Bug#7414)
4773 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4775 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4777 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4779 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4781 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4783 * textmodes/picture.el (picture-mouse-set-point): Don't use
4784 posn-col-row; explicitly compute the motion based on the posn at
4785 the window-start (Bug#7390).
4787 2010-11-18 Glenn Morris <rgm@gnu.org>
4789 * novice.el (disabled-command-function):
4790 Fix 2009-11-15 change. (Bug#7384)
4792 2010-11-18 Glenn Morris <rgm@gnu.org>
4794 * calendar/calendar.el (diary-iso-date-forms): Make elements
4795 mutually exclusive. (Bug#7377)
4797 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4800 when filling the remaining "unconstrained" values.
4802 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4804 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4807 * files.el (safe-local-variable-p): Gracefully handle errors.
4809 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4810 Use smie-indent-virtual when indenting relative to an opener.
4811 (smie-rule-separator): Use smie-rule-parent.
4812 (smie-indent-keyword): Consult rules, even for openers at bol.
4813 (smie-indent-comment-close): Try to align closer's content.
4815 2010-11-18 Glenn Morris <rgm@gnu.org>
4817 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4819 2010-11-18 Glenn Morris <rgm@gnu.org>
4821 * printing.el (pr-menu-bind): Doc fix.
4823 * speedbar.el (speedbar-toggle-images): Doc fix.
4825 * progmodes/python.el (python-shell): Doc fix.
4827 * wid-edit.el (widget-field-use-before-change)
4828 (widget-use-overlay-change): Doc fixes.
4830 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4832 Minor cleanup to improve style.
4833 * textmodes/rst.el (rst-update-section): Use point-marker.
4834 (rst-get-decoration): Eliminate unneeded assignment.
4835 (rst-promote-region, rst-straighten-decorations)
4836 (rst-section-tree, rst-adjust): Use point-marker.
4837 (rst-toc-mode-mouse-goto): Avoid setq.
4838 (rst-shift-region-guts, rst-shift-region-left)
4839 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4840 (rst-convert-bullets-to-enumeration): Use copy-marker.
4842 * minibuffer.el (completion-fail-discreetly): New var.
4843 (completion--do-completion): Use it.
4845 * electric.el (electric-pair-pairs): New var.
4846 (electric-pair-post-self-insert-function): Use it.
4847 (electric-layout-post-self-insert-function): Don't insert a before
4848 newline unless it's actually needed.
4850 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * progmodes/python.el (run-python): Explain why we remove the current
4853 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4855 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4857 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4859 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4860 (octave-mode-map): Don't bind ;, SPC, and LF.
4861 (octave-auto-indent, octave-auto-newline): Remove.
4862 (electric-layout-rules): Declare.
4863 (octave-mode): Set electric-layout-rules.
4864 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4865 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4866 (octave-electric-space): Remove.
4868 * electric.el (electric-layout-mode): New minor mode.
4869 (electric--after-char-pos): New function.
4870 (electric-indent-post-self-insert-function): Use it.
4871 (electric-layout-rules): New var.
4872 (electric-layout-post-self-insert-function): New function.
4873 (electric-indent-mode): Make them interact better.
4875 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4878 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4879 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4881 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4883 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4884 Make sure to check inside the word (Bug#6761).
4886 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4888 * startup.el (command-line): If the cursorColor resource is set,
4889 change the cursor face-spec (Bug#7392).
4891 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4893 The main features of the following allout.el changes are:
4894 - implement user customization for the allout key bindings
4895 - add a customization control by which the user can inhibit use of
4896 a trailing Ctrl-H, so by default it's reserved for use with
4897 describe-prefix-bindings
4898 - adapt to new version of called-interactively-p, while
4899 maintaining backwards compatibility with old version
4900 - fix hotspot navigation so i works properly with meta-modified keys.
4902 * allout.el (allout-keybindings, allout-bind-keys)
4903 (allout-keybindings-binding, allout-prefixed-keybindings)
4904 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4905 (allout-keybindings-list, allout-mode-map-adjustments)
4906 (allout-setup-mode-map): Establish allout-mode keymaps as user
4907 customizable settings, and also establish a customizable setting which
4908 regulates whether or not a trailing control-h is reserved for use with
4909 describe-prefix-bindings - and inhibit it by default, so that control-h
4910 *is* reserved for describe-prefix-bindings unless the user changes it.
4912 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4913 and accurately between modified and unmodified events, and handle
4914 modified events more comprehensively.
4916 * allout.el (allout-substring-no-properties):
4917 Alias to use or provide version of `substring-no-properties'.
4918 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4920 * allout.el (allout-next-single-char-property-change):
4921 Alias to use or provide version of `next-single-char-property-change'.
4922 (allout-annotate-hidden, allout-hide-by-annotation):
4923 Use `allout-next-single-char-property-change'.
4925 * allout.el (allout-select-safe-coding-system):
4926 Alias to use or provide version of `select-safe-coding-system'.
4927 (allout-toggle-subtree-encryption):
4928 Use `allout-select-safe-coding-system'.
4930 * allout.el (allout-set-buffer-multibyte):
4931 Alias to use or provide version of `set-buffer-multibyte'.
4932 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4934 * allout.el (allout-called-interactively-p): Macro for using the
4935 different versions of called-interactively-p identically, depending on
4936 the subroutine's argument signature.
4937 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4938 Use `(interactive "p")' instead of `(called-interactively-p)'.
4940 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4941 (allout-previous-visible-heading, allout-forward-current-level)
4942 (allout-backward-current-level, allout-show-children):
4943 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4945 * allout.el (allout-before-change-handler):
4946 Exempt edits to the (overlaid) character after the allout outline
4947 bullet from edit confirmation prompt.
4949 * allout.el (allout-add-resumptions):
4950 Ensure that it respects correct buffer for keybindings.
4952 * allout.el (allout-beginning-of-line):
4953 Use `allout-previous-single-char-property-change' alias for the sake of
4954 diverse compatibility.
4956 * allout.el (allout-end-of-line):
4957 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4959 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4961 * frame.el (frame-notice-user-settings): Don't clobber other
4962 user-set parameters when calling face-set-after-frame-default in
4963 response to background-color parameter (Bug#7373).
4965 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4967 * international/characters.el (glyphless-char-display-control):
4968 Rename from glyphless-char-control; all users changed. Doc fix.
4969 Signal an error if display method is not one of the recognized
4972 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4974 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4975 (tramp-compat-line-end-position): Remove them.
4977 * net/tramp.el (tramp-parse-rhosts-group)
4978 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4979 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4980 (tramp-parse-netrc-group, tramp-parse-putty-group)
4981 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4982 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4983 (tramp-sh-handle-file-selinux-context)
4984 (tramp-sh-handle-file-name-all-completions)
4985 (tramp-sh-handle-insert-directory)
4986 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4987 (tramp-wait-for-output, tramp-send-command-and-read)
4988 * net/tramp-smb.el (tramp-smb-read-file-entry)
4989 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4991 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4993 (tramp-remote-coding-commands): Add an alternative using "base64
4994 -d -i". This is needed for older base64 versions from GNU
4995 coreutils. Reported by Klaus Reichl
4996 <Klaus.Reichl@thalesgroup.com>.
4998 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5000 * simple.el (count-words-region): New function.
5002 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5004 * shell.el (shell-dir-cookie-re): New custom variable.
5005 (shell-dir-cookie-watcher): New function.
5007 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5008 and compilation-mode (bug#7350).
5010 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5011 highlight when one of them is empty.
5013 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5015 (skeleton-newline): New function.
5016 (skeleton-internal-1): Use it.
5018 * simple.el (open-line): `newline' may strip trailing space.
5020 2010-11-12 Kevin Ryde <user42@zip.com.au>
5022 * international/mule-cmds.el (princ-list): Use mapc.
5024 2010-11-12 Glenn Morris <rgm@gnu.org>
5026 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5027 Use it to replace all instances of "*Compile-Log*".
5029 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5034 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * progmodes/modula2.el: Use SMIE and skeleton.
5037 (m2-mode-syntax-table): (*..*) can be nested.
5038 Add //...\n. Fix paren syntax.
5039 (m2-mode-map): Remove LF and TAB bindings.
5040 (m2-indent): Add safety property.
5041 (m2-smie-grammar): New var.
5042 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5043 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5044 (m2-mode): Use define-derived-mode.
5045 (m2-newline, m2-tab): Remove.
5046 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5047 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5048 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5049 (m2-import): Use define-skeleton.
5051 2010-11-11 Glenn Morris <rgm@gnu.org>
5053 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5055 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5056 (ls-lisp-verbosity): Add custom :set-after property.
5057 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5058 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5059 (ls-lisp-insert-directory): Update caller.
5060 (ls-lisp-set-options): New function.
5061 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5064 * play/landmark.el (lm-prompt-for-move):
5065 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5067 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5069 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5070 (idlwave-study-twins): Prefix dynamic local variable `name'.
5071 (idlwave-routine-twin-compare): Update for above change.
5073 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5074 Prefix dynamic local variables `name', `kwd', and `link'.
5075 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5076 * progmodes/idlw-complete-structtag.el
5077 (idlwave-complete-structure-tag-help):
5078 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5079 (idlwave-complete-sysvar-tag-help)
5080 (idlwave-complete-class-structure-tag-help):
5081 Update for above name changes.
5083 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085 * net/browse-url.el (browse-url-browser-function): Change the
5086 default to use `browse-url-mail' on mailto: URLs.
5088 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5090 * emacs-lisp/package.el (package-read-all-archive-contents):
5091 Reset package-archive-contents to nil before re-reading.
5093 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5095 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5096 already found as misspellings by (flyspell-large-region), just
5097 do highlighting (bug#7322).
5099 2010-11-10 Glenn Morris <rgm@gnu.org>
5101 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5103 * emulation/edt.el (edt-with-position): New macro.
5104 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5105 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5106 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5108 * emulation/tpu-extras.el (tpu-with-position): New macro.
5109 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5111 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5113 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5114 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5115 (texinfo-master-menu, texinfo-insert-node-lines)
5116 (texinfo-multiple-files-update):
5117 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5118 Use line-beginning-position.
5120 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5121 No recent Emacs supports system-type `emx'.
5123 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5124 (ada-command-separator, ada-default-prj-properties)
5125 (ada-find-any-references): Update for above name change.
5127 * dirtrack.el (dirtrack-directory-function)
5128 (dirtrack-canonicalize-function):
5129 * filecache.el (file-cache-completion-ignore-case)
5130 (file-cache-case-fold-search, file-cache-ignore-case):
5131 * term.el (serial-port-is-file-p): Cosmetic change.
5133 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5134 Remove non-existent `windows-95' system-type.
5135 * dired.el (dired-chown-program): Remove non-existent `linux'
5138 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5139 (ping-program-options): Remove non-existent `linux' system-type.
5141 * startup.el (package-initialize): Update declaration.
5143 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5144 (ls-lisp-handle-switches): Use time-less-p.
5145 (ls-lisp-format-time): Use float-time.
5147 * textmodes/remember.el (remember-time-to-seconds): Remove.
5148 (remember-store-in-mailbox): Use float-time.
5150 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5152 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5153 never a real function.
5154 (with-no-warnings): Remove compat stub, now unused.
5155 (time-less-p): Doc fix.
5156 (time-to-number-of-days): Simplify.
5158 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5160 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5161 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5162 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5163 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5164 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5166 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5167 (eshell-shuffle-files, eshell-shorthand-tar-command)
5168 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5169 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5170 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5171 Prefix dynamic local variable `matches'.
5173 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5174 Prefix dynamic local variable `skeleton'.
5176 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5178 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5179 in mail buffer; make yank-action always a command that yanks original
5182 2010-11-09 Glenn Morris <rgm@gnu.org>
5184 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5186 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5189 completion field (bug#7211).
5191 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5192 Fix handling of backslash escapes.
5193 (python-quote-syntax): Adjust accordingly.
5195 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5197 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5198 (vc-mtn-workfile-branch): Adjust to new output format.
5200 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * international/mule-cmds.el (princ-list): Mark as obsolete.
5204 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/smie.el: New package.
5208 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5210 * files.el (backup-by-copying-when-mismatch):
5211 Set `permanent-local' property.
5213 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5214 `permanent-local' property for `backup-by-copying-when-mismatch'.
5216 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5218 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5220 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5222 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5223 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5224 AUTOINOUT for SV style multidimensional arrays, bug294.
5225 Reported by Eric Mastromarchi.
5226 (verilog-preprocess): Use with-current-buffer and
5227 font-lock-fontify-buffer to cleanup style issues.
5229 2010-11-09 Glenn Morris <rgm@gnu.org>
5231 * locate.el (locate, locate-mode): Doc fixes.
5233 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5235 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5236 user for confirmation.
5237 (server-force-stop): Use it.
5238 (server-start): Use server-force-stop for kill-emacs-hook, to
5239 avoid user interaction while killing Emacs.
5241 2010-11-09 Glenn Morris <rgm@gnu.org>
5243 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5244 (meta-indent-line): Simplify.
5246 * vc/emerge.el (emerge-line-number-in-buf):
5247 * textmodes/ispell.el (ispell-region):
5248 * textmodes/fill.el (current-fill-column):
5249 * progmodes/xscheme.el (xscheme-send-current-line):
5250 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5251 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5252 * progmodes/sh-script.el (sh-handle-prev-do):
5253 * progmodes/meta-mode.el (meta-indent-line):
5254 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5256 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5257 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5258 * progmodes/fortran.el (fortran-looking-at-if-then):
5259 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5260 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5261 (cperl-find-pods-heres):
5262 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5263 * net/quickurl.el (quickurl-list-insert):
5264 * net/ldap.el (ldap-search-internal):
5265 * net/eudc.el (eudc-expand-inline):
5266 * mail/sendmail.el (sendmail-send-it):
5267 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5268 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5269 (viper-brac-function):
5270 * calc/calc-yank.el (calc-do-grab-region):
5271 * calc/calc-keypd.el (calc-keypad-press):
5272 * term.el (term-move-columns, term-insert-spaces):
5273 * speedbar.el (speedbar-highlight-one-tag-line):
5274 * simple.el (current-word):
5275 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5276 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5278 * hippie-exp.el (he-line-beg):
5279 * epa.el (epa--marked-keys):
5280 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5281 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5282 (dired-relist-entry):
5283 * buff-menu.el (Buffer-menu-buffer):
5284 * array.el (current-line):
5285 * allout.el (allout-resolve-xref)
5286 (allout-latex-verbatim-quote-curr-line):
5287 Replace yet more uses of end-of-line etc with line-end-position, etc.
5289 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5291 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5292 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5293 (checkdoc-syntax-table): Initialize in the declaration.
5294 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5295 the mode on unconditionally.
5297 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5298 (extent-end-position, extent-start-position): Remove setf method for
5299 non-existing functions (bug#7319).
5301 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5304 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5305 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5306 (smie-prec2->grammar): Rename from smie-prec2-levels.
5307 (smie-grammar): Rename from smie-op-levels.
5308 (smie-indent--hanging-p): Rename from smie-hanging-p.
5309 (smie-rule-hanging-p): New alias.
5310 (smie-indent--bolp): Rename from smie-bolp.
5311 (smie-indent--hanging-p): New alias.
5312 (smie--token): New dynamically bound variable.
5313 (smie-indent--parent): New function.
5314 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5315 (smie-rule-next-p): Rename from smie-next-p.
5316 (smie-rule-prev-p): Rename from smie-prev-p.
5317 (smie-rule-sibling-p, smie-rule-parent)
5318 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5319 (smie-rule-separator-outdent): New var.
5320 (smie-indent--rule): Merge with smie-indent--column.
5321 (smie-indent-forward-token, smie-indent-backward-token):
5322 Also recognize close parens.
5323 (smie-indent-keyword): Don't use smie-indent--column any more.
5324 (smie-indent-after-keyword): Ignore closers by default.
5325 (smie-indent-line): Use with-demoted-errors.
5326 * progmodes/octave-mod.el (octave-smie-grammar):
5327 Rename from octave-smie-op-levels.
5328 (octave-smie-rules): Adjust to new behavior.
5329 * progmodes/prolog.el (prolog-smie-grammar):
5330 Rename from prolog-smie-op-levels.
5332 2010-11-07 Glenn Morris <rgm@gnu.org>
5334 * eshell/esh-util.el (subst-char-in-string)
5335 (directory-files-and-attributes): These compatibility definitions are
5336 not needed on any version of Emacs since at least 21.4.
5338 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5339 (verilog-get-end-of-line): Remove.
5340 (verilog-within-string, verilog-re-search-forward-substr)
5341 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5342 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5343 Use point-at-bol, point-at-eol.
5344 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5346 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5347 (electric-pascal-terminate-line, pascal-set-auto-comments)
5348 (pascal-indent-paramlist, pascal-indent-declaration)
5349 (pascal-get-lineup-indent, pascal-func-completion)
5350 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5351 Use point-at-bol, point-at-eol.
5352 * progmodes/flymake.el (flymake-line-beginning-position)
5353 (flymake-line-end-position): Remove.
5354 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5355 * eshell/esh-util.el (line-end-position, line-beginning-position):
5356 Remove compat definitions.
5358 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5360 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5361 Use line-end-position.
5363 * emacs-lisp/chart.el (chart-zap-chars):
5364 * play/decipher.el (decipher-set-map):
5365 * progmodes/ada-mode.el (ada-get-current-indent)
5366 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5367 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5368 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5369 (ada-get-all-references):
5370 * progmodes/cperl-mode.el (cperl-electric-paren)
5371 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5372 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5373 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5374 (cperl-word-at-point-hard):
5375 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5376 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5377 (idlwave-shell-display-line):
5378 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5379 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5380 * progmodes/js.el (js--re-search-forward-inner)
5381 (js--re-search-backward-inner):
5382 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5383 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5384 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5385 * textmodes/flyspell.el (flyspell-process-localwords):
5386 * textmodes/ispell.el (ispell-buffer-local-parsing)
5387 (ispell-buffer-local-dict, ispell-buffer-local-words):
5388 Use point-at-bol and point-at-eol.
5390 * speedbar.el (speedbar-generic-item-info)
5391 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5392 (speedbar-add-indicator, speedbar-check-vc-this-line)
5393 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5394 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5395 Replace more uses of end-of-line etc with line-end-position.
5397 2010-11-06 Glenn Morris <rgm@gnu.org>
5399 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5400 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5401 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5402 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5403 (texinfo-multiple-files-update):
5404 * textmodes/table.el (table--probe-cell-left-up)
5405 (table--probe-cell-right-bottom):
5406 * textmodes/picture.el (picture-tab-search):
5407 * textmodes/page-ext.el (pages-copy-header-and-position)
5408 (pages-directory-for-addresses):
5409 * progmodes/vera-mode.el (vera-get-offset):
5410 * progmodes/simula.el (simula-calculate-indent):
5411 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5412 * progmodes/prolog.el (end-of-prolog-clause):
5413 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5414 * progmodes/icon.el (indent-icon-exp):
5415 * progmodes/etags.el (tag-re-match-p):
5416 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5417 * progmodes/ebnf2ps.el (ebnf-begin-file):
5418 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5419 (dcl-save-local-variable):
5420 * play/life.el (life-setup):
5421 * play/gametree.el (gametree-looking-at-ply):
5422 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5423 * mail/sendmail.el (mail-mode-auto-fill):
5424 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5425 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5426 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5427 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5428 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5429 * type-break.el (type-break-file-keystroke-count):
5430 * term.el (term-replace-by-expanded-history-before-point)
5431 (term-skip-prompt, term-extract-string):
5432 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5433 (speedbar-contract-line, speedbar-toggle-line-expansion)
5434 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5435 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5436 * sort.el (sort-skip-fields):
5437 * skeleton.el (skeleton-internal-list):
5438 * simple.el (line-move-finish, line-move-to-column):
5439 * shell.el (shell-forward-command):
5440 * misc.el (copy-from-above-command):
5441 * makesum.el (double-column):
5442 * ebuff-menu.el (electric-buffer-update-highlight):
5443 * dired.el (dired-move-to-end-of-filename):
5444 * dframe.el (dframe-popup-kludge):
5445 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5446 * arc-mode.el (archive-get-lineno):
5447 Use line-end-position and line-beginning-position.
5449 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5450 (idlwave-study-twins): Prefix dynamic local `class'.
5451 (idlwave-routine-twin-compare): Update for above name change.
5453 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5454 Use boundp tests to silence compiler. Update for changed name of
5455 bytecomp-filename variable.
5457 * emulation/viper-cmd.el (viper-read-string-with-history):
5458 Prefix dynamic local `initial'.
5459 (viper-minibuffer-standard-hook): Update for above name change.
5461 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5462 (elint-init-form): Update for above name change.
5464 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5465 local variables `cbeg' and `cend' a prefix.
5466 (mail-extr-voodoo): Update for above name change.
5468 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5469 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5470 (reftex-toc-promote-action): Doc fix.
5472 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5473 `prompt', `data' a prefix.
5474 (reftex-select-post-command-hook, reftex-select-callback)
5475 (reftex-select-mouse-accept, reftex-select-read-cite):
5476 Update for above name changes.
5478 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5479 `refstyle' to reftex-refstyle.
5480 (reftex-offer-label-menu): Update for above name change.
5481 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5482 `refstyle' name change.
5484 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5485 with with-current-buffer.
5486 (diff, template): Give dynamic local variables a prefix.
5487 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5488 (emerge-line-number-in-buf): Update for above name change.
5489 (emerge-combine-versions-internal): Rename local `template' to
5490 emerge-combine-template.
5491 (emerge-combine-versions-edit): Update for above name change.
5493 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5495 * textmodes/reftex-cite.el
5496 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5497 entries with whitespace after \bibitem.
5498 (reftex-create-bibtex-file): Match entries containing numbers and
5499 symbol constituents. Make sure that entries with whitespace at
5500 various places are found.
5502 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5504 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5506 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5508 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5510 2010-11-05 Glenn Morris <rgm@gnu.org>
5512 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5513 (woman2-roff-buffer): Give local variable `request' a prefix.
5514 (woman0-macro): Rename argument `request' in the same way.
5515 (woman-request): New name for `request' dynamic variable.
5516 (woman-unquote, woman-forward-arg): Update for above name change.
5517 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5518 (woman1-unquote): New name for `unquote' dynamic variable.
5519 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5520 (woman-translations): Rename from `translations'. No longer global.
5521 (woman2-tr, woman-translate): Update for above name change.
5522 (woman-translate): Check for bound variable.
5523 (woman2-roff-buffer): Give local variable `translations' a prefix.
5525 * play/doctor.el: Give all local variables a prefix. Update callers.
5526 (doc$, doctor-put-meaning): Use backquote.
5528 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5529 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5531 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5532 variables bytes, ptr, op a prefix.
5533 (disassemble-offset): Update for above change.
5535 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5537 * emacs-lisp/package.el (package-unpack): Remove no-op.
5538 (package--builtins, package--dir): Doc fix.
5539 (package-activate-1, package-activate, package-install)
5540 (package-compute-transaction): Fix error message.
5541 (package-delete): Use delete-directory. Omit system packages.
5542 (package-initialize): Set package-alist to nil first.
5543 (package-menu-mark-delete, package-menu-mark-install): Don't add
5544 symbols that are inconsistent with the package state.
5545 (package-menu-execute): Perform deletions and installations as
5546 single batch operations.
5548 2010-11-03 Glenn Morris <rgm@gnu.org>
5550 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5551 (props): Remove unnecessary declaration.
5553 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5554 set-process-query-on-exit-flag.
5556 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5557 (reftex-toc-do-promote): Remove unused local `mpos'.
5558 (reftex-toc-restore-region): Make `mpos' local to this function.
5560 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5562 * play/landmark.el (lm-losing-threshold): Correct spelling.
5563 (lm-human-plays): Use new name.
5565 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5566 (gomoku-human-plays): Use new name.
5568 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5569 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5570 (gomoku-score-trans-table, gomoku-winning-threshold)
5571 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5573 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5575 * emacs-lisp/package.el: Don't put built-in packages in
5576 package-alist, to avoid loading inefficiencies.
5577 (package-built-in-p): Make VERSION optional, and treat it as a
5578 minimum acceptable version.
5579 (package-activate): Search separately for built-in packages.
5580 Emit a warning if a dependency fails.
5581 (define-package): Handle most common case, where there is no
5582 obsolete package, first.
5583 (package-compute-transaction): Print required version in error.
5584 (package--initialized): New variable.
5585 (list-packages): Use it.
5586 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5587 built-in packages in packages-alist; keep it separate.
5588 Set package--initialized.
5589 (describe-package): Avoid activating packages as a side-effect.
5590 Search separately for built-in packages.
5591 (describe-package-1): Handle the case where an elpa package is
5592 simultaneously built-in and available/installed.
5593 (package-installed-p, package--generate-package-list):
5594 Search separately for built-in packages.
5595 (package-load-descriptor): Doc fix.
5597 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5599 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5600 Handle __DATA__ and __END__.
5602 2010-11-02 Noah Friedman <friedman@splode.com>
5604 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5605 nil, do not ask to recompile files that are not already compiled,
5606 and do not recompile them.
5608 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5610 * emacs-lisp/package.el (package-initialize): Ensure that
5611 obsoleted built-in packages are not in package-activated-list
5613 (describe-package-1): Make the "installed" status override
5616 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5618 * subr.el (version-separator, version-regexp-alist): Remove '*'
5620 (version-list-<=, version<=, version=): Doc fix.
5622 2010-11-01 Kenichi Handa <handa@m17n.org>
5624 * faces.el (glyphless-char): Inherit underline for tty.
5626 2010-11-01 Kenichi Handa <handa@m17n.org>
5628 Implement various display methods for glyphless characters.
5630 * international/characters.el (char-acronym-table): New variable.
5631 (glyphless-char-control): New variable.
5632 (update-glyphless-char-display): New function.
5634 * faces.el (glyphless-char): New face.
5636 2010-11-01 Glenn Morris <rgm@gnu.org>
5638 * calendar/holidays.el (general-holidays, oriental-holidays)
5639 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5640 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5641 the definitions of their targets.
5643 * emacs-lisp/smie.el (smie): New custom group.
5644 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5646 * faces.el (xw-defined-colors, x-setup-function-keys):
5647 * mouse-sel.el (x-select-text):
5648 * term/w32console.el (x-setup-function-keys): Update declarations.
5650 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5652 * textmodes/ispell.el (comment-add): Declare.
5654 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5657 * info.el (finder-keywords-hash, package-alist): Declare.
5659 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5661 * finder.el (finder-compile-keywords): Don't use intern-soft,
5662 since package names may not yet exist in the obarray.
5664 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5666 * vc/vc-arch.el (vc-arch-checkin):
5667 * vc/vc-cvs.el (vc-cvs-checkin):
5668 * vc/vc-mtn.el (vc-mtn-checkin):
5669 * vc/vc-rcs.el (vc-rcs-checkin):
5670 * vc/vc-sccs.el (vc-sccs-checkin):
5671 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5672 since 2010-04-21 commit by Stefan Monnier.
5674 2010-11-01 Glenn Morris <rgm@gnu.org>
5676 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5678 * startup.el (package-enable-at-startup, package-initialize):
5681 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5684 2010-10-31 Julien Danjou <julien@danjou.info>
5686 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5687 (byte-recompile-directory):
5688 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5689 Use `byte-recompile-file'.
5691 2010-10-31 Glenn Morris <rgm@gnu.org>
5693 * cus-start.el: Handle standard values via a keyword.
5694 Only set version property if specified.
5695 (cursor-in-non-selected-windows, menu-bar-mode)
5696 (tool-bar-mode, show-trailing-whitespace):
5697 Do not specify standard values.
5698 (transient-mark-mode, temporary-file-directory): Use :standard.
5700 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5702 * term/x-win.el (x-get-selection-value): New function that gets
5703 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5705 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5707 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5708 preserve owner and group when editing files. (Bug#7289)
5710 2010-10-31 Glenn Morris <rgm@gnu.org>
5712 * speedbar.el (speedbar-mode):
5713 * play/fortune.el (fortune-in-buffer, fortune):
5714 * play/gomoku.el (gomoku-mode):
5715 * play/landmark.el (lm-mode):
5716 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5717 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5719 * select.el (x-selection): Mark it as an obsolete alias.
5721 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5723 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5724 major-mode (bug#7284).
5726 2010-10-31 Glenn Morris <rgm@gnu.org>
5728 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5729 rather than just an unused variable that inherits from the real one.
5731 2010-10-31 Alan Mackenzie <acm@muc.de>
5733 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5734 This fixes bug #7185.
5736 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5738 * startup.el (command-line): Search for package directories, and
5739 don't load package.el if none are found.
5741 * emacs-lisp/package.el (describe-package, list-packages):
5742 Call package-initialize if it has not been called yet.
5744 2010-10-30 Alan Mackenzie <acm@muc.de>
5746 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5747 which fontifies the tail of an enum.
5748 (c-basic-matchers-after): Insert a call to the above new function.
5749 This fixes bug #7264.
5751 2010-10-30 Glenn Morris <rgm@gnu.org>
5753 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5754 tool-bar-mode, transient-mark-mode. (Bug#7306)
5755 Include the :set property in the dumped Emacs.
5757 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5759 SMIE: change indent rules format, improve smie-setup.
5760 * emacs-lisp/smie.el (smie-precs-precedence-table)
5761 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5762 Mark them pure so the tables gets built at compile time.
5763 (smie-bnf-precedence-table): Store the closer-alist in the table.
5764 (smie-prec2-levels): Preserve the closer-alist.
5765 (smie-blink-matching-open): Be more forgiving in case of indentation.
5766 (smie-hanging-p): Rename from smie-indent--hanging-p.
5767 (smie-bolp): Rename from smie-indent--bolp.
5768 (smie--parent, smie--after): New dynamic vars.
5769 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5770 (smie-indent-rules): Remove.
5771 (smie-indent--offset-rule): Remove fun.
5772 (smie-rules-function): New var.
5773 (smie-indent--rule): New fun.
5774 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5775 (smie-indent-exps): Use it.
5776 (smie-setup): Setup paren blinking; add keyword args for token
5777 functions; extract closer-alist from op-levels.
5778 (smie-indent-debug-log): Remove var.
5779 (smie-indent-debug): Remove fun.
5780 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5781 (prolog-smie-rules): New fun to replace it.
5782 (prolog-mode-variables): Simplify.
5783 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5784 it's setup automatically.
5785 (octave-smie-indent-rules): Remove.
5786 (octave-smie-rules): New fun to replace it.
5787 (octave-mode): Simplify.
5789 2010-10-29 Glenn Morris <rgm@gnu.org>
5791 * files.el (temporary-file-directory): Remove (already defined in C).
5792 * cus-start.el: Add temporary-file-directory.
5794 * abbrev.el (abbrev-mode):
5795 * composite.el (auto-composition-mode):
5796 * menu-bar.el (menu-bar-mode):
5797 * simple.el (transient-mark-mode):
5798 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5799 that they do not define the associated variables twice.
5800 * simple.el (transient-mark-mode): Remove defvar.
5801 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5802 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5803 Handle multiple groups, and also custom-delayed-init-variables.
5804 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5806 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5809 (pcase-if): Add one minor optimization.
5810 (pcase-split-equal): Rename from pcase-split-eq.
5811 (pcase-split-member): Rename from pcase-split-memq.
5812 (pcase-u1): Add strings to the member optimization.
5813 Add `guard' variant of predicates.
5814 (pcase-q1): Add string patterns.
5816 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5820 2010-10-28 Glenn Morris <rgm@gnu.org>
5822 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5823 Move menu-bar related settings to ../menu-bar.el.
5824 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5825 Move ns-specific settings here from term/ns-win.el.
5827 * simple.el (x-selection-owner-p): Remove unused declaration.
5829 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5831 * minibuffer.el (completion-cycling): New var (bug#7266).
5832 (minibuffer-complete, completion--do-completion):
5833 Use completion--flush-all-sorted-completions.
5834 (minibuffer-complete): Only cycle if completion-cycling is set.
5835 (completion--flush-all-sorted-completions): Unset completion-cycling.
5836 (minibuffer-force-complete): Set completion-cycling.
5837 (completion-all-sorted-completions): Move declaration before first use.
5839 2010-10-28 Leo <sdl.web@gmail.com>
5841 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5842 which changes the order of matches seen by users (bug#7231).
5844 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5846 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5847 Don't confuse -omega as "-o mega".
5849 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5851 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5852 (log-edit-author): New dynamic var.
5853 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5854 to return the author if different from committer.
5855 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5857 * play/landmark.el: Adjust commenting convention.
5858 (lm-nil-score): Rename from nil-score.
5859 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5860 (OOOOscore): Move into a let in lm-score-trans-table.
5861 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5863 * electric.el (electric-indent-chars): Autoload.
5864 * progmodes/octave-mod.el (octave-mode):
5865 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5866 (ruby-mode-abbrev-table): Merge initialization and declaration.
5868 2010-10-27 Glenn Morris <rgm@gnu.org>
5870 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5873 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5875 * term/ns-win.el: Restore require of cl when compiling.
5876 (menu-bar-final-items): Remove non-existent `windows' menu.
5877 (ns-handle-nxopen): Optionally handle the temp-case.
5878 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5879 (ns-insert-file, ns-find-file): Use `pop'.
5881 2010-10-26 Glenn Morris <rgm@gnu.org>
5883 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5885 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5887 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5889 * term/common-win.el (x-setup-function-keys): Remove most of the
5890 keymappings. Comment on the remaining ones.
5892 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5894 * server.el (server-port): New option. (Bug#854)
5895 (server-start): Use server-port.
5897 2010-10-26 Glenn Morris <rgm@gnu.org>
5899 * term/ns-win.el (ns-version-string): Remove unused declaration.
5900 (ns-invocation-args): Change to x-invocation-args.
5901 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5902 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5903 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5904 Use x-invocation-args instead of ns-invocation-args.
5905 (ns-initialize-window-system, handle-args-function-alist):
5906 Use x-handle-args instead of ns-handle-args.
5907 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5908 * startup.el (command-line-ns-option-alist): Replace
5909 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5910 ns-handle-iconic with the x- equivalents.
5912 * term/common-win.el (x-select-enable-clipboard):
5913 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5915 * term/ns-win.el: No need to require cl when compiling.
5916 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5917 (xw-defined-colors): Use the common-win definitions.
5918 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5919 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5920 * term/common-win.el (x-select-text, x-alternatives-map)
5921 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5922 * loadup.el [ns]: Load common-win.
5924 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5926 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5927 recipients; expand mail aliases (Bug#7280).
5929 2010-10-25 Glenn Morris <rgm@gnu.org>
5931 * term/common-win.el (x-handle-switch): Simplify with pop.
5932 Optionally handle numeric switches.
5933 (x-handle-numeric-switch): Just call x-handle-switch.
5934 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5935 (x-handle-name-switch, x-handle-display, x-handle-args):
5938 * term/ns-win.el: Do not require easymenu.
5939 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5940 <spell>: Move adjustments to menu-bar.el.
5941 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5942 <separator-undo, spell>: Move ns-win's adjustments here.
5943 * loadup.el [ns]: Do not load easymenu.
5945 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5947 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5950 * startup.el (fancy-startup-tail): Instead of using inline images,
5951 refer to image files from etc/.
5953 * wid-edit.el (checkbox): Likewise.
5954 (widget-image-find): Center image specs.
5956 2010-10-24 Glenn Morris <rgm@gnu.org>
5958 * term/ns-win.el (x-select-text): Doc fix.
5959 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5960 (x-select-text): Move to term/common-win.
5961 * term/w32-win.el (xw-defined-colors): Move to common-win.
5962 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5963 (x-setup-function-keys, x-select-text): Move to common-win.
5964 * term/common-win.el (x-select-text, x-alternatives-map)
5965 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5968 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5970 * net/mairix.el (mairix-searches-mode-map):
5971 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5973 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5975 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5976 auto-built for efficiency of execution and updating.
5977 (verilog-extended-complete-re): Support 'pure' fucntion & task
5978 declarations (these have no bodies).
5979 (verilog-beg-of-statement): General cleanup to enable support of
5980 'pure' fucntion & task declarations (these have no bodies).
5981 These efforts together fix Verilog bug210 from veripool; which was also
5982 noticed by Steve Pearlmutter.
5983 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5984 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5985 Support `elsif. Reported by Shankar Giri.
5986 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5987 attribute handling for lining up declarations and assignments.
5988 (verilog-beg-of-statement-1): Fix issue where continued declaration
5989 is indented differently if it is after a begin..end clock.
5990 (verilog-in-attribute-p, verilog-skip-backward-comments)
5991 (verilog-skip-forward-comment-p): Support proper treatment of
5992 attributes by indent code. Reported by Jeff Steele.
5993 (verilog-in-directive-p): Fix comment to correctly describe function.
5994 (verilog-backward-up-list, verilog-in-struct-region-p)
5995 (verilog-backward-token, verilog-in-struct-p)
5996 (verilog-in-coverage-p, verilog-do-indent)
5997 (verilog-pretty-declarations): Use verilog-backward-up-list as
5998 wrapper around backward-up-list inorder to properly skip comments.
5999 Reported by David Rogoff.
6000 (verilog-property-re, verilog-endcomment-reason-re)
6001 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6002 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6003 of if). Reported by Max Bjurling and
6004 (verilog-calc-1): Fix for clocking block in modport
6005 declaration. Reported by Brian Hunter.
6007 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6009 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6010 (verilog-gate-keywords, verilog-read-sub-decls)
6011 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6012 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6013 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6014 (verilog-read-decls): Fix spaces in V2K module parameters causing
6015 mis-identification as interfaces, bug287.
6016 (verilog-read-decls): Fix not treating "parameter string" as a
6017 parameter in AUTOINSTPARAM.
6018 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6019 treating `elsif similar to `endif inside AUTOSENSE.
6020 (verilog-do-indent): Implement correct automatic or static task or
6021 function end comment highlight. Reported by Steve Pearlmutter.
6022 (verilog-font-lock-keywords-2): Fix highlighting of single
6023 character pins, bug264. Reported by Michael Laajanen.
6024 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6025 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6026 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6027 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6028 (verilog-pretty-expr): Fix interactive arguments, bug272.
6029 Reported by Mark Johnson.
6030 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6031 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6032 bug269. Suggested by Gary Delp.
6033 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6034 (verilog-preprocessor, verilog-set-compile-command):
6035 Create verilog-preprocess and verilog-preprocessor to show
6036 preprocessed output.
6037 (verilog-get-beg-of-line, verilog-get-end-of-line)
6038 (verilog-modi-file-or-buffer, verilog-modi-name)
6039 (verilog-modi-point, verilog-within-string): Move defmacro's
6040 before first use to avoid warning. Reported by Steve Pearlmutter.
6041 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6042 (verilog-colorize-region, verilog-highlight-buffer)
6043 (verilog-highlight-includes, verilog-highlight-modules)
6044 (verilog-highlight-region, verilog-mode): Rename colorize to
6045 highlight to match other packages. Disable module highlighting,
6046 as received speed complaints, reenable for experimentation only
6047 using new verilog-highlight-modules.
6048 (verilog-read-decls): Fix regexp stack overflow in very large
6049 AUTO_TEMPLATEs, bug250.
6050 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6051 (verilog-scan): Create verilog-save-buffer-state to standardize
6052 making insignificant changes that shouldn't call hooks.
6053 (verilog-save-no-change-functions, verilog-save-scan-cache)
6054 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6055 Create verilog-save-no-change-functions to wrap verilog-scan
6056 preservation, and fix to work with nested preserved calls.
6057 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6058 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6059 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6060 (verilog-submit-bug-report): Update variable list to be complete.
6061 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6062 breaking on-the-fly font-locking.
6063 (verilog-colorize-buffer, verilog-colorize-include-files)
6064 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6065 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6066 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6067 AUTOINST cell instance name, middle mouse button now finds-file on
6068 it. Suggested by Brad Dobbie.
6069 (verilog-alw-get-temps, verilog-auto-reset)
6070 (verilog-auto-sense-sigs, verilog-read-always-signals)
6071 (verilog-read-always-signals-recurse): Fix loop indexes being
6072 AUTORESET. AUTORESET now assumes any variables in the
6073 initialization section of a for() should be ignored.
6074 Reported by Dan Dever.
6075 (verilog-error-font-lock-keywords)
6076 (verilog-error-regexp-emacs-alist)
6077 (verilog-error-regexp-xemacs-alist): Fix error detection of
6078 Cadence HAL, reported by David Asher. Repair drift between the
6079 three similar error variables.
6080 (verilog-modi-lookup, verilog-modi-lookup-cache)
6081 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6082 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6083 Fix slow verilog-auto expansion on very large files.
6084 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6085 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6086 "{1*2{...". Broke in last revision.
6087 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6088 submodule connections with replications "{#{a},#{b}}".
6090 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6092 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6093 Fix typo in docstring.
6095 2010-10-24 Kenichi Handa <handa@m17n.org>
6097 * face-remap.el (text-scale-adjust): Call read-event with a proper
6100 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6102 * emacs-lisp/unsafep.el: Don't mark functions that display
6103 messages as safe. Suggested by Johan Bockgård.
6105 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6108 Turn comments into docstrings.
6110 * minibuffer.el (completion--replace): Move point where it belongs
6111 when there's a common suffix (bug#7215).
6113 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6115 Merge read-color and facemenu-read-color (Bug#7242).
6117 * faces.el (read-color): Use the completion code from
6118 facemenu-read-color. Require match in completion. Doc fix.
6120 * facemenu.el (facemenu-read-color): Alias for read-color.
6121 (facemenu-set-foreground, facemenu-set-background):
6124 * frame.el (set-background-color, set-foreground-color)
6125 (set-cursor-color, set-mouse-color, set-border-color):
6128 2010-10-24 Leo <sdl.web@gmail.com>
6130 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6131 argument of delete-file and delete-directory (Bug#7011).
6133 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6135 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6138 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6140 * emacs-lisp/package.el (package--generate-package-list): Make the
6141 *Packages* buffer read-only.
6143 2010-10-24 Alan Mackenzie <acm@muc.de>
6145 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6146 result of `c-beginning-of-decl-1' between invocations of a lambda
6147 function (Bug #7265).
6149 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6151 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6152 executable is not available on the system (Bug#7268).
6154 2010-10-24 Glenn Morris <rgm@gnu.org>
6156 * select.el (selection-coding-system, next-selection-coding-system):
6157 Sync doc with C versions.
6159 * w32-vars.el (x-select-enable-clipboard):
6160 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6161 * term/common-win.el (x-select-enable-clipboard): Move here.
6163 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6164 definition of C variable.
6166 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6167 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6168 Don't redefine things that are defined in C.
6169 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6170 (show-trailing-whitespace, auto-hscroll-mode)
6171 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6172 Set up the appropriate custom properties.
6174 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6177 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6178 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6179 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6180 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6182 2010-10-23 Glenn Morris <rgm@gnu.org>
6184 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6187 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6188 Sync docs with C version.
6190 * term/ns-win.el (xw-defined-colors):
6191 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6193 * term/pc-win.el (x-select-enable-clipboard):
6194 * term/x-win.el (x-select-enable-clipboard):
6195 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6197 * comint.el (comint-password-prompt-regexp): Make it less vague.
6200 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6202 * help.el (finder-by-keyword): Remove unnecessary autoload.
6204 2010-10-22 Glenn Morris <rgm@gnu.org>
6206 * loadup.el: Unconditionally load float-sup.
6207 * paren.el (show-paren-delay):
6208 * emacs-lisp/float-sup.el:
6209 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6210 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6211 (lazy-lock-stealth-verbose): Assume float support.
6212 * ps-print.el: Assume float support on Emacs.
6213 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6214 Remove non-float branch.
6216 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6217 src/Makefile no longer being pre-processed.
6219 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6221 * emacs-lisp/find-func.el (find-library): Use test-completion.
6223 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6225 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6227 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6229 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6230 space in stat format string.
6231 (tramp-send-command): Unset $PS1 when using here documents, in
6232 order not to get several prompts.
6233 (tramp-get-inline-coding): Return `nil' in case of errors.
6235 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6237 * hexl.el (hexl-mode, hexl-mode-exit):
6238 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6239 (hexl-revert-buffer-function): New function.
6240 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6242 2010-10-19 Alan Mackenzie <acm@muc.de>
6244 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6245 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6246 that these keywords aren't wrongly matched as identifiers.
6248 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6249 setting of c-new-BEG and c-new-END from c-before-change to
6250 c-after-change. (Bug#7181)
6252 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6254 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6257 * custom.el (custom-theme-set-variables): Likewise.
6258 (load-theme): Add custom-theme-set-faces and
6259 custom-theme-set-variables to safe-functions while loading.
6260 (custom-enabled-themes): Mark as risky.
6262 2010-10-18 Julien Danjou <julien@danjou.info>
6264 * bindings.el: Remove end dashes in default mode-line-format.
6266 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6268 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6269 to delete-forward-char.
6271 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6272 deletechar, and hence delete-forward-char.
6274 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * repeat.el (repeat): Use read-key (bug#6256).
6278 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6280 * emacs-lisp/unsafep.el: Don't mark functions that display
6281 messages as safe. Suggested by Johan Bockgård.
6283 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6285 * minibuffer.el (completion--replace): Move point where it belongs
6286 when there's a common suffix (bug#7215).
6288 2010-10-19 Kenichi Handa <handa@m17n.org>
6290 * international/characters.el: Add category '|' (word breakable)
6291 to fullwidth characters.
6293 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6295 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6296 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6297 order to make stat results a float. Patch by Andreas Schwab
6298 <schwab@linux-m68k.org>.
6300 2010-10-18 Julien Danjou <julien@danjou.info>
6302 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6303 hidden by `make-pointer-invisible'.
6305 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * files.el (locate-file-completion-table): Strip non-matching elements
6308 before checking length of list (bug#7238).
6310 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6312 * custom.el (custom-theme-set-variables): Mark as a safe function.
6313 (load-theme): Check forms using unsafep.
6315 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6317 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6319 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6320 Fix aspell data file searching (bug#7230).
6322 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6324 * cus-theme.el (custom-theme--migrate-settings): New var.
6325 (customize-create-theme): Allow editing the `user' theme.
6326 (custom-theme-add-variable, custom-theme-add-var-1)
6327 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6328 to the front of each variable or face widget.
6329 (custom-theme-write): Save theme settings in the correct order.
6330 Optionally, remove saved settings from user customizations.
6331 (custom-theme-write-variables, custom-theme-write-faces):
6332 Save only the checked widgets.
6333 (customize-themes): Add a link for migrating custom settings.
6335 * custom.el (custom-declare-theme, provide-theme):
6336 Use custom-theme-name-valid-p.
6337 (custom-theme-name-valid-p): Remove checks that are now
6338 unnecessary since themes no longer obey load-path.
6340 * cus-edit.el (custom-variable-value-create): For the simple
6341 style, hide documentation string when hidden.
6343 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6345 * cus-edit.el (custom-variable, custom-face): Combine the
6346 :inhibit-magic and :display-style properties into a single
6347 :custom-style property.
6348 (custom-toggle-hide-variable, custom-toggle-hide-face):
6349 New functions. If hiding an edited value, save it to :shown-value.
6350 (custom-variable-value-create, custom-face-value-create): Use them.
6351 (custom-magic-reset): Allow magic property to be unset.
6353 * custom.el: Custom themes no longer use load-path.
6354 (custom-theme-load-path): New option. Change built-in theme
6356 (custom-enabled-themes): Add custom-theme-load-path dependency.
6357 (custom-theme--load-path): New function.
6358 (load-theme, custom-available-themes): Use it.
6360 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6361 (customize-themes): Link to custom-theme-load-path variable.
6362 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6363 :custom-style property.
6365 * themes/*.el: Moved to etc/.
6367 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6369 * textmodes/reftex-cite.el
6370 (reftex-extract-bib-entries-from-thebibliography): Do not move
6371 point when searching for \bibitem entries. Match entries with
6372 spaces or tabs in front of arguments.
6374 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6376 * cus-theme.el (customize-create-theme): Delete overlays after
6377 erasing. If given a THEME arg, display only the faces of that arg
6378 instead of custom-theme--listed-faces.
6379 (custom-theme-variable-menu, custom-theme-variable-action)
6380 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6381 (custom-theme-add-variable, custom-theme-add-face): Apply value
6382 from the theme settings, instead of the current value.
6383 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6384 (custom-theme-visit-theme): Allow calling outside theme buffers.
6385 (custom-theme-merge-theme): Don't enable the theme when merging.
6386 (custom-theme-write-variables, custom-theme-write-faces): Use the
6387 :shown-value properties to save buffer values, not global ones.
6388 (customize-themes): Display a warning about user customizations.
6390 * cus-edit.el (custom-variable-value-create)
6391 (custom-face-value-create): Obey new special properties
6392 :shown-value and :inhibit-magic.
6394 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6396 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6397 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6400 2010-10-14 Kenichi Handa <handa@m17n.org>
6402 * mail/rmail.el (rmail-show-message-1): Catch an error of
6403 base64-decode-region and just show an error message (bug#7165).
6405 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6406 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6407 a font-spec (bug#7197).
6409 2010-10-14 Glenn Morris <rgm@gnu.org>
6411 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6413 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6415 * international/mule.el (define-coding-system):
6416 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6417 * composite.el (compose-region): Fix typo in docstring.
6419 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6421 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6422 only after checking the theme-face property.
6424 * faces.el (face-spec-reset-face): Reset all attributes in one
6425 single call to set-face-attribute.
6426 (face-spec-match-p): Make it a defsubst.
6427 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6428 (x-create-frame-with-faces, tty-create-frame-with-faces)
6429 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6430 frame-set-background-mode, since they are recomputed immediately
6431 afterwards in face-set-after-frame-default.
6432 (face-set-after-frame-default): Minor optimization.
6433 (cursor): Provide non-trivial defface spec.
6435 * custom.el (custom-theme-recalc-face): Simplify.
6437 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6439 * calc/calc-alg.el (math-var): Rename from `var'.
6440 (math-is-polynomial, math-is-poly-rec): Replace `var'
6443 * calc/calcalg2.el (math-var): Rename from `var'.
6444 (calcFunc-table, math-scan-for-limits): Replace `var'
6447 2010-10-13 Glenn Morris <rgm@gnu.org>
6449 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6451 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6453 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6455 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6457 * net/tls.el (tls-program): Remove spurious %s from openssl.
6458 (tls-starttls-switches): Remove starttls hack.
6459 (open-tls-stream): Ditto.
6460 (tls-find-starttls-argument): Ditto.
6462 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6464 * image.el (image-library-alist): Declare as obsolete alias.
6465 (image-type-available-p): Use `dynamic-library-alist'.
6467 * term/w32-win.el (dynamic-library-alist):
6468 Use instead of `image-library-alist'.
6470 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6472 * subr.el (last): Make it faster. (Bug#7174)
6474 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6476 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6478 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6480 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6481 (describe-theme-1): Extract doc from unloaded themes.
6483 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6485 * themes/tango-theme.el:
6486 * themes/tango-dark-theme.el:
6487 * themes/wheatgrass-theme.el: New files.
6489 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6491 * cus-theme.el (describe-theme, customize-themes)
6492 (custom-theme-save): New commands.
6493 (custom-new-theme-mode-map): Bind C-x C-s.
6494 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6495 (customize-create-theme): New optional arg THEME.
6496 (custom-theme-revert): Use it.
6497 (custom-theme-visit-theme): Remove dead code.
6498 (custom-theme-merge-theme): Use custom-available-themes.
6499 (custom-theme-write): Make interactive.
6500 (custom-theme-write): Use custom-theme-name-valid-p.
6501 (describe-theme-1, custom-theme-choose-revert)
6502 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6504 (custom-theme-allow-multiple-selections): New option.
6505 (custom-theme-choose-mode): New major mode.
6507 * custom.el (custom-theme-set-variables): Remove dead code.
6508 Obey custom--inhibit-theme-enable.
6509 (custom--inhibit-theme-enable): New var.
6510 (provide-theme): Obey it.
6511 (load-theme): Replace load with manual read/eval, in order to
6512 check for correctness. Use custom-theme-name-valid-p.
6513 (custom-theme-name-valid-p): New function.
6514 (custom-available-themes): Use it.
6516 * cus-edit.el (custom--initialize-widget-variables): New function.
6517 (Custom-mode): Use it.
6519 * cus-face.el (custom-theme-set-faces): Remove dead code.
6520 Obey custom--inhibit-theme-enable.
6522 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6524 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6526 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6528 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6530 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6531 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6532 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6534 * cus-start.el (all): ns-right-alternate-modifier is new.
6536 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * emacs-lisp/lisp.el (lisp-completion-at-point):
6539 Use emacs-lisp-mode-syntax-table for the whole function.
6541 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6543 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6544 instead of font-lock-mode before adding keywords.
6545 Remove hi-lock-mode off code. Remove inhibit hack.
6546 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6547 non-nil; removed hook inhibit hack.
6549 2010-10-12 Glenn Morris <rgm@gnu.org>
6551 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6552 (load-path-shadows-find): ... to this.
6553 (list-load-path-shadows): Update for above change.
6555 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6557 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6559 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6560 Fix comment for declare-function.
6562 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6564 * custom.el (custom-fix-face-spec): New function; code moved from
6565 custom-face-edit-fix-value.
6566 (custom-push-theme): Use it when checking if a face has been
6567 changed outside customize.
6568 (custom-available-themes): New function.
6569 (load-theme): Use it.
6571 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6573 * custom.el (custom-push-theme): Cleanup (use cond).
6574 (disable-theme): Recompute the saved-face property.
6575 (custom-theme-recalc-face): Follow face alias before setting prop.
6577 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6578 New variables, containing checkbox images.
6580 * startup.el (fancy-startup-tail):
6581 * wid-edit.el (checkbox): Use them.
6583 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6585 * shell.el (shell-mode-map):
6586 * progmodes/modula2.el (m2-mode-map):
6587 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6588 * play/mpuz.el (mpuz-mode-map):
6589 * play/landmark.el (lm-mode-map):
6590 * play/decipher.el (decipher-mode-map):
6591 * play/5x5.el (5x5-mode-map):
6592 * net/telnet.el (telnet-mode-map):
6593 * net/quickurl.el (quickurl-list-mode-map):
6594 * net/mairix.el (mairix-searches-mode-map):
6595 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6596 * net/dig.el (dig-mode-map):
6597 * mail/mspools.el (mspools-mode-map):
6598 * hexl.el (hexl-mode-map):
6599 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6600 (wordstar-C-o-map, wordstar-C-q-map):
6601 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6602 * emacs-lisp/chart.el (chart-map):
6603 * edmacro.el (edmacro-mode-map):
6604 * erc/erc-list.el (erc-list-menu-mode-map):
6605 * array.el (array-mode-map): Declare and define in one step.
6607 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6609 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6611 * epa.el (epa-passphrase-callback-function): Display filename
6612 passed as the 3rd arg.
6613 * epa-file.el (epa-file-passphrase-callback-function):
6614 Pass filename to epa-passphrase-callback-function.
6616 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6618 * cus-edit.el (custom-face-widget-to-spec)
6619 (custom-face-get-current-spec, custom-face-state): New functions.
6620 (custom-face-set, custom-face-mark-to-save)
6621 (custom-face-value-create, custom-face-state-set): Use them.
6623 * cus-theme.el (custom-theme--listed-faces): New var.
6624 (customize-create-theme): Use *Custom Theme* as the buffer name.
6625 Set revert-buffer-function. Optional arg BUFFER. Insert all
6626 faces listed in custom-theme--listed-faces.
6627 (custom-theme-revert): New function.
6628 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6630 (custom-theme-write): Prompt for theme name if empty.
6631 (custom-theme-write-variables): Use dolist.
6632 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6634 2010-10-09 Alan Mackenzie <acm@muc.de>
6636 Enhance fontification of declarators to take account of the
6637 presence/absence of "typedef".
6639 * cc-engine.el (c-forward-type): New &optional param
6641 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6642 presence of either or both of a "struct"-like keyword and "typedef".
6644 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6645 fontification of declarators which follow a "}".
6646 (c-font-lock-declarations): Fontify declarators according to the
6647 presence/absence of "typedef".
6649 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6651 (c-typedef-decl-key): New lang variable built from
6652 c-typedef-decl-kwds.
6654 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6656 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6657 since that's too annoying. Move the filter groups commands to
6660 * epa.el (epa-passphrase-callback-function): Say what we're
6661 querying the password for.
6663 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6664 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6666 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6668 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6669 (custom-magic-value-create): Pad button tags with spaces.
6670 (custom-face-edit): New variable.
6671 (custom-face-value-create): Determine whether to use the usual
6672 face editor here, instead of using custom-face-selected.
6673 Pass face defaults to custom-face-edit widget.
6674 (custom-face-selected, custom-display-unselected): Delete widgets.
6675 (custom-display-unselected-match): Function removed.
6676 (custom-face-set, custom-face-mark-to-save):
6677 Accept custom-face-edit widgets as the direct widget child.
6679 * wid-edit.el (widget--completing-widget): New var.
6680 (widget-default-complete): Bind it when doing completion.
6681 (widget-string-complete, widget-file-complete): Use it.
6683 2010-10-09 Glenn Morris <rgm@gnu.org>
6685 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6686 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6687 (holiday-hebrew-misc): Small simplifications.
6689 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6691 * net/browse-url.el: Don't require thingatpt, term, dired,
6692 executable, or w3-auto when compiling.
6693 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6695 (browse-url-text-emacs): Require term.
6697 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6699 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6701 2010-10-08 Glenn Morris <rgm@gnu.org>
6703 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6705 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6706 (shadows-compare-text-p): Make it an obsolete alias for...
6707 (load-path-shadows-compare-text): ... new name.
6708 (find-emacs-lisp-shadows): Update for above name change.
6709 (load-path-shadows-same-file-or-nonexistent): New name for the old
6710 shadow-same-file-or-nonexistent.
6712 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6714 * minibuffer.el (completion--some, completion--do-completion)
6715 (minibuffer-complete-and-exit, minibuffer-completion-help)
6716 (completion-basic-try-completion)
6717 (completion-basic-all-completions)
6718 (completion-pcm--find-all-completions): Use lexical-let to
6719 avoid some false matches in variable completion (Bug#7056)
6721 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6723 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6725 2010-10-08 Leo <sdl.web@gmail.com>
6727 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6728 return non-nil if the file exists (Bug#7090).
6730 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6732 * minibuffer.el (completion--replace):
6733 Better preserve markers (bug#7138).
6735 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6737 * server.el (server-process-filter): Doc fix.
6739 2010-10-08 Drew Adams <drew.adams@oracle.com>
6741 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6743 2010-10-08 Glenn Morris <rgm@gnu.org>
6745 * vc/ediff-wind.el (ediff-setup-control-frame):
6746 * vc/ediff-ptch.el (ediff-default-backup-extension):
6747 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6748 (ediff-exec-process): Remove system-types emx, windows-95.
6750 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6752 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6754 * cus-edit.el (custom-variable, custom-face): Doc fix.
6755 (custom-face-edit): Add value-create attribute.
6756 (custom-face-edit-value-create)
6757 (custom-face-edit-value-visibility-action): New functions.
6758 Hide unused face attributes by default, and add a visibility toggle.
6759 (custom-face-edit-deactivate): Show empty values with shadow face.
6760 (custom-face-selected): Only use this for face specs with default
6762 (custom-face-value-create): Cleanup.
6764 * wid-edit.el (widget-checklist-value-create): Use dolist.
6765 (widget-checklist-match-find): Make second arg optional.
6767 2010-10-07 Glenn Morris <rgm@gnu.org>
6769 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6772 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6773 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6774 load-path-shadows-mode, update references.
6775 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6776 Rename variable and button.
6777 (list-load-path-shadows): Update button caller.
6779 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6782 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6783 (smie-merge-prec2s): Handle those new entries.
6784 (smie-prec2-levels): Only set precedence to nil for actual
6786 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6787 that is now unnecessary.
6789 2010-10-07 Miles Bader <miles@gnu.org>
6791 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6793 2010-10-07 Glenn Morris <rgm@gnu.org>
6795 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6796 (mail-position-on-field): Remove declarations.
6797 (mail-position-on-field): Autoload it.
6798 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6799 and mail-header-end. Don't require sendmail.
6801 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6802 (shadow-mode): New mode.
6803 (shadow-find-file): New button.
6804 (list-load-path-shadows): Use shadow-mode and buttons.
6806 * iimage.el (iimage-version): Remove.
6807 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6808 Turn into defcustoms.
6809 (iimage-mode-map): Give it a doc string.
6811 * calendar/appt.el (appt-activate): Give a warning rather than an error
6812 if there is no diary-file.
6814 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6816 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6817 Use `tramp-handle-find-backup-file-name'.
6819 2010-10-06 Glenn Morris <rgm@gnu.org>
6821 * font-core.el (font-lock-defaults-alist): Remove variable.
6822 (font-lock-mode): Doc fix.
6823 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6824 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6825 (font-lock-set-defaults): Doc fix.
6826 Do not consult font-lock-defaults-alist.
6828 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6830 * emacs-lisp/cl.el: No longer provide cl-19.
6832 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6834 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6835 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6836 New defuns, taken from tramp-smb.el.
6837 (tramp-coding-system-change-eol-conversion)
6838 (tramp-set-process-query-on-exit-flag): Remove.
6840 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6841 (tramp-compat-coding-system-change-eol-conversion)
6842 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6845 * net/tramp-gvfs.el:
6846 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6847 by `tramp-compat-set-process-query-on-exit-flag'.
6849 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6850 Use `tramp-handle-directory-files-and-attributes',
6851 `tramp-handle-file-exists-p' and
6852 `tramp-handle-file-newer-than-file-p'.
6853 (tramp-imap-handle-file-exists-p)
6854 (tramp-imap-handle-file-executable-p)
6855 (tramp-imap-handle-file-readable-p)
6856 (tramp-imap-handle-directory-files-and-attributes)
6857 (tramp-imap-handle-file-newer-than-file-p): Remove.
6859 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6860 by `tramp-compat-set-process-query-on-exit-flag' and
6861 `tramp-coding-system-change-eol-conversion' by
6862 `tramp-compat-coding-system-change-eol-conversion'.
6864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6865 Use `tramp-handle-directory-files-and-attributes',
6866 `tramp-handle-file-exists-p' and
6867 `tramp-handle-file-newer-than-file-p'.
6868 (tramp-smb-handle-directory-files-and-attributes)
6869 (tramp-smb-handle-file-exists-p)
6870 (tramp-smb-handle-file-newer-than-file-p): Remove.
6871 (tramp-smb-maybe-open-connection):
6872 Replace `tramp-set-process-query-on-exit-flag' by
6873 `tramp-compat-set-process-query-on-exit-flag'.
6875 2010-10-05 Glenn Morris <rgm@gnu.org>
6877 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6879 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6881 Continue reorganization of load dependencies. (Bug#7156)
6883 * net/tramp.el (tramp-handle-file-local-copy-hook)
6884 (tramp-delete-temp-file-function): Move down.
6885 (tramp-exists-file-name-handler): Move up.
6886 (tramp-register-file-name-handlers): Simplify autoload.
6887 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6888 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6889 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6890 (tramp-handle-file-name-completion)
6891 (tramp-handle-file-name-directory)
6892 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6893 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6894 (tramp-handle-find-backup-file-name)
6895 (tramp-handle-insert-file-contents, tramp-handle-load)
6896 (tramp-handle-substitute-in-file-name)
6897 (tramp-handle-unhandled-file-name-directory)
6898 (tramp-mode-string-to-int, tramp-local-host-p)
6899 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6901 * net/tramp-gvfs.el (top):
6902 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6904 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6905 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6907 2010-10-04 Glenn Morris <rgm@gnu.org>
6909 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6910 (appt-activate): Give status messages.
6912 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6914 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6915 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6916 `gnutls-negotiate' (formerly `starttls-negotiate').
6917 Remove trivial wrapper `starttls-open-stream'.
6919 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6921 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6922 log-outgoing commands.
6923 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6924 to create a buffer local revert-buffer-function variable.
6925 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6926 revert-buffer-function lambda.
6928 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6930 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6931 `gnutls-boot'. Make TYPE the only required parameter.
6932 Allow TRUSTFILES and KEYFILES to be lists.
6933 (open-ssl-stream): Use it.
6935 2010-10-03 Glenn Morris <rgm@gnu.org>
6937 * subr.el (directory-sep-char): Remove obsolete variable.
6938 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6941 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6942 * vc/vc.el (vc-static-header-alist): Doc fix.
6943 * vc/vc-cvs.el (vc-cvs-header):
6944 * vc/vc-rcs.el (vc-rcs-header):
6945 * vc/vc-sccs.el (vc-sccs-header):
6946 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6947 * obsolete/vc-mcvs.el (vc-mcvs-header):
6948 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6951 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6953 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6954 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6956 2010-10-03 Glenn Morris <rgm@gnu.org>
6958 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6960 * textmodes/rst.el (rst-font-lock-keywords-function):
6963 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6965 * printing.el: Drop Emacs 20 code.
6967 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6968 without having used appt.el already).
6970 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6971 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6972 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6974 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6975 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6977 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6978 (charset-width, find-charset-region, chars-in-region, forward-point)
6979 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6980 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6981 Remove compatibility cruft (none of these are used by ps*.el).
6983 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6985 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6987 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6989 * server.el (server-process-filter, server-return-error):
6990 Give emacsclient time to shut down after receiving an error string.
6992 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6994 * files.el (remote-file-name-inhibit-cache): New defcustom.
6996 * time.el (display-time-file-nonempty-p):
6997 Use `remote-file-name-inhibit-cache'.
6999 * net/tramp.el (tramp-completion-reread-directory-timeout):
7002 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7003 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7004 `remote-file-name-inhibit-cache'. Check also for an integer
7005 value. Add/increase counter when `tramp-verbose' >= 10.
7006 (tramp-set-file-property): Add/increase counter when
7007 `tramp-verbose' >= 10.
7009 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7010 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7011 (tramp-bug): Set tramp-autoload cookie. Report all interned
7012 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7013 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7014 characters only in strings.
7016 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7017 to backward compatibility.
7019 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7020 (tramp-handle-file-name-all-completions)
7021 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7022 (tramp-open-connection-setup-interactive-shell):
7023 Call `tramp-cleanup-connection' directly.
7025 2010-10-02 Glenn Morris <rgm@gnu.org>
7027 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7029 * subr.el (char-bytes): Remove obsolete function.
7031 * isearch.el (isearch-return-char): Remove obsolete function.
7033 * mouse.el: No longer provide mldrag.
7034 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7035 Remove obsolete aliases.
7037 * comint.el (comint-kill-output): Remove obsolete alias.
7039 * composite.el (decompose-composite-char): Remove obsolete function.
7040 * ps-def.el (decompose-composite-char): Remove unused function.
7042 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7044 * outline.el (outline-visible): Remove obsolete function.
7046 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7047 * faces.el (internal-find-face, internal-get-face)
7048 (frame-update-faces, frame-update-face-colors)
7049 (x-frob-font-weight, x-frob-font-slant)
7050 (internal-frob-font-weight, internal-frob-font-slant)
7051 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7052 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7053 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7055 * emulation/viper-util.el (viper-get-face):
7056 * obsolete/lucid.el (find-face, get-face): Use facep.
7057 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7058 Remove unused functions.
7059 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7061 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7062 delete tempfile if interrupted during compilation.
7064 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7066 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7068 (tls-program): Add --insecure to be consistent with the defaults from
7069 openssl s_client. Now all three commands are insecure.
7071 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7073 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7074 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7075 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7077 2010-10-01 Glenn Morris <rgm@gnu.org>
7079 * obsolete/sc.el: Remove file.
7081 * files.el (temporary-file-directory): On darwin, also try
7082 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7084 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7086 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7087 Let's not break compatibility gratuitously, shall we?
7089 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091 * net/tls.el (tls-starttls-switches): New variable.
7092 (tls-find-starttls-argument): Use it.
7093 (open-tls-stream): Ditto.
7095 * net/netrc.el (netrc-credentials): Return the value of the "default"
7097 (netrc-machine): Ditto.
7099 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7101 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7103 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7105 * server.el (server-start): Don't write pid to the authentication file.
7106 (server-create-tty-frame): Don't send pid.
7107 (server-process-filter): Send pid at the start of every connection.
7109 2010-09-30 Glenn Morris <rgm@gnu.org>
7111 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7112 (show-all-diary-entries): Remove obsolete function aliases.
7114 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7115 Remove options, obsolete since 22.1.
7116 (appt-display-format, appt-display-message):
7117 Remove backwards-compatibility code.
7118 (appt-check): No longer check appt-issue-message.
7119 (appt-make-list): No longer autoload it. Doc fix. No longer
7120 activate the package.
7122 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7125 (starttls-negotiate): Just call boot, and let the handshake be
7126 triggered from the read loop.
7128 2010-09-29 Glenn Morris <rgm@gnu.org>
7130 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7131 not displaying the diary.
7132 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7133 * calendar/appt.el (appt-check): No longer need to kill diary.
7135 * calendar/diary-lib.el (diary-list-entries): Move the
7136 "Preparing..." message entirely here.
7137 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7138 messages to diary-list-entries.
7139 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7140 diary-display-function.
7142 * calendar/diary-lib.el (diary-include-other-diary-files):
7143 Trap some recursive includes.
7145 * calendar/appt.el (appt-activate): Check diary file.
7147 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7149 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7152 * calendar/time-date.el: No need to require cl for Emacs 21.
7154 2010-09-28 Glenn Morris <rgm@gnu.org>
7156 * calendar/appt.el (appt-check): Minor simplification.
7158 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7160 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7163 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7165 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7166 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7168 2010-09-27 Kenichi Handa <handa@m17n.org>
7170 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7173 2010-09-27 Kenichi Handa <handa@m17n.org>
7175 * international/mule.el (define-coding-system): Docstring fixed.
7177 * international/mule-diag.el (describe-character-set): Use princ
7178 with proper print-length and print-level instead of insert.
7180 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7182 * window.el (walk-windows): Doc fix (bug#7105).
7184 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7186 * emacs-lisp/float-sup.el (e): Remove.
7188 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7190 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7192 (starttls-negotiate): Use it.
7194 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7199 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7203 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7207 * net/netrc.el (netrc-store-data): New function.
7209 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7211 * net/gnutls.el: GnuTLS glue code to set up a connection.
7213 2010-09-25 Julien Danjou <julien@danjou.info>
7215 * notifications.el: Call dbus-register-signal only if it is bound.
7217 2010-09-25 Glenn Morris <rgm@gnu.org>
7219 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7220 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7221 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7222 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7223 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7224 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7225 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7226 * eshell/esh-util.el, eshell/esh-var.el:
7227 Remove leading `*' from docs of faces and defcustoms.
7229 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7231 * eshell/em-ls.el (eshell-ls-archive-regexp):
7232 * eshell/esh-util.el (eshell-tar-regexp):
7233 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7234 * info.el (Info-suffix-list):
7235 * international/mule.el (auto-coding-alist):
7236 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7237 * progmodes/etags.el (tags-compression-info-list):
7238 Support xz compression.
7240 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7242 * files.el (get-free-disk-space): Don't assume the "df" output
7243 columns line up (Bug#6995).
7245 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7247 * finder.el (finder-unknown-keywords):
7248 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7249 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7251 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7253 * server.el (server-start): Revert part of 2010-08-08 change. Using
7254 address 127.0.0.1 for local host is now done in Fmake_network_process.
7256 2010-09-24 Glenn Morris <rgm@gnu.org>
7258 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7259 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7260 * textmodes/css-mode.el, textmodes/dns-mode.el:
7261 Move autoloaded auto-mode-alist entries to files.el.
7262 * files.el (auto-mode-alist): Move entries here.
7264 2010-09-23 Glenn Morris <rgm@gnu.org>
7266 * isearch.el (isearch-lazy-highlight-cleanup)
7267 (isearch-lazy-highlight-initial-delay)
7268 (isearch-lazy-highlight-interval)
7269 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7270 * net/net-utils.el (ipconfig-program-options):
7271 Move aliases to options before the associated definitions.
7273 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7275 * newcomment.el (comment-normalize-vars): Better test validity of
7278 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7281 (float-e): New name for `e'.
7282 (degrees-to-radians, radians-to-degrees):
7283 * calendar/solar.el (solar-longitude):
7284 * calculator.el (calculator-registers, calculator-funcall):
7285 * textmodes/artist.el (artist-spray-random-points):
7286 * play/bubbles.el (bubbles--initialize-images): Use new names.
7288 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7290 Update to CEDET 1.0's version of EIEIO.
7292 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7294 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7295 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7296 (class-precedence-list): If class is nil, return nil.
7297 (eieio-generic-call): If class of first input arg is nil, don't
7298 look up static methods, and do check for primary methods.
7299 (initialize-instance): See if the default needs to be evaluated
7300 during the constructor.
7301 (eieio-perform-slot-validation-for-default): Don't do the check
7302 for values that will eventually be evaluated.
7303 (eieio-eval-default-p): New function.
7304 (eieio-default-eval-maybe): Use it.
7306 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7308 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7309 method-invocation-order.
7310 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7311 (eieio-class-precedence-dfs): Compute class precedence list using
7313 (eieio-class-precedence-bfs): Compute class precedence list using
7315 (eieio-class-precedence-c3): Compute class precedence list using
7317 (class-precedence-list): New function.
7318 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7319 (inconsistent-class-hierarchy): New error symbol.
7320 (call-next-method): Stow the replacement argument list for future
7321 call-next-method invocations.
7323 2010-09-23 Glenn Morris <rgm@gnu.org>
7325 * calendar/appt.el (appt-check): If not displaying the diary,
7326 use (diary 1) to only get the entries we need.
7327 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7328 that it is in day order. (Bug#7019)
7330 * calendar/appt.el (appt-check): Rather than showing the diary,
7331 just turn off invisible display, and only if needed.
7333 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7335 2010-09-23 Glenn Morris <rgm@gnu.org>
7337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7338 (byte-compile-defvar, byte-compile-cl-warn):
7339 Start warnings with lower-case, like the majority.
7341 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7343 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7345 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7346 * files.el (auto-mode-alist): Move ld-script entries here, further down
7349 * vc/add-log.el: Don't require timezone when compiling.
7350 (timezone-make-date-sortable): Autoload it.
7351 (change-log-sortable-date-at): Don't require timezone.
7352 Use `ignore-errors'.
7354 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7355 Move alias before definition, so it does not need autoloading.
7357 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7358 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7359 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7360 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7361 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7362 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7363 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7364 * textmodes/tex-mode.el, textmodes/two-column.el:
7365 Remove leading `*' from docs of defcustoms etc.
7367 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7369 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7371 2010-09-22 Dan Christensen <jdc@uwo.ca>
7373 * calendar/time-date.el (date-to-time): Try using parse-time-string
7374 first before using the slower timezone-make-date-arpa-standard.
7376 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7378 * calendar/time-date.el (format-seconds): Comment fix.
7380 2010-09-22 Glenn Morris <rgm@gnu.org>
7382 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7383 is not automatically buffer-local.
7385 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7388 (smie-indent-comment): Be more careful with comment-start-skip.
7389 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7390 (smie-indent-functions): Use them.
7392 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7394 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7396 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7398 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7399 tool-bar-position. Don't modify frame parameters here.
7400 (menu-bar-options-save): Add tool-bar-position.
7402 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7404 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7406 * textmodes/reftex-parse.el (reftex-what-macro)
7407 (reftex-context-substring): Let-bind forward-sexp-function to nil
7408 since we don't need/want to treat \begin...\end as a block (bug#7053).
7410 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7412 * simple.el (blink-matching-open): Use syntax-class.
7414 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7415 Set invisibility spec for pascal's outline mode.
7416 (pascal-outline-change): Clean up calling convention.
7417 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7419 * progmodes/prolog.el (prolog-smie-forward-token)
7420 (prolog-smie-backward-token): New functions.
7421 (prolog-mode-variables): Use them to parse "!," correctly.
7422 Set up smie-blink-matching for ".".
7424 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7426 (ispell-region, ispell-process-line): Update users.
7428 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7431 * textmodes/ispell.el: Fix commenting convention.
7432 (ispell-parse-output): Simplify, use push.
7433 (ispell-region): Use match-string-no-properties.
7434 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7435 (ispell-minor-mode): Use define-minor-mode.
7436 (ispell-message): Remove unused var `skip-regexp'.
7437 (ispell-add-per-file-word-list): Use dynamic let-binding.
7438 Try and use the proper comment marker.
7440 * mail/sendmail.el: Fix commenting convention.
7441 (sendmail-send-it): Use line-beginning-position.
7443 * help-fns.el (describe-variable): Add original value, if applicable.
7445 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7447 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7449 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7451 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7454 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7455 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7456 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7457 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7458 something like "." can also be a closer.
7459 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7460 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7461 Rename internal functions to use "--". Update callers.
7463 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7465 * fringe.el (fringe-styles): New var.
7466 (fringe-mode, fringe-query-style): Use it.
7468 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7470 * progmodes/sql.el: Version 2.8
7471 (sql-login-params): Update widget structure; changes still needed.
7472 (sql-product-alist): Add :list-all and :list-table features for
7473 SQLite, Postgres and MySQL products.
7474 (sql-redirect): Handle default value.
7475 (sql-execute, sql-execute-feature): New functions.
7476 (sql-read-table-name): New function.
7477 (sql-list-all, sql-list-table): New functions. User API.
7478 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7479 for above functions.
7480 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7481 for above functions.
7482 (sql-postgres-login-params): Add user and database defaults.
7483 (sql-buffer-live-p): Bug fix.
7484 (sql-product-history): New variable.
7485 (sql-read-product): New function. Use it.
7486 (sql-set-product, sql-product-interactive): Use it.
7487 (sql-connection-history): New variable.
7488 (sql-read-connection): New function. Use it.
7489 (sql-connect): New function.
7490 (sql-for-each-login): Redesign function interface.
7491 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7492 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7493 (sql-comint): Check for program. Existing live buffer.
7494 (sql-comint-postgres): Add port parameter.
7496 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * emacs-lisp/warnings.el: Fix commenting convention.
7499 (display-warning): Use special mode and make the buffer read-only.
7501 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7503 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7504 empty string when it follows a repeated or optional pattern.
7506 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7509 (indent-region): Use indent-according-to-mode.
7511 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7513 * fringe.el (fringe-mode): Doc fix.
7515 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7517 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7518 refreshing the preview buffer.
7520 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7523 (latex-syntax-propertize-rules): New consts; replace
7524 tex-font-lock-syntactic-keywords.
7525 (tex-env-mark, latex-env-before-change): New functions.
7526 (latex-electric-env-pair-mode): New minor mode.
7527 (tex-font-lock-verb): Change arguments; do move point.
7528 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7529 representation as a form of comment.
7530 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7531 (doctex-syntax-propertize-rules): New const; replaces
7532 doctex-font-lock-syntactic-keywords.
7533 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7535 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7536 (fortran-make-syntax-propertize-function): New function; replaces
7537 fortran-font-lock-syntactic-keywords.
7538 (fortran-mode): Use it.
7539 (fortran-line-length): Use it. Improve interactive spec.
7541 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7542 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7543 when adding surrounding \(..\).
7545 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7547 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7550 Use with-current-buffer.
7552 * isearch.el (isearch-face): Rename from `isearch'.
7553 (isearch-highlight): Use new name.
7555 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7557 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7558 5, for `half' width fringes. (Bug#6933)
7560 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7563 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7565 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7567 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7569 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7570 in calculating new frame position. Add more space between new and
7571 parent on the left (Bug#7048).
7573 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7575 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7578 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7580 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7582 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7583 obsolete alias for x-selection-value.
7585 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7587 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7589 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7592 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7594 * net/tramp-compat.el (tramp-compat-with-temp-message)
7595 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7596 (tramp-compat-process-put): New defuns.
7598 * net/tramp.el (top):
7599 * net/tramp-gvfs.el (top):
7600 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7602 * net/tramp.el (tramp-progress-reporter-update):
7603 Use `tramp-compat-funcall'.
7605 * net/tramp.el (tramp-process-actions):
7606 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7607 * net/tramp-sh.el (tramp-handle-vc-registered)
7608 (tramp-get-remote-stat, tramp-get-remote-readlink):
7609 Use `tramp-compat-with-temp-message'.
7611 * net/tramp-sh.el (top): Require 'cl.
7612 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7613 (tramp-open-connection-setup-interactive-shell):
7614 Use `tramp-compat-process-put'.
7616 2010-09-15 Alan Mackenzie <acm@muc.de>
7618 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7620 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7622 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7624 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7625 `lexical' for warnings related to lexical scoping.
7626 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7627 global vars which don't have a prefix and could hence affect lexical
7628 scoping in unrelated files.
7630 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7632 * net/imap.el: Revert back to version
7633 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7636 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7638 * obsolete/old-whitespace.el (whitespace-unload-function):
7639 Explicitly pass `obarray' to `unintern' to avoid a warning.
7641 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7644 Add `when' argument. Update callers.
7646 * subr.el (unintern): Declare the obarray arg mandatory.
7648 2010-09-14 Glenn Morris <rgm@gnu.org>
7650 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7653 * calendar/diary-lib.el (diary-included-files): New variable.
7654 (diary-list-entries): Maybe initialize diary-included-files.
7655 (diary-include-other-diary-files): Append to diary-included-files.
7656 * calendar/appt.el (appt-update-list): Also check the members of
7657 diary-included-files. (Bug#6999)
7658 (appt-check): Doc fix.
7660 2010-09-14 David Reitter <david.reitter@gmail.com>
7662 * simple.el (line-move-visual): Do not truncate goal column to
7663 integer size. (Bug#7020)
7665 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * repeat.el (repeat): Allow repeating when the last event is a click.
7668 Suggested by Drew Adams (bug#6256).
7670 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7672 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7673 Replace setting HGRCPATH to "" by some less invasive --config options.
7675 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * font-lock.el (font-lock-beginning-of-syntax-function):
7680 2010-09-14 Glenn Morris <rgm@gnu.org>
7682 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7683 and tool-bar modes. (Bug#6211)
7684 (menu-bar-mode): Move setting of standard-value after the
7685 minor-mode definition, otherwise it seems to have no effect.
7687 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7689 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7690 Fix typo. (Bug#6976)
7692 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7694 * whitespace.el: Allow cleaning up blanks without blank
7695 visualization (Bug#6651). Adjust help window for
7696 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7697 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7698 (whitespace-style): Add new value 'face. Adjust docstring.
7699 (whitespace-space, whitespace-hspace, whitespace-tab):
7700 Adjust foreground property face.
7701 (whitespace-line-column): Adjust docstring and type declaration.
7702 (whitespace-style-value-list, whitespace-toggle-option-alist)
7703 (whitespace-help-text): Adjust const initialization.
7704 (whitespace-toggle-options, global-whitespace-toggle-options):
7706 (whitespace-display-window, whitespace-interactive-char)
7707 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7708 (whitespace-help-scroll): New fun.
7710 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7712 * calendar/time-date.el (format-seconds): Comment fix.
7714 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7716 * progmodes/sql.el: Version 2.7.
7717 (sql-buffer-live-p): Improve detection.
7718 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7719 (sql-set-sqli-buffer): Use it.
7720 (sql-product-interactive): Run `sql-set-sqli-hook'.
7721 (sql-rename-buffer): Code cleanup.
7722 (sql-redirect, sql-redirect-value): New functions. More to come.
7724 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7726 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.
7727 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7728 (TRAMP_SRC): New macro.
7729 ($(lisp)/net/tramp-loaddefs.el): New target.
7731 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7733 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7735 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7737 * net/tramp.el (top): Don't show loading message. Require just
7738 'tramp-compat, everything else is required there.
7739 Use `ignore-errors' where appropriate.
7740 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7741 (tramp-terminal-type, tramp-end-of-output)
7742 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7743 (tramp-completion-function-alist-ssh)
7744 (tramp-completion-function-alist-telnet)
7745 (tramp-completion-function-alist-su)
7746 (tramp-completion-function-alist-putty, tramp-remote-path)
7747 (tramp-remote-process-environment, tramp-sh-extra-args)
7748 (tramp-actions-before-shell, tramp-uudecode)
7749 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7750 (tramp-perl-file-attributes)
7751 (tramp-perl-directory-files-and-attributes)
7752 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7753 (tramp-perl-encode, tramp-perl-decode)
7754 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7755 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7756 (tramp-handle-make-symbolic-link, tramp-handle-load)
7757 (tramp-handle-file-name-as-directory)
7758 (tramp-handle-file-name-directory)
7759 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7760 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7761 (tramp-do-file-attributes-with-ls)
7762 (tramp-do-file-attributes-with-perl)
7763 (tramp-do-file-attributes-with-stat)
7764 (tramp-handle-set-visited-file-modtime)
7765 (tramp-handle-verify-visited-file-modtime)
7766 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7767 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7768 (tramp-handle-file-selinux-context)
7769 (tramp-handle-set-file-selinux-context)
7770 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7771 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7772 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7773 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7774 (tramp-handle-file-ownership-preserved-p)
7775 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7776 (tramp-handle-directory-files-and-attributes)
7777 (tramp-do-directory-files-and-attributes-with-perl)
7778 (tramp-do-directory-files-and-attributes-with-stat)
7779 (tramp-handle-file-name-all-completions)
7780 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7781 (tramp-handle-copy-file, tramp-handle-copy-directory)
7782 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7783 (tramp-do-copy-or-rename-file-via-buffer)
7784 (tramp-do-copy-or-rename-file-directly)
7785 (tramp-do-copy-or-rename-file-out-of-band)
7786 (tramp-handle-make-directory, tramp-handle-delete-directory)
7787 (tramp-handle-delete-file)
7788 (tramp-handle-dired-recursive-delete-directory)
7789 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7790 (tramp-handle-insert-directory)
7791 (tramp-handle-unhandled-file-name-directory)
7792 (tramp-handle-expand-file-name)
7793 (tramp-handle-substitute-in-file-name)
7794 (tramp-handle-executable-find, tramp-process-sentinel)
7795 (tramp-handle-start-file-process, tramp-handle-process-file)
7796 (tramp-handle-call-process-region, tramp-handle-shell-command)
7797 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7798 (tramp-handle-insert-file-contents)
7799 (tramp-handle-insert-file-contents-literally)
7800 (tramp-handle-find-backup-file-name)
7801 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7802 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7803 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7804 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7805 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7806 (tramp-find-file-exists-command, tramp-open-shell)
7807 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7808 (tramp-open-connection-setup-interactive-shell)
7809 (tramp-local-coding-commands, tramp-remote-coding-commands)
7810 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7811 (tramp-inline-compress-commands, tramp-find-inline-compress)
7812 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7813 (tramp-send-command, tramp-wait-for-output)
7814 (tramp-send-command-and-check, tramp-barf-unless-okay)
7815 (tramp-send-command-and-read, tramp-mode-string-to-int)
7816 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7817 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7818 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7819 (tramp-method-out-of-band-p, tramp-local-host-p)
7820 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7821 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7822 (tramp-get-test-command, tramp-get-test-nt-command)
7823 (tramp-get-file-exists-command, tramp-get-remote-ln)
7824 (tramp-get-remote-perl, tramp-get-remote-stat)
7825 (tramp-get-remote-readlink, tramp-get-remote-trash)
7826 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7827 (tramp-get-local-uid, tramp-get-local-gid)
7828 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7830 (tramp-methods, tramp-default-method-alist)
7831 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7832 Move initialization to tramp-sh.el.
7833 (tramp-temp-name-prefix): Make it a defconst.
7834 (tramp-dissect-file-name): Don't check anymore for multi-hop
7836 (tramp-debug-outline-regexp): Add a docstring.
7837 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7838 (tramp-get-debug-buffer): Use it.
7840 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7841 initialization forms.
7842 (tramp-set-connection-property): Don't protect `tramp-message'
7843 call, it isn't necessary any longer.
7844 (tramp-dump-connection-properties): Use `ignore-errors'.
7846 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7847 'password-cache and 'auth-source.
7849 * net/tramp-gvfs.el (top):
7850 * net/tramp-smb.el (top): Require 'tramp-sh.
7852 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7854 * net/tramp-sh.el: New file, derived from tramp.el.
7855 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7856 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7857 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7858 Use `ignore-errors' where appropriate.
7859 (tramp-sh-file-name-handler-alist): Rename from
7860 `tramp-file-name-handler-alist'.
7861 (tramp-send-command-and-check): Return t or nil. Remove all
7862 `zerop' checks, where called.
7863 (tramp-handle-set-file-modes)
7864 (tramp-do-copy-or-rename-file-directly)
7865 (tramp-handle-delete-directory, tramp-handle-delete-file)
7866 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7867 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7868 (tramp-get-remote-ln): Set tramp-autoload cookie.
7870 * net/tramp-fish.el: Remove file.
7872 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7874 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7875 buffer-file-name to avoid file-locking. (Bug#7026)
7877 2010-09-13 Julien Danjou <julien@danjou.info>
7879 * notifications.el (notifications-notify): Add support for
7880 image-path and sound-name.
7881 (notifications-specification-version): Add this variable.
7883 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7885 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7887 2010-09-12 Leo <sdl.web@gmail.com>
7889 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7890 (rcirc-completion-start): New variables.
7891 (rcirc-nick-completions): Rename to rcirc-completions.
7892 (rcirc-nick-completion-start-offset): Delete.
7893 (rcirc-completion-at-point): New function for constructing
7894 completion data for both nicks and irc commands. Add to
7895 completion-at-point-functions in rcirc mode.
7896 (rcirc-complete): Rename from rcirc-nick-complete; use
7897 rcirc-completion-at-point.
7898 (defun-rcirc-command): Update rcirc-client-commands.
7900 2010-09-11 Glenn Morris <rgm@gnu.org>
7902 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7903 atomically, to avoid parallel build errors. (Bug#4196)
7905 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7907 * progmodes/sql.el: Version 2.6
7908 (sql-dialect): Synonym for "sql-product".
7909 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7910 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7911 Set "sql-buffer" to buffer name not buffer object so multiple sql
7912 interactive buffers work properly. Reverts misguided changes in
7914 (sql-comint): Make sure different buffer name is used if "*SQL*"
7915 buffer is for a different product.
7916 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7918 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7919 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7920 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7921 Accept new buffer name or prompt for one.
7922 (sql-port): Default to zero.
7923 (sql-comint-mysql): Handle "sql-port" as a numeric.
7924 (sql-port-history): Delete unused variable.
7925 (sql-get-login): Default "sql-port" to a number.
7926 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7927 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7928 "sqlite3" executables.
7929 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7930 (sql-buffer-live-p): New function.
7931 (sql-mode-menu, sql-send-string): Use it.
7932 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7934 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7935 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7937 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939 * net/netrc.el (netrc-credentials): New convenience function.
7941 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7943 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7944 to replace texinfo-font-lock-syntactic-keywords.
7945 (texinfo-mode): Use it.
7947 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7948 Use syntax-propertize-function.
7950 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7951 replace sgml-font-lock-syntactic-keywords.
7952 (sgml-mode): Use it.
7954 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7955 since we don't use it.
7957 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7959 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7961 (vhdl-fontify-buffer): Adjust.
7963 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7964 replace tcl-font-lock-syntactic-keywords.
7967 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7968 replace simula-font-lock-syntactic-keywords.
7969 (simula-mode): Use it.
7971 * progmodes/sh-script.el (sh-st-symbol): Remove.
7972 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7973 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7974 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7975 (sh-font-lock-paren): Set syntax-multiline.
7976 (sh-font-lock-syntactic-keywords): Remove.
7977 (sh-syntax-propertize-function): New function to replace it.
7980 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7981 Define while compiling.
7982 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7983 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7984 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7985 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7986 (ruby-here-doc-end-syntax): Only define when
7987 syntax-propertize is not available.
7988 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7990 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7991 (electric-indent-chars): Silence bytecompiler.
7992 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7993 electric-indent-chars.
7995 * progmodes/python.el (python-syntax-propertize-function): New var to
7996 replace python-font-lock-syntactic-keywords.
7997 (python-mode): Use it.
7998 (python-quote-syntax): Simplify and adjust to new use.
8000 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8001 replace perl-font-lock-syntactic-keywords.
8002 (perl-syntax-propertize-special-constructs): New fun to replace
8003 perl-font-lock-special-syntactic-constructs.
8004 (perl-font-lock-syntactic-face-function): New fun.
8005 (perl-mode): Use it.
8007 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8008 to replace octave-font-lock-close-quotes.
8009 (octave-syntax-propertize-function): New function to replace
8010 octave-font-lock-syntactic-keywords.
8011 (octave-mode): Use it.
8013 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8014 replaces mixal-font-lock-syntactic-keywords.
8015 (mixal-mode): Use it.
8017 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8018 New var; replaces makefile-font-lock-syntactic-keywords.
8019 (makefile-mode): Use it.
8020 (makefile-imake-mode): Adjust.
8022 * progmodes/js.el (js--regexp-literal): Define while compiling.
8023 (js-syntax-propertize-function): New var; replaces
8024 js-font-lock-syntactic-keywords.
8027 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8028 replaces gdb-script-font-lock-syntactic-keywords.
8029 (gdb-script-mode): Use it.
8031 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8032 (fortran--font-lock-syntactic-keywords): New var.
8033 (fortran-line-length): Update syntax-propertize-function and
8034 fortran--font-lock-syntactic-keywords.
8036 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8038 * progmodes/cfengine.el (cfengine-mode):
8039 Use syntax-propertize-function.
8040 (cfengine-font-lock-syntactic-keywords): Remove.
8042 * progmodes/autoconf.el (autoconf-mode):
8043 Use syntax-propertize-function.
8044 (autoconf-font-lock-syntactic-keywords): Remove.
8046 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8047 (ada-after-change-function, ada-initialize-syntax-table-properties)
8048 (ada-handle-syntax-table-properties): Only define when
8049 syntax-propertize is not available.
8050 (ada-mode): Use syntax-propertize-function.
8052 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8053 (font-lock-fontify-syntactic-keywords-region): Move handling of
8054 font-lock-syntactically-fontified to...
8055 (font-lock-default-fontify-region): ...here.
8056 Let syntax-propertize-function take precedence.
8057 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8059 * emacs-lisp/syntax.el (syntax-propertize-function)
8060 (syntax-propertize-chunk-size, syntax-propertize--done)
8061 (syntax-propertize-extend-region-functions): New vars.
8062 (syntax-propertize-wholelines, syntax-propertize-multiline)
8063 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8064 (syntax-propertize): New functions.
8065 (syntax-propertize-rules): New macro.
8066 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8067 (syntax-ppss): Call syntax-propertize.
8069 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8071 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8073 * textmodes/ispell.el (ispell-init-process): Improve comments.
8074 XEmacs compatibility changes regarding (add-hook) 'local option
8075 and (set-process-query-on-exit-flag).
8077 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8079 * net/tramp-cache.el (tramp-parse-connection-properties):
8080 Set tramp-autoload cookie.
8082 2010-09-09 Glenn Morris <rgm@gnu.org>
8084 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8085 (imagemagick-register-types): Doc fix.
8087 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8091 * progmodes/js.el (require): Require is already "eval-and-compile".
8092 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8093 (js--re-search-backward): Use js--re-search-forward.
8095 * progmodes/fortran.el (fortran-line-length): Don't recompute
8096 syntactic keywords redundantly a second time.
8098 * progmodes/ada-mode.el: Replace "(set '" with setq.
8099 (ada-mode): Simplify.
8100 (ada-create-case-exception, ada-adjust-case-interactive)
8101 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8102 (ada-search-ignore-string-comment, ada-move-to-start)
8103 (ada-move-to-end): Use with-syntax-table.
8105 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8106 (font-lock-unfontify-region, font-lock-default-fontify-region):
8107 Update usage correspondingly.
8108 (font-lock-fontify-syntactic-keywords-region):
8109 Set parse-sexp-lookup-properties buffer-locally here.
8110 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8112 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8114 2010-09-08 Glenn Morris <rgm@gnu.org>
8116 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8117 Error if not compiled with -DBYTE_CODE_METER.
8119 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8120 Ignore dir-locals-file.
8122 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8126 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8127 for the `gnu' messages.
8128 (compilation-set-skip-threshold): New command.
8129 (compilation-start): Use \' rather than $.
8130 (compilation-forget-errors): Use clrhash.
8132 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8134 * textmodes/ispell.el (ispell-valid-dictionary-list):
8137 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8139 Migrate to Tramp 2.2. Rearrange load dependencies.
8140 (Bug#1529, Bug#5448, Bug#5705)
8142 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8143 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8144 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8146 * net/tramp.el (top): Remove all other tramp-* loads except
8147 tramp-compat.el. Remove all changes to tramp-unload-hook for
8148 other tramp-* packages. Rearrange defun order. Change calls of
8149 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8150 `tramp-compat-octal-to-decimal' to new function names.
8151 (tramp-terminal-type, tramp-initial-end-of-output)
8152 (tramp-methods, tramp-foreign-file-name-handler-alist)
8153 (tramp-tramp-file-p, tramp-completion-mode-p)
8154 (tramp-send-command-and-check, tramp-get-remote-path)
8155 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8156 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8157 (with-file-property, with-connection-property): Move to
8159 (tramp-local-call-process, tramp-decimal-to-octal)
8160 (tramp-octal-to-decimal): Move to tramp-compat.el.
8161 (tramp-handle-shell-command): Do not require 'shell.
8162 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8164 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8166 * net/tramp-cache.el (top): Require 'tramp. Add to
8167 `tramp-unload-hook'.
8168 (tramp-cache-data, tramp-get-file-property)
8169 (tramp-set-file-property, tramp-flush-file-property)
8170 (tramp-flush-directory-property, tramp-get-connection-property)
8171 (tramp-set-connection-property, tramp-flush-connection-property)
8172 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8174 (with-file-property, with-connection-property): New defuns, moved
8176 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8179 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8180 (tramp-version): Set tramp-autoload cookie.
8182 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8183 changes to tramp-unload-hook for other tramp-* packages. Add to
8184 `tramp-unload-hook'.
8185 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8186 (tramp-compat-call-process): New defuns, moved from tramp.el.
8188 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8189 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8190 Add to `tramp-unload-hook'. Change call of
8191 `tramp-compat-decimal-to-octal' to new function name.
8192 (tramp-fish-method): Make it a defconst.
8193 (tramp-fish-file-name-p): Make it a defsubst.
8194 (tramp-fish-method, tramp-fish-file-name-handler)
8195 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8197 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8198 `tramp-foreign-file-name-handler-alist'. Add to
8199 `tramp-unload-hook'.
8200 (tramp-ftp-method): Make it a defconst.
8201 (tramp-ftp-file-name-p): Make it a defsubst.
8202 (tramp-ftp-method, tramp-ftp-file-name-handler)
8203 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8205 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8206 `tramp-foreign-file-name-handler-alist'. Add to
8207 `tramp-unload-hook'. Change checks, whether package can be
8209 (tramp-gvfs-file-name-p): Make it a defsubst.
8210 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8211 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8212 (tramp-gvfs-handle-file-directory-p): New defun.
8213 (tramp-gvfs-file-name-handler-alist): Use it.
8215 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8216 `tramp-foreign-file-name-handler-alist'. Add to
8217 `tramp-unload-hook'.
8218 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8219 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8221 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8222 (tramp-gw-open-connection): Set tramp-autoload cookie.
8224 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8225 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8226 Add to `tramp-unload-hook'. Change checks, whether package can be
8228 (tramp-imap-file-name-p): Make it a defsubst.
8229 (tramp-imap-method, tramp-imaps-method)
8230 (tramp-imap-file-name-handler)
8231 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8233 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8234 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8235 Add to `tramp-unload-hook'. Change checks, whether package can be
8236 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8238 (tramp-smb-tunnel-method): Make it a defconst.
8239 (tramp-smb-file-name-p): Make it a defsubst.
8240 (tramp-smb-method, tramp-smb-file-name-handler)
8241 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8243 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8244 (tramp-uuencode-region): Set tramp-autoload cookie.
8246 * net/trampver.el (top) Add to `tramp-unload-hook'.
8247 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8248 cookie. Update release number.
8250 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8252 * textmodes/ispell.el (ispell-start-process): Make sure original
8253 arg list is properly initialized (Bug#6993, Bug#6994).
8255 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8257 * files.el (directory-abbrev-alist): Use \` as default regexp.
8259 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8260 chars like - or ] (bug#6984).
8261 (rx-any-condense-range): Explode 2-char ranges.
8263 2010-09-06 Glenn Morris <rgm@gnu.org>
8265 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8267 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * textmodes/bibtex.el:
8270 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8272 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8274 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8275 since no callers use it.
8276 (imap-message-get): Ditto.
8277 (imap-message-put): Ditto.
8278 (imap-mailbox-map): Ditto.
8279 (imap-mailbox-put): Ditto.
8280 (imap-mailbox-get): Ditto.
8281 (imap-mailbox-get): Revert last change for this function.
8283 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8285 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8286 callers to use `imap-fetch' instead. According to the comments, this
8287 should be safe, since all other IMAP clients use the 1:* syntax.
8288 (imap-enable-exchange-bug-workaround): Remove.
8289 (imap-debug): Remove -- doesn't seem very useful.
8291 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293 * net/imap.el (imap-log): New convenience function used throughout
8294 instead of repeating the same code all over the place.
8296 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8298 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8299 when mouse-drag-copy-region is non-nil (Bug#6956).
8301 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8303 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8304 Improve regexps (Bug#6987).
8305 (dired-sort-toggle): Search more robustly for -t flag.
8307 * files.el (get-free-disk-space): Search more robustly for
8308 "available" column. Suggested by Ehud Karni
8309 <ehud@unix.mvs.co.il>.
8311 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8313 * international/uni-bidi.el:
8314 * international/uni-category.el:
8315 * international/uni-combining.el:
8316 * international/uni-decimal.el:
8317 * international/uni-mirrored.el:
8318 * international/uni-name.el: Regenerate.
8320 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * electric.el (electric-indent-post-self-insert-function):
8323 Don't reindent with a sloppy indentation function.
8325 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8326 border case in change-log-mode.
8328 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8331 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8332 Recognize leading tab in gcc-include regexp. Ignore names with
8333 leading "from" or "in" in gnu regexp (Bug#6937).
8335 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8337 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8338 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8339 (ispell-start-process): Avoid setq and simplify logic.
8340 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8341 (kill-buffer-hook): Don't use it globally with code that uses
8342 expand-file-name since that may call kill-buffer via
8343 code_conversion_restore.
8345 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8347 * emacs-lisp/package.el (package-directory-list): Only call
8348 file-name-nondirectory on a string.
8350 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8352 * emacs-lisp/package.el (package--download-one-archive):
8353 Ensure that archive-contents is valid before saving it.
8354 (package-activate-1, package-mark-obsolete, define-package)
8355 (package-compute-transaction, package-list-maybe-add): Use push.
8357 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8359 Use SMIE's blink-paren for octave-mode.
8360 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8361 Backslashes do not escape single-quotes, single-quotes do.
8362 (octave-block-else-regexp, octave-block-end-regexp)
8363 (octave-block-match-alist): Remove.
8364 (octave-smie-bnf-table): New var, with old content.
8365 (octave-smie-op-levels): Use it.
8366 (octave-smie-closer-alist): New var.
8367 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8368 (octave-blink-matching-block-open): Remove.
8369 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8370 (octave-electric-space): Let self-insert-command run expand-abbrev and
8373 * electric.el (electricity): New group.
8374 (electric-indent-chars): New var.
8375 (electric-indent-post-self-insert-function): New fun.
8376 (electric-indent-mode): New minor mode.
8377 (electric-pair-skip-self): New custom.
8378 (electric-pair-post-self-insert-function): New function.
8379 (electric-pair-mode): New minor mode.
8381 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8382 calcAlg-blink-matching-open.
8383 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8384 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8385 Use the new blink-matching-check-function.
8387 Provide blink-matching support to SMIE.
8388 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8389 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8390 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8392 * simple.el (newline): Fix last change to properly remove itself from
8395 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * simple.el (newline): Eliminate optimization.
8398 Use post-self-insert-hook to set hard-newline and things before
8399 running post-self-insert-hook.
8400 (blink-matching-check-mismatch): New function.
8401 (blink-matching-check-function): New variable.
8402 (blink-matching-open): Use them.
8403 Skip back forward over prefix chars skipped by forward-sexp.
8404 Don't check if the parens are backslash escaped.
8405 (blink-paren-post-self-insert-function): Check backslash escaping here.
8407 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8409 * emacs-lisp/package.el (package-menu-mode-map):
8410 Change package-menu-revert bindings to revert-buffer.
8411 (package-menu-mode): Set revert-buffer-function.
8412 (package-menu-revert): Doc fix.
8414 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8416 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8417 `default-directory' unless using Ispell per-directory personal
8418 dictionaries and not in a mini-buffer under XEmacs.
8419 (kill-buffer-hook): Do not kill ispell process on exit when
8420 `ispell-process-directory' is "~/". (Bug#6143)
8422 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8424 * simple.el (kill-new): Call interprogram-cut-function with only
8427 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8428 Remove cut buffer from error message.
8430 * term/x-win.el (x-select-text):
8431 * term/pc-win.el (x-selection-value):
8432 * term/ns-win.el (x-selection-value):
8433 * eshell/em-term.el:
8434 * w32-fns.el (x-get-selection-value):
8435 * mouse-sel.el (mouse-sel-set-selection-function):
8436 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8438 * term/x-win.el: Update documentation for x-last-selected-text-*.
8439 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8440 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8441 (x-select-text): Remove argument PUSH, update documentation.
8442 Remove cut-buffer code.
8443 (x-selection-value-internal): Was previously x-selection-value.
8444 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8445 Update documentation, remove cut-buffer code.
8446 Call x-selection-value-internal.
8447 (x-clipboard-yank): Call x-selection-value-internal.
8448 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8450 * term/pc-win.el (x-last-selected-text):
8451 x-cut-buffer-or-selection-value renamed to x-selection-value
8452 (x-select-text): Remove argument PUSH, update documentation.
8454 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8455 x-cut-buffer-or-selection-value renamed to x-selection-value
8456 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8457 (x-select-text): Remove argument PUSH, update documentation.
8459 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8461 * w32-fns.el (x-last-selected-text):
8462 x-cut-buffer-or-selection-value renamed to x-selection-value.
8463 (x-cut-buffer-max): Remove.
8464 (x-select-text): Remove argument PUSH, update documentation.
8466 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8468 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8470 * mouse-sel.el (mouse-sel-get-selection-function):
8471 x-cut-buffer-or-selection-value renamed to x-selection-value.
8472 (x-select-text): Remove optional push.
8474 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * simple.el (blink-paren-function): Move from C to here.
8477 (blink-paren-post-self-insert-function): New function.
8478 (post-self-insert-hook): Use it.
8480 * emacs-lisp/pcase.el (pcase-split-memq):
8481 Fix overenthusiastic optimisation.
8482 (pcase-u1): Handle the case of a lambda pred.
8484 2010-08-31 Kenichi Handa <handa@m17n.org>
8486 * international/mule-cmds.el (standard-display-european-internal):
8487 Setup standard-display-table for 8-bit characters by storing 8-bit
8488 characters in the element vector.
8490 * disp-table.el (standard-display-8bit):
8491 Setup standard-display-table for 8-bit characters by storing 8-bit
8492 characters in the element vector.
8493 (standard-display-european): Likewise.
8495 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8497 * textmodes/nroff-mode.el (nroff-view): New command.
8498 (nroff-mode-map): Bind it to C-c C-c.
8500 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8502 * emacs-lisp/smie.el (smie-down-list): New command.
8504 Remove old indentation and navigation code on octave-mode.
8505 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8506 smie-down-list rather than add a binding for octave-down-block.
8507 (octave-mark-block, octave-blink-matching-block-open):
8508 Rely on forward-sexp-function.
8509 (octave-fill-paragraph): Don't narrow, so you can use
8510 indent-according-to-mode.
8511 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8512 (octave-in-block-p, octave-re-search-forward-kw)
8513 (octave-re-search-backward-kw, octave-indent-calculate)
8514 (octave-end-as-array-index-p, octave-block-end-offset)
8515 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8516 (octave-down-block, octave-backward-up-block, octave-up-block)
8517 (octave-before-magic-comment-p, octave-indent-line): Remove.
8519 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8521 * emacs-lisp/package.el (package--read-archive-file): Just use
8522 `read', to avoid copying an additional string.
8523 (package-menu-mode): Set header-line-format here.
8524 (package-menu-refresh, package-menu-revert): Signal an error if
8525 not in the Package Menu.
8526 (package-menu-package-list): New var.
8527 (package--generate-package-list): Operate on the current buffer;
8528 don't assume that it is *Packages*, since the user may rename it.
8529 Allow persistent package listings and sort keys using
8530 package-menu-package-list and package-menu-package-sort-key.
8531 (package-menu--version-predicate): Fix version calculation.
8532 (package-menu-sort-by-column): Don't select the window.
8533 (package--list-packages): Create the *Packages* buffer.
8534 Set package-menu-package-list-key.
8535 (list-packages): Sorting by status is now the default.
8536 (package-buffer-info): Use match-string-no-properties.
8537 (define-package): Add a &rest argument for future proofing, but
8539 (package-install-from-buffer, package-install-buffer-internal):
8540 Merge into a single function, package-install-from-buffer.
8541 (package-install-file): Change caller.
8543 * finder.el: Load finder-inf using `require'.
8544 (finder-list-matches): Sorting by status is now the default.
8545 (finder-compile-keywords): Simpify printing.
8547 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8550 (octave-mode-map): Remove special bindings for forward/backward-block
8551 and octave-backward-up-block. Use smie-close-block.
8552 (octave-continuation-marker-regexp): New var.
8553 (octave-continuation-regexp): Use it.
8554 (octave-operator-table, octave-smie-op-levels)
8555 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8556 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8557 (octave-mode): Use SMIE.
8558 (octave-close-block): Delete.
8560 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8562 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8563 CLIPBOARD, not in PRIMARY. (Bug#6944)
8565 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8567 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8569 (smie-indent-column): Allow indirection through variables.
8571 * composite.el (save-buffer-state): Delete, unused.
8572 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8573 (font-lock-default-fontify-region): Use with-syntax-table.
8574 * jit-lock.el (with-buffer-unmodified): Remove.
8575 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8577 Use `declare' in defmacros.
8578 * window.el (save-selected-window):
8579 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8580 * progmodes/python.el (def-python-skeleton):
8581 * net/dbus.el (dbus-ignore-errors):
8582 * jka-cmpr-hook.el (with-auto-compression-mode):
8583 * international/mule.el (with-category-table):
8584 * emacs-lisp/timer.el (with-timeout):
8585 * emacs-lisp/lisp-mnt.el (lm-with-file):
8586 * emacs-lisp/eieio.el (with-slots):
8587 * emacs-lisp/easymenu.el (easy-menu-define):
8588 * emacs-lisp/debug.el (debugger-env-macro):
8589 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8590 (Multiple-value-call, Multiple-value-prog1):
8591 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8592 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8593 edebug rule to definition.
8594 * emacs-lisp/lisp-mode.el (save-selected-window)
8595 (with-current-buffer, combine-after-change-calls)
8596 (with-output-to-string, with-temp-file, with-temp-buffer)
8597 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8598 (dolist, dotimes, when, unless):
8599 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8601 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8603 * finder.el: Require `package'.
8604 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8605 (finder-package-info): Var deleted.
8606 (finder-keywords-hash, finder--builtins-alist): New vars.
8607 (finder-compile-keywords): Compute package--builtins and
8608 finder-keywords-hash instead of finder-keywords-hash, respecting
8609 the "Package" header.
8610 (finder-unknown-keywords, finder-list-matches):
8611 Use finder-keywords-hash and package--list-packages.
8612 (finder-mode): Don't set font-lock-defaults.
8613 (finder-exit): We don't use "*Finder-package*" and "*Finder
8614 Category*" buffers anymore.
8616 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8617 (package--builtins): Set default value to nil.
8618 (package-initialize): Load precomputed value of package--builtins
8620 (package-alist, package-compute-transaction)
8621 (package-download-transaction): Improve docstring.
8622 (package-read-all-archive-contents): Do not change
8623 package--builtins here.
8624 (list-packages): Make package-list-packages an alias for this.
8625 Sort by status by default.
8626 (package--list-packages): Add optional PACKAGES arg.
8627 (describe-package-1): Use font-lock-face property. For built-in
8628 packages, insert file commentary.
8629 (package--generate-package-list): Rename from
8630 package-list-packages-internal; all callers changed. Add optional
8631 PACKAGES arg. Add alphabetical sort fallbacks.
8632 (package-menu--version-predicate, package-menu--status-predicate)
8633 (package-menu--description-predicate)
8634 (package-menu--name-predicate): New functions.
8636 * info.el (Info-finder-find-node): Search package-alist instead of
8637 finder-package-info.
8639 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8641 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8643 (version-to-list): Handle versions like "10.3d".
8645 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8648 (macroexp-accumulate): Use `declare'.
8650 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8652 * whitespace.el (whitespace-style): Adjust type declaration.
8654 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8656 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8658 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8660 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8663 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8665 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8666 (js-paren-indent-offset, js-square-indent-offset)
8667 (js-curly-indent-offset): New options.
8668 (js--proper-indentation): Use them.
8670 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8672 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8673 instead of inspecting font-lock properties (Bug#6916).
8675 2010-08-26 David Reitter <david.reitter@gmail.com>
8677 * server.el (server-visit-files): Run pre-command-hook and
8678 post-command-hook for each buffer while it is current (Bug#6910).
8679 (server-execute): Do not run hooks here.
8681 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8683 Sync with Tramp 2.1.19.
8685 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8686 Protect deleting tmpfile.
8687 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8689 * net/tramp.el (tramp-handle-expand-file-name)
8690 (tramp-completion-handle-file-name-all-completions)
8691 (tramp-completion-handle-file-name-completion):
8692 Use `tramp-connectable-p'.
8694 * net/trampver.el: Update release number.
8696 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8698 * help.el (help-map): Bind `C-h P' to describe-package.
8700 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8702 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8703 when downloading archives.
8704 (describe-package-1): Add package commentary.
8705 (package-install-button-action): New function.
8706 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8707 (package-menu-view-commentary): Function removed.
8708 (package-list-packages-internal): Hide the `package' package too.
8710 2010-08-25 Kenichi Handa <handa@m17n.org>
8712 * language/misc-lang.el ("Arabic"): New language environment.
8713 Setup composition-function-table for Arabic characters.
8715 * international/fontset.el (setup-default-fontset): Fix typo for
8716 arabic OTF spec (fini->fina).
8718 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8720 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8723 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8725 * whitespace.el: Allow cleaning up blanks without blank
8726 visualization (Bug#6651). Adjust help window for
8727 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8728 instead of whitespace-line-column (from EmacsWiki). New version
8730 (whitespace-style): Add new value 'face. Adjust docstring.
8731 (whitespace-space, whitespace-hspace, whitespace-tab):
8732 Adjust foreground property face.
8733 (whitespace-line-column): Adjust docstring and type declaration.
8734 (whitespace-style-value-list, whitespace-toggle-option-alist)
8735 (whitespace-help-text): Adjust const initialization.
8736 (whitespace-toggle-options, global-whitespace-toggle-options):
8738 (whitespace-display-window, whitespace-interactive-char)
8739 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8740 (whitespace-help-scroll): New fun.
8742 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8744 * emacs-lisp/package.el (list-packages): Alias for
8745 package-list-packages.
8747 2010-08-24 Kevin Ryde <user42@zip.com.au>
8749 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8752 * progmodes/ruby-mode.el (ruby): Add defgroup.
8754 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8756 * progmodes/python.el: Add Ipython support (Bug#5390).
8757 (python-shell-prompt-alist)
8758 (python-shell-continuation-prompt-alist): New options.
8759 (python--set-prompt-regexp): New function.
8760 (inferior-python-mode, run-python, python-shell):
8761 Require ansi-color. Use python--set-prompt-regexp to set the comint
8762 prompt based on the Python interpreter.
8763 (python--prompt-regexp): New var.
8764 (python-check-comint-prompt)
8765 (python-comint-output-filter-function): Use it.
8766 (run-python): Use a pipe (Bug#5694).
8768 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8770 * progmodes/python.el (python-send-region): Send a different
8771 Python command if Ipython is in use.
8772 (python-check-version): Use a Python command to find the version.
8774 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8776 * mouse.el (mouse-yank-primary): Avoid setting primary when
8777 deactivating the mark (Bug#6872).
8779 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8781 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8782 with "else" (Bug#3991).
8784 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8786 * net/dbus.el: Accept UNIX domain sockets as bus address.
8787 (top): Don't initialize `dbus-registered-objects-table' anymore,
8788 this is done in dbusbind.c.
8789 (dbus-check-event): Adapt test for bus.
8790 (dbus-return-values-table, dbus-unregister-service)
8791 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8794 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8796 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8798 2010-08-22 Juri Linkov <juri@jurta.org>
8800 * simple.el (read-extended-command): New function with the logic
8801 for `completing-read' moved to Elisp from `execute-extended-command'.
8802 Use `function-called-at-point' in `minibuffer-default-add-function'
8803 to get a command name for M-n (bug#5364, bug#5214).
8805 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8807 * startup.el (command-line-1): Issue warning for ignored arguments
8808 --unibyte, etc (Bug#6886).
8810 2010-08-22 Leo <sdl.web@gmail.com>
8812 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8813 (ignore, bright, dim, keyword): Split list of nicknames before
8814 passing to rcirc-add-or-remove (Bug#6894).
8816 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8818 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8820 2010-08-22 Leo <sdl.web@gmail.com>
8822 Fix buffer-list rename&refresh after killing a buffer in ido.
8823 * ido.el: Revert Óscar's.
8824 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8825 Remember the buffers at head, rather than their name.
8826 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8828 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8829 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8832 extra backslash added to each line (bug#6890).
8834 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8838 2010-08-22 Glenn Morris <rgm@gnu.org>
8840 * menu-bar.el (menu-bar-games-menu): Add landmark.
8842 2010-08-22 Glenn Morris <rgm@gnu.org>
8844 * align.el (align-regexp): Make group and spacing arguments
8845 use the interactive defaults when non-interactive. (Bug#6698)
8847 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8848 expansion, so as not to need sendmail.
8849 (mail-text-start): Remove declaration.
8850 (rmail-retry-failure): Require sendmail.
8852 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8854 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8856 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8858 * progmodes/flymake.el (flymake-start-syntax-check-process):
8859 Use `start-file-process' in order to let it run also on remote hosts.
8861 2010-08-22 Kenichi Handa <handa@m17n.org>
8863 * files.el: Add `word-wrap' as safe local variable.
8865 2010-08-22 Glenn Morris <rgm@gnu.org>
8867 * woman.el (woman-translate): Case matters. (Bug#6849)
8869 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8871 * simple.el (kill-region): Doc fix (Bug#6787).
8873 2010-08-22 Glenn Morris <rgm@gnu.org>
8875 * calendar/diary-lib.el (diary-header-line-format):
8876 Fit it to the window, not the frame.
8878 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8880 * subr.el (ignore-errors): Add debug declaration.
8882 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8884 * whitespace.el (whitespace-color-off): Remove post-command-hook
8887 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8889 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8891 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8893 * cus-edit.el (custom-group-value-create): Add extra newline
8894 before end line (Bug#6876).
8896 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8898 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8899 when extending it. Before killing on the second click, check if
8900 the buffer is the correct one. Doc fix.
8901 (mouse-secondary-save-then-kill): Allow usage without first
8902 calling mouse-start-secondary, by defaulting to point. Don't save
8903 an empty secondary selection. Doc fix.
8905 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8907 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8908 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8910 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8911 Adjust initialization.
8912 (whitespace-bob-marker, whitespace-eob-marker)
8913 (whitespace-buffer-changed): New vars.
8914 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8915 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8916 (whitespace-post-command-hook, whitespace-display-char-on):
8918 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8919 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8921 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * files.el (locate-file-completion-table): Only list the .el and .elc
8924 extensions if there's no other choice (bug#5955).
8926 * facemenu.el (facemenu-self-insert-data): New var.
8927 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8929 (facemenu-add-face): Use them.
8931 * simple.el (blink-matching-open): Obey forward-sexp-function.
8933 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8935 * simple.el (prog-mode-map): New var.
8936 (prog-indent-sexp): New command.
8938 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8940 * progmodes/prolog.el (smie): Require.
8942 * emacs-lisp/smie.el (smie-default-backward-token)
8943 (smie-default-forward-token): Strip properties.
8944 (smie-next-sexp): Be more careful with associative operators.
8945 (smie-forward-sexp-command): Generalize.
8946 (smie-backward-sexp-command): Simplify.
8947 (smie-closer-alist): New var.
8948 (smie-close-block): New command.
8949 (smie-indent-debug-log): New var.
8950 (smie-indent-offset-rule): Add a few more cases.
8951 (smie-indent-column): New function.
8952 (smie-indent-after-keyword): Use it.
8953 (smie-indent-keyword): Use it.
8954 Fix up the opener code's point position.
8955 (smie-indent-comment): Only applies at BOL.
8956 (smie-indent-debug): New command.
8958 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8959 declarations that are useful before running the macro.
8961 2010-08-18 Joakim Verona <joakim@verona.se>
8963 * image.el (imagemagick-types-inhibit): New variable.
8964 (imagemagick-register-types): New function.
8965 * image-mode.el (image-transform-properties): New function.
8966 (image-transform-set-scale, image-transform-fit-to-height)
8967 (image-transform-set-rotation, image-transform-set-resize)
8968 (image-transform-fit-to-width, image-transform-fit-to-height):
8970 (image-toggle-display-image): Support image transforms.
8972 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8974 * image.el (create-animated-image): Don't add heuristic mask to image
8977 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8979 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8980 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8982 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8986 Font-lock '...' strings, plus various simplifications and fixes.
8987 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8988 (octave-font-lock-close-quotes): New function.
8989 (octave-font-lock-syntactic-keywords): New var.
8990 (octave-mode): Use it. Set beginning-of-defun-function.
8991 (octave-mode-map): Don't override the <foo>-defun commands.
8992 (octave-mode-menu): Pass it directly to easy-menu-define;
8993 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8994 (octave-block-match-alist): Fix up last change so that
8995 octave-close-block uses the more specific keyword.
8996 (info-lookup-mode): Silence byte-compiler.
8997 (octave-beginning-of-defun): Not interactive any more.
8999 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9000 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9001 (octave-completion-at-point-function): Make sure point is within
9003 (octave-reindent-then-newline-and-indent):
9004 Use reindent-then-newline-and-indent.
9005 (octave-add-octave-menu): Remove.
9007 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9009 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9010 (report-emacs-bug-can-use-xdg-email): New functions.
9011 (report-emacs-bug): Set can-xdg-email to result of
9012 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9013 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9016 * net/browse-url.el (browse-url-default-browser): Add cond
9017 for browse-url-xdg-open.
9018 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9020 2010-08-17 Glenn Morris <rgm@gnu.org>
9022 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9023 (c-fontify-recorded-types-and-refs): Define for compiler.
9024 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9027 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9030 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9032 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9034 (tramp-handle-process-file): Call the program in a subshell, in
9035 order to preserve working directory.
9036 (tramp-action-password): Hide password prompt before next run.
9037 (tramp-process-actions): Widen connection buffer for the trace.
9039 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9041 * net/rcirc.el (rcirc-log-process-buffers): New option.
9042 (rcirc-print): Use it.
9043 (rcirc-generate-log-filename): New function.
9044 (rcirc-log-filename-function): Change default to
9045 rcirc-generate-log-filename (Bug#6828).
9047 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9049 * simple.el (deactivate-mark): If select-active-regions is `only',
9050 only set selection for temporarily active regions.
9052 * cus-start.el: Change defcustom for select-active-regions.
9054 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9056 * mouse.el (mouse--drag-set-mark-and-point): New function.
9057 (mouse-drag-track): Use LOCATION arg to push-mark.
9058 Use mouse--drag-set-mark-and-point to take click-count into
9059 consideration when updating point and mark (Bug#6840).
9061 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9063 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9064 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9066 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9068 * font-lock.el (lisp-font-lock-keywords-2):
9069 Add combine-after-change-calls, condition-case-no-debug,
9070 with-demoted-errors, and with-silent-modifications (Bug#6025).
9072 2010-08-14 Kevin Ryde <user42@zip.com.au>
9074 * emacs-lisp/copyright.el (copyright-update-year)
9075 (copyright-update): Temporary switch-to-buffer to ensure the
9076 buffer change being queried is visible (Bug#5394).
9078 2010-08-14 Tom Tromey <tromey@redhat.com>
9080 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9083 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9085 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9088 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9090 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9091 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9092 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9093 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9094 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9095 Call menu-bar-set-tool-bar-position.
9097 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9100 comment style (bug#6834).
9101 * progmodes/scheme.el (scheme-mode-syntax-table):
9102 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9103 "b" flag in "' 14b" syntax.
9105 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9106 for (un)commenting the region and performing completion.
9107 (octave-mode-menu): Use standard commands for help and completion.
9108 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9109 (octave-mode): Use define-derived-mode.
9110 Set completion-at-point-functions and don't set columns.
9111 Don't disable adaptive-fill-regexp.
9112 (octave-describe-major-mode, octave-comment-region)
9113 (octave-uncomment-region, octave-comment-indent)
9114 (octave-indent-for-comment): Remove.
9115 (octave-indent-calculate): Rename from calculate-octave-indent.
9116 (octave-indent-line, octave-fill-paragraph): Update caller.
9117 (octave-initialize-completions): No need to make an alist.
9118 (octave-completion-at-point-function): New function.
9119 (octave-complete-symbol): Use it.
9120 (octave-insert-defun): Use define-skeleton.
9122 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9123 (octave-mode-map): Use comment-dwim (bug#6829).
9125 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9127 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9128 indentation of inserted comment.
9130 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9132 * faces.el (region): Add type gtk that uses gtk colors.
9134 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9135 Handle theme-name change.
9137 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9139 * progmodes/sql.el: Version 2.5
9140 (sql-product-alist): Add :prompt-cont-regexp property for several
9142 (sql-prompt-cont-regexp): New variable.
9143 (sql-output-newline-count, sql-output-by-send):
9144 New variables. Record number of newlines in input text.
9145 (sql-send-string): Handle multiple filters and count newlines.
9146 (sql-send-magic-terminator): Count terminator newline.
9147 (sql-interactive-remove-continuation-prompt): Filters output to
9148 remove continuation prompts; one for each newline.
9149 (sql-interactive-mode): Set up new variables, prompt regexp and
9151 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9152 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9154 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * emacs-lisp/pcase.el: New file.
9158 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9160 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9161 as here-document, otherwise the command could exceed maximum
9162 length of command line.
9163 (tramp-handle-vc-registered): Call script accordingly.
9164 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9166 2010-08-10 Kenichi Handa <handa@m17n.org>
9168 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9171 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9173 * emacs-lisp/package.el (package-version-split)
9174 (package--version-first-nonzero, package-version-compare):
9176 (package-directory-list, package-load-all-descriptors)
9177 (package--built-in, package-activate, define-package)
9178 (package-installed-p, package-compute-transaction)
9179 (package-read-all-archive-contents)
9180 (package--add-to-archive-contents, package-buffer-info)
9181 (package-tar-file-info, package-list-packages-internal):
9182 Use version-to-list and version-list-*.
9184 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9185 Use version-to-list.
9186 (package-upload-buffer-internal): Use version-list-<=.
9188 2010-08-09 Kenichi Handa <handa@m17n.org>
9190 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9193 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9195 * tutorial.el (tutorial--default-keys): C-d is now bound to
9196 delete-forward-char (Bug#6826).
9198 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9199 for `double' value of mouse-1-click-follows-link (Bug#6807).
9201 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9203 * replace.el (replace-highlight): Bind isearch-forward and
9204 isearch-error, ensuring that highlighting is updated if the user
9205 switches the search direction (Bug#6808).
9207 * isearch.el (isearch-lazy-highlight-forward): New var.
9208 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9209 (isearch-lazy-highlight-update): Use it.
9211 2010-08-08 Kenichi Handa <handa@m17n.org>
9213 * international/mule.el (define-charset): Store NAME as :base property.
9214 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9215 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9216 current priority. Force using the designation of the specific
9217 charset by adding `charset' text property. Improve the whole algorithm.
9219 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9221 * emulation/pc-select.el (pc-selection-mode-hook)
9222 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9223 (pc-selection-mode): Fix typos in docstrings.
9225 2010-08-08 Kenichi Handa <handa@m17n.org>
9227 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9228 ctext-non-standard-encodings-alist here.
9230 * international/mule.el (ctext-non-standard-encodings-alist):
9231 Add "koi8-r" and "microsoft-cp1251".
9232 (ctext-standard-encodings): New variable.
9233 (ctext-non-standard-encodings-table): List only elements for
9234 non-standard encodings.
9235 (ctext-pre-write-conversion): Adjust for the above change.
9236 Check ctext-standard-encodings.
9238 * international/mule-conf.el (compound-text): Doc fix.
9239 (ctext-no-compositions): Doc fix.
9240 (compound-text-with-extensions): Doc fix.
9242 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9244 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9246 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9248 * progmodes/which-func.el (which-func-format): Split help-echo text
9249 into lines, like other mode-line tooltips.
9251 * server.el (server-start): When using TCP sockets, force IPv4
9252 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9254 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9258 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9260 * term.el (term-delimiter-argument-list): Reflow docstring.
9261 (term-read-input-ring, term-write-input-ring, term-send-input)
9262 (term-bol, term-erase-in-display, serial-supported-or-barf):
9263 Fix typos in docstrings.
9265 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9269 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9271 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9273 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9275 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9276 Fix typo in docstring (bug#6747).
9278 2010-08-08 Leo <sdl.web@gmail.com>
9280 * eshell/esh-io.el (eshell-get-target): Better detection of
9281 read-only file (Bug#6762).
9283 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9285 * align.el (align-default-spacing): Doc fix.
9286 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9288 2010-08-08 Stephen Peters <speters@itasoftware.com>
9290 * calendar/icalendar.el
9291 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9292 (icalendar--get-weekday-numbers): New.
9293 (icalendar--convert-recurring-to-diary): Handle multiple byday
9294 values in weekly rules. (Bug#6766)
9296 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9298 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9299 (icalendar--create-uid, icalendar-export-region)
9300 (icalendar--parse-summary-and-rest): Code formatting.
9302 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9304 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9305 to italicize headers.
9306 (calc-highlight-selections-with-faces): New variable.
9307 (calc-selected-face, calc-nonselected-face): New faces.
9309 * calc/calccomp.el (math-comp-highlight-string): Use
9310 `calc-highlight-selections-with-faces' to determine how to highlight
9313 * calc/calc-sel.el (calc-show-selections): Change message to when
9314 using faces to highlight selections.
9316 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9318 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9319 Add SQLite 3 keywords, functions and datatypes.
9320 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9323 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9325 * simple.el (select-active-regions): Move to keyboard.c.
9326 (deactivate-mark): Used saved-region-selection.
9327 (select-active-region): Function removed.
9328 (activate-mark, set-mark, push-mark-command)
9329 (handle-shift-selection): Don't call it.
9330 (keyboard-quit): Avoid adding the region to the window selection.
9332 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9333 select-active-regions implementation.
9334 (mouse-yank-at-click): Doc fix.
9336 * cus-start.el: Add custom declaration for select-active-regions.
9338 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9340 * simple.el (delete-forward-char): Doc fix.
9342 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9343 after reading the tutorial.
9345 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9347 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9348 Fix for the case that a C style comment has its delimiters alone on
9349 their respective lines. (Bug#193)
9351 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9353 * net/tramp.el (tramp-handle-start-file-process): Set connection
9355 (tramp-process-sentinel): Use it for flushing the cache.
9356 We cannot do it via the process buffer, the buffer could be deleted
9357 already when running the sentinel.
9359 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9361 * comint.el (comint-mode): Make directory tracking functions
9362 functional on remote files. (Bug#6764)
9364 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9366 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9368 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9370 * emacs-lisp/find-gc.el (find-gc-source-files):
9371 Rename unexec.c => unexcoff.c.
9373 * emacs-lisp/authors.el (authors-fixed-entries):
9374 Rename unexec.c => unexcoff.c.
9376 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9378 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9379 cache, not only file cache.
9380 (tramp-process-sentinel): New defun.
9381 (tramp-handle-start-file-process): Use it, in order to invalidate
9384 2010-08-03 Leo <sdl.web@gmail.com>
9386 * server.el (server-start): Simplify loop.
9388 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * frame.el (screen-height, screen-width, set-screen-width)
9391 (set-screen-height): Remove ancient compatibility aliases.
9393 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9394 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9396 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9397 that change current buffer.
9399 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9401 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9402 beginning of the string. Use `string-match-p'. (Bug#6765)
9404 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9406 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9408 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9410 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9411 (package--builtins): Tweak descriptions.
9412 (package-print-package): Upcase descriptions if necessary.
9413 Show all built-in packages in font-lock-builtin-face.
9414 (package-list-packages-internal): Omit "emacs" package.
9415 Show status of built-in packages as "built-in".
9417 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9419 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9420 before killing to preserve the primary selection (Bug#6701).
9422 * term/x-win.el (x-select-text): Doc fix.
9424 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9426 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9427 (objc-font-lock-extra-types):
9428 * progmodes/cc-mode.el (c-basic-common-init):
9429 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9430 (c++-make-template-syntax-table)
9431 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9432 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9433 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9434 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9435 * progmodes/cc-fonts.el (c-make-inverse-face)
9436 (c-basic-matchers-after):
9437 * progmodes/cc-engine.el (c-forward-keyword-clause)
9438 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9439 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9440 (c-guess-continued-construct, c-guess-basic-syntax):
9441 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9442 The above functions were modified or created.
9444 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9446 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9448 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9450 * files.el (bidi-paragraph-direction): Define safe local values.
9452 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9453 language-info-alist. Remove outdated FIXME in a comment.
9455 2010-07-31 Alan Mackenzie <acm@muc.de>
9457 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9458 Auto-fill broken in C/C++ modes.
9460 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9462 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9463 (menu-bar-showhide-tool-bar-menu-customize-disable)
9464 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9465 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9466 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9467 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9468 make a menu for Options => toolbar that can move it.
9470 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9472 * emacs-lisp/package-x.el (package--make-rss-entry):
9473 (package-maint-add-news-item, package--update-news)
9474 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9476 * emacs-lisp/package.el (package-archive-url): Rename from
9478 (package-install): Doc fix.
9479 (package-download-single, package-download-tar, package-install)
9480 (package-menu-view-commentary): Callers changed.
9482 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9484 * net/tramp.el (tramp-handle-start-file-process): Check only for
9485 `remote-tty' process property.
9486 (tramp-open-shell): Don't check for tty.
9487 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9490 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9493 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9495 * emacs-lisp/package.el (package-load-list, package-archives)
9496 (package-archive-contents, package-user-dir)
9497 (package-directory-list, package--builtins, package-alist)
9498 (package-activated-list, package-obsolete-alist): Mark as risky.
9500 2010-07-28 Phil Hagelberg <phil@evri.com>
9502 Add support for non-default package repositories.
9503 * emacs-lisp/package.el (package-archive-base): Var deleted.
9504 (package-archives): New variable.
9505 (package-archive-contents): Doc fix.
9506 (package-load-descriptor): Do nothing if descriptor file is missing.
9507 (package--write-file-no-coding): New function.
9508 (package-unpack-single): Use it.
9509 (package-archive-id): New function.
9510 (package-download-single, package-download-tar)
9511 (package-menu-view-commentary): Use it.
9512 (package-installed-p): Make second argument optional.
9513 (package-read-all-archive-contents): New function.
9514 (package-initialize): Use it.
9515 (package-read-archive-contents): Add ARCHIVE argument.
9516 (package--add-to-archive-contents): New function.
9517 (package-install): Don't call package-read-archive-contents.
9518 (package--download-one-archive): Store archive file in a
9519 subdirectory of package-user-dir.
9520 (package-menu-execute): Remove spurious line movement.
9522 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9524 * cus-start.el (tool-bar-style): Add text-image-horiz.
9526 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9528 * progmodes/gud.el (gud-common-init): Check for remoteness of
9529 `file', and not of `default-directory'.
9531 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9533 * net/tramp.el (tramp-methods): Move hostname to the end in all
9534 ssh `tramp-login-args'.
9535 (tramp-verbose): Describe verbose level 9.
9536 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9537 (tramp-open-connection-setup-interactive-shell): Trace stty
9538 settings if `tramp-verbose' >= 9.
9539 (tramp-handle-start-file-process): Implement tty setting.
9540 (Bug#4604, Bug#6360)
9542 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9543 `tramp-verbose' to 9.
9545 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9547 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9548 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9549 Remove references to package `lisp-re' (bug#4369).
9551 2010-07-27 Tom Tromey <tromey@redhat.com>
9553 * progmodes/js.el (js-mode):
9554 * progmodes/make-mode.el (makefile-mode):
9555 * progmodes/simula.el (simula-mode):
9556 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9558 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9560 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9562 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9563 (display-time-world-buffer-name, display-time-world-mode-map):
9564 Fix typos in docstrings.
9566 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9568 * image-mode.el (image-display-size): New function.
9569 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9570 (image-mode-fit-frame): Use it (Bug#6639).
9572 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9574 * dired.el (dired-buffers-for-dir): Handle list values of
9575 dired-directory (Bug#6636).
9577 2010-07-26 Sam Steingold <sds@gnu.org>
9579 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9580 Do not call `x-get-selection' the second time, reuse the value.
9582 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9584 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9585 which consist of control chars only. Suggested by Richard Stallman.
9587 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9589 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9590 exists before passing an error to find-file-not-found-functions
9593 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9595 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9596 Remove leading nil element, adjust values.
9597 (tetris-shapes, tetris-shape-scores):
9598 Change representation of shapes and remove some redundancy.
9599 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9600 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9601 Adjust for working with new representation of shapes.
9602 (tetris-shape-rotations): New function.
9603 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9604 (tetris-rotate-prev, tetris-rotate-next):
9605 Adjust for working with the new version of tetris-test-shape.
9607 2010-07-23 Markus Triska <markus.triska@gmx.at>
9609 * progmodes/ps-mode.el: Use comint (bug#5954).
9610 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9611 (ps-mode-other-newline): Simplify.
9612 (ps-run-mode): Derive from comint-mode instead of
9613 fundamental-mode, yielding input history etc.
9614 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9615 (ps-run-send-string): Adapt for comint-mode.
9616 (ps-run-newline): Remove now unneeded function.
9618 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9620 * net/tramp.el (tramp-methods): Move hostname to the end in all
9621 plink `tramp-login-args'.
9623 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9625 * net/tramp.el (tramp-open-shell): New defun.
9626 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9629 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9631 * net/tramp.el (tramp-file-name-regexp-unified)
9632 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9633 not regard the volume letter as remote filename. (Bug#5447)
9635 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9637 * custom.el (custom-declare-variable): Give a clearer error message
9638 when the docstring is missing (bug#6476).
9640 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9642 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9643 (sql-login-params): New widget definition.
9644 (sql-oracle-login-params, sql-mysql-login-params)
9645 (sql-solid-login-params, sql-sybase-login-params)
9646 (sql-informix-login-params, sql-ingres-login-params)
9647 (sql-ms-login-params, sql-postgres-login-params)
9648 (sql-interbase-login-params, sql-db2-login-params)
9649 (sql-linter-login-params): Use it.
9650 (sql-sqlite-login-params): Use it; Define "database" parameter as
9652 (sql-sqlite-program): Change to "sqlite3".
9653 (sql-comint-sqlite): Make sure database name is complete.
9654 (sql-for-each-login): New function.
9655 (sql-connect, sql-save-connection): Use it.
9656 (sql-get-login-ext): New function.
9657 (sql-get-login): Use it.
9658 (sql-make-alternate-buffer-name): Handle :file parameters.
9660 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9662 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9663 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9665 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9667 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9669 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9671 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9673 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9675 * net/tramp.el (tramp-get-ls-command)
9676 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9679 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9681 * progmodes/sql.el: Version 2.3.
9682 (sql-connection-alist): Change keys from symbols to strings;
9683 enhanced the widget definition.
9684 (sql-mode-menu): Add submenu to select connections.
9685 (sql-interactive-mode-menu): Add "Save Connection" item.
9686 (sql-add-product): Fix menu item.
9687 (sql-get-product-feature): Improved error handling.
9688 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9689 (sql-make-alternate-buffer-name): Simplified.
9690 (sql-product-interactive): Handle missing product.
9691 (sql-connect): Support string keys, minor improvements.
9692 (sql-save-connection): New function.
9693 (sql-connection-menu-filter): New function.
9695 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9697 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9698 (tramp-open-connection-setup-interactive-shell):
9699 Apply workaround for IRIX64 bug. Move argument of last
9700 `tramp-send-command' where it belongs to.
9702 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9704 * net/tramp.el (tramp-perl-file-attributes)
9705 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9706 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9707 front of `login-args'.
9709 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9711 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9712 Set `show-trailing-whitespace' to nil.
9713 (display-time-world-display): Simplify.
9715 2010-07-18 Alan Mackenzie <acm@muc.de>
9717 Enhance `c-file-style' in file/directory local variables.
9718 * progmodes/cc-mode.el (c-count-cfss): New function.
9719 (c-before-hack-hook): Call `c-set-style' differently according to
9720 whether c-file-style was set in file or directory local
9723 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9725 * progmodes/sql.el: Version 2.2.
9726 (sql-product, sql-user, sql-database, sql-server, sql-port):
9727 Use defcustom :safe keyword rather than putting safe-local-variable
9729 (sql-password): Use defcustom :risky keyword rather than putting
9730 risky-local-variable property.
9731 (sql-oracle-login-params, sql-sqlite-login-params)
9732 (sql-solid-login-params, sql-sybase-login-params)
9733 (sql-informix-login-params, sql-ingres-login-params)
9734 (sql-ms-login-params, sql-postgres-login-params)
9735 (sql-interbase-login-params, sql-db2-login-params)
9736 (sql-linter-login-params): Add `port' option.
9737 (sql-get-product-feature): Add NO-INDIRECT parameter.
9738 (sql-comint-oracle, sql-comint-sybase)
9739 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9740 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9741 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9742 (sql-comint-linter): Rename sql-connect-* functions to
9744 (sql-product-alist, sql-mode-menu): Rename as above and
9745 :sqli-connect-func to :sqli-comint-func.
9746 (sql-connection): New variable.
9747 (sql-interactive-mode): Set it.
9748 (sql-connection-alist): New variable.
9749 (sql-connect): New function.
9750 (sql--alt-buffer-part, sql--alt-if-not-empty)
9751 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9753 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9755 * image-mode.el (image-bookmark-make-record): Do not set context
9756 in an image (Bug#6650).
9758 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9760 * simple.el (select-active-region): New function.
9761 (push-mark-command, set-mark, activate-mark)
9762 (handle-shift-selection): Use it.
9763 (deactivate-mark): Don't check for size of region.
9765 * mouse.el (mouse-drag-track): Use select-active-region.
9767 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9769 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9772 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9774 * term/x-win.el (x-select-enable-primary): Change default to nil.
9775 (x-select-enable-clipboard): Add :version keyword.
9777 * mouse.el (mouse-drag-copy-region):
9778 * simple.el (select-active-regions): Likewise.
9780 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9782 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9783 (vc-coding-system-for-diff): Use it to decide whether to inherit
9784 from the file the EOL format for reading the diffs of that file.
9787 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9789 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9790 unibyte, so compressed attachments are not compressed again.
9792 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9794 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9795 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9796 (tramp-find-shell): Simplify setting connection property.
9797 (tramp-get-ls-command): Make test for "--color=never" stronger.
9799 2010-07-15 Simon South <ssouth@member.fsf.org>
9801 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9802 blocks within record declarations (i.e. variant parts) correctly.
9804 2010-07-15 Simon South <ssouth@member.fsf.org>
9806 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9807 over literal tokens when parsing so newlines aren't "absorbed" by
9808 single-line comments. Corrects the indentation of case blocks
9809 that have a comment on the first line.
9811 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9813 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9814 by Drew Adams (Bug#5504).
9816 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9818 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9819 now that Unicode is used (Bug#6594).
9821 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9823 * term/x-win.el (x-select-enable-clipboard): Default to t.
9824 (x-initialize-window-system): Don't overwrite Paste menu item.
9826 * simple.el (select-active-regions): Default to t.
9827 (push-mark-command): Don't overwrite primary with empty string.
9829 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9830 (mouse-drag-copy-region): Default to nil.
9832 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9833 Cut/Copy/Paste menu bar items.
9835 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9837 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9838 Patch applied by Karl Fogel.
9840 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9841 and `bookmark-current-buffer' if they have been already set in
9842 another buffer (e.g gnus-art).
9844 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9845 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9847 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9849 * bookmark.el (bookmark-make-record-default): Allow unneeded
9850 information to be omitted from the record.
9852 Adjust declarations and calls:
9854 * info.el (bookmark-make-record-default): Adjust declaration.
9855 (Info-bookmark-make-record): Adjust call.
9857 * woman.el (bookmark-make-record-default): Adjust declaration.
9858 (woman-bookmark-make-record): Adjust call.
9860 * man.el (bookmark-make-record-default): Adjust declaration.
9861 (Man-bookmark-make-record): Adjust call.
9863 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9865 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9867 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9869 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9870 This is also from Thierry Volpiatto's patch in bug #6444. However,
9871 because it was extraneous to the functional change in that patch,
9872 and causes a re-indendation, I am committing it separately.
9874 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9876 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9877 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9878 Patch applied by Karl Fogel (Bug#6444).
9880 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9882 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9884 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9886 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9887 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9888 (ns-alternatives-map): Change S-tab binding to backtab
9891 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9894 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9896 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9899 * language/tv-util.el (tai-viet-re): Remove format.
9901 2010-07-12 Kenichi Handa <handa@m17n.org>
9903 * language/hebrew.el: Remove no-byte-compile declaration.
9904 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9905 composition-function-table for 3-character looking back.
9906 (hebrew-font-get-precomposed): New function.
9907 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9909 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9911 * mouse.el (mouse-drag-track): Handle select-active-regions
9914 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9916 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9917 empty argument to gvfs-copy.
9919 2010-07-10 Glenn Morris <rgm@gnu.org>
9921 * calendar/calendar.el (calendar-week-end-day): New function.
9922 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9923 Respect calendar-week-start-day. (Bug#6606)
9924 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9925 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9926 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9927 respect calendar-week-start-day.
9929 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9931 * simple.el (use-region-p): Doc fix (Bug#6607).
9933 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9936 Add regexps for cucumber and ruby.
9938 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9940 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9941 (epa-file-insert-file-contents): Hack to prevent
9942 find-file from opening empty buffer when decryption failed
9945 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9947 * textmodes/ispell.el (ispell-alternate-dictionary):
9948 Use file-readable-p.
9949 Return nil if no word-list is found at default locations.
9950 (ispell-complete-word-dict): Default to nil.
9951 (ispell-command-loop): Use 'word-list' when using lookup-words.
9952 (lookup-words): Use ispell-complete-word-dict or
9953 ispell-alternate-dictionary. Check for word-list availability
9954 and handle errors if needed with better messages (Bug#6539).
9955 (ispell-complete-word): Use ispell-complete-word-dict or
9956 ispell-alternate-dictionary.
9958 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9960 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9961 builtins (BufferError, BytesWarning, WindowsError; callables
9962 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9964 2010-07-07 Glenn Morris <rgm@gnu.org>
9966 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9967 (zone-shift-left): Ignore intangibility, and any errors from
9969 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9970 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9971 deleting, and copying text properties.
9972 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9973 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9974 to point-max is hard.
9975 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9976 (zone-fill-out-screen): Ignore intangibility.
9978 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9980 * menu-bar.el (menu-bar-mode):
9981 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9984 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9985 word/line selection (Bug#6565).
9987 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9989 * net/dbus.el (dbus-send-signal): Declare function.
9991 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9993 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9994 (dbus-register-property): New optional argument EMITS-SIGNAL.
9995 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9997 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9999 * mouse.el (mouse-drag-overlay): Variable deleted.
10000 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10001 (mouse--remap-link-click-p): New function.
10002 (mouse-drag-track): Handle dragging by using temporary Transient
10003 Mark mode, instead of a special overlay.
10004 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10007 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10010 2010-07-02 Juri Linkov <juri@jurta.org>
10012 * autoinsert.el (auto-insert-alist): Fix readability
10013 by using dotted pair notation for lambda.
10015 2010-07-02 Juri Linkov <juri@jurta.org>
10017 * faces.el (read-face-name): Rename arg `string-describing-default'
10018 to `default'. Doc fix. Display the default value in quotes
10019 in the prompt. With empty input, return the `default' arg,
10020 unless the default value is a string (in which case return nil).
10021 (describe-face): Replace the string `default' arg of `read-face-name'
10022 with the symbol `default'.
10024 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10026 * emulation/viper-cmd.el (viper-delete-backward-char)
10027 (viper-del-backward-char-in-insert)
10028 (viper-del-backward-char-in-replace, viper-change)
10029 (viper-backward-indent): Replace delete-backward-char with
10030 delete-char (Bug#6552).
10032 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10034 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10036 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10038 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10039 argument passed to frame-creation-function (Bug#5378).
10041 * faces.el (x-handle-named-frame-geometry)
10042 (x-handle-reverse-video, x-create-frame-with-faces)
10043 (face-set-after-frame-default, tty-create-frame-with-faces):
10044 Don't separately consult default-frame-alist. It is now passed as the
10045 PARAMETER argument.
10047 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10049 * startup.el (command-line): Don't call tool-bar-setup in a
10052 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10054 * ruler-mode.el (ruler--save-header-line-format): New fun.
10055 (ruler-mode): Use it as a setter function, so as not to overwrite
10056 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10058 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10060 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10061 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10062 (vc-log-outgoing): Use it.
10063 (vc-diff-internal): Set diff-vc-backend.
10065 * vc/diff-mode.el (diff-vc-backend): New var.
10067 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10069 * dynamic-setting.el (font-setting-change-default-font):
10070 Remove call to message.
10072 2010-06-28 Kenichi Handa <handa@m17n.org>
10074 * international/quail.el (quail-insert-kbd-layout): Fix the
10075 showing of untranslated characters.
10077 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10079 * simple.el (delete-active-region): New option.
10080 (delete-backward-char): Implement in Lisp.
10081 (delete-forward-char): New command.
10083 * mouse.el (mouse-region-delete-keys): Delete.
10084 (mouse-show-mark): Simplify.
10086 * bindings.el (global-map): Bind delete and DEL, the former to
10087 delete-forward-char.
10089 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10091 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10092 (ruby-mode): Bind indent-line-function (Bug#5119).
10094 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10096 * startup.el (command-line): Recognize "0" X resource value.
10098 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10100 * startup.el (command-line): Use X resources to set the value of
10101 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10103 * menu-bar.el (menu-bar-mode):
10104 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10105 Set init-value to t.
10107 * frame.el (frame-notice-user-settings): Don't change
10108 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10109 vice versa (Bug#2249).
10111 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10113 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10115 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10117 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10118 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10120 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10121 default directories are expanded (Bug#6143).
10123 2010-06-24 Juri Linkov <juri@jurta.org>
10125 * minibuffer.el (completions-format): Change default from nil to
10126 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10128 2010-06-24 Juri Linkov <juri@jurta.org>
10130 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10131 buffer-locally to lambda that re-runs the vc diff command.
10134 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10136 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10137 echo area is in use (Bug#3412).
10139 2010-06-22 Glenn Morris <rgm@gnu.org>
10141 * textmodes/texinfmt.el (texinfo-format-region)
10142 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10143 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10144 (texinfo-format-option, texinfo-noindent):
10145 Use line-beginning-position and line-end-position.
10147 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10148 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10149 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10152 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10154 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10155 forward-line fallout.
10157 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10159 * mouse.el (mouse-appearance-menu): Add docstring.
10161 * help.el (describe-key): Print up-event using key-description.
10163 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10165 * net/zeroconf.el (zeroconf-resolve-service)
10166 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10167 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10169 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10171 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10173 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10175 Avoid displaying files with a nil state in vc-dir.
10176 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10177 cases that cause insertion.
10178 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10181 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10183 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10185 2010-06-29 Leo <sdl.web@gmail.com>
10187 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10189 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10191 * generic-x.el (bat-generic-mode): Fix regexp for command line
10192 switches (Bug#5719).
10194 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10196 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10197 of nconc to avoid pure storage error (Bug#6239).
10199 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10201 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10202 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10203 bindings of bookmark-automatically-show-annotations (Bug#6515).
10205 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10207 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10208 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10210 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10212 * comint.el (make-comint, make-comint-in-buffer): Mention return
10213 value in the docstrings. (Bug#6498)
10215 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10217 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10218 since it is not present when using some non-default switches.
10220 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10222 * simple.el (compose-mail): Fix doc string to refer to
10223 `compose-mail-user-agent-warnings', instead of to the
10224 nonexistent `compose-mail-check-user-agent'.
10226 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10228 Fix an indentation bug:
10230 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10231 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10232 of existing values.
10234 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10235 (c-clear->-pair-props-if-match-before): now return t when they've
10236 cleared properties, nil otherwise.
10237 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10238 by taking account of the existing value.
10240 * progmodes/cc-defs.el
10241 (c-clear-char-property-with-value-function): Fix this to clear the
10242 property rather than overwriting it with nil.
10244 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10246 * emacs-lisp/package.el (package-print-package): Add link to
10247 package description via describe-package.
10248 (describe-package-1): List package requirements. Add button to
10249 perform installation.
10250 (package-menu-describe-package): New command.
10252 * help-mode.el (help-package): New button type.
10254 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10256 * emacs-lisp/package.el: Move package-list-packages binding to
10258 (describe-package, describe-package-1, package--dir): New funs.
10259 (package-activate-1): Use package--dir.
10261 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10263 * help-mode.el (help-package-def): New button type.
10265 * menu-bar.el: Move package-list-packages binding here from
10268 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10270 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10272 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * emacs-lisp/edebug.el (edebug-read-list):
10275 Phase out old-style backquotes.
10277 2010-06-17 Juri Linkov <juri@jurta.org>
10279 * help-mode.el (help-mode): Set buffer-local variable
10280 revert-buffer-function to help-mode-revert-buffer.
10281 (help-mode-revert-buffer): New function.
10283 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10284 before popping to "*info*" (like in other Info functions).
10285 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10286 old-history-forward. Pop to old-buffer-name or "*info*" to
10287 recreate the killed buffer. Set Info-history-forward from
10288 old-history-forward.
10289 (Info-breadcrumbs-depth): Add :group and :version.
10291 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10293 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10295 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10297 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10298 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10300 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10302 * emacs-lisp/package.el (package-menu-mode-map):
10303 Move initialization into declaration.
10305 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10307 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10309 * emacs-lisp/package.el (package-archive-base): Point to
10311 (package-enable, package-load-list): New defcustoms.
10312 (package-user-dir, package-directory-list): Turn into defcustoms.
10313 Don't include package-user-dir in package-directory-list.
10314 (package--builtins-base): Don't include Emacs as a "package".
10315 (package-subdirectory-regexp): New var.
10316 (package-load-all-descriptors, package-compute-transaction)
10317 (package-download-transaction): Obey package-load-list.
10318 (package-activate-1): Rename from package-do-activate.
10319 (package-list-packages-internal): Check package-load-list.
10320 (package-load-descriptor, package-generate-autoloads)
10321 (package-unpack, package-unpack-single)
10322 (package--read-archive-file, package-delete):
10323 Use expand-file-name.
10325 * emacs-lisp/package-x.el: New file. Package uploading
10326 functionality split out from package.el.
10328 * startup.el (command-line): Load packages after reading init file.
10330 2010-06-17 Tom Tromey <tromey@redhat.com>
10332 * emacs-lisp/package.el: New file.
10334 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10336 Fix vc-annotate for renamed files when using Git.
10337 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10338 ls-files. Doe not pass the object as a file name to cat-file, it
10339 is not a file name.
10340 (vc-git-annotate-command): Pass the file name using -- to avoid
10341 ambiguity with the revision.
10342 (vc-git-previous-revision): Pass a relative file name.
10344 2010-06-22 Glenn Morris <rgm@gnu.org>
10346 * progmodes/js.el (js-mode-map): Use standard capitalization and
10347 ellipses for menu entries.
10349 * wid-edit.el (widget-complete): Doc fix.
10351 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10353 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10355 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10357 Fix annotating other revisions for renamed files in vc-annotate.
10358 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10359 VC backend. Use it when non-nil.
10360 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10363 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10364 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10365 Do not pass the file name to the 'previous-revision call when we
10366 don't want a file diff. (Bug#6489)
10368 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10370 Fix finding revisions for renamed files in vc-annotate.
10371 * vc/vc.el (vc-find-revision): Add an optional argument for
10372 the VC backend. Use it when non-nil.
10373 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10374 backend to vc-find-revision. (Bug#6487)
10376 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10378 Fix reading file names in Git annotate buffers.
10379 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10380 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10382 2010-06-20 Alan Mackenzie <acm@muc.de>
10384 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10385 in file local variables, set it first.
10387 2010-06-19 Glenn Morris <rgm@gnu.org>
10389 * descr-text.el (describe-char-unicode-data): Insert separating
10390 space when needed. (Bug#6422)
10392 * progmodes/idlwave.el (idlwave-action-and-binding):
10393 Fix typo in 2009-12-03 change. (Bug#6450)
10395 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10398 handling for `lambda' (misunderstanding).
10400 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10402 * calc/calc-poly.el (math-accum-factors): Make sure that
10403 constants aren't distributed after they are factored out.
10405 2010-06-16 Juri Linkov <juri@jurta.org>
10407 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10408 `list-colors-print'. (Bug#6332)
10410 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10412 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10415 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10417 * font-lock.el (font-lock-major-mode): Rename from
10418 font-lock-mode-major-mode to distinguish it from
10419 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10420 (font-lock-set-defaults):
10421 * font-core.el (font-lock-default-function): Adjust users.
10422 (font-lock-mode): Don't set it at all.
10424 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10428 2010-06-16 Glenn Morris <rgm@gnu.org>
10430 * calendar/appt.el (appt-time-msg-list): Doc fix.
10431 (appt-check): Let-bind appt-warn-time.
10432 (appt-add): Make the 3rd argument optional.
10433 Simplify argument names. Doc fix. Check for integer WARNTIME.
10434 Only add WARNTIME to the output list if non-nil.
10436 2010-06-16 Ivan Kanis <apple@kanis.eu>
10438 * calendar/appt.el (appt-check): Let the 3rd element of
10439 appt-time-msg-list specify the warning time.
10440 (appt-add): Add new argument with the warning time. (Bug#5176)
10442 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10444 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10445 older than version 1.6. (Bug#6361)
10447 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10449 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10450 used by cl-do-arglist. (Bug#6408)
10452 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10454 * textmodes/ispell.el (ispell-dictionary-base-alist):
10455 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10456 Suggested by Rolando Pereira (bug#6434).
10458 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10460 * facemenu.el (list-colors-sort): Doc fix.
10462 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10464 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10466 2010-06-14 Juri Linkov <juri@jurta.org>
10468 Add sort option `list-colors-sort'. (Bug#6332)
10469 * facemenu.el (color-rgb-to-hsv): New function.
10470 (list-colors-sort): New defcustom.
10471 (list-colors-sort-key): New function.
10472 (list-colors-display): Doc fix. Sort list according to the option
10473 `list-colors-sort'.
10474 (list-colors-print): Add HSV values to `help-echo' property of
10477 2010-06-14 Juri Linkov <juri@jurta.org>
10479 * compare-w.el: Move to the "vc" subdirectory.
10481 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * image-mode.el (image-mode-map): Remap left-char and right-char.
10485 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10487 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10489 * term/common-win.el (x-colors): Add all the color names defined
10490 in rgb.txt (Bug#6332).
10492 * facemenu.el (list-colors-print): Don't print extra names if it
10493 will overflow the window width.
10495 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10498 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10500 * files.el (make-directory): Doc fix (bug#6396).
10502 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10504 * net/tramp.el (tramp-remote-process-environment): Protect version
10505 string by apostroph.
10506 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10508 (tramp-file-name-for-operation): Add `call-process-region'.
10509 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10511 * net/tramp-compat.el (top): Do not autoload
10512 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10513 only when `start-file-process' is not bound.
10514 (tramp-advice-file-expand-wildcards): Do not use
10515 `tramp-handle-file-remote-p'.
10516 (tramp-compat-make-temp-file): Handle the case, that
10517 `make-temp-file' has no third argument EXTENSION.
10519 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10521 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10523 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10525 2010-06-11 Juri Linkov <juri@jurta.org>
10527 * finder.el (finder-known-keywords): Add keyword "vc"
10528 for version control.
10530 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10531 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10532 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10533 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10535 2010-06-11 Juri Linkov <juri@jurta.org>
10537 Move version control related files to the "vc" subdirectory.
10538 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10539 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10540 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10541 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10542 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10543 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10544 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10545 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10546 Move files to the "vc" subdirectory.
10548 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10550 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10553 2010-06-11 Stephen Eglen <stephen@gnu.org>
10555 * shell.el: Bind `shell-resync-dirs' to M-RET.
10557 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10559 * notifications.el: Move file from lisp/net, because it is
10560 supposed to talk locally to the user.
10562 2010-06-10 Julien Danjou <julien@danjou.info>
10564 * net/notifications.el (notifications-on-action-signal)
10565 (notifications-on-closed-signal): Pass notification id as first
10566 argument to the callback functions. Add docstrings.
10567 (notifications-notify): Fix docstring.
10569 2010-06-10 Glenn Morris <rgm@gnu.org>
10571 * emacs-lisp/authors.el (authors-ignored-files)
10572 (authors-valid-file-names): Add some files.
10574 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10577 merge conflict, giving preference to the emacs-23 version of the code.
10579 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10581 * emacs-lisp/advice.el (ad-compile-function):
10582 Define warning-suppress-types before we let-bind it (bug#6275).
10584 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10585 declare it, make it buffer-local and permanent-local (bug#6324).
10586 (vc-resynch-window): Adjust name.
10587 * vc-hooks.el (vc-find-file-hook): Adjust name.
10589 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10591 * net/notifications.el (notifications-notify): Fix docstring.
10593 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10595 Update to Unicode 6.0.0 beta.
10596 * international/charprop.el: Update copyright.
10597 * international/mule-cmds.el (ucs-names): Update character ranges.
10598 * international/uni-bidi.el:
10599 * international/uni-category.el:
10600 * international/uni-combining.el:
10601 * international/uni-comment.el:
10602 * international/uni-decimal.el:
10603 * international/uni-decomposition.el:
10604 * international/uni-digit.el:
10605 * international/uni-lowercase.el:
10606 * international/uni-mirrored.el:
10607 * international/uni-name.el:
10608 * international/uni-numeric.el:
10609 * international/uni-old-name.el:
10610 * international/uni-titlecase.el:
10611 * international/uni-uppercase.el: Regenerate.
10613 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10615 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10616 (smie-precs-precedence-table): Fix typo in docstring.
10618 * vc-mtn.el (log-edit-extract-headers): Declare function.
10620 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10622 * net/notifications.el (dbus-register-signal): Declare function.
10623 (notifications-notify): Fix typos and reflow docstring.
10625 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10627 Improve VC create/retrieve tag/branch.
10628 * vc.el (vc-create-tag): Do not read the directory name for VCs
10629 with repository revision granularity. Adjust the tag/branch
10630 prompt. Reset VC properties.
10631 (vc-retrieve-tag): Do not read the directory name for VCs
10632 with repository revision granularity. Reset VC properties.
10634 2010-06-09 Julien Danjou <julien@danjou.info>
10636 * net/notifications.el: New file.
10638 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10640 Add optional support for resetting VC properties.
10641 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10642 call vc-file-clearprops when true.
10643 (vc-resynch-buffer): Add new optional argument, pass it down.
10644 (vc-resynch-buffers-in-directory): Likewise.
10646 Improve support for special markup in the VC commit message.
10647 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10648 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10649 * vc-git.el (vc-git-checkin):
10650 * vc-bzr.el (vc-bzr-checkin): Likewise.
10652 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10654 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10655 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10657 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10659 * iimage.el: Remove images as soon as the underlying text is modified.
10660 (iimage-modification-hook): New function.
10661 (iimage-mode-buffer): Use it.
10663 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10666 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10667 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10668 (smie-indent-keyword): Add handling of open-paren keywords.
10669 (smie-indent-comment-continue): Don't assume comment-continue.
10671 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10673 * window.el (pop-to-buffer): Remove the conditional that
10674 compares new-window and old-window, so it will reselect
10675 the selected window unconditionally.
10676 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10678 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/smie.el (smie-indent-offset-after)
10681 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10682 (smie-indent-after-keyword): Use them.
10683 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10684 (smie-indent-keyword): Tweak the black magic.
10685 (smie-indent-comment-continue): Strip comment-continue before use.
10686 (smie-indent-functions): Indent comments before keywords.
10688 2010-06-06 Juri Linkov <juri@jurta.org>
10690 * isearch.el (isearch-lazy-highlight-search): Fix looping
10691 by checking for empty match. This syncs this loop with the
10692 similar loop in `isearch-search'. (Bug#6362)
10694 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10696 * net/dbus.el (dbus-register-method): Declare function.
10697 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10698 (dbus-introspect): Doc fix.
10699 (dbus-event-bus-name, dbus-introspect-get-interface)
10700 (dbus-introspect-get-argument): Reflow docstrings.
10702 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10704 vc-log-incoming/vc-log-outgoing fixes for Git.
10705 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10706 incoming/outgoing logs.
10707 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10708 instead of vc-git-compute-remote.
10709 (vc-git-compute-remote): Remove.
10711 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10713 * term/common-win.el (x-colors): Add "dark green" and "dark
10714 turquoise" (Bug#6332).
10716 2010-06-04 Juri Linkov <juri@jurta.org>
10718 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10719 Instead of setting `replace' to t and replacing the same string
10720 with itself, don't do certain actions when
10721 kill-do-not-save-duplicates is non-nil and string is equal to car
10722 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10723 interprogram-paste strings to kill-ring, and don't push the input
10724 argument `string' to kill-ring.
10725 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10727 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10729 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10731 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10733 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10734 (tramp-gvfs-handler-mounted-unmounted)
10735 (tramp-gvfs-connection-mounted-p): Handle default-location.
10737 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10738 move files to trash.
10740 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10742 * international/mule-cmds.el (nonascii-insert-offset)
10743 (nonascii-translation-table): Add obsolescence information.
10745 * international/mule.el (make-translation-table-from-vector): Doc fix.
10747 2010-06-03 Glenn Morris <rgm@gnu.org>
10749 * desktop.el (desktop-clear-preserve-buffers):
10750 Add "*Warnings*" buffer. (Bug#6336)
10752 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10754 vc-log-incoming/vc-log-outgoing improvements for Git.
10755 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10757 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10759 Add bindings for vc-log-incoming and vc-log-outgoing.
10760 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10761 and vc-log-outgoing.
10762 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10763 and vc-log-outgoing.
10765 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10767 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10768 (rcirc-handler-366): Always sort nicknames.
10770 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10772 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10774 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10776 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10778 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10780 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10781 (rcirc-sort-nicknames-join): Avoid setq.
10783 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10785 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10786 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10787 (rcirc-handler-366): Use them.
10789 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10791 Split smie-indent-calculate into more manageable chunks.
10792 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10793 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10794 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10795 (smie-indent-exps): Extract from smie-indent-calculate.
10796 (smie-indent-functions): New var.
10797 (smie-indent-functions): Use them.
10799 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10802 (smie-indent-calculate): Simplify and cleanup.
10804 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10806 * net/tramp-gvfs.el (top): Require url-util.
10807 (tramp-gvfs-mount-point): Remove.
10808 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10810 (with-tramp-dbus-call-method): Format trace message.
10811 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10812 Implement backup call, when operation on local files fails.
10813 Use progress reporter. Flush properties of changed files.
10814 (tramp-gvfs-handle-make-directory): Make more traces.
10815 (tramp-gvfs-url-file-name): Hexify file name in url.
10816 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10817 into account for the resulting file name.
10818 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10819 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10820 (tramp-gvfs-handler-mounted-unmounted)
10821 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10822 attribute "default_location". Set "prefix" property.
10823 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10824 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10825 exists. Raise an error, if not (due to a corresponding answer
10826 "no" in interactive questions, for example).
10828 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10830 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10832 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10834 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10835 right-*. (Bug#6265)
10837 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10839 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10840 * vc-git.el (vc-git-compute-remote): New function.
10841 (vc-git-log-outgoing): Use it instead of hard coding a value.
10842 (vc-git-log-incoming): New function.
10844 Improve state updating for VC tag commands.
10845 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10846 to update the state of all buffers in the directory.
10848 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10850 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10852 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10853 `file-directory-p' to the filename part rather than to the whole text.
10855 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10859 2010-05-31 Drew Adams <drew.adams@oracle.com>
10861 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10863 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10865 * subr.el (momentary-string-display): Just use read-event to read
10866 the exit event (Bug#6238).
10868 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10870 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10872 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10874 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10875 Suggested by Eli Zaretskii <eliz@gnu.org>.
10877 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10879 * minibuffer.el (completion-file-name-table): Don't return a boundary
10880 past the end of `string' (bug#6299).
10881 (completion--file-name-table): Delegate to completion-file-name-table
10882 for the `boundaries' case.
10884 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10886 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10889 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10890 `path-separator', but maintain compatibility with Emacs 20.2.
10892 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10894 * server.el (server-process-filter): Receive parent-id argument
10896 (server-create-window-system-frame): New arg. Pass parent-id as
10899 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10901 Bidi-sensitive word movement with arrow keys.
10902 * subr.el (right-arrow-command, left-arrow-command): Move to
10905 * bindings.el (right-char, left-char): Move from subr.el and
10906 rename from right-arrow-command and left-arrow-command.
10907 (right-word, left-word): New functions.
10908 (global-map) <right>: Bind to right-char.
10909 (global-map) <left>: Bind to left-char.
10910 (global-map) <C-right>: Bind to right-word.
10911 (global-map) <C-left>: Bind to left-word.
10913 * ls-lisp.el (ls-lisp-classify-file): New function.
10914 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10915 (ls-lisp-classify): Call ls-lisp-classify-file.
10916 (insert-directory): Remove blanks from switches.
10918 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10920 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10921 (ansi-color-drop-regexp): New constant.
10922 (ansi-color-apply, ansi-color-filter-region)
10923 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10924 (ansi-color-apply): Build string list before calling concat.
10926 2010-05-28 Juri Linkov <juri@jurta.org>
10928 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10929 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10932 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10934 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10935 to ignored backtrace functions.
10936 (with-progress-reporter): Expand docstring.
10937 (tramp-handle-delete-file): Implement TRASH argument.
10938 (tramp-get-remote-trash): New defun.
10940 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10942 * net/tramp-compat.el (tramp-compat-delete-file):
10943 Use `symbol-value' for backward compatibility.
10945 * net/tramp.el (tramp-handle-make-symbolic-link)
10946 (tramp-handle-load)
10947 (tramp-do-copy-or-rename-file-via-buffer)
10948 (tramp-do-copy-or-rename-file-directly)
10949 (tramp-do-copy-or-rename-file-out-of-band)
10950 (tramp-handle-process-file, tramp-handle-call-process-region)
10951 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10952 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10953 (tramp-delete-temp-file-function): Use `delete-file' instead
10954 of `tramp-compat-delete-file'.
10956 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10957 (tramp-fish-handle-make-symbolic-link)
10958 (tramp-fish-handle-process-file): Use `delete-file' instead
10959 of `tramp-compat-delete-file'.
10961 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10962 Use `delete-file' instead of `tramp-compat-delete-file'.
10964 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10965 Use `delete-file' instead of `tramp-compat-delete-file'.
10967 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10968 Use `delete-file' instead of `tramp-compat-delete-file'.
10970 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10971 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10972 (tramp-smb-handle-write-region): Use `delete-file' instead of
10973 `tramp-compat-delete-file'.
10974 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10976 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10978 * dired.el (dired-delete-file): New arg TRASH.
10979 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10980 (dired-do-flagged-delete, dired-do-delete): Use trash.
10982 * speedbar.el (speedbar-item-delete): Allow trashing.
10984 * files.el (delete-directory): New arg TRASH.
10986 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10987 (ange-ftp-rename-remote-to-remote)
10988 (ange-ftp-rename-local-to-remote)
10989 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10990 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10992 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10995 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10996 handle new TRASH arg of `delete-file'.
10998 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10999 (tramp-handle-make-symbolic-link, tramp-handle-load)
11000 (tramp-do-copy-or-rename-file-via-buffer)
11001 (tramp-do-copy-or-rename-file-directly)
11002 (tramp-do-copy-or-rename-file-out-of-band)
11003 (tramp-handle-process-file, tramp-handle-call-process-region)
11004 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11005 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11006 (tramp-delete-temp-file-function): Use null TRASH arg in
11007 tramp-compat-delete-file call.
11009 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11010 (tramp-fish-handle-delete-file)
11011 (tramp-fish-handle-make-symbolic-link)
11012 (tramp-fish-handle-process-file): Use null TRASH arg in
11013 `tramp-compat-delete-file' call.
11015 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11016 arg in `tramp-compat-delete-file' call.
11018 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11019 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11020 `tramp-compat-delete-file' call.
11022 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11023 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11024 `tramp-compat-delete-file' call.
11026 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11027 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11028 (tramp-smb-handle-write-region): Use null TRASH arg in
11029 tramp-compat-delete-file call.
11030 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11031 (tramp-smb-handle-delete-file): Rename arg.
11033 * diff.el (diff-sentinel):
11034 * epg.el (epg--make-temp-file, epg-decrypt-string)
11035 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11036 * jka-compr.el (jka-compr-partial-uncompress)
11037 (jka-compr-call-process, jka-compr-write-region):
11038 * server.el (server-sentinel): Remove optional arg from
11039 delete-file, reverting 2010-05-03 change.
11041 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11043 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11044 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11046 2010-05-27 Kenichi Handa <handa@m17n.org>
11048 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11049 element of GSTRING is nil.
11051 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11053 * emacs-lisp/smie.el (smie-forward-token-function)
11054 (smie-backward-token-function): New vars.
11055 (smie-backward-sexp, smie-forward-sexp)
11056 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11057 (smie-default-backward-token): Rename from smie-backward-token and
11059 (smie-default-forward-token): Rename from smie-forward-token and
11061 (smie-next-sexp): Handle nil results from next-token.
11062 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11064 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11066 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11067 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11069 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11071 * htmlfontify.el (hfy-face-resolve-face): New function.
11072 (hfy-face-to-style): Use it (Bug#6279).
11074 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11076 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11077 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11079 2010-05-26 Glenn Morris <rgm@gnu.org>
11081 * emulation/edt.el (edt-load-keys): Use locate-library.
11083 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11085 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11086 (log-edit-changelog-entries): Doc fix.
11087 (log-edit-changelog-insert-entries): Args changed.
11088 Rename relative filenames in ChangeLog entries. Delete tabs.
11089 (log-edit-insert-changelog-entries): Reorganize return value of
11090 `log-edit-changelog-entries' to pass filenames to
11091 log-edit-changelog-insert-entries.
11093 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11095 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11096 `image-dired-dired-insert-marked-thumbs' to
11097 `image-dired-dired-toggle-marked-thumbs'.
11099 * image-dired.el: Require cl when compiling.
11100 (image-dired-dired-toggle-marked-thumbs): Rename from
11101 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11102 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11103 to 'no-dir. Skip files whose names don't match
11104 `image-file-name-regexp'. When file has a thumbnail overlay,
11105 delete it. (Bug#5270)
11107 2010-05-25 Juri Linkov <juri@jurta.org>
11109 * image-mode.el (image-mode): Add image-after-revert-hook to
11111 (image-after-revert-hook): New function. (Bug#5669)
11113 2010-05-25 Juri Linkov <juri@jurta.org>
11115 * image.el (image-animated-p): When delay between animated images
11116 is 0, set it to 10 (0.1 sec). (Bug#6258)
11118 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11120 * net/tramp.el (tramp-handle-insert-directory): Don't use
11121 `forward-word', its default syntax could be changed.
11123 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11125 * net/tramp.el (tramp-progress-reporter-update): New defun.
11126 (with-progress-reporter): Use it.
11127 (tramp-process-actions):
11128 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11129 Preserve current message, in order to let progress reporter continue
11130 afterwards. (Bug#6257)
11132 2010-05-25 Glenn Morris <rgm@gnu.org>
11134 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11137 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11139 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11140 (rcirc-default-full-name): Change to "unknown".
11141 (rcirc-user-name-history): Add variable.
11143 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11144 Jonathan Rockway <jon@jrock.us>
11146 * net/rcirc.el (rcirc-server-alist): Add :pass.
11147 (rcirc): When prompting for connection parameters, also prompt for
11148 username and password.
11149 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11150 value to server when connecting.
11152 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11155 (smie-merge-prec2s): Pass the tables as separate args.
11156 (smie-bnf-precedence-table): Adjust call accordingly.
11157 (smie-prec2-levels): Set levels at the end.
11159 Replace Lisp calls to delete-backward-char by delete-char.
11160 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11161 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11162 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11163 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11164 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11165 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11166 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11167 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11168 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11169 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11170 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11171 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11172 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11173 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11174 delete-backward-char by calls to delete-char.
11176 2010-05-25 Kenichi Handa <handa@m17n.org>
11178 * language/hebrew.el (hebrew-shape-gstring): New function.
11179 Register it in composition-function-table for all Hebrew combining
11182 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * epa.el (epa--select-keys): Don't explicitly delete the window since
11185 that can fail (e.g. sole window in frame). Use dedication instead.
11187 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11189 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11191 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11193 * image.el (image-refresh): Define as an alias for image-flush.
11195 * image-mode.el (image-toggle-display-image): Caller changed.
11197 2010-05-21 Juri Linkov <juri@jurta.org>
11199 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11200 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11201 whitespace, call wildcard-to-regexp on substrings and concat them
11202 with "\\|". (Bug#6114)
11204 2010-05-21 Alan Mackenzie <acm@muc.de>
11206 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11207 Replace parameter `here' with `here-' and `here-plus', which sandwich
11208 any pertinent CPP construct.
11209 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11210 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11211 CPP construct from taking part in the scanning.
11213 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11215 * net/tramp.el (tramp-do-copy-or-rename-file)
11216 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11217 Tune `with-progress-reporter' messages.
11218 (tramp-handle-vc-registered):
11219 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11220 (tramp-fish-handle-insert-file-contents)
11221 (tramp-fish-maybe-open-connection):
11222 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11223 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11224 (tramp-imap-handle-insert-file-contents)
11225 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11227 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11229 * add-log.el (change-log-font-lock-keywords):
11230 Highlight all authors in multi-author entries.
11232 * smerge-mode.el (smerge-refine-ignore-whitespace)
11233 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11234 Fix typos in docstrings.
11235 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11237 2010-05-21 Glenn Morris <rgm@gnu.org>
11239 * progmodes/fortran.el (fortran-mode):
11240 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11242 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11243 having a relative path in src/Makefile.in.
11245 2010-05-20 Kevin Ryde <user42@zip.com.au>
11247 * help-mode.el (help-make-xrefs): For Info node links turn
11248 newlines into spaces. Link node names with newlines are matched
11249 by help-xref-info-regexp and buttonized, this change ensures they
11250 can be followed successfully with RET. (Bug#6206)
11252 2010-05-20 Juri Linkov <juri@jurta.org>
11254 * locate.el (locate): Use pop-to-buffer instead of
11255 switch-to-buffer-other-window. (Bug#6204)
11257 2010-05-20 Juri Linkov <juri@jurta.org>
11259 * replace.el (replace-highlight): Fix lazy-highlighting
11260 for `M-s w str M-% str RET'.
11262 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11264 * isearch.el (isearch-yank-word-or-char): Pull next subword
11265 when `subword-mode' is activated. (Bug#6220)
11267 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11269 * isearch.el (isearch-update-post-hook): New hook.
11270 (isearch-update): Use the new hook. (Bug#6225)
11272 2010-05-20 Juri Linkov <juri@jurta.org>
11274 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11275 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11278 2010-05-20 Juri Linkov <juri@jurta.org>
11280 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11283 2010-05-20 Juri Linkov <juri@jurta.org>
11285 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11286 FILE-NAME to read from the minibuffer when called interactively
11287 with prefix argument instead of using buffer-file-name.
11288 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11290 * dired.el: Update autoloads.
11292 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11294 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11295 nxml-finish-element, for consistency with SGML mode.
11297 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11298 octave-close-block.
11300 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11302 * composite.el: Require cl when compiling.
11303 (reference-point-alist, compose-gstring-for-graphic)
11304 (compose-gstring-for-terminal): Fix typos in docstrings.
11306 2010-05-19 Juri Linkov <juri@jurta.org>
11308 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11309 set-window-parameter.
11311 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11313 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11315 (tramp-maybe-open-connection): Use it.
11317 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11319 * simple.el (move-end-of-line): Make sure we are at line beginning
11320 before backing up to end of previous line.
11322 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11324 * password-cache.el (password-cache-remove): Fix docstring.
11326 * net/secrets.el: Autoload the widget functions.
11327 (secrets-search-items, secrets-create-item)
11328 (secrets-get-attributes, secrets-expand-item): Attributes will be
11329 stored on the password database without leading ":", as all other
11330 clients do as well.
11331 (secrets-mode): Fix docstring.
11332 (secrets-show-secrets): Provide it as autoloaded command only when
11333 D-Bus support is available. Check existence of Secret Service API.
11335 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11337 * indent.el (indent-region): Deactivate region (bug#6200).
11339 2010-05-19 Glenn Morris <rgm@gnu.org>
11341 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11343 2010-05-19 Kenichi Handa <handa@m17n.org>
11345 * composite.el: Register compose-gstring-for-graphic in
11346 composition-function-table only for combining characters (Mn, Mc, Me).
11348 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11350 * calc/calc-trail.el (calc-trail-isearch-forward)
11351 (calc-trail-isearch-backward): Ensure that the new window
11352 point is set correctly.
11354 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11356 * subr.el (read-quoted-char): Resolve modifiers after key
11357 remapping (bug#6212).
11359 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11361 Add visualization code for secrets.
11362 * net/secrets.el (secrets-mode): New major mode.
11363 (secrets-show-secrets, secrets-show-collections)
11364 (secrets-expand-collection, secrets-expand-item)
11365 (secrets-tree-widget-after-toggle-function)
11366 (secrets-tree-widget-show-password): New defuns.
11368 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11370 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11371 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11372 handled in smie-next-sexp.
11373 (smie-indent-calculate): Provide a starting indentation (so the
11374 recursion is well-founded ;-).
11376 Fix handling of non-associative equal levels.
11377 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11378 when it's not needed.
11379 (smie-op-left, smie-op-right): New functions.
11380 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11381 Better handle equal levels to distinguish the associative case from
11382 the "multi-keyword construct" case.
11383 (smie-backward-sexp, smie-forward-sexp): Use it.
11385 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11387 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11389 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11390 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11392 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11394 Provide a simple generic indentation engine and use it for Prolog.
11395 * emacs-lisp/smie.el: New file.
11396 * progmodes/prolog.el (prolog-smie-op-levels)
11397 (prolog-smie-indent-rules): New var.
11398 (prolog-mode-variables): Use them to configure SMIE.
11399 (prolog-indent-line, prolog-indent-level): Remove.
11401 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11403 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11404 order before computing the averages.
11406 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11408 * calc/calc-vec.el (calc-histogram):
11409 (calcFunc-histogram): Allow vectors as inputs.
11410 (math-vector-avg): New function.
11412 * calc/calc-ext.el (math-group-float): Have the number of digits
11413 being grouped depend on the radix (Bug#6189).
11415 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11417 * version.el (emacs-copyright, emacs-version): Don't define here,
11418 now that emacs.c defines it.
11420 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11422 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11423 "Describe Language Environment" menu item.
11425 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11427 Bidi-sensitive movement with arrow keys.
11428 * subr.el (right-arrow-command, left-arrow-command): New functions.
11430 * bindings.el (global-map): Bind them to right and left arrow keys.
11432 Don't override standard definition of convert-standard-filename.
11433 * files.el (convert-standard-filename):
11434 Call w32-convert-standard-filename and dos-convert-standard-filename on
11435 the corresponding systems.
11437 * w32-fns.el (w32-convert-standard-filename): Rename from
11438 convert-standard-filename. Doc fix.
11440 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11441 (convert-standard-filename): Don't defalias.
11442 (register-name-alist, make-register, register-value)
11443 (set-register-value, intdos): Obsolete aliases for the
11444 corresponding dos-* functions and variables.
11445 (dos-intdos): Add a doc string.
11447 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11449 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11450 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11451 (math-compose-tex-func):
11452 * calc/calccomp.el (math-compose-expr):
11453 * calc/calc-ext.el (math-format-flat-expr-fancy):
11454 * calc/calc-store.el (calc-read-var-name):
11455 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11457 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11458 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11459 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11460 (math-standard-units): Add units.
11462 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11464 * progmodes/asm-mode.el (asm-mode):
11465 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11467 * pcomplete.el (pcomplete-completions-at-point): New function,
11468 extracted from pcomplete-std-complete.
11469 (pcomplete-std-complete): Use it.
11471 2010-05-15 Glenn Morris <rgm@gnu.org>
11473 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11474 Remove references to CVS, RCS and Old directories.
11476 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11478 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11481 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11483 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11484 (sh-mode-syntax-table): Give it a default value instead.
11485 (sh-header-marker): Make buffer-local.
11486 (sh-mode): Move make-local-variable to the corresponding setq.
11487 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11488 Use complete-with-action.
11490 * simple.el (prog-mode): New (abstract) major mode.
11491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11492 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11494 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11496 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11497 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11498 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11499 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11500 (sql-escape-newlines-filter, sql-input-sender)
11501 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11503 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11505 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11507 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11508 latex-open-block and C-c / to latex-close-block.
11510 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11511 and C-c C-e to sgml-close-tag.
11513 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11515 * net/tramp.el (with-progress-reporter): Create reporter object
11516 only when the message would be displayed. Handle nested calls.
11517 (tramp-handle-load, tramp-handle-file-local-copy)
11518 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11519 (tramp-maybe-send-script, tramp-find-shell):
11520 Use `with-progress-reporter'.
11521 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11524 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11525 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11526 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11527 Use `with-progress-reporter'.
11529 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11531 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11532 process everytime when spellchecking from the minibuffer (bug#6143).
11534 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11538 * dos-fns.el: Add "dos-" prefix for namespace control.
11539 (convert-standard-filename): Define as alias for
11540 dos-convert-standard-filename but only if applicable.
11542 2010-05-12 Alan Mackenzie <acm@muc.de>
11544 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11545 Push the mark at the start of these functions when appropriate.
11547 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * minibuffer.el (completion-cycle-threshold): New custom var.
11550 (completion--do-completion): Use it.
11551 (minibuffer-complete): Use cycling if appropriate.
11553 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11555 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11556 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11558 2010-05-11 Juri Linkov <juri@jurta.org>
11560 * scroll-all.el (scroll-all-check-to-scroll):
11561 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11563 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * iimage.el (iimage-mode-map): Move initialization into declaration.
11566 (iimage-mode-buffer): Use with-silent-modifications.
11567 Simplify calling convention. Adjust callers.
11568 (iimage-mode): Don't run hook redundantly.
11570 * minibuffer.el (completion-pcm--pattern->regex):
11571 Fix last change (bug#6160).
11573 2010-05-10 Juri Linkov <juri@jurta.org>
11575 Remove nodes visited during Isearch from the Info history.
11576 * info.el (Info-isearch-initial-history)
11577 (Info-isearch-initial-history-list): New variables.
11578 (Info-isearch-start): Record initial values of
11579 Info-isearch-initial-history and Info-isearch-initial-history-list.
11580 Add Info-isearch-end to isearch-mode-end-hook.
11581 (Info-isearch-end): New function.
11583 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11585 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11586 format string, in order to work around a bug in pdksh.
11587 Reported by Gilles Pion <gpion@lfdj.com>.
11588 (tramp-handle-verify-visited-file-modtime): Do not send a command
11589 when the connection is not established.
11590 (tramp-handle-set-file-times): Simplify the check for utc.
11592 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11594 Fix use of `filter-buffer-substring' (rework previous change).
11595 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11596 (cua-repeat-replace-region):
11597 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11598 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11599 (cua-cut-region-to-global-mark): Use it.
11601 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11603 * progmodes/sql.el: Version 2.1.
11604 (sql-product-alist): Redesign structure of product info.
11605 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11606 (sql-port, sql-port-history): New variables.
11607 (sql-interactive-product): New variable.
11608 (sql-send-terminator): New variable.
11609 (sql-imenu-generic-expression): Add "Types" imenu entry.
11610 (sql-oracle-login-params, sql-sqlite-login-params)
11611 (sql-mysql-login-params, sql-solid-login-params)
11612 (sql-sybase-login-params, sql-informix-login-params)
11613 (sql-ingres-login-params, sql-ms-login-params)
11614 (sql-postgres-login-params, sql-interbase-login-params)
11615 (sql-db2-login-params, sql-linter-login-params)
11616 (sql-oracle-scan-on): New variables.
11617 (sql-mode-map): Add C-c C-i to start interactive mode.
11618 (sql-mode-menu): Update existing menu entries.
11619 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11620 (sql-mode-oracle-font-lock-keywords)
11621 (sql-mode-postgres-font-lock-keywords)
11622 (sql-mode-ms-font-lock-keywords)
11623 (sql-mode-sybase-font-lock-keywords)
11624 (sql-mode-informix-font-lock-keywords)
11625 (sql-mode-interbase-font-lock-keywords)
11626 (sql-mode-ingres-font-lock-keywords)
11627 (sql-mode-solid-font-lock-keywords)
11628 (sql-mode-mysql-font-lock-keywords)
11629 (sql-mode-sqlite-font-lock-keywords)
11630 (sql-mode-db2-font-lock-keywords)
11631 (sql-mode-linter-font-lock-keywords): Update initialization to
11632 reduce run-time complexity.
11633 (sql-add-product, sql-del-product): New functions.
11634 (sql-set-product-feature, sql-get-product-feature): New functions.
11635 (sql-product-font-lock): Update product API.
11636 (sql-add-product-keywords): New function.
11637 (sql-highlight-product): Update product API.
11638 (sql-help-list-products): New function.
11639 (sql-help): Dynamically lists free and non-free products.
11640 (sql-get-login): Correct bug in handling history and added
11642 (sql-copy-column): Copy without properties.
11643 (sqli-input-sender): Apply filters to SQLi input.
11644 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11645 Implement as a filter.
11646 (sql-escape-newlines-filter): Implement as a filter.
11647 (sql-remove-tabs-filter): New function.
11648 (sql-send-magic-terminator): New function.
11649 (sql-send-string): Implement magic terminator.
11650 (sql-send-region): Use `sql-send-string'.
11651 (sql-interactive-mode): Use product API.
11652 (sql-product-interactive): Use product API.
11653 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11654 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11655 (sql-db2, sql-linter): Use `sql-product-interactive'.
11656 (sql-connect): New function.
11657 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11658 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11659 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11660 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11663 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11666 New custom variable.
11667 (completion-pcm--string->pattern): Use it.
11668 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11669 Make it handle any symbol as `any'.
11670 (completion-pcm--merge-completions): Extract common suffix for the new
11671 `prefix' symbol as well.
11672 (completion-substring--all-completions): Use the new `prefix' symbol.
11674 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11676 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11678 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11679 (tramp-compat-funcall): New defmacro.
11680 (tramp-compat-line-beginning-position)
11681 (tramp-compat-line-end-position)
11682 (tramp-compat-temporary-file-directory)
11683 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11684 (tramp-compat-copy-file, tramp-compat-copy-directory)
11685 (tramp-compat-delete-file, tramp-compat-delete-directory)
11686 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11687 * net/tramp.el (top, with-progress-reporter)
11688 (tramp-rfn-eshadow-setup-minibuffer)
11689 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11690 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11691 (tramp-completion-mode-p, tramp-check-for-regexp)
11692 (tramp-open-connection-setup-interactive-shell)
11693 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11694 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11695 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11696 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11697 (tramp-reporter-dump-variable, tramp-load-report-modules)
11698 (tramp-append-tramp-buffers)
11699 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11701 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11703 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11706 buffer-modtime. Adjust users.
11708 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11710 * international/mule.el (auto-coding-alist): Only purecopy
11711 car of each item, not the whole list (Bug#6083).
11713 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11715 * progmodes/js.el (js-mode): Make paragraph variables local before
11716 calling c-setup-paragraph-variables (Bug#6071).
11718 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11720 * composite.el (compose-region, reference-point-alist): Fix typos
11721 in the doc strings.
11723 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11725 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11726 gnuplot's "set" command.
11728 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11730 * abbrev.el (last-abbrev-text): Doc fix.
11731 (abbrev-prefix-mark): Don't escape parenthesis.
11733 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11735 * composite.el (find-composition): Doc fix.
11737 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11739 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11740 (sql-oracle-program, sql-sqlite-options)
11741 (sql-query-placeholders-and-send): Doc fixes.
11742 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11743 (sql-imenu-generic-expression, sql-buffer)
11744 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11745 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11746 (sql-mode-sybase-font-lock-keywords)
11747 (sql-mode-informix-font-lock-keywords)
11748 (sql-mode-interbase-font-lock-keywords)
11749 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11750 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11751 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11752 (sql-product-feature, sql-highlight-product)
11753 (comint-line-beginning-position, sql-rename-buffer)
11754 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11755 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11756 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11757 Fix typos in docstrings.
11759 2010-05-08 Juri Linkov <juri@jurta.org>
11761 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11762 property instead of `invisible' and `after-string' (bug#5998).
11764 2010-05-08 Juri Linkov <juri@jurta.org>
11766 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11768 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11770 * filecache.el (file-cache-add-directory-list)
11771 (file-cache-add-directory-recursively): Fix typos in docstrings.
11773 2010-05-08 Kenichi Handa <handa@m17n.org>
11775 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11776 (gujarati-composable-pattern): Fix typo.
11778 2010-05-08 Kenichi Handa <handa@m17n.org>
11780 * language/indian.el (oriya-composable-pattern)
11781 (tamil-composable-pattern, malayalam-composable-pattern):
11782 Add two-part vowels to "v" (vowel sign).
11784 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11786 * files.el (copy-directory): Handle symlinks (Bug#5982).
11788 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11790 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11791 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11794 2010-05-08 Glenn Morris <rgm@gnu.org>
11796 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11798 * minibuffer.el (completion-at-point): Doc fix.
11800 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * electric.el (Electric-command-loop): Minor tweak.
11804 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11805 better with dedicated windows.
11807 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11809 * Version 23.2 released.
11811 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11812 Stefan Monnier <monnier@iro.umontreal.ca>
11814 Highlight vendor specific properties.
11815 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11816 (css-proprietary-property): New face.
11817 (css-font-lock-keywords): Use them.
11819 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11821 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11823 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11825 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11826 * files.el (auto-mode-alist): Remove redundant entries.
11828 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11829 * simple.el (auto-save-mode): Move from files.el.
11830 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11832 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11834 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11836 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11838 * mail/binhex.el (binhex-decode-region-internal)
11839 * mail/uudecode.el (uudecode-decode-region-internal)
11840 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11841 (dns-read-type, dns-query)
11842 * pgg-parse.el (pgg-parse-armor)
11843 * pgg.el (pgg-verify-region)
11844 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11847 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11849 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11851 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11853 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11854 * emulation/cua-base.el (cua-repeat-replace-region):
11855 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11856 (cua-cut-region-to-global-mark):
11857 Remove text properties with `set-text-properties'.
11859 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11861 * net/tramp.el (top, with-progress-reporter):
11862 Use `symbol-function' inside `funcall'.
11864 * net/tramp-compat.el (tramp-compat-file-attributes)
11865 (tramp-compat-delete-file, tramp-compat-delete-directory):
11866 Handle only `wrong-number-of-arguments' error.
11868 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11869 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11872 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * minibuffer.el (completion--sreverse, completion--common-suffix):
11876 (completion-pcm--merge-completions): Extract common suffix when safe.
11878 * emacs-lisp/easy-mmode.el (define-minor-mode):
11879 Make :variable more flexible.
11880 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11882 2010-05-05 Juri Linkov <juri@jurta.org>
11884 Add `slow' and `history' tags to the desktop data.
11886 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11887 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11888 (Info-finder-find-node): Require `finder.el' to be able
11889 to restore node from the desktop.
11890 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11891 data `Info-history' and `slow' tag in the assoc list.
11892 (Info-restore-desktop-buffer): Don't restore nodes with the
11893 `slow' tag. Restore `Info-history'.
11895 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11897 Add FORCE argument to `delete-file'.
11899 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11900 forcing to delete the temporary file.
11901 (ange-ftp-delete-file): Add FORCE arg.
11902 (ange-ftp-rename-remote-to-remote)
11903 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11904 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11905 Force file deletion.
11907 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11909 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11910 (tramp-handle-make-symbolic-link, tramp-handle-load)
11911 (tramp-do-copy-or-rename-file-via-buffer)
11912 (tramp-do-copy-or-rename-file-directly)
11913 (tramp-do-copy-or-rename-file-out-of-band)
11914 (tramp-handle-process-file, tramp-handle-call-process-region)
11915 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11916 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11917 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11919 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11920 (tramp-fish-handle-make-symbolic-link)
11921 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11923 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11924 Use `tramp-compat-delete-file'.
11926 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11927 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11929 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11930 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11932 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11933 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11934 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11935 Use `tramp-compat-delete-file'.
11937 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11940 * subr.el (add-minor-mode): Use push.
11941 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11942 * emulation/edt.el (edt-select-mode): Simplify.
11944 Use define-minor-mode in more cases.
11945 * term/tvi970.el (tvi970-set-keypad-mode):
11946 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11947 (normal-erase-is-backspace-mode):
11948 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11949 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11950 (get-scroll-bar-mode): New function.
11951 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11953 Use define-minor-mode for less obvious cases.
11954 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11955 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11956 * international/iso-ascii.el (iso-ascii-mode):
11957 * frame.el (auto-raise-mode, auto-lower-mode):
11958 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11960 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11962 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11963 in order to see error messages for failed logins.
11965 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11967 * diff.el (diff-sentinel):
11969 * epg.el (epg--make-temp-file, epg-decrypt-string)
11970 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11972 * jka-compr.el (jka-compr-partial-uncompress)
11973 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11975 * server.el (server-sentinel): Use delete-file's new FORCE arg
11978 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11980 Use define-minor-mode where applicable.
11981 * view.el (view-mode):
11982 * type-break.el (type-break-query-mode)
11983 (type-break-mode-line-message-mode):
11984 * textmodes/reftex.el (reftex-mode):
11985 * term/vt100.el (vt100-wide-mode):
11986 * tar-mode.el (tar-subfile-mode):
11987 * savehist.el (savehist-mode):
11988 * ibuf-ext.el (ibuffer-auto-mode):
11989 * composite.el (auto-composition-mode):
11990 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11991 Use define-minor-mode.
11992 (vhdl-mode): Use static mode-line format.
11993 (vhdl-mode-line-update): Delete.
11994 (vhdl-create-mode-menu, vhdl-activate-customizations)
11995 (vhdl-hs-minor-mode): Don't bother calling it.
11997 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11999 * simple.el (with-wrapper-hook): Move.
12000 (buffer-substring-filters): Mark obsolete.
12001 (filter-buffer-substring-functions): New variable.
12002 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12004 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12005 Michael Albinus <michael.albinus@gmx.de>
12007 Implement compression for inline methods.
12009 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12010 (tramp-copy-size-limit): Allow also nil.
12011 (tramp-inline-compress-commands): New defconst.
12012 (tramp-find-inline-compress, tramp-get-inline-compress)
12013 (tramp-get-inline-coding): New defuns.
12014 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12015 replaced by `tramp-get-inline-coding'.
12016 (tramp-handle-file-local-copy, tramp-handle-write-region)
12017 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12019 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12021 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12022 Remove unused functions.
12024 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12025 Set find-tag-default-function as a variable rather than a property.
12027 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12028 * progmodes/etags.el (tags-completion-at-point-function):
12029 Remove left over interactive spec. Add autoloading stub.
12030 (complete-tag): Use tags-completion-at-point-function.
12032 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12034 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12036 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12038 * ido.el (ido-init-completion-maps): Remove C-v binding.
12039 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12041 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12043 * minibuffer.el (tags-completion-at-point-function): New function.
12044 (completion-at-point-functions): Use it.
12046 * progmodes/etags.el (complete-tag): Revert last change.
12048 2010-04-29 Alan Mackenzie <acm@muc.de>
12050 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12051 off-by-one error (in end of macro position).
12053 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12055 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12056 firefox is absent. Don't autoload.
12057 (browse-url-galeon-program): Don't autoload.
12059 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12061 * bindings.el (complete-symbol): Move into minibuffer.el.
12063 * minibuffer.el (complete-tag): Move from etags.el. If tags
12064 completion cannot be performed, return nil instead of signalling
12066 (completion-at-point): Make it an alias for complete-symbol.
12067 (complete-symbol): Move from bindings.el, and replace with the
12068 body of completion-at-point.
12070 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12072 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12074 * net/tramp.el (tramp-remote-selinux-p): New defun.
12075 (tramp-handle-file-selinux-context)
12076 (tramp-handle-set-file-selinux-context): Use it.
12078 2010-04-28 Sam Steingold <sds@gnu.org>
12080 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12081 `safe-local-variable' if the value is a string or a symbol with
12082 the property `bug-reference-url-format'.
12084 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12086 * progmodes/bug-reference.el (bug-reference-url-format):
12087 Revert 2010-04-27 change due to security risk.
12089 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12091 Make it possible to locally disable a globally enabled mode.
12092 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12093 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12094 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12096 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12097 that subsequent hooks get a chance to disable it.
12099 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12102 Avoid re-enabling a minor mode after the user turned the minor mode
12103 off if MODE-enable-in-buffers is run twice (typically once from
12104 fundamental-mode's after-change-major-mode-hook and a second time from
12105 run-mode-hook's own after-change-major-mode-hook).
12107 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12109 2010-04-27 Sam Steingold <sds@gnu.org>
12111 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12112 `safe-local-variable' if the value is a string or a function, as
12113 documented and implemented on 2010-04-02.
12115 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12117 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12118 when method is 'kill.
12120 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12122 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12123 condition in default directory check.
12124 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12125 Kill ispell process when killing its associated buffer.
12127 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12129 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12130 but we aren't using it.
12132 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12134 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12135 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12137 2010-04-24 Glenn Morris <rgm@gnu.org>
12139 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12140 Ignore VCS-ignore files, and deleted nextstep preferences files.
12141 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12142 (authors-ambiguous-files): New list.
12143 (authors-valid-file-names): Add some deleted files.
12144 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12145 (authors-disambiguate-file-name): New function. (Bug#5501)
12146 (authors-canonical-file-name): Doc fix.
12147 Don't warn about obsolete files.
12148 (authors-canonical-file-name, authors-scan-el):
12149 Use authors-disambiguate-file-name.
12151 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12152 Add autoload cookies.
12153 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12154 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12155 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12156 They have definitions / compiler macros in cl.el.
12157 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12158 Replace manual autoloads with generated ones.
12159 (htmlfontify-unload-rgb-file): Remove autoload.
12160 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12162 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12164 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12165 (byte-compile-setq-default): Optimize for the
12166 single-var case and don't call byte-compile-form in this case to avoid
12167 inf-loop with byte-compile-set-default.
12169 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12171 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12173 Implement SELINUX backends.
12175 * net/tramp.el (tramp-file-name-handler-alist):
12176 Add `file-selinux-context' and `set-file-selinux-context'.
12177 (tramp-handle-file-selinux-context)
12178 (tramp-handle-set-file-selinux-context): New defuns.
12179 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12180 Handle PRESERVE-SELINUX-CONTEXT.
12182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12183 Add `file-selinux-context' and `set-file-selinux-context'.
12184 (tramp-gvfs-handle-file-selinux-context)
12185 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12186 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12188 * net/ange-ftp.el (ange-ftp-copy-file):
12189 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12190 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12191 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12192 Add PRESERVE-SELINUX-CONTEXT.
12194 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12196 Synchronize with Tramp repository.
12198 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12199 (tramp-action-process-alive, tramp-action-out-of-band)
12200 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12201 (tramp-exists-file-name-handler): Fix docstring.
12202 (with-progress-reporter): New defmacro.
12203 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12204 (tramp-maybe-open-connection): Use it.
12206 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12208 Detect ssh 'ControlMaster' argument automatically in some cases.
12210 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12211 (tramp-default-method): Use it.
12213 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12215 * net/tramp.el (tramp-handle-copy-file): Add new optional
12216 parameter `preserve-selinux-context'.
12217 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12219 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12221 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12222 Ensure, that non remote files are still checked. Oops.
12224 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12228 * icomplete.el (icomplete-completions): Use `non-essential'.
12230 * net/tramp.el (tramp-connectable-p): New defun.
12231 (tramp-handle-expand-file-name)
12232 (tramp-completion-handle-file-name-all-completions)
12233 (tramp-completion-handle-file-name-completion): Use it.
12235 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12237 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12239 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12241 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12243 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12245 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12248 * info.el (info-tool-bar-map): Add labels.
12250 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12252 * cus-edit.el (custom-commands): Add labels for tool bar.
12253 (custom-buffer-create-internal, Custom-mode): Adjust for
12254 labels in custom-commands.
12256 * dynamic-setting.el: Renamed from font-setting.el.
12258 2010-04-21 John Wiegley <jwiegley@gmail.com>
12260 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12261 toggles the use of virtual buffers.
12262 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12263 (ido-toggle-virtual-buffers): New function.
12265 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12267 Use `define-derived-mode'; fix window selection; doc fixes.
12268 * play/tetris.el (tetris, tetris-update-speed-function)
12269 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12270 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12271 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12272 (tetris-pause-game): Fix typos in docstrings.
12273 (tetris-mode-map, tetris-null-map):
12274 Move initialization into declaration.
12275 (tetris-mode): Define with `define-derived-mode';
12276 set show-trailing-whitespace to nil.
12277 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12279 2010-04-21 Karel Klíč <kklic@redhat.com>
12281 * files.el (backup-buffer): Handle SELinux context, and return it
12282 if a backup was made by renaming.
12283 (backup-buffer-copy): Set SELinux context to the target file.
12284 (basic-save-buffer): Set SELinux context of the newly written file.
12285 (basic-save-buffer-1): Now it also returns any SELinux context.
12286 (basic-save-buffer-2): Set SELinux context of the newly created file,
12288 * net/tramp.el (tramp-file-name-for-operation):
12289 Add file-selinux-context.
12291 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12293 Make the log-edit comments use RFC822 format throughout.
12295 * vc.el (vc-checkin, vc-modify-change-comment):
12296 Adjust to new vc-start/finish-logentry.
12297 (vc-find-conflicted-file): New command.
12298 (vc-transfer-file): Adjust to new vc-checkin.
12299 (vc-next-action): Improve scoping.
12301 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12302 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12304 * vc-git.el (vc-git-log-edit-mode): Remove.
12305 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12306 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12308 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12309 (vc-start-logentry): Remove argument `extra'.
12310 (vc-finish-logentry): Remove extra args.
12312 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12313 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12314 (vc-bzr-conflicted-files): New function.
12316 * log-edit.el (log-edit-extra-flags)
12317 (log-edit-before-checkin-process): Remove.
12318 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12319 (log-edit-headers-alist): New var.
12320 (log-edit-header-contents-regexp): New const.
12321 (log-edit-match-to-eoh): New function.
12322 (log-edit-font-lock-keywords): Use them.
12323 (log-edit): Insert a "Summary:" header as default.
12324 (log-edit-mode): Mark font-lock rules as case-insensitive.
12325 (log-edit-done): Cleanup headers.
12326 (log-view-process-buffer): Remove.
12327 (log-edit-extract-headers): New function to replace it.
12329 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12331 * subr.el (default-direction-reversed): Remove obsolescence info.
12333 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12335 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12338 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12339 I.e. include text after point in the completion region.
12340 Also, return nil when we're not after/in a symbol.
12342 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12343 default enable-multibyte-characters.
12345 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12347 * international/mule.el: Help the user choose a valid coding-system.
12348 (read-buffer-file-coding-system): New function.
12349 (set-buffer-file-coding-system): Use it. Prompt the user if the
12350 coding-system cannot encode all the chars.
12352 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12353 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12354 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12355 Don't use *vc-bzr-shelve*.
12357 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12359 Fix the version number for added files.
12360 * vc-hg.el (vc-hg-working-revision): Check if the file is
12361 registered after hg parent fails (Bug#5961).
12363 2010-04-19 Glenn Morris <rgm@gnu.org>
12365 * htmlfontify.el (htmlfontify-buffer)
12366 (htmlfontify-copy-and-link-dir): Autoload entry points.
12368 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12370 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12371 name relative to the project root (Bug#5960).
12373 2010-04-19 Glenn Morris <rgm@gnu.org>
12375 * vc-git.el (vc-git-print-log): Doc fix.
12377 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12379 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12381 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12383 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12384 default settings (Bug#5928).
12386 2010-04-19 Glenn Morris <rgm@gnu.org>
12388 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12390 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12392 2010-04-19 Kenichi Handa <handa@m17n.org>
12394 * language/indian.el (malayalam-composable-pattern): Fix previous
12395 change (add U+0D4D "SIGN VIRAMA").
12396 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12397 (tamil-composable-pattern): Fix typo in the regexp.
12398 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12399 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12400 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12402 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12404 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12405 paragraph-separate (Bug#5821).
12407 2010-04-19 Juri Linkov <juri@jurta.org>
12409 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12411 * info.el (Info-find-node-2): Comment out code that skips
12413 (Info-mouse-follow-link): New command.
12414 (Info-link-keymap): New keymap.
12415 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12416 Return a string with links instead of inserting breadcrumbs
12417 to the Info buffer.
12418 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12419 Instead of putting the `invisible' text property over the Info
12420 header, make an overlay over the Info header with the `invisible'
12421 property and `after-string' set to the string returned by
12422 `Info-breadcrumbs'.
12424 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12426 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12427 Reported by monkey@sandpframing.com.
12429 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12432 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12433 available in the "keyseq cache" any more.
12435 * custom.el (defcustom): Add edebug spec.
12437 2010-04-18 Juri Linkov <juri@jurta.org>
12439 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12441 * view.el (view-file, view-buffer): Move test for special mode-class
12442 from view-file to view-buffer.
12444 * tar-mode.el (tar-extract): Turn if's into one cond
12445 like in arc-mode.el.
12447 2010-04-18 Juri Linkov <juri@jurta.org>
12449 Add 7z archive format support (bug#5475).
12451 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12452 (archive-7z-extract): New defcustom.
12453 (archive-find-type): Add magic string for 7z.
12454 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12455 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12456 `buffer' arg of `call-process'.
12457 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12458 call the function `archive-7z-extract' with the variable
12459 `archive-7z-extract' let-bound to `archive-zip-extract'.
12460 (archive-7z-summarize, archive-7z-extract): New functions.
12462 * international/mule.el (auto-coding-alist):
12463 * files.el (auto-mode-alist): Add 7z file extension.
12465 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * loadup.el: Setup hash-cons for pure data.
12469 Fix duplicate entries in cedet's loaddefs.el files.
12470 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12471 Should make most file-local generated-autoload-file unnecessary.
12472 (print-readably): Silence warnings.
12473 (autoload-find-destination): Take load-name as an arg to make sure
12474 it's the same as the one that will be in the file.
12475 (autoload-generate-file-autoloads): Adjust to above changes.
12476 Try to make the dataflow a bit simpler.
12478 * cvs-status.el (cvs-refontify): Remove unused.
12480 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12482 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12484 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12485 twos-complement mode.
12487 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12489 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12490 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12491 (calc-inverse): Add "Option" to message, as appropriate.
12492 (calc-hyperbolic): Add "Option" to message, as appropriate.
12493 (calc-option, calc-is-option): New functions.
12495 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12496 (calc-option-prefix-help): New function.
12498 * calc/calc-misc.el (calc-help): Add "Option" entry.
12500 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12501 (calc-option-flag): New variable.
12502 (calc-do): Set `calc-option-flag to nil.
12503 (calc-set-mode-line): Add "Opt " as appropriate.
12505 2010-04-16 Juri Linkov <juri@jurta.org>
12507 Move scrolling commands from simple.el to window.el
12508 because their primitives are implemented in window.c.
12510 * simple.el (scroll-error-top-bottom)
12511 (scroll-up-command, scroll-down-command, scroll-up-line)
12512 (scroll-down-line, scroll-other-window-down)
12513 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12514 * window.el (scroll-error-top-bottom)
12515 (scroll-up-command, scroll-down-command, scroll-up-line)
12516 (scroll-down-line, scroll-other-window-down)
12517 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12518 Move from simple.el to window.el because their primitives are
12519 implemented in window.c.
12521 2010-04-16 Juri Linkov <juri@jurta.org>
12523 * isearch.el (isearch-lookup-scroll-key): Check both
12524 `isearch-scroll' and `scroll-command' properties.
12525 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12527 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12529 * simple.el (scroll-up-command, scroll-down-command)
12530 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12532 2010-04-15 Juri Linkov <juri@jurta.org>
12534 * simple.el (scroll-up-command, scroll-down-command)
12535 (scroll-up-line, scroll-down-line): Put `scroll-command'
12536 property on the these symbols. Remove them from
12537 `scroll-preserve-screen-position-commands'.
12539 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12540 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12541 Remove it from `scroll-preserve-screen-position-commands'.
12543 * isearch.el (isearch-allow-scroll): Doc fix.
12545 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12547 * net/tramp.el (tramp-error-with-buffer): Don't show the
12548 connection buffer when we are in completion mode.
12549 (tramp-file-name-handler): Catch the error for some operations
12550 when we are in completion mode. This gives the user the chance to
12551 correct the file name in the minibuffer.
12553 2010-04-15 Glenn Morris <rgm@gnu.org>
12555 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12557 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12559 Simplify by using `define-derived-mode'.
12560 * info.el (Info-mode):
12561 * calendar/todo-mode.el (todo-mode):
12562 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12563 (gomoku-mode-map): Move initialization into declaration.
12565 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12568 * ido.el (ido-file-name-all-completions-1):
12569 * minibuffer.el (minibuffer-completion-help):
12570 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12572 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12574 * simple.el (non-essential): New var.
12576 Add a new field `location' to bookmarks for non-file bookmarks.
12577 * bookmark.el (bookmark-location): Use the new field, if present.
12578 (bookmark-insert-location): Undo last change, not needed any more.
12579 * man.el (Man-bookmark-make-record):
12580 * woman.el (woman-bookmark-make-record): Add `location' field.
12582 2010-04-14 Juri Linkov <juri@jurta.org>
12584 * simple.el (scroll-error-top-bottom): New defcustom.
12585 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12587 * emulation/pc-select.el (pc-select-override-scroll-error):
12588 Obsolete in favor of `scroll-error-top-bottom'.
12590 2010-04-14 Juri Linkov <juri@jurta.org>
12592 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12593 `scroll-up-command' and `M-v' to `scroll-down-command'.
12595 * emulation/cua-rect.el (cua--init-rectangles):
12596 * forms.el (forms--change-commands):
12597 * image-mode.el (image-mode-map):
12598 Remap scroll-down-command and scroll-up-command
12599 in addition to scroll-down and scroll-up.
12601 2010-04-14 Juri Linkov <juri@jurta.org>
12603 * mwheel.el (scroll-preserve-screen-position-commands):
12604 Add mwheel-scroll to this list of commands.
12606 * simple.el (scroll-preserve-screen-position-commands):
12607 Add scroll-up-command, scroll-down-command, scroll-up-line,
12608 scroll-down-line to this list of commands.
12610 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12612 * obsolete/complete.el: Move from lisp/complete.el.
12614 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12616 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12617 to the minor mode function now turns the mode ON unconditionally.
12619 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * vc-dir.el (vc-dir-kill-line): New command.
12622 (vc-dir-mode-map): Bind it to C-k.
12624 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12626 * woman.el: Add bookmark declarations to silence the compiler.
12627 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12628 step to compatibility between man and woman bookmarks.
12629 Adjust for Man-default-bookmark-title renaming.
12630 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12632 * man.el: Add bookmark declarations to silence the compiler.
12633 (Man-name-local-regexp): Make it match NAME as well.
12634 (Man-getpage-in-background): Return the buffer.
12635 (Man-notify-when-ready): Use `case'.
12636 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12637 Don't hardcode "NAME". Simplify.
12638 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12639 Rename from Man-bookmark-make-record.
12640 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12641 we have the actual man-args. Use Man-getpage-in-background rather
12642 than `man' since the arg is already processed. Let bookmark.el do the
12643 window handling. Only wait for the relevant process.
12644 Don't forget to autoload.
12646 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12648 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12650 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12652 (woman-mode): Setup bookmark support.
12654 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12655 (man-bookmark-jump): New functions.
12656 (Man-mode): Setup bookmark support.
12658 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12660 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12661 recognize ssh-keygen prompt (Bug#2817).
12663 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12665 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12667 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12669 Synchronize with Tramp repository.
12671 * net/tramp.el (tramp-completion-function-alist)
12672 (tramp-file-name-regexp, tramp-chunksize)
12673 (tramp-local-coding-commands, tramp-remote-coding-commands):
12675 (tramp-remote-process-environment): Use `format' instead of `concat'.
12676 (tramp-handle-directory-files-and-attributes)
12677 (tramp-get-remote-path): Use `copy-tree'.
12678 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12679 compatibility: Use `completion-ignore-case' if
12680 `read-file-name-completion-ignore-case' does not exist.
12681 (tramp-do-copy-or-rename-file-directly): Do not use
12682 `tramp-handle-file-remote-p'.
12683 (tramp-do-copy-or-rename-file-out-of-band):
12684 Use `tramp-compat-delete-directory'.
12685 (tramp-do-copy-or-rename-file-out-of-band)
12686 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12687 Use `format-spec-make'.
12688 (tramp-find-foreign-file-name-handler)
12689 (tramp-advice-make-auto-save-file-name)
12690 (tramp-set-auto-save-file-modes): Remove superfluous check for
12691 `stringp'. This is done inside `tramp-tramp-file-p'.
12692 (tramp-debug-outline-regexp): New defconst.
12693 (tramp-get-debug-buffer): Use it.
12694 (tramp-check-for-regexp): Use (forward-line 1).
12695 (tramp-set-auto-save-file-modes): Adapt version check.
12697 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12698 Wrap call of `featurep' for 2nd argument.
12699 (tramp-compat-make-temp-file): Simplify fallback implementation.
12700 (tramp-compat-copy-tree): Remove function.
12701 (tramp-compat-delete-directory): Provide implementation for older
12704 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12705 Do not use `tramp-fish-handle-file-attributes.
12707 * net/trampver.el: Update release number.
12709 2010-04-10 Glenn Morris <rgm@gnu.org>
12711 * progmodes/compile.el (compilation-save-buffers-predicate):
12712 Add missing :version tag.
12714 2010-04-09 Sam Steingold <sds@gnu.org>
12716 * progmodes/compile.el (compilation-save-buffers-predicate):
12717 Remove the "autoload" cookie.
12719 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12720 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12721 and `bug-reference-prog-mode' can be used in hooks directly.
12723 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12725 Add --author support to git commit.
12726 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12727 (vc-git-log-edit-mode): New minor mode.
12728 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12731 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12733 * vc-hooks.el, vc-git.el: Improve documentation comments.
12735 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12737 Fix some of the problems in defsubst* (bug#5728).
12738 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12739 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12741 2010-04-07 Sam Steingold <sds@gnu.org>
12743 * progmodes/compile.el (compilation-save-buffers-predicate):
12744 New custom variable.
12745 (compile, recompile): Pass it to `save-some-buffers'.
12747 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12749 * wid-edit.el (widget-choose): Move cursor to the second line of
12750 the buffer (Bug#5695).
12752 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12754 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12755 * vc.el (vc-print-log-setup-buttons): New function split out from
12756 vc-print-log-internal.
12757 (vc-log-internal-common): New function, a parametrized version of
12758 vc-print-log-internal.
12759 (vc-print-log-internal): Just call vc-log-internal-common with the
12761 (vc-incoming-outgoing-internal):
12762 (vc-log-incoming, vc-log-outgoing): New functions.
12763 (vc-log-view-type): New permanent local variable.
12765 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12767 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12768 of the dynamic bound vc-short-log.
12769 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12771 * vc-git.el (vc-git-log-outgoing): New function.
12772 (vc-git-log-view-mode): Use vc-log-view-type instead
12773 of the dynamic bound vc-short-log.
12775 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12776 of the dynamic bound vc-short-log. Highlight the tag.
12777 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12778 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12779 (vc-hg-incoming-mode): Remove.
12780 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12782 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12784 Fix default-directory for vc-root-diff.
12785 * vc.el (vc-root-diff): Bind default-directory to the root
12786 directory for the diff command.
12788 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12790 * progmodes/verilog-mode.el (verilog-forward-sexp):
12791 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12792 word keywords, suggested by Steve Pearlmutter.
12793 (verilog-pretty-declarations): Support lineup of declarations in
12795 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12796 fix bug for /* / comments.
12797 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12798 Speed up and simplfy as this is never called with a bound.
12799 (verilog-pretty-declarations): Enhance to line up declarations
12800 inside a parameter list, suggested by Alan Morgan.
12801 (verilog-pretty-expr): Tune assignment regular expression match
12802 string for corner cases; also use markers instead of character
12803 number as indent changes the later.
12805 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12807 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12808 as missing keyword.
12809 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12810 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12811 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12812 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12814 (verilog-keywords):
12815 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12816 1800-2009 keywords, including "global.".
12818 2010-04-06 John Wiegley <jwiegley@gmail.com>
12820 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12821 appearing in buffer list (if a live buffer name matched a recentf
12822 file basename). Should use uniquify to offer a real solution.
12824 2010-04-06 John Wiegley <jwiegley@gmail.com>
12826 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12827 comment to code, and add a :version tag.
12828 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12830 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12832 Enable recentf-mode if using virtual buffers.
12833 * ido.el (recentf-list): Declare for byte-compiler.
12834 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12835 (ido-make-buffer-list): Simplify.
12836 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12838 2010-04-05 Juri Linkov <juri@jurta.org>
12840 Scrolling commands which scroll a line instead of full screen.
12841 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12843 * simple.el (scroll-up-line, scroll-down-line): New commands.
12844 Put property isearch-scroll=t on them.
12846 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12849 2010-04-05 Juri Linkov <juri@jurta.org>
12851 Scrolling commands which do not signal errors at top/bottom.
12852 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12854 * simple.el (scroll-up-command, scroll-down-command): New commands.
12855 Put property isearch-scroll=t on them.
12857 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12858 `scroll-down-command' and [next] from `scroll-up' to
12859 `scroll-up-command'.
12861 * emulation/cua-base.el: Put property CUA=move on
12862 `scroll-up-command' and `scroll-down-command'.
12863 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12864 and `scroll-down-command' to `cua-scroll-down'.
12866 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12868 * help.el (describe-mode): Return nil.
12870 2010-04-04 John Wiegley <jwiegley@gmail.com>
12872 * ido.el (ido-use-virtual-buffers): New variable to indicate
12873 whether "virtual buffer" support is enabled for IDO.
12874 (ido-virtual): Face used to indicate virtual buffers in the list.
12875 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12876 exists, but a virtual buffer of that name does (which would be why
12877 it was in the list), recreate the buffer by reopening the file.
12878 (ido-make-buffer-list): If virtual buffers are being used, call
12879 `ido-add-virtual-buffers-to-list' before the make list hook.
12880 (ido-virtual-buffers): New variable which contains a copy of the
12881 current contents of the `recentf-list', albeit pared down for the
12882 sake of speed, and with proper faces applied.
12883 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12884 create a list of "virtual buffers" to present to the user in
12885 addition to the currently open set. Note that this logic could
12886 get rather slow if that list is too large. With the default
12887 `recentf-max-saved-items' of 200, there is little speed penalty.
12889 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * font-lock.el: Require CL when compiling.
12892 (font-lock-turn-on-thing-lock): Use `case'.
12894 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12896 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12899 2010-04-02 Juri Linkov <juri@jurta.org>
12901 * ehelp.el (electric-help-orig-major-mode):
12902 New buffer-local variable.
12903 (electric-help-mode): Set it to original major-mode. Doc fix.
12904 (with-electric-help): Use `electric-help-orig-major-mode' instead
12905 of (default-value 'major-mode). Doc fix.
12906 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12908 2010-04-02 Sam Steingold <sds@gnu.org>
12910 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12911 `vc-hg-command' with a list of flags.
12913 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12914 Also accept "patch" and "RFE".
12915 (bug-reference-fontify): `bug-reference-url-format' can also be a
12916 function to be able to handle the bug kind.
12917 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12919 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12921 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12922 value to fboundp, it may not be a symbol.
12924 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12926 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12928 2010-03-31 Juri Linkov <juri@jurta.org>
12930 * simple.el (next-line, previous-line): Re-throw a signal
12931 with `signal' instead of using `ding'.
12932 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12934 2010-03-31 Juri Linkov <juri@jurta.org>
12936 * simple.el (keyboard-escape-quit): Raise deselecting the active
12937 region higher than exiting the minibuffer.
12938 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12940 2010-03-31 Juri Linkov <juri@jurta.org>
12942 * image.el (image-animated-p): Use `image-metadata' instead of
12943 `image-extension-data'. Get GIF extenstion data from metadata
12944 property `extension-data'.
12946 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * simple.el (append-to-buffer): Simplify.
12950 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12952 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12953 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12955 2010-03-31 Kenichi Handa <handa@m17n.org>
12957 * language/sinhala.el (composition-function-table): Fix regexp for
12958 the new Unicode specification.
12960 * language/indian.el (devanagari-composable-pattern)
12961 (tamil-composable-pattern, kannada-composable-pattern)
12962 (malayalam-composable-pattern): Adjust for the new Unicode
12964 (bengali-composable-pattern, gurmukhi-composable-pattern)
12965 (gujarati-composable-pattern, oriya-composable-pattern)
12966 (telugu-composable-pattern): New variables to cope with the new
12967 Unicode specification. Use them in composition-function-table.
12969 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12971 Make tmm-menubar work for the Buffers menu again (bug#5726).
12972 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12973 vectors rather than cons cells, as used in menu-bar-update-buffers.
12975 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12977 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12978 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12979 electric punctuation for "{}();,:" (Bug#5586).
12981 * mail/sendmail.el (mail-default-directory): Doc fix.
12983 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12985 * mail/sendmail.el (mail-default-directory): Doc fix.
12987 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12989 * subr.el (version-regexp-alist, version-to-list)
12990 (version-list-<, version-list-=, version-list-<=)
12991 (version-list-not-zero, version<, version<=, version=): Doc fix.
12994 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12996 * vc.el (vc-root-diff): Doc fix.
12998 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13000 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13002 * simple.el (append-to-buffer): Fix last change.
13004 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13006 * simple.el (append-to-buffer): Ensure that point is preserved if
13007 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13010 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * files.el (auto-mode-case-fold): Change default to t.
13014 2010-03-30 Juri Linkov <juri@jurta.org>
13016 * dired-x.el (dired-omit-mode): Doc fix.
13018 2010-03-30 Juri Linkov <juri@jurta.org>
13020 * replace.el (occur-accumulate-lines): Move occur-engine related
13021 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13022 to be located after `occur-engine'.
13024 2010-03-30 Juri Linkov <juri@jurta.org>
13026 Make occur handle multi-line matches cleanly with context.
13027 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13029 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13030 (occur-engine): Add local variables `ret', `prev-after-lines',
13031 `prev-lines'. Use more arguments for `occur-context-lines'.
13032 Set first elem of its returned list to `data', and the second elem
13033 to `prev-after-lines'. Don't print the separator line.
13034 In the end, print remaining context after-lines.
13035 (occur-context-lines): Add new arguments `begpt', `endpt',
13036 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13037 after-lines of the previous match with before-lines of the
13038 current match and not overlap them. Return a list with two
13039 values: the output line and the list of context after-lines.
13041 2010-03-30 Juri Linkov <juri@jurta.org>
13043 * replace.el (occur-accumulate-lines): Fix a bug where the first
13044 context line at the beginning of the buffer was missing.
13046 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13048 * files.el: Make bidi-display-reordering safe variable for boolean
13051 2010-03-29 Phil Hagelberg <phil@evri.com>
13052 Chong Yidong <cyd@stupidchicken.com>
13054 * subr.el: Extend progress reporters to perform "spinning".
13055 (progress-reporter-update, progress-reporter-do-update):
13056 Handle non-numeric value arguments.
13057 (progress-reporter--pulse-characters): New var.
13059 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13061 * progmodes/compile.el (compilation-start): Fix regexp detection
13062 of initial cd command (Bug#5771).
13064 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13066 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13068 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13070 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13071 * progmodes/gdb-mi.el: Restore.
13072 * progmodes/gdb-ui.el: Remove.
13073 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13075 2010-03-25 Glenn Morris <rgm@gnu.org>
13077 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13078 all dired buffers, even tramp ones. (Bug#5755)
13080 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13082 Add "union tags" in mpc.el.
13083 * mpc.el: Remove backward compatibility code.
13084 (mpc-browser-tags): Change default.
13085 (mpc--find-memoize-union-tags): New var.
13086 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13087 (mpc-cmd-find): Handle the case where the playlist does not exist.
13089 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13090 (mpc-cmd-add): Use mpc-cmd-flush.
13091 (mpc-tagbrowser-tag-name): New fun.
13092 (mpc-tagbrowser-buf): Use it.
13093 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13095 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13098 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13099 Use replace-regexp-in-string.
13100 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13101 (makefile-imake-mode-syntax-table): Move init into defvar.
13102 (makefile-mode): Use define-derived-mode.
13104 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13105 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13106 not be present any more.
13108 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13110 * faces.el (set-face-attribute): Fix typo in docstring.
13111 (face-valid-attribute-values): Reflow docstring.
13113 2010-03-24 Glenn Morris <rgm@gnu.org>
13115 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13117 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13119 * indent.el (indent-for-tab-command): Doc fix.
13121 2010-03-24 Alan Mackenzie <acm@muc.de>
13123 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13124 Fix off-by-one error. Fixes bug #5747.
13126 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13128 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13129 (image-dired-read-comment): Doc fix.
13131 * json.el (json-object-type, json-array-type, json-key-type)
13132 (json-false, json-null, json-read-number):
13133 * minibuffer.el (completion-in-region-functions):
13134 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13135 (cal-tex-cursor-week):
13136 * emacs-lisp/trace.el (trace-function):
13137 * eshell/em-basic.el (eshell/printnl):
13138 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13139 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13140 * obsolete/levents.el (allocate-event, event-key, event-object)
13141 (event-point, event-process, event-timestamp, event-to-character)
13142 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13143 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13144 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13145 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13146 (reftex-highlight-selection): Fix typos in docstrings.
13148 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13150 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13152 2010-03-24 Glenn Morris <rgm@gnu.org>
13154 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13155 2008-02-13 without comment; mark it obsolete.
13156 (rmail-highlight-headers): Use rmail-highlight-face once more.
13158 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13160 * woman.el (woman2-process-escapes): Only consume the newline if
13161 the filler character is on a line by itself (Bug#5729).
13163 2010-03-24 Kenichi Handa <handa@m17n.org>
13165 * language/indian.el (devanagari-composable-pattern): Add more
13168 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13170 * net/trampver.el: Update release number.
13172 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13174 * net/tramp.el (tramp-find-executable):
13175 Use `tramp-get-connection-buffer'. Make the regexp for checking
13176 output of "wc -l" more robust.
13177 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13178 (tramp-open-connection-setup-interactive-shell): Remove workaround
13179 for OpenSolaris bug, it is not needed anymore.
13181 2010-03-24 Glenn Morris <rgm@gnu.org>
13183 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13185 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13187 * files.el (auto-mode-alist): Accept more verilog file patterns.
13189 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13193 2010-03-24 Glenn Morris <rgm@gnu.org>
13195 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13196 log-edit-before-checkin-process.
13198 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13200 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13202 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13203 (log-view-process-buffer, log-edit-extra-flags): Declare.
13205 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13207 2010-03-23 Sam Steingold <sds@gnu.org>
13209 Fix bug#5620: recalculate all markers on compilation buffer
13210 modifications, not on file modifications.
13211 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13212 variable: the buffer modification time, for buffers not associated with
13214 (compilation-mode): Create it.
13215 (compilation-filter): Update it.
13216 (compilation-next-error-function): Use it instead of
13217 `visited-file-modtime' for timestamp.
13219 2010-03-23 Juri Linkov <juri@jurta.org>
13221 Implement Occur multi-line matches.
13222 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13224 * replace.el (occur): Doc fix.
13225 (occur-engine): Set `begpt' to the beginning of the first line.
13226 Set `endpt' to the end of the last match line. At first, count
13227 line numbers between `origpt' and `begpt'. Split out code from
13228 `out-line' variable to new let-bindings `match-prefix' and
13229 `match-str'. In `out-line' add non-numeric prefix to all
13230 non-first lines of multi-line matches. Finally, count lines
13231 between `begpt' and `endpt' and add to `lines'.
13233 2010-03-23 Juri Linkov <juri@jurta.org>
13235 * replace.el (occur-accumulate-lines, occur-engine):
13236 Use `occur-engine-line' instead of duplicate code.
13237 (occur-engine-line): New function created from duplicate code
13238 in `occur-accumulate-lines' and `occur-engine'.
13240 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13241 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13243 2010-03-23 Juri Linkov <juri@jurta.org>
13245 * finder.el: Remove TODO tasks.
13247 * info.el (Info-finder-find-node): Add node "all"
13248 with all package info. Handle a list of multiple keywords
13249 separated by comma.
13250 (info-finder): In interactive use with a prefix argument,
13251 use `completing-read-multiple' to read a list of keywords
13252 separated by comma.
13254 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13256 Add a new completion style `substring'.
13257 * minibuffer.el (completion-basic--pattern): New function.
13258 (completion-basic-try-completion, completion-basic-all-completions):
13260 (completion-substring--all-completions)
13261 (completion-substring-try-completion)
13262 (completion-substring-all-completions): New functions.
13263 (completion-styles-alist): New style `substring'.
13265 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13267 Get rid of .elc files after removal of the corresponding .el.
13268 * Makefile.in (compile-clean): New target.
13269 (compile-main): Use it.
13271 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13273 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13274 don't do make there. When compiling with separate object dir, there
13275 is no Makefile there.
13277 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13279 Get rid of the ELCFILES abomination, again.
13280 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13281 (all, compile): Don't call compile-last.
13282 (compile-main): Build the "elcfiles" list dynamically.
13283 (compile-targets): New (internal) target.
13285 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13287 * Makefile.in (top_srcdir): Define.
13288 (abs_top_builddir): Define.
13289 (srcdir): Don't append `/..'.
13290 (EMACS): Use ${abs_top_builddir}.
13291 (all, compile, compile-always, compile-last): Don't set emacswd.
13292 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13294 (lisp): Use $(srcdir) instead of @srcdir@.
13296 2010-03-21 Juri Linkov <juri@jurta.org>
13298 Fix message of multi-line occur regexps and multi-buffer header lines.
13299 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13301 * replace.el (occur-1): Don't display regexp if it is longer
13302 than window-width. Use `query-replace-descr' to display regexp.
13303 (occur-engine): Don't display regexp in the buffer header for
13304 multi-buffer occur. Display a separate header line with total
13305 match count and regexp for multi-buffer occur.
13306 Use `query-replace-descr' to display regexp.
13308 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13310 * net/secrets.el: Fix parenthesis.
13311 (secrets-enabled): Fix parenthesis.
13313 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13315 Use more relative file and directory names.
13316 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13317 (setwins, setwins_almost, setwins_for_subdirs):
13318 Don't `cd'; output relative names.
13319 (all, compile, compile-always, compile-last): Set emacswd.
13320 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13321 Just cd to the lisp source dir so we can use relative file names.
13323 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13325 2010-03-20 Glenn Morris <rgm@gnu.org>
13327 * textmodes/rst.el: Use faces for font-lock customization, and make the
13328 old -face variables obsolete.
13329 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13330 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13331 (rst-block-face, rst-external-face, rst-definition-face)
13332 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13333 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13335 (rst-font-lock-keywords-function): Update for above changes.
13337 2010-03-20 Juri Linkov <juri@jurta.org>
13340 * obsolete/s-region.el: Move to obsolete.
13342 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13344 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13346 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13348 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13350 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13352 Add special markup processing for commit logs.
13353 * log-edit.el (log-edit-extra-flags): New variable.
13354 (log-edit): Add new argument MODE. Use that mode when non-nil
13355 instead of the log-view-mode.
13356 (log-view-process-buffer): New function.
13358 * vc.el: Document that the checkin method takes optional
13359 arguments. Document new backend specific method: log-view-mode.
13360 (vc-default-log-edit-mode): New function.
13361 (vc-checkin): Use a backend specific log-view-mode.
13362 Pass extra arguments to the checkin method.
13363 (vc-modify-change-comment): Pass a dummy extra argument.
13365 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13367 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13368 (vc-finish-logentry): Process the log buffer before passing it
13369 down. Pass log-edit-extra-flags.
13371 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13373 (log-edit-extra-flags, log-edit-before-checkin-process):
13376 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13378 (log-edit-extra-flags, log-edit-before-checkin-process):
13380 (vc-hg-log-edit-mode): New derived mode.
13382 * vc-arch.el (vc-arch-checkin):
13383 * vc-cvs.el (vc-cvs-checkin):
13384 * vc-git.el (vc-git-checkin):
13385 * vc-mtn.el (vc-mtn-checkin):
13386 * vc-rcs.el (vc-rcs-checkin):
13387 * vc-sccs.el (vc-sccs-checkin):
13388 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13390 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13392 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13395 2010-03-19 Glenn Morris <rgm@gnu.org>
13397 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13399 2010-03-18 Glenn Morris <rgm@gnu.org>
13401 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13403 * replace.el (query-replace-history): Give it a doc string.
13404 (map-query-replace-regexp): Use query-replace-from-history-variable
13405 and query-replace-to-history-variable.
13407 * mail/hashcash.el (declare-function): Remove duplicate definition.
13409 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13410 Make it an obsolete alias for report-emacs-bug-address.
13411 (message-strip-special-text-properties): Declare.
13412 (report-emacs-bug): Remove test for a pretest bug address.
13413 Combine message-mode-specific code.
13415 * mail/supercite.el: Don't require sendmail.
13416 (mh-in-header-p): Declare rather than using with-no-warnings.
13417 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13418 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13420 * calendar/cal-french.el: Convert to utf-8.
13422 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13425 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13427 * net/secrets.el (secrets-enabled): New variable. Use it instead
13430 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13432 * net/secrets.el (top): Register the D-Bus signals only when the
13433 service "org.freedesktop.secrets" can be pinged.
13434 Provide subfeature `enabled'.
13436 2010-03-14 Juri Linkov <juri@jurta.org>
13438 Add finder unknown keywords.
13440 * finder.el (finder-unknown-keywords): New function.
13442 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13443 to create a Finder node with unknown keywords.
13445 2010-03-14 Juri Linkov <juri@jurta.org>
13447 * finder.el (finder-compile-keywords): Replace `princ' with
13448 `prin1' on a list of symbols interned from keyword strings.
13450 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13451 a comma, then split keywords using a comma and optional whitespace.
13452 Otherwise, split by whitespace.
13460 * progmodes/mixal-mode.el: Fix keywords.
13462 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13464 * Makefile.in (ELCFILES): Add net/secrets.elc.
13466 * net/secrets.el: New file.
13468 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13470 * facemenu.el (list-colors-display, list-colors-print): New arg
13471 callback. Use it to allow selecting colors.
13473 * wid-edit.el (widget-image-insert): Insert image prop even if the
13474 current display is non-graphic.
13475 (widget-field-value-set): New fun.
13476 (editable-field): Use it.
13477 (widget-field-value-get): Clean up unused var.
13478 (widget-color-value-create, widget-color--choose-action):
13479 New funs. Allow using list-colors-display to choose color.
13481 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13483 * cus-edit.el: Resort topmost custom groups.
13484 (custom-buffer-sort-alphabetically): Default to t.
13485 (customize-apropos): Use apropos-parse-pattern.
13486 (custom-search-field): New var.
13487 (custom-buffer-create-internal): Add custom-apropos search field.
13488 (custom-add-parent-links): Don't display parent doc.
13489 (custom-group-value-create): Don't sort top-level custom group.
13490 (custom-magic-value-create): Show visibility button before option name.
13492 (custom-variable-state): New fun, from custom-variable-state-set.
13493 (custom-variable-state-set): Use it.
13494 (custom-group-value-create): Hide options with standard values
13495 using the :hidden-states property. Use progress reporter.
13497 (custom-show): Simplify.
13498 (custom-visibility): Disable images by default.
13499 (custom-variable): New property :hidden-states.
13500 (custom-variable-value-create): Enable images for
13501 custom-visibility widgets. Use :hidden-states property to
13502 determine initial visibility.
13504 * wid-edit.el (widget-image-find): Give images center ascent.
13505 (visibility): Add :on-image and :off-image properties.
13506 (widget-visibility-value-create): Use them.
13508 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13510 * cus-edit.el (processes): Remove from development group.
13511 (oop, hypermedia): Delete group.
13512 (comm): Promote to top-level group.
13514 * net/browse-url.el (browse-url):
13515 * net/xesam.el (xesam):
13516 * net/tramp.el (tramp):
13517 * net/goto-addr.el (goto-address):
13518 * net/ange-ftp.el (ange-ftp): Put in comm group.
13520 * view.el (view): Remove from editing group.
13522 * uniquify.el (uniquify): Put in files group.
13524 * net/browse-url.el (browse-url):
13525 * ps-print.el (postscript): Put in external group.
13527 * cus-edit.el (outlines):
13528 * textmodes/text-mode.el (text-mode-hook):
13529 * textmodes/table.el (table):
13530 * textmodes/picture.el (picture):
13531 * outline.el (outlines): Put in wp group.
13533 * nxml/nxml-mode.el (nxml): Remove from wp group.
13535 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13537 * mail/metamail.el (metamail): Remove from hypermedia group.
13539 * cus-edit.el (abbrev):
13540 * whitespace.el (whitespace):
13541 * vcursor.el (vcursor):
13542 * reveal.el (reveal):
13543 * hl-line.el (hl-line): Put in convenience group.
13545 * epg-config.el (epg): Put in data group.
13547 * emulation/pc-select.el (pc-select): Put in emulations group.
13549 * calculator.el (calculator): Put in applications group.
13551 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13553 Add .dir-locals.el support for file-less buffers.
13554 * files.el (hack-local-variables): Split out code to apply local
13555 variable settings ...
13556 (hack-local-variables-apply): ... here. New function.
13557 (hack-dir-local-variables): Use the default directory for when the
13558 buffer does not have an associated file.
13559 (hack-dir-local-variables-non-file-buffer): New function.
13560 * diff-mode.el (diff-mode):
13561 * vc-annotate.el (vc-annotate-mode):
13562 * vc-dir.el (vc-dir-mode):
13563 * log-edit.el (log-edit-mode):
13564 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13566 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13568 Add support for shelving snapshots and for showing shelves.
13569 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13570 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13572 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13573 (vc-bzr-extra-menu-map): Map them.
13575 2010-03-11 Glenn Morris <rgm@gnu.org>
13577 * cus-edit.el (customize-changed-options-previous-release):
13580 * image.el (image-animate-max-time): Fix :version tag.
13582 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13586 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * vc-git.el (vc-git-revision-table): Include remote branches.
13590 2010-03-10 Kim F. Storm <storm@cua.dk>
13592 Animated image API.
13593 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13595 * image.el (image-animate-max-time): New defcustom.
13596 (image-animated-types): New defconst.
13597 (create-animated-image, image-animate-timer)
13598 (image-animate-start, image-animate-stop, image-animate-timeout)
13599 (image-animated-p): New functions.
13601 * image-mode.el (image-toggle-display-image):
13602 Replace `create-image' with `create-animated-image'.
13604 2010-03-09 Miles Bader <miles@gnu.org>
13606 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13607 instead of "format:"; this ensures that the output is
13608 newline-terminated.
13610 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13612 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13613 that all errors are caught, and that the return value is always a
13616 2010-03-08 Kenichi Handa <handa@m17n.org>
13618 * language/misc-lang.el (windows-1256): New coding system.
13619 (cp1256): New alias of windows-1256 (bug#5690).
13621 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13623 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13624 call to rfc822-bad-address. (Bug#5692)
13626 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13628 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13629 Use vc-git-root as default directory for revision path (Bug#5657).
13631 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13633 * calculator.el (calculator): Don't bind split-window-keep-point
13636 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * vc-git.el: Re-flow to fit into 80 columns.
13639 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13640 Remove spurious `quote' element in each case alternative.
13641 (vc-git-show-log-entry): Use prog1.
13642 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13644 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13646 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13648 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13650 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13651 definition, not the name (Bug#5481).
13653 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13655 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13656 argument with a local variable. (Bug#5670)
13658 2010-03-02 Juri Linkov <juri@jurta.org>
13660 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13662 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13664 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13665 error when FILENAME and NEWNAME are existing remote directories.
13667 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13668 parameter DIR-FLAG.
13670 2010-03-02 Glenn Morris <rgm@gnu.org>
13672 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13673 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13675 2010-03-01 Kenichi Handa <handa@m17n.org>
13677 * language/burmese.el (burmese-composable-pattern): Rename from
13678 myanmar-composable-pattern.
13680 * international/characters.el (script-list):
13681 * international/fontset.el (script-representative-chars):
13682 Change myanmar to burmese.
13683 (otf-script-alist): Likewise.
13684 (setup-default-fontset): Likewise. Re-fix :otf spec.
13686 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13688 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13690 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13692 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13694 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13696 * net/tramp.el (tramp-handle-write-region): START can be a string.
13697 Take care in the checks. Reported by Dan Davison
13698 <davison@stats.ox.ac.uk>.
13700 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13702 * net/dbus.el (dbus-introspect, dbus-get-property)
13703 (dbus-set-property, dbus-get-all-properties):
13704 Use `dbus-call-method' when noninteractive. (Bug#5645)
13706 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13708 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13709 * emacs-lisp/elint.el (elint-add-required-env):
13710 * calendar/icalendar.el (icalendar--add-diary-entry):
13711 * calc/calcalg2.el (math-tracing-integral):
13712 * files.el (recover-session-finish): Use with-current-buffer
13713 instead of save-excursion.
13715 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13717 Fix in-buffer completion when after-change-functions modify the buffer.
13718 * minibuffer.el (completion--replace): New function.
13719 (completion--do-completion): Use it and use relative movement.
13721 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13723 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13725 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13727 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13728 Allow the characters _<> in the stack entry (Bug#5653).
13730 2010-02-26 Kenichi Handa <handa@m17n.org>
13732 * language/burmese.el: Fix entries in composition-function-table.
13733 (myanmar-composable-pattern): New variable.
13735 * international/fontset.el (setup-default-fontset): Add an entry
13738 * international/characters.el (script-list): Add Myanmar
13741 2010-02-26 Glenn Morris <rgm@gnu.org>
13743 * custom.el (custom-initialize-delay): Doc fix.
13745 * mail/sendmail.el (send-mail-function): Autoload the call
13746 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13748 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13750 * files.el (hack-local-variables-filter): For eval forms, also
13751 check safe-local-variable-p (Bug#5636).
13753 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13755 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13756 setting the modes by `ignore-errors'. It might fail, for example
13757 if the file is not owned by the user but the group.
13758 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13760 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13762 * files.el (directory-listing-before-filename-regexp):
13763 Use stricter matching for iso-style dates, to avoid false matches with
13764 date-like filenames (Bug#5597).
13766 * htmlfontify.el (htmlfontify): Doc fix.
13768 * eshell/eshell.el (eshell): Doc fix.
13770 * startup.el (fancy-about-screen): In mode-line, apply
13771 mode-line-buffer-id face only to the buffer name (Bug#5613).
13773 2010-02-20 Kevin Ryde <user42@zip.com.au>
13775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13776 In `watcom' anchor regexp to start of line, to avoid slowness
13779 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13781 * subr.el (remove-yank-excluded-properties): Explain in a comment
13782 why `category' property is removed.
13784 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13786 * isearch.el (isearch-update-post-hook, isearch-update):
13787 Revert 2010-02-17 change.
13789 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13791 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13792 (icalendar--convert-weekly-to-ical)
13793 (icalendar--convert-yearly-to-ical)
13794 (icalendar--convert-block-to-ical)
13795 (icalendar--convert-cyclic-to-ical)
13796 (icalendar--convert-anniversary-to-ical): Take care of time
13797 specifications where hour has 1-digit only (Bug#5549).
13799 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13801 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13802 of disassemble output in GDB 7.1.
13804 2010-02-19 Glenn Morris <rgm@gnu.org>
13806 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13807 property. (Bug#5593)
13809 2010-02-18 Sam Steingold <sds@gnu.org>
13811 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13813 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13815 Use abbreviated file names in bookmarks (bug#5591).
13816 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13817 calls to expand-file-name.
13818 (bookmark-relocate): Use abbreviated file names in bookmarks.
13819 (bookmark-load): Use abbreviated file names in messages.
13821 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13823 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13824 expand "." and "..". Reported by Thierry Volpiatto
13825 <thierry.volpiatto@gmail.com>.
13827 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13829 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13830 permissions of the temporary file to "0600". In case the remote
13831 file has no read permissions for the owner, there might be
13832 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13834 22010-02-18 Glenn Morris <rgm@gnu.org>
13836 * emacs-lisp/authors.el (authors-renamed-files-alist):
13837 Add entries for INSTALL.CVS.
13839 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13841 * vc-bzr.el: Fix typo in Known Bugs section.
13843 * isearch.el (isearch-update-post-hook): New hook.
13844 (isearch-update): Use the new hook.
13846 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13848 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13849 Fix errors in copying directories.
13850 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13851 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13852 (tramp-handle-delete-file)
13853 (tramp-handle-dired-recursive-delete-directory)
13854 (tramp-handle-write-region): Flush also the cache for the upper
13857 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13859 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13861 * cus-edit.el (hardware): Doc fix.
13863 * man.el (man): Add to external custom group.
13865 * delim-col.el (columns): Move to wp custom group.
13867 * doc-view.el (doc-view): Add to data custom group.
13869 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13871 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13872 by ispell-parse-output (Bug#5575).
13874 2010-02-16 Kenichi Handa <handa@m17n.org>
13876 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13877 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13878 (skkdic-convert): Use `euc-japan' coding system for writing.
13880 2010-02-16 Glenn Morris <rgm@gnu.org>
13882 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13883 tex-main-file before using it. (Bug#5562)
13885 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13887 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13888 warnings, since it is annoying for the user to see them each time he
13891 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13893 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13894 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13895 instead of PROC for caching "first-password-request". Otherwise,
13896 new processes would not profit from passwords already entered.
13898 * net/tramp-cache.el (tramp-dump-connection-properties):
13899 Don't save "first-password-request" property.
13901 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13903 * outline.el (outline-head-from-level):
13904 * simple.el (with-wrapper-hook):
13905 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13906 (elint-defun, elint-buffer-env, elint-top-form-logged)
13907 (elint-unbound-variable):
13908 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13909 Fix typos in docstrings.
13911 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13913 * files.el (insert-directory): When WILDCARD-REGEXP and
13914 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13915 whole directory. (Bug#5551)
13917 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13918 dired's alignment sanity. (Bug#5516)
13920 2010-02-14 Juri Linkov <juri@jurta.org>
13922 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13923 Remove remaining ^H with their preceding chars. (Bug#5566)
13925 2010-02-13 Glenn Morris <rgm@gnu.org>
13927 * simple.el (transpose-subr): Give it a doc-string.
13929 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13932 2010-02-12 Juri Linkov <juri@jurta.org>
13934 * arc-mode.el (archive-unique-fname): Make directories for nested
13935 archives. (Bug#5540)
13937 2010-02-12 Juri Linkov <juri@jurta.org>
13939 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13941 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13943 * subr.el (copy-overlay): Handle deleted overlays.
13945 * man.el (Man-completion-table): Don't signal an error if we can't run
13946 manual-program (bug#4056).
13948 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13950 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13952 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13954 * info.el (Info-bookmark-jump): Simplify.
13956 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13957 (bookmark-default-handler): Accept new bookmark field `buffer'.
13959 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13961 * iswitchb.el (iswitchb-completions): Revert last change.
13963 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13965 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13966 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13967 This prevents file names like "~/" being listed literally.
13969 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13971 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13972 Remove dead code. (Bug#5546)
13974 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13976 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13977 correctly (Bug#5548).
13979 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13981 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13982 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13984 2010-02-08 Kenichi Handa <handa@m17n.org>
13986 * international/mule-util.el (with-coding-priority): Add autoload
13987 cookie for putting `lisp-indent-function'.
13989 2010-02-07 Glenn Morris <rgm@gnu.org>
13991 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13992 Move F2003 named interfaces from keywords-2 to keywords-1, and
13993 use function-name-face rather than constant-face.
13994 Simplify "abstract interface" regexp.
13996 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13998 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13999 ID-FORMAT. Pass it to `file-attributes'.
14001 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14003 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14005 * faces.el (set-face-attribute): Allow calling
14006 internal-set-lisp-face-attribute with 'unspecified family and
14007 foundry argument (Bug#5536).
14009 2010-02-07 Glenn Morris <rgm@gnu.org>
14011 * progmodes/f90.el (f90-font-lock-keywords-2)
14012 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14013 Handle F2003 named interfaces.
14015 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14017 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14018 beg and end before calling c-get-state-before-change-functions.
14020 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14022 * vc-bzr.el (vc-bzr-dir-extra-headers):
14023 Disable the pending merges header.
14025 2010-02-05 Juri Linkov <juri@jurta.org>
14027 * doc-view.el (doc-view-mode):
14028 * image-mode.el (image-mode): Put property mode-class=special.
14031 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14033 * vc-svn.el (vc-svn-revision-table): New function.
14035 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14037 * net/ange-ftp.el (ange-ftp-insert-directory):
14038 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14039 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14040 Handle also directories. (Bug#5478)
14042 2010-02-05 Glenn Morris <rgm@gnu.org>
14044 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14046 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14048 * startup.el (command-line-1): Convert options beginning with a
14049 single dash as well (Bug#5519).
14051 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14053 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14054 * minibuffer.el (completion-initials-expand): Only check the presence
14055 of delims *within* the boundaries, since otherwise the / delim is
14056 always found for files.
14058 Fix up various corner case problems.
14059 * doc-view.el (doc-view-last-page-number): New function.
14060 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14061 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14062 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14063 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14064 (doc-view-convert-current-doc): Don't create the resolution.el file
14066 (doc-view-pdf/ps->png): Do it here instead.
14067 (doc-view-already-converted-p): Check that resolution.el is present.
14068 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14069 windows that are not yet showing images.
14071 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14073 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14074 `dired-uncache' for every elemnt which is an absolute file name.
14076 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14077 directory, handle its directory component.
14078 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14079 function is called permanently and creates noise, otherwise.
14081 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14082 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14083 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14085 2010-02-04 David Burger <dburger@google.com> (tiny change)
14087 * macros.el (apply-macro-to-region-lines):
14088 Minor simplification. (Bug#5485)
14090 2010-02-04 Glenn Morris <rgm@gnu.org>
14092 * mail/rmail.el (rmail-show-message-1): Handle malformed
14093 quoted-printable text. (Bug#5441)
14095 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14097 * simple.el (visual-line-mode): Capitalize lighter.
14099 2010-02-03 John Wiegley <jwiegley@gmail.com>
14101 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14102 list of files considered for "virtual buffer" completions.
14104 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14106 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14107 also in case of (and (not full) (not wildcard)). This is needed
14108 when dired is called with a list of files, which are not in
14109 `default-directory'. (Bug#5478)
14111 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14113 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14115 2010-02-02 Juri Linkov <juri@jurta.org>
14117 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14118 from unidiff to allow function-line after @@.
14120 2010-02-02 Juri Linkov <juri@jurta.org>
14122 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14123 '(RCS SCCS) with inverted condition.
14125 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14127 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14130 2010-02-01 Juri Linkov <juri@jurta.org>
14132 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14133 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14134 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14135 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14137 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14139 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14140 (doc-view-revert-buffer): New command.
14141 (doc-view-mode-map): Use it.
14143 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14145 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14146 pending merge is detected.
14148 2010-01-31 Juri Linkov <juri@jurta.org>
14150 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14151 beginning of interactive spec like all other grep commands do.
14152 Put "all" in front of "gz". (Bug#5260)
14154 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14156 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14158 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14160 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14161 regexp is incorrect (Bug#5476).
14163 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14165 * net/tramp.el (tramp-handle-insert-directory): Handle also
14166 symlinks, when FILENAME is not in `default-directory'.
14168 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14170 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14171 FILE is not in `default-directory'. (Bug#5478)
14173 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14174 of SWITCHES. Handle the case, FILENAME is not in
14175 `default-directory'. (Bug#5478)
14176 (tramp-register-file-name-handlers): Add safe-magic property.
14178 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14180 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14183 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14185 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14186 (flymake-master-make-header-init): Add other C++ filename masks.
14187 (flymake-find-possible-master-files)
14188 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14190 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14192 Fix some busybox annoyances.
14194 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14195 not responding." string.
14196 (tramp-open-connection-setup-interactive-shell): Dump stty
14197 settings. Enable "neveropen" arg for all `tramp-send-command'
14198 calls. Handle "=" in variable values properly.
14199 (tramp-find-inline-encoding): Raise an error, when no encoding is
14201 (tramp-wait-for-output): Check, whether PROC buffer is available.
14202 Remove spurious " ^H" sequences, sent by busybox.
14203 (tramp-get-ls-command): Suppress coloring, if possible.
14205 2010-01-28 Glenn Morris <rgm@gnu.org>
14207 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14209 * log-edit.el (log-edit-strip-single-file-name): Add missing
14210 :safe, :group, and :version tags.
14212 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14214 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14215 buffers. (Bug#5477)
14217 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14219 * files.el (delete-directory): Handle moving to trash without
14220 first doing recursion (Bug#5436).
14222 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14224 * vc-hooks.el (vc-path): Mark as obsolete.
14226 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14228 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14231 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14233 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14235 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14237 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14239 * vc-bzr.el (vc-bzr-revision-table): New function.
14241 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14243 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14244 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14246 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14248 Remove support for adding --signoff on commit.
14249 Future support will use an incompatible generic mechanism.
14250 * vc-git.el (vc-git-add-signoff): Remove variable.
14251 (vc-git-toggle-signoff): Remove function.
14252 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14254 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14255 Rename from xterm-set-background-mode. Return t if the background mode
14257 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14258 earlier, call it again in case the background mode has changed.
14260 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14262 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14265 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14267 * emacs-lisp/assoc.el (aelement): Doc fix.
14268 (aput, adelete, amake): Use lexical-let (Bug#5450).
14270 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14272 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14273 is the same as subprogram call, not declaration. (Bug#5435).
14275 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14277 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14278 (tramp-smb-maybe-open-connection): Use it.
14280 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14282 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14284 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14286 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14287 just because we see "encoding: 8bit".
14288 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14290 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14292 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14294 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14296 * jka-compr.el (jka-compr-load): If load-file is not in
14297 load-history, try its file-truename version. (bug#5447)
14299 2010-01-21 Alan Mackenzie <acm@muc.de>
14301 Fix a situation where deletion of a cpp construct throws an error.
14302 * progmodes/cc-engine.el (c-invalidate-state-cache):
14303 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14304 special cpp construct is still in the buffer.
14305 (c-parse-state): Record the special cpp with markers, not numbers.
14307 2010-01-21 Kenichi Handa <handa@m17n.org>
14309 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14310 process last-command-event, as it is now decoded first (Bug#5380).
14312 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14314 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14316 2010-01-20 Glenn Morris <rgm@gnu.org>
14318 * indent.el (tab-always-indent): Fix custom-type.
14320 2010-01-19 Alan Mackenzie <acm@muc.de>
14322 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14323 buffer throws "args out of range".
14324 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14325 playing the role of delimiter.
14327 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14329 * progmodes/ada-mode.el: Fix bug#5400.
14330 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14331 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14332 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14333 Improve comments in "is" portion. Handle null procedure declaration.
14334 (ada-move-to-end): Improve doc string.
14336 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14338 * ido.el (ido-cur-list): Initialize to nil.
14339 Remove obsolete information from commentary.
14340 (ido-choice-list): Initialize to nil.
14341 (ido-get-bufname): Reject minibuffers.
14342 (ido-make-buffer-list): If "default" is a nonexistent
14343 buffer, ignore it, as per the function's comment.
14344 (ido-kill-buffer-internal): New function.
14345 (ido-kill-buffer-at-head): Use it.
14346 (ido-visit-buffer): Likewise.
14348 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14350 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14352 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14354 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14355 Fix typos in chart titles.
14357 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14358 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14359 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14360 (describe-class, eieio-describe-generic, describe-generic):
14361 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14362 (eieio-speedbar-expand):
14363 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14364 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14365 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14366 (viper-del-backward-char-in-replace, viper-backward-indent)
14367 (viper-brac-function, viper-register-to-point, viper-submit-report):
14368 * net/tramp.el (tramp-remote-coding-commands):
14369 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14370 Fix typos in docstrings.
14372 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14374 * mail/sendmail.el (mail-yank-original): Set the mark if the
14375 specified function for yanking does not do it.
14377 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14379 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14381 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14382 resyncing a directory.
14384 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14386 * progmodes/ada-mode.el: Fix bug#1920.
14387 (ada-ident-re): Delete ., allow multibyte characters.
14388 (ada-goto-label-re): New; matches goto labels.
14389 (ada-block-label-re): New; matches block labels.
14390 (ada-label-re): New; matches both.
14391 (ada-named-block-re): Delete; callers changed to use
14392 `ada-block-label-re' instead.
14393 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14394 Use `ada-block-label-re'.
14395 (ada-indent-on-previous-lines): Improve handling of goto labels.
14396 (ada-get-indent-block-start): Special-case block label.
14397 (ada-get-indent-label): Split into `ada-indent-block-label' and
14398 `ada-indent-goto-label'.
14399 (ada-goto-stmt-start, ada-goto-next-non-ws):
14400 Optionally ignore goto labels.
14401 (ada-goto-next-word): Simplify.
14402 (ada-indent-newline-indent-conditional): Insert newline before
14403 trying to fix indentation; doc fix.
14405 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14407 * calc/calc.el (calc-command-flags): Give it an initial value.
14409 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14411 * files.el (minibuffer-with-setup-hook):
14412 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14413 (artist-key-draw-continously, artist-key-do-continously-continously)
14414 (artist-key-set-point-continously, artist-mouse-draw-continously):
14415 Fix typos in docstrings.
14417 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14419 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14420 Never return t (Bug#3898).
14422 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14424 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14425 can parse the output of the external commands (Bug#5279).
14427 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14429 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14431 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14433 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14435 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14437 * startup.el (command-line): Remove unused --icon-type arg.
14438 Handle --display arg, passing it to command-line-1 (Bug#5392).
14440 2010-01-16 Mario Lang <mlang@delysid.org>
14442 * emacs-lisp/chart.el (chart-translate-namezone):
14443 * textmodes/artist.el (artist-compute-popup-menu-table):
14444 Remove duplicated words in doc-strings.
14446 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14448 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14449 to mairix-search to suppress threading (Bug#5342).
14451 2010-01-15 Kenichi Handa <handa@m17n.org>
14453 * international/mule-cmds.el (canonicalize-coding-system-name):
14454 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14456 2010-01-15 Glenn Morris <rgm@gnu.org>
14458 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14460 * wid-edit.el (widget-keymap): Doc fix.
14462 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14463 former seems to be more widely accepted by various svn versions.
14465 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14467 * find-cmd.el (find-constituents):
14468 * vc-arch.el (vc-arch-root):
14469 * window.el (window-body-height, pop-up-frames):
14470 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14471 * progmodes/ada-stmt.el (ada-if):
14472 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14473 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14474 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14475 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14477 * progmodes/flymake.el (flymake-post-syntax-check):
14478 Fix typo in error message.
14480 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14482 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14483 which is always a string. (Bug#5313)
14485 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14487 * progmodes/ada-xref.el (ada-default-prj-properties):
14488 Simplify previous change.
14490 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14492 * progmodes/ada-xref.el (ada-default-prj-properties):
14493 Default ada_project_path to $ADA_PROJECT_PATH.
14495 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14497 * progmodes/ada-mode.el (ada-create-keymap):
14498 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14500 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14502 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14503 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14504 (ada-get-current-indent, ada-imenu-generic-expression)
14505 (ada-which-function): Check for it.
14507 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14509 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14510 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14512 2010-01-14 Glenn Morris <rgm@gnu.org>
14514 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14516 2010-01-14 Kenichi Handa <handa@m17n.org>
14518 * composite.el (auto-composition-mode): Make it a buffer local
14519 variable (permanent-local).
14520 (auto-composition-function): Set the default value to
14521 auto-compose-chars.
14522 (auto-composition-mode): Make it a simple function, not a minor mode.
14523 (global-auto-composition-mode): Likewise.
14524 (turn-on-auto-composition-if-enabled): Delete it.
14526 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14528 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14530 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14532 * files.el (copy-directory): Compute target for recursive
14533 directories with identical names. (Bug#5343)
14535 2010-01-12 Glenn Morris <rgm@gnu.org>
14537 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14538 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14540 2010-01-11 Sam Steingold <sds@gnu.org>
14542 * imenu.el (imenu-default-create-index-function): Detect infinite
14543 loops caused by imenu-prev-index-position-function.
14545 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14547 * htmlfontify.el (htmlfontify-load-rgb-file)
14548 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14549 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14550 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14551 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14552 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14553 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14554 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14555 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14556 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14557 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14558 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14559 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14560 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14561 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14562 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14563 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14564 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14565 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14566 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14567 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14568 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14569 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14570 backslash-quoting from parentheses, etc.
14572 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14574 * progmodes/js.el: Autoload javascript-mode alias.
14576 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14578 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14579 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14580 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14581 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14582 Fix typos in docstrings.
14583 (ffap-url-regexp): Doc fix.
14584 (ffap-at-mouse): Fix typo in message.
14586 2010-01-11 Glenn Morris <rgm@gnu.org>
14588 * version.el (emacs-copyright): Set copyright year to 2010.
14590 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14592 * format.el (format-annotate-function): Only set
14593 write-region-post-annotation-function after running to-fn so as not to
14594 affect nested write-region calls (bug#5273).
14596 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14598 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14601 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14603 * man.el (Man-goto-section): Signal error if the section is not
14606 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14608 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14609 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14611 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14613 * progmodes/compile.el: Don't treat compile-command as safe if
14614 compilation-read-command might be nil (Bug#4218).
14616 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14618 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14621 2010-01-08 Kenichi Handa <handa@m17n.org>
14623 * international/fontset.el (build-default-fontset-data):
14624 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14626 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14628 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14629 to `create-file-buffer' as it expects, not just a buffer name.
14630 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14631 to help uniquify. (Bug#3224)
14633 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14635 * font-setting.el (font-setting-change-default-font): Use user-spec
14638 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14640 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14642 2010-01-05 Tom Tromey <tromey@redhat.com>
14644 * progmodes/python.el (python-font-lock-keywords):
14645 Handle qualified decorators (Bug#881).
14647 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14649 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14650 in a lightweight checkout.
14652 2010-01-05 Kenichi Handa <handa@m17n.org>
14654 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14656 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14658 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14660 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14662 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14663 checkouts. (Bug#618)
14664 (vc-bzr-log-view-mode): Also highlight the author.
14665 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14666 (vc-bzr-shelve-menu-map):
14667 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14668 (vc-bzr-shelve-apply): Make prompt more explicit.
14670 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14672 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14673 They are valid characters in URL paths (rfc3986), and at least
14674 Firefox does not understand the encoded version (Bug#3166).
14676 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14678 * progmodes/octave-mod.el (octave-end-keywords)
14679 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14680 Add "end" keyword (Bug#3061).
14681 (octave-end-as-array-index-p): New function.
14682 (calculate-octave-indent): Use it.
14684 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14686 * bookmark.el: Consistently put the text property on the bookmark name.
14687 (bookmark-bmenu-marks-width): Bump back to 2, to include
14689 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14690 property on the bookmark name, instead of not putting it at all.
14691 (bookmark-bmenu-list): Fix where we put the text property.
14693 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14695 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14696 for showing buffer modified state (as added in the previous change).
14698 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14700 * bookmark.el: Show modified state of bookmark buffer more accurately.
14701 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14702 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14703 (with-buffer-modified-unmodified): New macro.
14704 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14705 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14706 Use new macro to preserve the buffer modified state.
14708 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14710 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14711 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14712 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14713 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14714 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14715 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14716 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14718 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14720 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14721 Make the lines in the generated doc string shorter. (Bug#4668)
14723 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14725 * net/rcirc.el: Add follow-link binding (Bug#4738).
14727 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14729 * Makefile.in (bzr-update): Rename from cvs-update.
14730 (cvs-update): New target for backward compatibility.
14732 * makefile.w32-in (bzr-update): Rename from cvs-update.
14733 (cvs-update): New target for backward compatibility.
14735 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14737 * bookmark.el: Remove gratuitous gratitude.
14739 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14741 * bookmark.el (bookmark-bmenu-any-marks): New function.
14742 (bookmark-bmenu-save): Clear buffer modification if no marks.
14744 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14746 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14747 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14748 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14749 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14751 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14752 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14753 To: emacs-devel {_AT_} gnu.org
14754 Subject: bookmark.el bug report
14755 Date: Mon, 28 Dec 2009 14:19:16 +0800
14756 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14758 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14760 * bookmark.el: Improvements suggested by Drew Adams:
14761 (bookmark-bmenu-ensure-position): New name for
14762 `bookmark-bmenu-check-position'. Just ensure the position,
14763 don't return any meaningful value.
14764 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14767 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14769 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14770 (bookmark-yank-point, bookmark-bmenu-check-position):
14771 Fix typos in docstrings.
14772 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14773 (bookmark-name-from-full-record, bookmark-get-position)
14774 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14775 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14776 Remove useless quoting of parenthesis, etc. in docstrings.
14778 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14779 (ediff-append-custom-diff): Fix typo in error message.
14780 (ediff-meta-mark-equal-files): Fix typos in messages.
14782 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14784 * net/imap-hash.el (imap-hash-make): Doc fix.
14785 (imap-hash-test): Fix typo in error message; reflow docstring.
14786 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14787 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14788 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14789 Fix typos in docstrings.
14790 (imap-hash-open-connection): Fix typo in error message.
14792 * play/gomoku.el (gomoku): Fix typos in docstring.
14794 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14795 (gdb-jsonify-buffer): Fix typos in docstring.
14796 (gdb-goto-breakpoint): Fix typo in error message.
14797 ("Display Other Windows"): Fix typo in help message.
14798 (gdb-speedbar-expand-node): Fix typo in question.
14800 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14801 (idlwave-html-system-help-location, idlwave-html-help-location)
14802 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14803 (idlwave-help-browser-generic-args, idlwave-help-directory)
14804 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14805 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14806 (idlwave-online-help, idlwave-help-html-link)
14807 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14808 Fix typos in docstrings.
14809 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14811 (idlwave-help-assistant-start): Fix typo in error message.
14813 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14814 (octave-electric-space): Fix typos in docstrings.
14816 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14818 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14820 2010-01-01 Juri Linkov <juri@jurta.org>
14822 * comint.el (comint-input-ring-size): Make it a defcustom and
14823 increase the default to 500 (Bug#5148).
14825 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14827 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14828 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14829 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14831 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14833 Show working revision correctly for mercurial.
14834 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14835 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14837 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14839 Declare some functions for the byte-compiler.
14840 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14841 (speedbar-timer-fn, speedbar-change-expand-button-char)
14842 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14844 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14846 This changeset reverts GDB Graphical Interface to use annotations.
14847 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14849 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14851 Make vc-dir work on subdirectories of the bzr root.
14852 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14853 Return file names relative to it.
14854 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14855 relative directory to vc-bzr-after-dir-status.
14857 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14859 * font-lock.el (font-lock-refresh-defaults): New function, which
14860 can be used to let font-lock react to external changes in
14861 variables like font-lock-defaults and keywords.
14862 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14864 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14866 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14868 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14870 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14872 Supersede color.diff settings in git log (bug#5211).
14874 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14875 escape chars in its output when the user has color.diff set to `always'.
14876 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14878 2009-12-26 Kevin Ryde <user42@zip.com.au>
14880 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14881 node. Keep previous "Index" name to work with past coreutils too.
14883 * man.el (man): Revise docstring a bit to show -a and -l as
14884 examples. Add -k description since support for it has otherwise
14885 been a secret. (Further to bug#3717.)
14886 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14887 "no matches" rather than "Can't find manpage", as the latter reads
14888 like -k was interpreted as a page name, which is not so. (Bug#5431)
14890 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14892 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14893 switches. Check also for //SUBDIRED// line.
14895 2009-12-25 Kenichi Handa <handa@m17n.org>
14897 * language/indian.el (devanagari-composable-pattern): Fix to
14898 handle ZWNJ and ZWJ. Use it in composition-function-table for
14900 (malayalam-composable-pattern): Fix previous change.
14902 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14904 * ps-print.el (ps-face-attributes): It was not returning the
14905 attribute face for faces specified as string. Reported by harven
14906 <harven@free.fr>. (Bug#5254)
14907 (ps-print-version): New version 7.3.5.
14909 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14911 * calendar/icalendar.el (icalendar--convert-tz-offset):
14912 Fix timezone names.
14913 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14914 (icalendar--add-diary-entry): Remove the trailing blank that
14915 diary-make-entry inserts.
14917 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14919 Make `file-expand-wildcards' work for remote files.
14921 * files.el (file-expand-wildcards): In case of remote files, check
14922 only local file name part for wildcards. Provide feature 'files
14923 and subfeature 'remote-wildcards. (Bug#5198)
14925 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14926 if there is already an established connection.
14927 (tramp-advice-file-expand-wildcards): Remove it.
14929 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14930 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14931 Activate advice for older GNU Emacs versions. (Bug#5237)
14933 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14935 Some doc fixes (more needed).
14937 * find-cmd.el (find-constituents): Reflow docstring.
14938 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14939 (find-generic): Doc fix.
14941 2009-12-17 Juri Linkov <juri@jurta.org>
14943 Fix regression from 23.1 to allow multiple modes in Local Variables.
14945 * files.el (hack-local-variables-filter): While ignoring duplicates,
14946 don't take `mode' into account.
14947 (hack-local-variables-filter, hack-dir-local-variables):
14948 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14950 2009-12-17 Juri Linkov <juri@jurta.org>
14952 Make `dired-diff' safer. (Bug#5225)
14954 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14955 `current' or when `file' is a directory of the `current' file.
14957 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14959 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14960 unconditionally preloaded files.
14962 2009-12-16 Juri Linkov <juri@jurta.org>
14964 Revert to old 23.1 logic of using the file at the mark as default.
14965 * dired-aux.el (dired-diff): Use the file at the mark as default
14966 if it's not the same as the current file, and the target dir is
14967 the current dir or the mark is active. Add the current file
14968 as the arg of `dired-dwim-target-defaults'. Use the default file
14969 in the prompt. (Bug#5225)
14971 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14973 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14974 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14975 (tramp-check-for-regexp): Check also, when an echoing shell stops
14976 to echo sent commands.
14978 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14980 * Makefile.in: Revert last change (Bug#5191).
14982 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14984 * vc-hg.el (vc-hg-print-log): Fix argument order.
14985 (vc-hg-working-revision): Make sure the command is executed in a
14986 known environment so that we can parse the output. (Bug#4417)
14988 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14990 * progmodes/python.el (python-symbol-completions): Remove text
14991 properties from symbol string before calling python-send-receive.
14993 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14995 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14996 when there are values for both file and line. (Bug#5060)
14998 2009-12-14 Juri Linkov <juri@jurta.org>
15000 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15001 whitespace after the file name of the first line of unified format,
15002 because git-diff doesn't output whitespace and file modification time
15003 after the file name.
15005 2009-12-14 David Kastrup <dak@gnu.org>
15007 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15008 check if it already has the `display' property added by
15009 `Info-display-images-node', and not put the `invisible' property
15012 2009-12-13 Glenn Morris <rgm@gnu.org>
15014 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15015 (report-emacs-bug): In message-mode, sort manually before storing
15016 original report text. (Bug#5178)
15017 Remove superfluous save-excursion.
15019 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15021 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15022 when responding to "GetAll" properties.
15024 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15026 * simple.el (compose-mail): Remove mail-setup-with-from from
15027 customization checks.
15029 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15031 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15032 RAR archives created on Unix systems.
15034 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15036 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15037 the varalias that was accidentally removed by the 2009-11-19 change
15040 2009-12-12 Kenichi Handa <handa@m17n.org>
15042 * language/indian.el (indian-compose-regexp): New function.
15043 (malayalam-composable-pattern): Fix the pattern.
15044 (composition-function-table): Set malayalam-composable-pattern for
15045 Malayalam characters.
15047 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15049 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15050 rather than down-mouse-1, based on follow-link conventions.
15052 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15055 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15057 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15058 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15059 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15060 (verilog-leap-to-head, verilog-backward-token):
15061 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15063 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15065 * progmodes/verilog-mode.el (verilog-auto-lineup)
15066 (verilog-nameable-item-re): Cleanup user-visible spelling and
15067 documentation errors. One reported by Gary Delp.
15068 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15069 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15070 package, bug195. Reported by Pierre-David Pfister.
15072 2009-12-11 Glenn Morris <rgm@gnu.org>
15074 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15076 * mail/emacsbug.el: No longer require sendmail.
15077 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15078 (report-emacs-bug-orig-text): Doc fix.
15079 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15080 New local variables, to adapt to different mail-user-agents.
15081 (report-emacs-bug): Fix test for a gnu.org address.
15082 Use overlays for emphasis, since font-lock defeats 'face property.
15083 Pretest bugs also end up at the newsgroup these days.
15084 Stop message-mode stripping text properties.
15085 Set and use the new buffer-local variables.
15086 (report-emacs-bug-hook): Add doc-string.
15087 Remove some unnecessary save-excursions and simplify.
15088 Use the appropriate hook and send-command.
15090 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15091 capitalization of some menu entries.
15093 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15095 * whitespace.el (whitespace-display-char-on):
15096 Ensure `buffer-display-table' is unique when two or more windows are
15097 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15100 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15102 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15103 characters in the Attribute field.
15105 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15107 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15109 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15111 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15112 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15113 Disregard autoload-excludes.
15114 (update-directory-autoloads): Obey autoload-excludes here instead.
15115 But don't store its contents in no-autoloads and remove entries that
15116 refer to excludes files.
15118 2009-12-10 Glenn Morris <rgm@gnu.org>
15120 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15121 (expand-mail-aliases): Define for compiler.
15123 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15124 Define for compiler.
15126 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15127 appropriate for the mail-user-agent in use.
15129 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15131 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15133 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15135 Fix short log parsing and fontification.
15136 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15137 Fix fontification for the [merge] label.
15139 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15141 Drop some properties to avoid surprises (bug#5002).
15142 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15143 (hfy-fontify-buffer): Use it.
15145 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15148 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15149 Adjust all callers.
15150 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15151 args compulsory. Adjust callers.
15152 (ffap-gopher-at-point): Remove unused var `name'.
15154 Get rid of the ELCFILES abomination.
15155 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15156 (compile-elcfiles): New phony target.
15157 (compile-main): Compute ELCFILES dynamically.
15158 (compile-clean): New target to remove left-over elc files.
15159 (compile, all): Use it.
15161 2009-12-09 Kenichi Handa <handa@etlken>
15163 * international/mule-diag.el: Require help-mode instead of help-fns.
15165 2009-12-09 Kenichi Handa <handa@m17n.org>
15167 * international/mule-cmds.el (ucs-names): Supply sufficiently
15168 fine ranges instead of pre-calculating accurate ranges.
15169 Iterate with bigger gc-cons-threshold.
15171 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15173 Add support for stashing a snapshot of the current tree.
15174 * vc-git.el (vc-git-stash-snapshot): New function.
15175 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15177 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15179 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15180 instead of `(beginning|end)-of-line'.
15182 2009-12-08 Glenn Morris <rgm@gnu.org>
15184 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15186 * Makefile.in (ELCFILES): Regenerate.
15188 2009-12-07 Juri Linkov <juri@jurta.org>
15190 Don't lazy-highlight the comint output in history Isearch mode.
15192 * comint.el (comint-history-isearch-search): Instead of
15193 `comint-line-beginning-position', use `comint-after-pmark-p'
15194 to check if point if before the process mark, and go to
15195 `process-mark' in this case.
15197 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15199 * textmodes/tex-mode.el (latex-complete)
15200 (latex-indent-or-complete): Remove.
15201 (latex-mode): Set completion-at-point-functions instead.
15203 Provide a standard completion command and hook it into TAB.
15204 * minibuffer.el (completion-at-point-functions): New var.
15205 (completion-at-point): New command.
15206 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15207 * progmodes/python.el (python-mode-map): Use completion-at-point.
15208 (python-completion-at-point): Rename from python-partial-symbol and
15209 adjust for use in completion-at-point-functions.
15210 (python-mode): Setup completion-at-point for Python completion.
15211 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15212 extracted from lisp-complete-symbol.
15213 (lisp-complete-symbol): Use it.
15214 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15215 setup completion-at-point for Elisp completion.
15216 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15217 Use completion-at-point.
15218 * ielm.el (ielm-map): Use completion-at-point.
15219 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15220 * progmodes/sym-comp.el: Move to...
15221 * obsolete/sym-comp.el: Move from progmodes.
15223 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15225 Prevent save-buffer in Rmail buffers from using the coding-system
15226 of the current message, and from clobbering the encoding mnemonics
15227 in the mode line (Bug#4623).
15229 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15231 (rmail-message-encoding): New variable.
15232 (rmail-write-region-annotate): Record the encoding of the current
15233 message in rmail-message-encoding.
15234 (rmail-after-save-hook): New function, restores the encoding of
15235 the current message after the message collection is saved.
15237 2009-12-07 Juri Linkov <juri@jurta.org>
15239 * progmodes/grep.el (grep-read-files): Use `completing-read'
15240 instead of `read-string'. Set its `collection' arg to
15241 `read-file-name-internal'. (Bug#4301)
15243 2009-12-07 Juri Linkov <juri@jurta.org>
15245 Correctly restore original Isearch point. (Bug#4994)
15247 * isearch.el (isearch-mode): Move `isearch-push-state' after
15248 `(run-hooks 'isearch-mode-hook)'.
15249 (isearch-cancel): When `isearch-push-state-function' is defined,
15250 let-bind `isearch-cmds' to the first state (the last element of
15251 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15252 function and restores the original point). Otherwise, move point
15253 to `isearch-opoint'.
15255 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15257 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15258 chars that don't have names, so the table can be built much faster at
15261 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15263 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15264 change. Suggested by David Kastrup.
15266 * simple.el (compose-mail): Check for incompatibilities and warn.
15267 (compose-mail-user-agent-warnings): New option.
15269 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15271 Support showing a single log entry from vc-annotate.
15272 * vc.el (print-log): Add a new argument: START-REVISION.
15273 (vc-print-log-internal): Add a new optional argument and
15274 pass it to the backend.
15275 (vc-print-log, vc-print-root-log): Adjust callers.
15276 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15277 buffer already displays the requested log entry, use it.
15278 Otherwise display only the log entry in question.
15279 * vc-svn.el (vc-svn-print-log):
15280 * vc-mtn.el (vc-mtn-print-log):
15281 * vc-hg.el (vc-hg-state):
15282 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15283 (vc-git-show-log-entry): Return t on success.
15284 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15285 (vc-bzr-show-log-entry): Return t on success.
15286 * vc-rcs.el (vc-rcs-print-log):
15287 * vc-sccs.el (vc-sccs-print-log):
15288 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15290 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15292 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15293 Add menus to the meta mode. (Bug#5043)
15295 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15297 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15300 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15302 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15304 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15305 Berbain <raphael.berbain@gmail.com>.
15307 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15309 (tramp-initial-end-of-output): New defconst.
15310 (tramp-methods, tramp-find-shell)
15311 (tramp-open-connection-setup-interactive-shell)
15312 (tramp-maybe-open-connection): Use it.
15313 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15314 Handle existence of `#' and `$'.
15316 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15317 Use `tramp-initial-end-of-output'.
15319 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15321 Get the background mode from the terminal for xterm, and set
15323 * term/xterm.el (xterm-set-background-mode): New function.
15324 (terminal-init-xterm): Use it in case xterm supports background
15325 color queries. Recompute faces after getting the background
15328 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15330 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15331 number comment back on its own line, for easier parsing.
15333 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15335 Make it work for non-file buffers (bug#5102).
15336 * doc-view.el (doc-view-current-cache-dir):
15337 Use doc-view-buffer-file-name rather than buffer-file-name.
15338 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15340 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15342 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15343 author field is too short.
15345 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15347 * vc-git.el (vc-git-print-log): Handle a limit argument.
15348 Display the short log in graph form and with labels.
15349 (vc-git-log-view-mode): Handle labels.
15351 Make vc-revert change VC state from 'added to 'unregistered.
15352 * vc-git.el (vc-git-revert): Call git reset first.
15354 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15356 * net/newst-backend.el, net/newst-plainview.el:
15357 * net/newst-reader.el, net/newst-ticker.el:
15358 * net/newst-treeview.el, net/newsticker.el:
15359 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15361 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15363 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15365 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15366 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15367 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15368 Update annotation regexp.
15370 * simple.el (beginning-of-visual-line): Constrain to field
15371 boundaries (Bug#5106).
15373 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15375 * xml.el (xml-substitute-numeric-entities):
15376 Move newsticker--decode-numeric-entities in newst-backend.el to
15377 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15378 * net/newst-backend.el (newsticker--parse-generic-feed)
15379 (newsticker--parse-generic-items)
15380 (newsticker--decode-numeric-entities):
15381 Move newsticker--decode-numeric-entities in newst-backend.el to
15382 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15384 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15386 * progmodes/js.el (js--js-not): Add null to the list of values.
15388 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15390 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15392 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15394 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15395 delimiter if it is at the end of the current line.
15396 (bibtex-generate-url-list): Fix docstring.
15398 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15400 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15401 minibuffer's content with itself.
15402 Fold the confirm-after-completion case into the `confirm' case.
15403 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15405 2009-12-06 Kevin Ryde <user42@zip.com.au>
15407 * ffap.el (ffap-rfc-path): Make this a defcustom since
15408 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15410 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15411 manuals, similar to existing setup for help-mode. (Bug#3913.)
15413 2009-12-05 Juri Linkov <juri@jurta.org>
15415 Save and restore dired buffer's point positions too. (Bug#4880)
15417 * dired.el (dired-save-positions): Return in the first element
15418 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15420 (dired-restore-positions): First restore buffer's position.
15421 While restoring window's positions, check if window still displays
15422 the original buffer.
15424 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15426 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15429 * shell.el (shell): Require ansi-color (Bug#5113).
15431 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15433 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15435 2009-12-05 Alan Mackenzie <acm@muc.de>
15437 * progmodes/cc-mode.el (c-before-hack-hook)
15438 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15439 `c-file-style' to work again. This reversion restores the current
15440 software to its state in Emacs 23.1. (Bug#4146)
15442 2009-12-05 Kevin Ryde <user42@zip.com.au>
15444 * textmodes/sgml-mode.el (sgml-lexical-context):
15445 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15447 2009-12-05 Juri Linkov <juri@jurta.org>
15449 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15450 for virtual nodes. (Bug#4147)
15451 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15452 when moving from a virtual node.
15453 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15454 (Info-mode): Add `Info-virtual-index' to the docstring.
15456 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15458 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15459 track of the buffer position of the end of a BibTeX entry as this
15460 position may change during reformatting.
15461 (bibtex-format-entry): Remove whitespace before processing
15462 numerical fields so that we recognize the latter properly.
15463 (bibtex-reformat): Do not use push which changes the global value
15464 of bibtex-entry-format.
15465 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15466 (bibtex-field-re-init): Replace only space characters by regexp
15468 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15469 (bibtex-initialize): Also update bibtex-strings.
15470 (bibtex-kill-field): Preserve white space at end of entry.
15471 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15472 Update bibtex-reference-keys.
15474 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15476 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15477 point after a star, if that's the only place where modifications can
15480 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15482 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15485 2009-12-04 Juri Linkov <juri@jurta.org>
15487 * proced.el (proced): Call `(proced-update t)' to update process
15488 information instead of only running proced-post-display-hook.
15489 (proced-send-signal): Add a leading space to the buffer name
15490 " *Marked Processes*" to make this buffer ephemeral.
15492 2009-12-04 Juri Linkov <juri@jurta.org>
15494 * dired.el (dired-auto-revert-buffer): New defcustom.
15495 (dired-internal-noselect): Use it.
15497 2009-12-04 Juri Linkov <juri@jurta.org>
15499 Change roles of modes and functions in image-mode.el (Bug#5062).
15501 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15502 in `auto-mode-alist'.
15503 (image-mode-previous-major-mode): New variable.
15504 (image-minor-mode-map): Rename from `image-mode-text-map'.
15505 (image-mode): Move graceful error-handling code from
15506 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15507 (image-minor-mode): Remove all image-handling code.
15508 Replace `image-mode-text-map' with `image-minor-mode-map'.
15509 Check for `image-type' in mode-line format string.
15510 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15511 (image-mode-as-text): New function with most code from
15512 `image-mode-maybe'.
15513 (image-toggle-display-text): Move code that removes image
15514 properties from `image-toggle-display' to here.
15515 (image-toggle-display-image): New function with code that adds
15516 image properties copied from `image-toggle-display'.
15517 (image-toggle-display): Remove most code with leaving only code
15518 that toggles between `image-mode-as-text' and `image-mode'.
15520 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15522 * net/newst-treeview.el
15523 (newsticker--treeview-list-highlight-start): Restored call to
15524 save-excursion: Selected item was stuck.
15525 (newsticker--treeview-list-select): New.
15526 (newsticker--treeview-item-show-text)
15527 (newsticker--treeview-item-show)
15528 (newsticker--treeview-item-update): Use new
15529 newsticker-treeview-item-mode.
15530 (newsticker-treeview-update): Keep current item.
15531 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15532 (newsticker--treeview-first-feed): Doc change.
15533 (newsticker-treeview-list-menu)
15534 (newsticker-treeview-item-menu): Add menu entries.
15535 (newsticker-treeview-item-mode): New.
15537 * net/newst-backend.el (newsticker-customize): Delete other
15540 2009-12-04 Sam Steingold <sds@gnu.org>
15542 * log-view.el (log-view-mode-map): "q" calls quit-window,
15543 like in all the other non-self-insert buffers.
15545 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15548 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15549 key decoding rather than do it manually via last-input-event +
15551 (term-exec): Use delete-and-extract-region.
15552 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15553 (term-process-pager): Remove unused var `i'.
15554 (term-dynamic-simple-complete): Make obsolete.
15555 (serial-update-config-menu): Remove unused vars `y' and `str'.
15556 (term-update-mode-line): Remove unused var `temp'.
15558 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15560 Limit the number of log entries displayed by default.
15561 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15562 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15563 using a prefix argument.
15565 2009-12-03 Glenn Morris <rgm@gnu.org>
15567 * progmodes/idlwave.el (class): Restore still useful declaration.
15569 2009-12-03 Alan Mackenzie <acm@muc.de>
15571 Enhance `c-parse-state' to run efficiently in "brace deserts".
15573 * progmodes/cc-mode.el (c-basic-common-init):
15574 Call c-state-cache-init.
15575 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15576 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15577 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15579 * progmodes/cc-langs.el (c-before-font-lock-function):
15580 c-extend-and-neutralize-syntax-in-CPP has been renamed
15581 c-neutralize-syntax-in-and-mark-CPP.
15583 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15584 with `category' properties now, not `syntax-table' ones.
15586 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15587 enhanced (but slower) version of c-end-of-macro that won't land
15588 inside a literal or on another awkward character.
15589 (c-state-cache-too-far, c-state-cache-start)
15590 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15591 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15592 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15593 (c-state-min-scan-pos, c-state-brace-pair-desert)
15594 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15595 buffer local variables.
15596 (c-state-literal-at, c-state-lit-beg)
15597 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15598 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15599 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15600 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15601 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15602 (c-renarrow-state-cache)
15603 (c-append-lower-brace-pair-to-state-cache)
15604 (c-state-push-any-brace-pair, c-append-to-state-cache)
15605 (c-remove-stale-state-cache)
15606 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15607 (c-invalidate-state-cache-1, c-parse-state-1)
15608 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15609 (c-parse-state): Enhance and refactor.
15610 (c-debug-parse-state): Amend to deal with all the new variables.
15612 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15613 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15614 modify to use category text properties rather than syntax-table ones.
15615 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15616 to switch off/on the syntactic paren property of C++ template
15617 delimiters using the category property.
15618 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15619 template delims suppressed.
15620 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15621 New constant/macros which apply category properties to the start
15622 and end of preprocessor constructs.
15623 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15624 "comment out" the syntactic value of characters in preprocessor
15626 (c-with-cpps-commented-out)
15627 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15628 with characters in all or all but one preprocessor constructs
15631 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15633 * proced.el (proced-filter-alist): Use regexp-quote.
15635 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15638 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15639 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15640 arguments. Expand `default-directory'.
15642 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15643 the benefit of returning an expanded localname.
15644 (tramp-tramp-file-p): Handle the case NAME is not a string.
15646 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15648 Add support for bzr shelve/unshelve.
15649 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15650 (vc-bzr-extra-menu-map): New variables.
15651 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15652 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15653 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15654 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15655 (vc-bzr-dir-extra-headers): Display shelves.
15657 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15659 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15661 * textmodes/bibtex.el (bibtex-complete-internal):
15662 Use completion-in-region.
15663 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15665 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15667 Support applying stashes. Improve UI.
15668 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15669 (vc-git-stash-apply, vc-git-stash-pop)
15670 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15671 (vc-git-stash-menu): New functions.
15672 (vc-git-stash-menu-map): New variable.
15673 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15675 2009-12-03 Glenn Morris <rgm@gnu.org>
15677 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15678 (vc-print-log-internal): Fix previous change.
15679 (vc-revert): Correct pluralization.
15681 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15684 it to be an alist any more.
15685 (makefile-complete): Use completion-in-region.
15687 * progmodes/octave-mod.el (octave-complete-symbol):
15688 Use completion-in-region.
15691 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15692 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15693 (idlwave-complete-class): Don't quote lambda.
15694 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15695 (idlwave-mode-map): Move initialization into declaration.
15696 (idlwave-action-and-binding): Use backquotes.
15697 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15699 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15700 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15701 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15702 `parts', and `all-parts'.
15703 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15704 (idlwave-convert-xml-system-routine-info): Remove unused string
15706 (idlwave-display-user-catalog-widget): Use dolist.
15707 (idlwave-scanning-lib): Declare dynamically-scoped var.
15708 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15709 (completion-highlight-first-word-only): Declare to silence bytecomp.
15710 (idlwave-popup-select): Tighten scope of `resp'.
15711 (idlwave-find-struct-tag): Remove unused var `beg'.
15712 (idlwave-after-load-rinfo-hook): Declare.
15713 (idlwave-sintern-class-info): Remove unused var `taglist'.
15714 (idlwave-find-class-definition): Remove unused var `list'.
15715 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15716 (idlwave-what-module-find-class): Remove unused var `classes'.
15718 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15720 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15722 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15724 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15725 buffers visited. Remove redundant current-buffer-saving.
15727 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15729 Use completion-in-buffer and remove uses of dynamic scoping.
15730 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15731 (pascal-buffer-to-use, pascal-flag): Don't declare.
15732 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15733 (pascal-get-completion-decl, pascal-keyword-completion):
15734 Add `pascal-str' argument, save-excursion,
15735 return the found completions, and don't filter with pascal-pred.
15736 (pascal-completion-cache): New var.
15737 (pascal-completion): Don't switch buffer any more (it was never
15738 necessary). Don't save-excursion any more (it's done by the called
15739 subroutines). Use a cache to avoid redundant computations.
15740 Use complete-with-action rather than pascal-completion-response and
15741 let it apply the predicate as well.
15742 (pascal-complete-word): Use completion-in-buffer when
15743 pascal-toggle-completions is nil.
15744 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15746 (pascal-comp-defun): Don't change buffer any more.
15747 Use complete-with-action rather than pascal-completion-response and
15748 let it apply the predicate as well.
15749 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15752 2009-12-02 Kenichi Handa <handa@m17n.org>
15754 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15755 shape for all Indic scripts.
15757 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15759 Use completion-in-buffer.
15760 * wid-edit.el (widget-field-text-end): New function.
15761 (widget-field-value-get): Use it.
15762 (widget-string-complete, widget-file-complete)
15763 (widget-color-complete): Use it and completion-in-region.
15764 (widget-complete): Don't narrow the buffer.
15766 2009-12-02 Glenn Morris <rgm@gnu.org>
15768 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15769 (rmail-select-summary): Use rmail-pop-to-buffer.
15770 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15771 rmail-pop-to-buffer, to prevent horizontal splits.
15773 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15774 save-excursion with save-current-buffer.
15775 Widen before searching. (Bug#5093)
15776 (diary-list-sexp-entries): Remove superfluous save-excursion.
15778 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15780 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15783 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15785 * ido.el (ido-file-internal): Handle filenames at point that do
15786 not have a directory part. (Bug#5049)
15788 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15790 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15791 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15793 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15795 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15796 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15799 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15801 * comint.el (comint-insert-input): Ignore clicks to the right of
15802 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15804 * vc.el (vc-print-log-internal): Don't wait for the process to
15805 terminate before setting up the major mode.
15807 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15810 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15813 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15815 2009-12-01 Glenn Morris <rgm@gnu.org>
15817 * window.el (window--display-buffer-2): Fix previous changes.
15819 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15821 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15823 2009-12-01 Glenn Morris <rgm@gnu.org>
15825 * Makefile.in (ELCFILES): Add mpc.elc.
15827 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15829 * mpc.el: New file.
15831 2009-12-01 Glenn Morris <rgm@gnu.org>
15833 * window.el (window-to-use): Define for compiler.
15835 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15836 consistent with others (no final period).
15838 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15839 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15841 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15843 Make vc-print-log buttons work.
15844 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15846 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15848 * savehist.el (savehist-autosave-interval): Allow setting to nil
15849 through customize. (Bug#5056)
15851 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15853 Fix references to jit-lock properties.
15854 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15855 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15856 (perl-font-lock-special-syntactic-constructs):
15857 Quote jit-lock-defer-multiline property.
15859 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15861 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15863 2009-11-30 Juri Linkov <juri@jurta.org>
15865 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15866 value `buffer' of `multi-isearch-next-buffer-current-function'.
15867 Use `(current-buffer)' when `buffer' is nil.
15868 (multi-isearch-next-buffer-from-list): Don't fallback to
15869 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15871 2009-11-30 Juri Linkov <juri@jurta.org>
15873 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15874 of buffers with `get-buffer' to `multi-isearch-buffers'.
15875 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15876 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15877 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15878 FILES with `expand-file-name' converting relative file names
15879 to absolute. Doc fix. (Bug#4727)
15881 2009-11-30 Juri Linkov <juri@jurta.org>
15883 * misearch.el (multi-isearch-read-buffers)
15884 (multi-isearch-read-matching-buffers): New functions.
15885 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15886 Use them in the `interactive' spec. Doc fix.
15887 (multi-isearch-read-files, multi-isearch-read-matching-files):
15889 (multi-isearch-files, multi-isearch-files-regexp):
15890 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15892 2009-11-30 Juri Linkov <juri@jurta.org>
15894 * doc-view.el (doc-view-continuous):
15895 Rename from `doc-view-continuous-mode'.
15896 (doc-view-menu): Move "Toggle display" to the top.
15897 Add submenu "Continuous" with radio buttons "Off"/"On"
15898 and "Save as Default".
15899 (doc-view-scroll-up-or-next-page)
15900 (doc-view-scroll-down-or-previous-page)
15901 (doc-view-next-line-or-next-page)
15902 (doc-view-previous-line-or-previous-page):
15903 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15905 2009-11-30 Juri Linkov <juri@jurta.org>
15907 * comint.el (comint-mode-map): Rebind `M-r' from
15908 `comint-previous-matching-input' to
15909 `comint-history-isearch-backward-regexp'.
15910 Unbind `M-s' to allow global key binding `M-s'.
15911 Add menu items for `comint-history-isearch-backward' and
15912 `comint-history-isearch-backward-regexp'. (Bug#3746)
15914 2009-11-30 Juri Linkov <juri@jurta.org>
15916 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15917 For def=recenter, replace `recenter' with `recenter-top-bottom'
15918 that is called with `this-command' and `last-command' let-bound
15919 to `recenter-top-bottom'. When the last `def' was not `recenter',
15920 set `recenter-last-op' to nil. (Bug#4981)
15922 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15924 Minor cleanup and simplification.
15925 * filecache.el (file-cache-add-directory)
15926 (file-cache-add-directory-recursively)
15927 (file-cache-add-from-file-cache-buffer)
15928 (file-cache-delete-file-regexp, file-cache-delete-directory)
15929 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15930 (file-cache-temp-minibuffer-message): Delete function.
15931 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15933 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15934 Don't signal an error when bumping into EOB in tr, s, or y.
15936 2009-11-29 Juri Linkov <juri@jurta.org>
15938 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15941 * descr-text.el (describe-char-unidata-list): Use lowercase name
15942 for "Unicode name" like in other tags.
15944 2009-11-29 Juri Linkov <juri@jurta.org>
15946 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15947 New compatibility macro.
15948 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15950 2009-11-29 Juri Linkov <juri@jurta.org>
15952 Add defcustom to define the cycling order of `recenter-top-bottom'.
15955 * window.el (recenter-last-op): Doc fix.
15956 (recenter-positions): New defcustom.
15957 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15958 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15960 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15962 Improve integration of Tramp and ange-ftp in eshell.
15964 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15965 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15966 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15968 * eshell/esh-util.el (top): Require also Tramp when compiling.
15969 (eshell-directory-files-and-attributes): Check for FTP remote
15971 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15972 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15973 (eshell-file-attributes): Handle ".". Return `entry'.
15975 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15976 (ange-ftp-directory-files-and-attributes)
15977 (ange-ftp-real-directory-files-and-attributes): New defuns.
15979 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15980 shell with "exec" when possible. This prevents trailing prompts
15981 in `start-file-process'.
15983 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15985 Try and remove assumptions about point-min==1.
15986 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15987 (rng-compute-mode-line-string): Show the validation percentage in
15988 terms of the narrowed text, not the widened text.
15989 (rng-do-some-validation): Don't catch internal errors when debugging.
15990 (rng-first-error): Simplify.
15991 (rng-after-change-function): Remove work around. AFAIK the bug has
15992 been fixed a while ago.
15994 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15995 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15997 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15999 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16000 `cd' doesn't always do it for us (bug#5067).
16002 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16003 on 2009-10-25 as part of some other change (bug#5067).
16005 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16009 (byte-compile-warnings): Use byte-compile-warning-types.
16010 (byte-compile-save-excursion): Warn about use of set-buffer right
16011 after save-excursion.
16013 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16014 the excursion as well.
16016 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16018 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16019 providing a Tramp related implementation of "su" and "sudo".
16020 (eshell-unix-initialize): Add "su" and "sudo".
16022 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16024 * net/socks.el (socks-send-command): Convert binary request to
16025 unibyte before sending. This fixes mishandling of some port
16026 numbers such as 129.
16028 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16030 * help.el (describe-bindings-internal): Remove `interactive'.
16032 * man.el (Man-completion-table): Trim a terminating "(".
16033 Remove the space between name page a section.
16034 Add the command's description on the `help-echo' property.
16035 Remove `process-connection-type' binding since it's unused by
16037 Provide completion for the "<section> <name>" format as well.
16038 (Man-default-man-entry): Remove spurious var shadowing the argument.
16040 2009-11-26 Kevin Ryde <user42@zip.com.au>
16042 * log-view.el: Add "Keywords: tools", since its other keywords
16043 aren't in finder-known-keywords, and following vc.el.
16045 * sha1.el (sha1-string-external): default-directory "/" in case
16046 otherwise non-existent. process-connection-type pipe for touch of
16047 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16049 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16051 Misc coding convention cleanups.
16052 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16053 hfy-init-kludge-hooks.
16054 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16055 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16056 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16058 (hfy-slant, hfy-weight): Use tables rather than code.
16059 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16060 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16061 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16062 (hfy-face-to-css): Remove `nconc' with single arg.
16063 (hfy-p-to-face-lennart): Use `or'.
16064 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16065 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16066 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16067 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16068 (hfy-force-fontification): Use run-hooks.
16070 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16072 Various minor fixes.
16073 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16074 Javascript belongs in the header, not the body.
16075 (hfy-javascript): Remove.
16076 (hfy-fontify-buffer): Don't insert it any more.
16077 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16078 Fix bug in invis handling when there were no invis props in a chunk.
16080 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16082 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16084 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16086 * finder.el (finder-mode-map): Add a menu.
16088 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16090 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16091 "unsigned" structs.
16093 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16094 fork" statement better.
16096 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16098 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16099 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16100 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16101 Reported by Clay Douglass.
16103 (verilog-auto-inst, verilog-auto-star-safe)
16104 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16105 Fix removing "// Interfaces" when saving .* expansions.
16106 Reported by Pierre-David Pfister.
16108 2009-11-26 Glenn Morris <rgm@gnu.org>
16110 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16113 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16115 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16116 Really use previous revision.
16118 2009-11-25 Kevin Ryde <user42@zip.com.au>
16120 * man.el (Man-completion-table): default-directory "/" in case
16121 doesn't otherwise exist. process-environment COLUMNS=999 so as
16122 not to truncate long names. process-connection-type pipe to avoid
16123 any chance of hitting the pseudo-tty TIOCGWINSZ.
16124 (man): completion-ignore-case t for friendliness and since man
16125 itself is case-insensitive on the command line.
16126 Further to Bug#3717.
16128 * arc-mode.el: Add "Keywords: files", so the details in its
16129 commentary can be reached from finder-by-keyword.
16130 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16131 editing mode, but it's comms related and sgml-mode.el has "comm"
16133 * textmodes/bibtex-style.el: Add "Keywords: tex".
16134 * international/isearch-x.el, international/ja-dic-cnv.el:
16135 * international/ja-dic-utl.el, international/kkc.el:
16136 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16138 2009-11-25 Juri Linkov <juri@jurta.org>
16140 * man.el (Man-completion-table): Modify regexp to include
16141 section names to completion strings. (Bug#3717)
16143 2009-11-25 Juri Linkov <juri@jurta.org>
16145 Search recursively in gzipped files. (Bug#4982)
16147 * progmodes/grep.el (grep-highlight-matches): Add new options
16148 `always' and `auto'. Doc fix.
16149 (grep-process-setup): Check `grep-highlight-matches' for
16150 `auto-detect' to determine the need to compute grep defaults.
16151 Move Windows/DOS specific --colors settings handling
16152 to `grep-compute-defaults'. Check `grep-highlight-matches'
16153 to get the value of "--color=".
16154 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16155 has the value `auto-detect'. Move Windows/DOS specific settings
16156 from `grep-process-setup'.
16157 (zrgrep): New command with alias `rzgrep'.
16159 2009-11-25 Juri Linkov <juri@jurta.org>
16161 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16162 to nil instead of switching off view-mode. (Bug#4896)
16164 2009-11-25 Juri Linkov <juri@jurta.org>
16166 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16168 * mwheel.el (mwheel-scroll-up-function)
16169 (mwheel-scroll-down-function): New defvars.
16170 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16171 `scroll-up', and `mwheel-scroll-down-function' instead of
16174 * doc-view.el (doc-view-scroll-up-or-next-page)
16175 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16176 Use this ARG in the call to image-scroll-up/image-scroll-down.
16177 Change `interactive' spec to "P". Goto next/previous page only
16178 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16179 SPC/DEL case). Doc fix.
16180 (doc-view-next-line-or-next-page)
16181 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16183 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16184 `doc-view-scroll-up-or-next-page', and buffer-local
16185 `mwheel-scroll-down-function' to
16186 `doc-view-scroll-down-or-previous-page'.
16188 2009-11-25 Juri Linkov <juri@jurta.org>
16190 Provide additional default values (directories at other Dired
16191 windows) via M-n in the minibuffer of some Dired commands.
16193 * dired-aux.el (dired-diff, dired-compare-directories)
16194 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16195 `minibuffer-default' in `minibuffer-with-setup-hook'.
16196 (dired-dwim-target-directory): Find a window that displays Dired
16197 buffer instead of failing when the next window is not Dired.
16198 Use `get-window-with-predicate' to find for the next Dired window.
16199 (dired-dwim-target-defaults): New function.
16201 * ediff-util.el (ediff-read-file-name):
16202 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16203 in `minibuffer-with-setup-hook'.
16205 2009-11-25 Juri Linkov <juri@jurta.org>
16207 Provide additional default values (file name at point or at the
16208 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16210 * minibuffer.el (read-file-name-defaults): New function.
16211 (read-file-name): Reset `minibuffer-default' to nil when
16212 it duplicates initial input `insdef'.
16213 Bind `minibuffer-default-add-function' to lambda that
16214 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16215 (minibuffer-insert-file-name-at-point): New command.
16217 * files.el (file-name-at-point-functions): New defcustom.
16218 (find-file-default): Remove defvar.
16219 (find-file-read-args): Don't use `find-file-default'.
16220 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16221 to `read-file-name'.
16222 (find-file-literally): Use `read-file-name' with
16223 `confirm-nonexistent-file-or-buffer'.
16225 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16227 * dired.el (dired-read-dir-and-switches):
16228 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16229 to `read-file-name'.
16230 (dired-file-name-at-point): New function.
16231 (dired-mode): Add hook `dired-file-name-at-point' to
16232 `file-name-at-point-functions'.
16234 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16236 Really make the *Completions* window soft-dedicated (bug#5030).
16237 * window.el (window--display-buffer-2): Add `dedicated' argument.
16238 (display-buffer): Pass it when needed so the dedicated flag is set
16239 after calling set-window-buffer, which would otherwise reset it.
16241 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * progmodes/meta-mode.el (meta-complete-symbol):
16244 * progmodes/etags.el (complete-tag):
16245 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16246 Use completion-in-region.
16248 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16249 (dabbrev-completion): Use completion-in-region.
16250 (dabbrev--abbrev-at-point): Simplify regexp.
16252 * abbrev.el (abbrev--before-point): Use word-motion functions
16253 if :regexp is not specified (bug#5031).
16255 * subr.el (string-prefix-p): New function.
16257 * man.el (Man-completion-cache): New var.
16258 (Man-completion-table): Use it.
16260 * vc.el (vc-print-log-internal): Make `limit' optional for better
16261 compatibility (e.g. with vc-annotate.el).
16263 2009-11-24 Kevin Ryde <user42@zip.com.au>
16265 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16266 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16268 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16269 when .el source file not found or other error.
16271 2009-11-24 Markus Triska <markus.triska@gmx.at>
16273 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16275 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16277 Handle the [back] button properly (bug#4979).
16278 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16279 Use help-setup-xref, help-buffer, and with-help-window.
16280 (describe-char): Add `buffer' argument.
16281 Pass proper command to help-setup-xref. Don't meddle with
16282 help-xref-stack-item directly.
16283 (describe-text-category): Use with-help-window and help-buffer.
16285 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16286 for the displayed buffer (bug#4887).
16288 * man.el (Man-completion-table): New function.
16291 2009-11-24 David Reitter <david.reitter@gmail.com>
16293 * vc-git.el (vc-git-registered): Use checkout directory (where
16294 .git is) rather than the file's directory and a relative path spec
16295 to work around a bug in git.
16297 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16299 Improve handling of processes on remote hosts.
16301 * eshell/esh-util.el (eshell-path-env): New defvar.
16302 (eshell-parse-colon-path): New defun.
16303 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16305 * eshell/esh-ext.el (eshell-search-path):
16306 Use `eshell-parse-colon-path'.
16307 (eshell-remote-command): Remove argument HANDLER.
16308 (eshell-external-command): Check for FTP remote connection.
16310 * eshell/esh-proc.el (eshell-gather-process-output):
16311 Use `file-truename', in order to start also symlinked files.
16312 Apply `start-file-process' instead of `start-process'.
16313 Shorten `command' to the local file name part.
16315 * eshell/em-cmpl.el (eshell-complete-commands-list):
16316 Use `eshell-parse-colon-path'.
16318 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16320 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16321 to `eshell-directory-change-hook'.
16323 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16325 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16326 because it could be enabled automatically if view-read-only is non-nil.
16328 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16330 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16331 made on 2009-11-22.
16333 2009-11-24 Glenn Morris <rgm@gnu.org>
16335 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16336 deleted variable bookmark-bmenu-bookmark-column.
16338 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16340 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16342 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16344 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16345 two slashes to the "file:" prefix.
16346 (browse-url-file-url): De-munge Cygwin filenames before passing
16347 them to Windows browser.
16348 (browse-url-default-windows-browser): Use call-process.
16350 2009-11-23 Juri Linkov <juri@jurta.org>
16352 Implement DocView Continuous mode. (Bug#4896)
16353 * doc-view.el (doc-view-continuous-mode): New defcustom.
16354 (doc-view-mode-map): Bind C-n/<down> to
16355 `doc-view-next-line-or-next-page', C-p/<up> to
16356 `doc-view-previous-line-or-previous-page'.
16357 (doc-view-next-line-or-next-page)
16358 (doc-view-previous-line-or-previous-page): New commands.
16360 2009-11-23 Juri Linkov <juri@jurta.org>
16362 Implement Isearch in comint input history. (Bug#3746)
16363 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16364 `isearch-mode-hook'.
16365 (comint-history-isearch): New defcustom.
16366 (comint-history-isearch-backward)
16367 (comint-history-isearch-backward-regexp): New commands.
16368 (comint-history-isearch-message-overlay): New buffer-local variable.
16369 (comint-history-isearch-setup, comint-history-isearch-end)
16370 (comint-goto-input, comint-history-isearch-search)
16371 (comint-history-isearch-message, comint-history-isearch-wrap)
16372 (comint-history-isearch-push-state)
16373 (comint-history-isearch-pop-state): New functions.
16375 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16377 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16379 (tramp-handle-make-symbolic-link)
16380 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16382 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16383 (tramp-handle-process-file): Use it.
16385 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16387 * window.el (move-to-window-line-last-op): Remove.
16388 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16390 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16392 Make M-r mirror the new cycling behavior of C-l.
16393 * window.el (move-to-window-line-last-op): New var.
16394 (move-to-window-line-top-bottom): New command.
16395 (global-map): Bind M-r move-to-window-line-top-bottom.
16397 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16399 * dired-x.el (dired-guess-shell-alist-default):
16400 Support xz format. (Bug#4953)
16402 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16404 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16405 last-command-char/last-command-event.
16406 (viper-prefix-arg-value): Do correct conversion of event-char for
16409 * emulation/viper-util.el, emulation/viper.el:
16410 Use viper-last-command-char instead of
16411 last-command-char/last-command-event.
16413 * ediff-init.el, ediff-mult.el, ediff-util.el:
16414 Replace last-command-char and last-command-event
16415 with (ediff-last-command-char) everywhere.
16417 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16418 created in fundamental mode.
16420 * ediff.el (ediff-version): Revert the change of interactive-p to
16421 called-interactively-p.
16423 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16425 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16426 generation from word-movement command names.
16428 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16430 * cus-start.el (all): Add native condition for font-use-system-font.
16432 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16434 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16435 Correct the patch from 2009-11-18. (Bug#3910)
16437 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16439 * progmodes/subword.el: Rename from lisp/subword.el.
16441 * subword.el: Rename to progmodes/subword.el.
16443 * Makefile.in (ELCFILES): Adapt to subword.el move.
16445 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16446 Stefan Monnier <monnier@iro.umontreal.ca>
16448 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16449 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16450 (bookmark-bmenu-show-filenames): Use push.
16451 (bookmark-bmenu-hide-filenames): Use local var instead of
16452 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16453 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16454 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16455 filenames now that the bookmark names are always available.
16457 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16459 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16460 (bookmark-search-pattern): Move and leave unbound.
16461 (bookmark-bmenu-mode-map): Change binding.
16462 (bookmark-read-search-input): Simplify.
16463 Don't use text-char-description. Don't error on non-char events.
16464 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16465 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16466 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16467 Use a local var for the timer.
16468 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16469 (i.e. bookmark-bmenu-search).
16471 2009-11-21 Glenn Morris <rgm@gnu.org>
16473 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16475 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16477 * net/browse-url.el (browse-url-default-windows-browser):
16478 Use cygstart for cygwin.
16480 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16482 * bookmark.el: Formatting and doc fixes only:
16483 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16484 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16485 Minor grammar and punctuation fixes in doc string.
16486 (bookmark-read-search-input): Adjust to fit within 80 columns.
16488 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16490 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16491 (c-backward-into-nomenclature): Adapt to subword renaming.
16493 * subword.el (subword-forward, subword-backward, subword-mark)
16494 (subword-kill, subword-backward-kill, subword-transpose)
16495 (subword-downcase, subword-upcase, subword-capitalize)
16496 (subword-forward-internal, subword-backward-internal):
16497 Rename from forward-subword, backward-subword, mark-subword,
16498 kill-subword, backward-kill-subword, transpose-subwords,
16499 downcase-subword, upcase-subword, capitalize-subword,
16500 forward-subword-internal, backward-subword-internal.
16502 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16504 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16506 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16508 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16509 (bookmark-bmenu-filter-alist-by-regexp)
16510 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16511 (bookmark-bmenu-search): New command.
16512 (bookmark-bmenu-mode-map): Bind it.
16514 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16516 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16517 backward-subword to quit the byte-compiler.
16519 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16521 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16523 * progmodes/cc-cmds.el (c-update-modeline)
16524 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16525 Refer to subword.el functions instead of cc-subword.el.
16527 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16528 subword.el functions instead of cc-subword.el.
16530 * progmodes/cc-subword.el: Rename to subword.el.
16531 * subword.el: Rename from progmodes/cc-subword.el.
16532 (subword-mode-map): Rename from c-subword-mode-map.
16533 (subword-mode): Rename from c-subword-mode.
16534 (global-subword-mode): New global minor mode.
16535 (forward-subword): Rename from c-forward-subword.
16536 (backward-subword): Rename from c-backward-subword.
16537 (mark-subword): Rename from c-mark-subword.
16538 (kill-subword): Rename from c-kill-subword.
16539 (backward-kill-subword): Rename from c-backward-kill-subword.
16540 (transpose-subwords): Rename from c-tranpose-subword.
16541 (downcase-subword): Rename from c-downcase-subword.
16542 (capitalize-subword): Rename from c-capitalize-subword.
16543 (forward-subword-internal): Rename from c-forward-subword-internal.
16544 (backward-subword-internal): Rename from c-backward-subword-internal.
16546 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16548 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16549 from a dired buffer.
16550 (vc-dired-deduce-fileset): New function.
16551 (vc-root-diff, vc-print-root-log): Use it.
16553 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16554 nil LIMIT argument to vc-print-log-internal.
16556 2009-11-20 Glenn Morris <rgm@gnu.org>
16558 * Makefile.in (ELCFILES): Regenerate.
16560 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16562 * calc/calc.el (calc-set-mode-line):
16563 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16564 (math-format-number): Rename `math-format-complement-signed' to
16565 `math-format-twos-complement'.
16567 * calc/calc-bin.el (math-format-twos-complement): Rename from
16568 math-format-complement-signed.
16569 (calc-radix): Rename `calc-complement-signed-mode' to
16570 `calc-twos-complement-mode'.
16571 (calc-octal-radix, calc-hex-radix): Add an argument for
16574 * calc/calc-embed.el (calc-embedded-mode-vars):
16575 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16577 * calc/calc-ext.el (calc-init-extensions):
16578 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16579 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16581 * calc/calc-units.el (math-build-units-table-buffer):
16582 Let `calc-twos-complement-mode' be nil.
16584 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16587 * calc/calc-vec.el (calcFunc-vunpack):
16588 * calc/calc-aent.el (calc-do-calc-eval):
16589 * calc/calc-forms.el (math-format-date):
16590 * calc/calc-graph.el (calc-graph-plot):
16591 * calc/calc-math.el (math-use-emacs-fn):
16592 * calc/calccomp.el (math-compose-expr):
16593 Let `calc-twos-complement-mode' be nil.
16595 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16597 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16598 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16599 * minibuffer.el (completion-in-region-functions): New hook.
16600 (completion-in-region): New function.
16601 * emacs-lisp/lisp.el (lisp-complete-symbol):
16602 * pcomplete.el (pcomplete-std-complete): Use it.
16604 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16606 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16607 (latex-complete-alist): New vars.
16608 (latex-string-prefix-p, latex-complete-bibtex-keys)
16609 (latex-complete-envnames, latex-complete-refkeys)
16610 (latex-complete-data): New functions.
16611 (latex-complete, latex-indent-or-complete): New commands.
16613 * window.el (display-buffer-mark-dedicated): New var.
16614 (display-buffer): Obey it.
16615 * minibuffer.el (minibuffer-completion-help): Use it.
16617 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16619 * filecache.el (file-cache-add-file): Use push and cons.
16620 (file-cache-delete-file-regexp): Use push.
16621 (file-cache-complete): Use completion-in-region.
16623 * simple.el (with-wrapper-hook): Fix thinko.
16625 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16626 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16627 Use with-current-buffer and string-to-number.
16628 (hfy-fallback-colour-values): Use assoc-string.
16629 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16630 (hfy-face-at): Remove unused var `found-face'.
16631 (hfy-compile-stylesheet): Remove unused var `css'.
16632 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16634 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16635 Use with-current-buffer.
16636 (hfy-text-p): Use expand-file-name and fewer setq.
16638 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16640 * htmlfontify.el, hfy-cmap.el: New files.
16642 2009-11-19 Juri Linkov <juri@jurta.org>
16644 * minibuffer.el (completions-format): New defcustom.
16645 (completion--insert-strings): Implement vertical format.
16647 * simple.el (switch-to-completions): Move point to the first
16648 completion when point was at the beginning of the buffer.
16650 2009-11-19 Juri Linkov <juri@jurta.org>
16652 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16654 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16656 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16658 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16659 (mail-signature): Change default to t.
16660 (mail-from-style): Deprecate `system-default' value.
16661 (mail-insert-from-field): For default value of mail-from-style,
16662 default to `angles' unless `angles' needs quoting and `parens'
16664 (mail-citation-prefix-regexp): Use citation regexp from
16667 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16669 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16670 Set variables for computing the prompt for reading password.
16672 2009-11-19 Glenn Morris <rgm@gnu.org>
16674 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16676 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16678 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16679 (newsticker-treeview-listwindow-height): Fix custom type.
16681 2009-11-19 Kenichi Handa <handa@m17n.org>
16683 * descr-text.el (describe-char-padded-string): Compose with TAB
16684 only if there's a font for CH.
16685 (describe-char): Fix the condition for detecting a trivial composition.
16687 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16689 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16690 more accurate version of the regexp. (Bug#3910)
16692 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16694 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16696 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16698 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16699 (font-setting-change-default-font): Fix typo in docstring.
16701 2009-11-18 Alan Mackenzie <acm@muc.de>
16703 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16705 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16707 * font-setting.el (font-use-system-font): Move ...
16709 * cus-start.el (all): ... to here.
16711 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16713 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16714 Don't set `ad-return-value' if `ad-do-it' doesn't.
16716 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16719 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16721 * menu-bar.el: Put "Use system font" in Option-menu.
16722 (menu-bar-options-save): Add font-use-system-font.
16724 * loadup.el: If feature system-font-setting or font-render-setting is
16725 there, load font-setting.
16727 * Makefile.in (ELCFILES): Add font-settings.el.
16728 * font-setting.el: New file.
16730 2009-11-17 Glenn Morris <rgm@gnu.org>
16732 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16734 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16735 Preserve point in the list buffer. (Bug#4939)
16737 (newsticker--treeview-list-update-highlight)
16738 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16740 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16742 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16745 * calc/calc-ext.el (calc-init-extensions): Remove references to
16748 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16750 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16751 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16754 2009-11-16 Kevin Ryde <user42@zip.com.au>
16756 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16757 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16759 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16760 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16761 Ignore trailing spaces by omit-nulls to split-string (fixing
16762 regression from Emacs 21 due to the incompatible split-string
16763 change). (Bug #4928.)
16765 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16767 * vc.el (vc-log-show-limit): Default to 2000.
16768 (vc-print-log-internal): Insert buttons to request more entries
16769 when limiting the output.
16771 * vc-sccs.el (vc-sccs-print-log):
16772 * vc-rcs.el (vc-rcs-print-log):
16773 * vc-cvs.el (vc-cvs-print-log):
16774 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16777 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16779 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16780 error when `tramp-gvfs-dbus-event-vector' is set.
16781 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16783 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16785 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16787 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16789 * net/dbus.el (dbus-unregister-service): New defun.
16790 (dbus-register-property): Register the handlers of
16791 "org.freedesktop.DBus.Properties" for SERVICE.
16792 (dbus-property-handler): Fix docstring.
16794 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16796 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16797 Quote doc string reference in defvaralias as it is not in special form.
16798 (byte-compile-output-docform): Doc fix.
16800 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16802 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16803 (calc-complement-signed-mode): New variables.
16804 (calc-set-mode-line): Add indicator for twos-complements.
16805 (math-format-number): Format twos-complement notation.
16807 * calc/calc-bin.el (calc-word-size): Reset the variables
16808 `math-2-word-size' and `math-half-2-word-size'.
16809 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16810 (calc-symclip): New functions.
16812 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16814 * calc/calc-embed.el (calc-embedded-mode-vars):
16815 Add `calc-complement-signed-mode' to the list of modes.
16817 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16818 (calc-b-oper-keys): Add `calc-symclip' to list.
16820 * calc/calc-ext.el (math-read-number-fancy): Read complement
16822 (calc-init-extensions): Add binding for `calc-symclip'.
16823 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16825 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16827 (calc-modes-menu): Add item for twos complement mode.
16829 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16831 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16833 * register.el (jump-to-register, insert-register): Handle Semantic
16834 tags. From commented-out advice in semantic/senator.el.
16836 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16838 * vc.el (vc-log-show-limit): New variable.
16839 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16840 when using a prefix argument.
16841 (vc-print-log-internal): Add new argument LIMIT.
16843 * vc-svn.el (vc-svn-print-log):
16844 * vc-mtn.el (vc-mtn-print-log):
16845 * vc-hg.el (vc-hg-print-log):
16846 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16847 pass it to the log command when set. Make the BUFFER argument
16850 * vc-sccs.el (vc-sccs-print-log):
16851 * vc-rcs.el (vc-rcs-print-log):
16852 * vc-git.el (vc-git-print-log):
16853 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16854 ignore it. Make the BUFFER argument non-optional.
16856 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16858 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16860 * dired.el (dired-mode-map): Move encryption items to "Operate"
16863 * strokes.el (strokes-update-window-configuration): Make strokes
16864 buffer current before erasing (Bug#4906).
16866 2009-11-15 Juri Linkov <juri@jurta.org>
16868 * simple.el (set-mark-default-inactive): Add :type, :group
16869 and :version. (Bug#4876)
16871 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16873 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16874 (archive-unique-fname): ... here. (Bug#4929)
16876 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16878 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16881 * novice.el (disabled-command-function): Add useful args.
16882 Setup the help buffer so that [back] works.
16883 Remove redundant call to help-mode.
16884 (disabled-command-function): Use `case'.
16885 (en/disable-command): New function extracted from enable-command.
16886 (enable-command, disable-command): Use it.
16888 2009-11-14 Glenn Morris <rgm@gnu.org>
16890 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16891 constants. (Bug#4913)
16893 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16895 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16897 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16898 defined in C that have no doc-strings. (Bug#1063)
16900 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16902 * cus-edit.el (data, files):
16903 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16905 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16907 * simple.el (shell-command): Doc fix (Bug#4891).
16909 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16911 2009-11-14 Glenn Morris <rgm@gnu.org>
16913 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16914 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16915 If they are already loaded, eval-after-load will do the right thing.
16917 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16920 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16922 * simple.el (x-selection-owner-p): Declare.
16923 (read-mail-command): Use custom radio type rather than choice.
16924 (completion-no-auto-exit): Doc fix.
16926 * custom.el (defgroup):
16927 * epg-config.el (epg): Doc fixes.
16929 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16931 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16932 * international/ccl.el (define-ccl-program): Do not purecopy the
16933 docstring, defconst does it anyway.
16935 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16937 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16940 * x-dnd.el (x-dnd-maybe-call-test-function):
16941 * window.el (split-window-vertically):
16942 * whitespace.el (whitespace-help-on):
16943 * vc-rcs.el (vc-rcs-consult-headers):
16944 * userlock.el (ask-user-about-lock-help)
16945 (ask-user-about-supersession-help):
16946 * type-break.el (type-break-force-mode-line-update):
16947 * time-stamp.el (time-stamp-conv-warn):
16948 * terminal.el (te-set-output-log, te-more-break, te-filter)
16949 (te-sentinel, terminal-emulator):
16950 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16951 (term-write-input-ring, term-check-source, term-start-output-log):
16952 (term-display-buffer-line, term-dynamic-list-completions):
16953 (term-ansi-make-term, serial-term):
16954 * subr.el (selective-display):
16955 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16956 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16957 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16958 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16959 (speedbar-remove-localized-speedbar-support)
16960 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16961 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16962 (speedbar-buffers-line-directory):
16963 * simple.el (shell-command-on-region, append-to-buffer)
16964 (prepend-to-buffer):
16965 * shadowfile.el (shadow-save-todo-file):
16966 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16967 (scroll-bar-maybe-set-window-start):
16968 * sb-image.el (speedbar-image-dump):
16969 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16970 (load-save-place-alist-from-file):
16971 * ps-samp.el (ps-print-message-from-summary):
16972 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16973 (ps-background-image, ps-begin-job, ps-do-despool):
16974 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16975 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16976 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16977 (pr-call-process, pr-file-list, pr-interface-save):
16978 * novice.el (disabled-command-function)
16979 (enable-command, disable-command):
16980 * mouse.el (mouse-buffer-menu-alist):
16981 * mouse-copy.el (mouse-kill-preserving-secondary):
16982 * macros.el (kbd-macro-query):
16983 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16984 * informat.el (batch-info-validate):
16985 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16986 * hippie-exp.el (try-expand-dabbrev-visible):
16987 * help-mode.el (help-make-xrefs):
16988 * help-fns.el (describe-variable):
16989 * generic-x.el (bat-generic-mode-run-as-comint):
16990 * finder.el (finder-mouse-select):
16991 * find-dired.el (find-dired-sentinel):
16992 * filesets.el (filesets-file-close):
16993 * files.el (list-directory):
16994 * faces.el (list-faces-display, describe-face):
16995 * facemenu.el (list-colors-display):
16996 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16997 * epg.el (epg--process-filter, epg-cancel):
16998 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16999 (epa--read-signature-type):
17000 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17001 (emerge-file-names):
17002 * ehelp.el (electric-helpify):
17003 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17004 * ediff-vers.el (rcs-ediff-view-revision):
17005 * ediff-util.el (ediff-setup):
17006 * ediff-mult.el (ediff-append-custom-diff):
17007 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17009 * echistory.el (Electric-command-history-redo-expression):
17010 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17011 * disp-table.el (describe-display-table):
17012 * dired.el (dired-find-buffer-nocreate):
17013 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17014 * dabbrev.el (dabbrev--same-major-mode-p):
17015 * chistory.el (list-command-history):
17016 * apropos.el (apropos-documentation):
17017 * allout.el (allout-obtain-passphrase):
17018 (allout-copy-exposed-to-buffer):
17019 (allout-verify-passphrase): Use with-current-buffer.
17021 2009-11-13 Glenn Morris <rgm@gnu.org>
17023 * Makefile.in (ELCFILES): Regenerate.
17025 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17027 * net/dbus.el (dbus-registered-objects-table): Rename from
17028 `dbus-registered-functions-table', because it contains also properties.
17029 (dbus-unregister-object): Unregister also properties.
17030 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17031 Use a timeout of 500 msec, in order to not block.
17032 (dbus-register-property, dbus-property-handler): New defuns.
17034 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17036 * simple.el (minibuffer-default-add-completions): Drop deprecated
17039 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17041 * textmodes/artist.el (artist-mouse-choose-operation):
17042 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17043 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17044 (artist-compute-up-event-key): New function.
17045 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17047 2009-11-13 Kenichi Handa <handa@m17n.org>
17049 * language/japan-util.el: Make sure that the value of jisx0208
17050 property is jisx0208 character.
17052 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17054 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17055 car or each item, not the whole list.
17057 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17059 * minibuffer.el (minibuffer-completion-help):
17060 Use minibuffer-hide-completions.
17062 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17064 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17065 (dired-revert): Use them (bug#4880).
17067 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17069 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17071 2009-11-12 Juri Linkov <juri@jurta.org>
17073 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17075 (find-file-literally-at-point): Alias of `ffap-literally'.
17077 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17079 * textmodes/ispell.el (ispell-skip-region-alist):
17080 * textmodes/css-mode.el (auto-mode-alist):
17081 * progmodes/compile.el (auto-mode-alist):
17082 * international/mule.el (ctext-non-standard-encodings-alist)
17083 (ctext-non-standard-encodings-regexp):
17084 * simple.el (shell-command-switch, text-read-only):
17085 * replace.el (occur-mode-map):
17086 * paths.el (rmail-file-name):
17087 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17088 * find-file.el (ff-special-constructs):
17089 * files.el (file-name-handler-alist):
17090 * composite.el: Purecopy strings.
17092 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17094 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17096 * widget.el (define-widget): Purecopy the docstring.
17097 * international/mule-cmds.el (charset): Do not purecopy the
17098 docstring here, define-widget does it.
17100 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17101 * textmodes/bibtex-style.el (auto-mode-alist):
17102 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17103 * progmodes/compile.el (compile-command):
17104 * language/korea-util.el (default-korean-keyboard):
17105 * international/mule-conf.el (file-coding-system-alist):
17106 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17107 * tooltip.el (tooltip-frame-parameters):
17108 * newcomment.el (comment-end, comment-padding):
17109 * dired.el (dired-trivial-filenames):
17110 * comint.el (comint-file-name-prefix): Purecopy initial values.
17112 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17114 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17115 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17117 (tramp-advice-make-auto-save-file-name)
17118 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17119 after removing the advice.
17121 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17123 * progmodes/grep.el (grep-regexp-alist):
17124 * international/mule-cmds.el (iso-2022-control-alist):
17125 * emacs-lisp/timer.el (timer-duration-words):
17126 * subr.el (version-separator, version-regexp-alist):
17127 * minibuffer.el (completion-styles-alist):
17128 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17129 Change defvars to defconsts.
17131 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17132 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17133 * international/mule-conf.el: Allow to be byte compiled.
17135 * international/mule.el (define-charset): Purecopy props.
17136 (load-with-code-conversion): Purecopy doc string and file name.
17137 (put-charset-property): Purecopy strings.
17138 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17140 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17141 (define-char-code-property): Correctly purecopy the table.
17143 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17145 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17147 * subr.el (add-hook): Purecopy strings.
17148 (eval-after-load): Purecopy load-history-regexp and the form.
17150 * custom.el (custom-declare-group): Purecopy load-file-name.
17152 * subr.el (menu-bar-separator): New defconst.
17153 * net/eudc.el (eudc-tools-menu):
17154 * international/mule-cmds.el (set-coding-system-map)
17155 (mule-menu-keymap):
17156 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17157 * vc-hooks.el (vc-menu-map):
17158 * replace.el (occur-mode-map):
17159 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17160 (menu-bar-edit-menu, menu-bar-goto-menu)
17161 (menu-bar-custom-menu, menu-bar-showhide-menu)
17162 (menu-bar-options-menu, menu-bar-tools-menu)
17163 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17164 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17165 (menu-bar-help-menu):
17166 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17167 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17169 * term/x-win.el (x-gtk-stock-map):
17170 * progmodes/vera-mode.el (auto-mode-alist):
17171 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17172 (inferior-lisp-program, inferior-lisp-load-command):
17173 * progmodes/hideshow.el (hs-special-modes-alist):
17174 * progmodes/gud.el (same-window-regexps):
17175 * progmodes/grep.el (grep-program, find-program, xargs-program):
17176 * net/telnet.el (same-window-regexps):
17177 * net/rlogin.el (same-window-regexps):
17178 * language/ethiopic.el (font-ccl-encoder-alist):
17179 * vc-sccs.el (vc-sccs-master-templates):
17180 * vc-rcs.el (vc-rcs-master-templates):
17181 * subr.el (cl-assertion-failed):
17182 * simple.el (next-error-overlay-arrow-position):
17183 * lpr.el (lpr-command):
17184 * locate.el (locate-ls-subdir-switches):
17185 * info.el (same-window-regexps, info)
17186 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17187 * image-mode.el (image-mode, auto-mode-alist):
17188 * hippie-exp.el (hippie-expand-ignore-buffers):
17189 * format.el (format-alist):
17190 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17192 * facemenu.el (facemenu-keybindings):
17193 * dired.el (dired-listing-switches, dired-chown-program):
17194 * diff.el (diff-switches, diff-command):
17195 * cus-edit.el (same-window-regexps):
17196 * bindings.el (mode-line-mule-info)
17197 (mode-line-buffer-identification): Purecopy strings.
17199 2009-11-11 Juri Linkov <juri@jurta.org>
17201 * simple.el (dired-get-filename) <declare-function>:
17202 Tell the byte-compiler about dired-get-filename.
17203 (shell-command): In Dired mode, get filename from the current line
17204 as the default value.
17206 2009-11-10 Glenn Morris <rgm@gnu.org>
17208 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17209 * calendar/holidays.el, progmodes/cperl-mode.el:
17210 Update x-popup-menu declarations.
17212 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17213 (list-load-path-shadows): Use dolist.
17214 (list-load-path-shadows): Use with-current-buffer.
17216 2009-11-10 Juri Linkov <juri@jurta.org>
17218 * minibuffer.el (read-file-name): Support a list of default values
17219 in `default-filename'. Use the first file name where only one
17220 element is required. Doc fix.
17222 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17224 * net/dbus.el (dbus-unregister-object): Release service, if no
17225 other method is registered for it.
17227 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17229 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17230 bookmark-sort-flag is non-nil (Bug#4653).
17232 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17234 * emulation/cua-base.el: Add CUA property to some CC mode commands
17237 2009-11-08 Kevin Ryde <user42@zip.com.au>
17239 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17240 at end of sentence (Bug#4818).
17242 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17245 Handle "see declaration of" MSFT statements (Bug#4100).
17247 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17249 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17250 (tramp-advice-file-expand-wildcards): Unload via
17251 `ad-remove-advice'.
17253 * net/trampver.el: Update release number.
17255 2009-11-08 Kevin Ryde <user42@zip.com.au>
17257 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17260 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17262 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17263 in order to keep context in SELinux.
17265 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17267 * dired-aux.el (dired-query): Place cursor in echo area and allow
17270 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17271 menu item if not on a directory (Bug#4701).
17273 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17275 Sync with Tramp 2.1.17.
17277 * net/tramp.el (tramp-handle-copy-directory): Don't use
17278 `file-remote-p' (due to compatibility).
17280 * net/tramp-compat.el (tramp-compat-copy-directory)
17281 (tramp-compat-delete-directory): New defuns.
17283 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17284 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17285 Use `tramp-compat-delete-directory'.
17287 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17288 (tramp-smb-handle-delete-directory):
17289 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17291 * net/trampver.el: Update release number.
17293 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17295 * tar-mode.el (tar-copy): Call write-region on the right buffer
17298 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17299 by hand, if necessary (Bug#4878).
17301 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17303 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17304 align size column (Bug#4839).
17306 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17309 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17311 * progmodes/ld-script.el (auto-mode-alist):
17312 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17314 * cus-face.el (custom-declare-face): Purecopy face spec.
17316 2009-11-06 Kenichi Handa <handa@m17n.org>
17318 * international/uni-bidi.el: Re-generated.
17319 * international/uni-category.el: Re-generated.
17320 * international/uni-combining.el: Re-generated.
17321 * international/uni-mirrored.el: Re-generated.
17323 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17325 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17326 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17327 (tex-start-options, slitex-run-command, latex-run-command)
17328 (tex-run-command, tex-directory):
17329 * textmodes/ispell.el (ispell-html-skip-alists)
17330 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17331 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17332 (adaptive-fill-regexp):
17333 * textmodes/dns-mode.el (auto-mode-alist):
17334 * progmodes/python.el (interpreter-mode-alist):
17335 * progmodes/etags.el (tags-compression-info-list):
17336 * progmodes/etags.el (tags-file-name):
17337 * net/browse-url.el (browse-url-galeon-program)
17338 (browse-url-firefox-program):
17339 * mail/sendmail.el (mail-signature-file)
17340 (mail-citation-prefix-regexp):
17341 * international/mule-conf.el (eight-bit):
17342 * international/latexenc.el (latex-inputenc-coding-alist):
17343 * international/fontset.el (x-pixel-size-width-font-regexp):
17344 * emacs-lisp/warnings.el (warning-type-format):
17345 * emacs-lisp/trace.el (trace-buffer):
17346 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17347 (emacs-lisp-mode-map):
17348 * calendar/holidays.el (holiday-solar-holidays)
17349 (holiday-bahai-holidays, holiday-islamic-holidays)
17350 (holiday-christian-holidays, holiday-hebrew-holidays)
17351 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17352 (hebrew-holidays-1, holiday-oriental-holidays)
17353 (holiday-general-holidays):
17354 * x-dnd.el (x-dnd-known-types):
17355 * tool-bar.el (tool-bar):
17356 * startup.el (site-run-file):
17357 * shell.el (shell-dumb-shell-regexp):
17358 * rfn-eshadow.el (file-name-shadow-tty-properties)
17359 (file-name-shadow-properties):
17360 * paths.el (remote-shell-program, news-directory):
17361 * mouse.el ([C-down-mouse-3]):
17362 * menu-bar.el (menu-bar-tools-menu):
17363 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17364 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17365 (jka-compr-compression-info-list):
17366 * isearch.el (search-whitespace-regexp):
17367 * image-file.el (image-file-name-extensions):
17368 * find-dired.el (find-ls-option):
17369 * files.el (directory-listing-before-filename-regexp)
17370 (directory-free-space-args, insert-directory-program)
17371 (list-directory-brief-switches, magic-fallback-mode-alist)
17372 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17373 (automount-dir-prefix):
17374 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17375 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17376 (face-font-registry-alternatives, face-font-registry-alternatives)
17377 (face-font-family-alternatives):
17378 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17379 (facemenu-foreground-menu, facemenu-face-menu):
17380 * epa-hook.el (epa-file-name-regexp):
17381 * dnd.el (dnd-protocol-alist):
17382 * textmodes/rst.el (auto-mode-alist):
17383 * button.el (default-button): Purecopy strings.
17385 2009-11-06 Glenn Morris <rgm@gnu.org>
17387 * Makefile.in (ELCFILES): Update.
17389 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17391 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17392 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17394 * nxml/xsd-regexp.el (xsdre-gen-categories):
17395 * nxml/xmltok.el (xmltok-parse-entity):
17396 * nxml/rng-parse.el (rng-parse-validate-file):
17397 * nxml/rng-maint.el (rng-format-manual)
17398 (rng-manual-output-force-new-line):
17399 * nxml/rng-loc.el (rng-save-schema-location-1):
17400 * nxml/rng-cmpct.el (rng-c-parse-file):
17401 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17402 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17404 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17406 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17407 Remove extra save-excursions and make-variable-buffer-local's.
17408 Suggested by Stefan Monnier.
17410 (verilog-getopt-file, verilog-module-inside-filename-p)
17411 (verilog-set-define): Merge GNU 1.35 and repair changes from
17412 switching to using with-current-buffer.
17414 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17415 being treated as a number and confusing AUTORESET.
17416 Reported by Dan Dever.
17418 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17419 Add verilog-auto-ignore-concat to fix backward compatibility with
17420 older verilog-modes. Reported by Dan Katz.
17422 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17423 containing closing anchors "...$".
17425 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17426 Reported by Wade Smith.
17428 (verilog-batch-execute-func): Comment on function usage.
17430 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17432 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17435 (verilog-label-re, verilog-calc-1): Support proper indent of named
17438 (verilog-backward-token, verilog-basic-complete-re)
17439 (verilog-beg-of-statement, verilog-indent-re): Support proper
17440 indent of the assert statement at the beginning of a block of text.
17442 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17443 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17446 2009-11-05 Glenn Morris <rgm@gnu.org>
17448 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17449 Emacs 19. (Bug#1531)
17450 (byte-compile-fix-header): Update for the above change.
17451 Drop test for epoch::version.
17453 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17454 * cus-dep.el (custom-make-dependencies):
17455 * finder.el (finder-compile-keywords):
17456 Use autoload-rubric's feature argument.
17458 * calendar/diary-lib.el (top-level): Make load behave more like require.
17460 * vc-git.el (vc-git-stash-map): Move definition before use.
17462 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17464 * custom.el (custom-declare-group): Purecopy standard-value.
17465 (custom-declare-group): Purecopy custom-prefix.
17467 * international/mule.el (load-with-code-conversion):
17468 Call do-after-load-evaluation unconditionally.
17470 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17472 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17474 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17476 2009-11-04 Glenn Morris <rgm@gnu.org>
17478 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17479 (byte-compile-compatibility): Remove option.
17480 (byte-compile-close-variables, byte-compile-fix-header)
17481 (byte-compile-insert-header, byte-compile-output-docform)
17482 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17483 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17484 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17485 (byte-compile-insert, byte-compile-defun):
17486 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17487 (byte-defop-compiler19): Remove.
17488 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17489 used by anything. Replace all calls with byte-defop-compiler.
17491 2009-11-04 Juri Linkov <juri@jurta.org>
17493 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17494 (menu-bar-options-menu): Don't quote the `prop' arg of
17495 `menu-bar-make-mm-toggle'.
17497 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17499 * calendar/calendar.el (cal-loaddefs):
17500 * calendar/diary-lib.el (diary-loaddefs):
17501 * calendar/holidays.el (hol-loaddefs):
17502 * eshell/esh-module.el (esh-groups): Load rather than require.
17504 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17506 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17508 (todo-top-priorities): Only display-buffer when called interactively.
17509 (todo-item-start): Don't save excursion point.
17510 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17511 (todo-insert-item-here, todo-file-item, todo-remove-item):
17512 Adjust uses of todo-item-start and todo-item-end.
17514 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17515 (autoload-rubric): Don't use any more.
17517 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17518 and only put a prop if it is non-nil.
17520 2009-11-03 Juri Linkov <juri@jurta.org>
17522 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17523 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17525 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17526 and "Menu" to make top-level menu item visually one unit (like
17527 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17528 multi-word menu items). Fix :help string for quit-window.
17530 2009-11-03 Glenn Morris <rgm@gnu.org>
17532 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17533 (byte-compile-file-form-define-abbrev-table)
17534 (byte-compile-file-form-custom-declare-variable)
17535 (byte-compile-variable-ref, byte-compile-defvar):
17536 Whether or not a warning is enabled should only affect whether we issue
17537 the warning, not whether or not we collect the relevant data.
17538 Eg warnings can be turned on and off throughout the course of a file.
17540 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17541 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17543 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17545 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17546 * play/mpuz.el (mpuz-create-buffer):
17547 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17548 (lm-print-y,s,noise, lm-print-w0, lm-init):
17549 * play/gomoku.el (gomoku-prompt-for-move):
17550 * play/fortune.el (fortune-in-buffer):
17551 * play/dissociate.el (dissociated-press):
17552 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17553 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17554 * mail/supercite.el (sc-eref-show):
17555 * mail/smtpmail.el (smtpmail-send-it):
17556 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17557 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17558 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17559 (rmail-summary-goto-msg, rmail-summary-expunge)
17560 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17561 (rmail-summary-add-label, rmail-summary-output-menu)
17562 (rmail-summary-output-body):
17563 * mail/rfc822.el (rfc822-addresses):
17564 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17565 * mail/mailpost.el (post-mail-send-it):
17566 * mail/hashcash.el (hashcash-generate-payment):
17567 * mail/feedmail.el (feedmail-run-the-queue)
17568 (feedmail-queue-send-edit-prompt-help-first)
17569 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17570 (feedmail-deduce-address-list):
17571 * eshell/esh-ext.el (eshell-remote-command):
17572 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17573 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17574 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17575 (viper-save-string-in-file, viper-valid-marker):
17576 * emulation/viper-keym.el (viper-toggle-key):
17577 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17578 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17579 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17580 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17581 (viper-exec-form-in-emacs, viper-brac-function):
17582 * emulation/viper.el (viper-delocalize-var):
17583 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17584 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17585 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17586 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17587 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17588 * emulation/edt.el (edt-electric-helpify):
17589 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17590 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17591 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17592 (cua-indent-to-global-mark-column):
17593 * calendar/diary-lib.el (calendar-mark-1):
17594 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17595 Use with-current-buffer.
17596 * emulation/viper.el (viper-delocalize-var): Use dolist.
17598 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17600 * comint.el (comint-replace-by-expanded-history-before-point):
17601 Replace !! with the previous input string literally (Bug#1795).
17603 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17605 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17606 to be made up of whitespace.
17608 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17610 * minibuffer.el (read-file-name): Don't use file dialogs for
17611 remote directories (Bug#99).
17613 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17615 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17617 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17619 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17620 instead of deleting the window or frame.
17622 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17624 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17625 Support face colors.
17627 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17628 New function. Support face colors (Bug#1168).
17629 (tex-common-initialization): Use it.
17631 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17632 mode allows it (Bug#1168).
17634 2009-10-31 Juri Linkov <juri@jurta.org>
17636 * facemenu.el (list-colors-display): Don't mark buffer as
17637 modified (Bug#3948).
17639 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17641 * international/mule-diag.el (list-character-sets-1):
17642 Minor message fix (Bug#3526).
17644 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17645 Fix face property (Bug#4834).
17646 (etags-list-tags, etags-tags-apropos-additional)
17647 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17650 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17653 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * textmodes/two-column.el (2C-split):
17656 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17657 * textmodes/tex-mode.el (tex-set-buffer-directory):
17658 * textmodes/spell.el (spell-region, spell-string):
17659 * textmodes/reftex.el (reftex-erase-buffer):
17660 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17661 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17662 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17663 (reftex-select-item):
17664 * textmodes/reftex-ref.el (reftex-label-info-update)
17665 (reftex-offer-label-menu):
17666 * textmodes/reftex-index.el (reftex-index-change-entry)
17667 (reftex-index-phrases-info):
17668 * textmodes/reftex-global.el (reftex-create-tags-file)
17669 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17670 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17671 (reftex-view-crossref-from-bibtex):
17672 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17673 (reftex-extract-bib-entries-from-thebibliography)
17674 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17675 * textmodes/refbib.el (r2b-capitalize-title):
17676 (r2b-convert-buffer, r2b-help):
17677 * textmodes/page-ext.el (pages-directory)
17678 (pages-directory-goto-with-mouse):
17679 * textmodes/bibtex.el (bibtex-validate-globally):
17680 * textmodes/bib-mode.el (bib-capitalize-title):
17681 * textmodes/artist.el (artist-clear-buffer, artist-system):
17682 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17683 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17684 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17685 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17686 (xscheme-send-control-g-interrupt, xscheme-start-process)
17687 (xscheme-process-sentinel, xscheme-cd):
17688 * progmodes/verilog-mode.el (verilog-read-always-signals)
17689 (verilog-set-define, verilog-getopt-file)
17690 (verilog-module-inside-filename-p):
17691 * progmodes/sh-script.el:
17692 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17693 (python-pdbtrack-grub-for-buffer, python-execute-file):
17694 * progmodes/octave-inf.el (inferior-octave):
17695 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17696 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17697 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17698 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17699 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17700 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17701 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17702 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17703 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17704 (idlwave-shell-examine-display, idlwave-shell-run-region)
17705 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17706 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17707 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17708 (idlwave-help-get-help-buffer):
17709 * progmodes/gud.el (gud-basic-call, gud-find-class)
17710 (gud-tooltip-activate-mouse-motions-if-enabled):
17711 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17712 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17713 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17714 (ebrowse-tags-next-file):
17715 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17716 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17717 (ebnf-eps-finish-and-write):
17718 * progmodes/cpp.el (cpp-edit-save):
17719 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17720 * progmodes/cc-defs.el (c-emacs-features):
17721 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17722 (antlr-directory-dependencies):
17723 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17724 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17725 (ada-find-any-references, ada-make-filename-from-adaname)
17726 (ada-make-body-gnatstub):
17727 * obsolete/rnews.el (news-list-news-groups):
17728 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17729 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17730 * net/rcirc.el (rcirc-debug):
17731 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17732 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17733 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17734 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17735 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17736 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17737 (newsticker--treeview-list-clear-highlight)
17738 (newsticker--treeview-list-update-highlight)
17739 (newsticker--treeview-list-highlight-start)
17740 (newsticker--treeview-tree-update-highlight)
17741 (newsticker--treeview-get-selected-item)
17742 (newsticker-treeview-mark-list-items-old)
17743 (newsticker--treeview-set-current-node):
17744 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17745 * net/newst-backend.el (newsticker--get-news-by-funcall)
17746 (newsticker--get-news-by-wget, newsticker--image-get)
17747 (newsticker--image-sentinel):
17748 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17749 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17750 (eudc-ph-close-session):
17751 * net/eudc.el (eudc-save-options):
17752 * language/thai-word.el (thai-update-word-table):
17753 * language/japan-util.el (japanese-string-conversion):
17754 * international/titdic-cnv.el (tsang-quick-converter)
17755 (ziranma-converter, ctlau-converter):
17756 * international/mule-cmds.el (describe-language-environment):
17757 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17758 (skkdic-convert-postfix, skkdic-convert-prefix):
17759 (skkdic-convert-okuri-nasi, skkdic-convert):
17760 * emacs-lisp/re-builder.el (reb-update-overlays):
17761 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17762 * emacs-lisp/gulp.el (gulp-send-requests):
17763 * emacs-lisp/find-gc.el (trace-call-tree):
17764 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17765 (eieio-describe-generic):
17766 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17767 * emacs-lisp/edebug.el (edebug-outside-excursion):
17768 * emacs-lisp/debug.el (debugger-make-xrefs):
17769 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17770 * emacs-lisp/chart.el (chart-new-buffer):
17771 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17772 Use with-current-buffer.
17773 * textmodes/artist.el (artist-system): Don't call
17774 copy-sequence on a fresh string.
17775 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17777 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17779 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17780 is no item to edit. (Bug#4820)
17781 (todo-top-priorities): Restore point and restore narrowing in Todo
17784 2009-10-31 Glenn Morris <rgm@gnu.org>
17786 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17787 (comint-last-output-start, comint-last-input-start)
17788 (comint-last-input-end): Don't defvar when compiling.
17789 (ange-ftp-process-file): Use bound-and-true-p.
17791 * pcmpl-rpm.el (top-level): Move provide statement to end.
17792 (pcmpl-rpm): Remove unused custom group.
17794 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17796 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17798 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17799 (byte-compile-warnings): Add `constants' as an option.
17800 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17801 (display-call-tree): Update for byte-compile-fdefinition possibly
17802 returning `(macro lambda ...)'. (Bug#4778)
17803 (byte-compile-variable-ref, byte-compile-setq-default):
17804 Respect `constants' member of byte-compile-warnings.
17806 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17809 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17812 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17814 * textmodes/ispell.el (ispell-skip-region-alist):
17815 * international/mule-conf.el (eight-bit):
17816 * international/fontset.el (font-encoding-alist):
17817 * startup.el (pure-space-overflow-message):
17818 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17819 * paths.el (gnus-nntp-service, rmail-spool-directory)
17820 (term-file-prefix):
17821 * files.el (save-some-buffers-action-alist):
17822 * cmuscheme.el (same-window-buffer-names):
17823 * ielm.el (same-window-buffer-names):
17824 * shell.el (same-window-buffer-names):
17825 * mail/sendmail.el (same-window-buffer-names):
17826 * progmodes/inf-lisp.el (same-window-buffer-names):
17827 * bindings.el (mode-line-client)
17828 (mode-line-column-line-number-mode-map):
17829 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17830 (tibetan-precomposed-regexp): Purecopy string arguments.
17832 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17834 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17835 (calcDigit-nondigit):
17836 * calc/calc-yank.el (calc-copy-to-buffer):
17837 * calc/calc-units.el (calc-invalidate-units-table):
17838 * calc/calc-trail.el (calc-trail-yank):
17839 * calc/calc-store.el (calc-insert-variables):
17840 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17841 * calc/calc-prog.el (calc-read-parse-table):
17842 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17843 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17844 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17845 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17846 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17847 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17848 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17849 * calc/calc-ext.el (calc-realign):
17850 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17851 (calc-embedded-finish-edit, calc-embedded-make-info)
17852 (calc-embedded-finish-command, calc-embedded-stack-change):
17853 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17855 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17856 shell-dynamic-complete-filename in preference to
17857 comint-dynamic-complete-filename.
17859 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17860 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17861 Don't consider whether the display supports colors.
17862 (bookmark-import-new-list): Use dolist.
17863 (bookmark-bmenu-mode-map): Move initialization into declaration.
17864 (bookmark-bmenu-list): Use dolist, simplify.
17865 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17866 (menu-bar-final-items): Use push.
17868 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17870 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17871 it works on remote files.
17872 (vc-hg-diff): Don't pass any `--cwd' argument.
17874 2009-10-27 Kevin Ryde <user42@zip.com.au>
17876 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17877 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17878 (Further to Bug#3921).
17880 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17882 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17883 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17884 calling `tramp-imap-put-file'. Add file size to the call.
17885 (tramp-imap-get-file-entries): Compute also user name, file size,
17887 (tramp-imap-handle-insert-directory): Insert uid and gid.
17888 (tramp-imap-handle-file-attributes): Transform uid and gid
17889 according to `id-format'.
17890 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17891 size in header X-Size.
17893 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17895 * simple.el (transpose-subr): Give clearer error when the mark
17896 is not set. (Bug#4807)
17898 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17900 * net/tramp.el (tramp-perl-file-truename): New defconst.
17901 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17902 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17903 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17904 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17906 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17907 Ignore `dired-call-process'.
17908 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17910 2009-10-26 Julian Scheid <julians37@gmail.com>
17912 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17913 (tramp-get-remote-readlink): New defun.
17914 (tramp-handle-file-truename): Use it.
17915 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17916 file exists if cache value present.
17917 (tramp-check-cached-permissions): New defun.
17918 (tramp-handle-file-readable-p): Use it.
17919 (tramp-handle-file-writable-p): Likewise.
17920 (tramp-handle-file-executable-p): Likewise.
17921 (tramp-handle-file-name-all-completions): Try using Perl to get
17922 partial completions. When perl not available, combine `cd' and
17923 `ls' into single remote operation and use shell expansion to get
17924 partial remote directory contents. Set `file-exists-p' cache for
17925 directory and any files returned by ls. Change cache handling to
17926 support partial directory contents. Use error message emitted by
17927 remote `cd' or Perl code for local tramp-error.
17928 (tramp-do-copy-or-rename-file-directly): Avoid separate
17929 tramp-send-command-and-check call.
17930 (tramp-handle-process-file): Merge three remote ops into one.
17931 Do not flush all caches when `process-file-side-effects' is set.
17932 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17933 file-attributes shows uid/gid to be set already.
17935 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17937 * textmodes/tex-mode.el (tex-dvi-view-command)
17938 (tex-show-queue-command, tex-open-quote):
17939 * progmodes/ruby-mode.el (auto-mode-alist)
17940 (interpreter-mode-alist): Purecopy strings.
17942 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17944 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17945 string for the hook, keymap and abbrev table.
17947 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17949 * x-dnd.el (x-dnd-xdnd-to-action):
17950 * startup.el (fancy-startup-text, fancy-about-text): Change to
17951 defconst from defvar.
17953 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17955 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17956 Purecopy initialization strings.
17958 * mail/sendmail.el (mail-header-separator)
17959 (mail-personal-alias-file):
17960 * mail/rmail.el (rmail-default-dont-reply-to-names)
17961 (rmail-ignored-headers, rmail-retry-ignored-headers)
17962 (rmail-highlighted-headers, rmail-secondary-file-directory)
17963 (rmail-secondary-file-regexp):
17964 * files.el (null-device, file-name-invalid-regexp)
17965 (locate-dominating-stop-dir-regexp)
17966 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17967 (interpreter-mode-alist): Use mapcar instead of mapc.
17969 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17971 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17972 (completion-ignored-extensions):
17973 (debug-ignored-errors): Purecopy strings.
17975 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17977 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17978 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17979 (pcomplete--here): Use push.
17981 * subr.el (all-completions): Declare the 4th arg obsolete.
17983 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17985 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17986 (pcomplete-unquote-argument): New function.
17987 (pcomplete--common-suffix): Always pay attention to case.
17988 (pcomplete--table-subvert): Quote and unquote the text.
17989 (pcomplete--common-quoted-suffix): New function.
17990 (pcomplete-std-complete): Use it and pcomplete-begin.
17992 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17993 we're inside a dedicated or minibuffer window.
17995 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17997 * bookmark.el: Update documentation, especially documentation
17998 of `bookmark-alist' and of the bookmark file format.
17999 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18001 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18003 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18004 keybindings apply to the mail buffer (Bug#4003). Shrink help
18007 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18008 (global-whitespace-mode, global-whitespace-newline-mode)
18009 (whitespace-toggle-options, global-whitespace-toggle-options):
18010 Doc fix (Bug#3660).
18012 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18013 of xmltok-start before the end tag was inserted (Bug#2840).
18015 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18016 patterns that are preceded by an open-paren (Bug#1320).
18018 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18020 * files.el (delete-directory): Delete symlinks to directories with
18021 delete-file (Bug#4739).
18023 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18025 * vc.el (vc-backend-for-registration): Rename from
18026 vc-get-backend-for-registration. Update callers.
18028 * international/mule-cmds.el (set-language-info-alist):
18030 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18031 (charset): Purecopy the name.
18032 (define-char-code-property): Purecopy string arguments.
18034 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18035 Purecopy string arguments.
18037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18038 * ediff-hook.el (menu-bar-ediff-menu):
18039 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18040 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18042 2009-10-24 Glenn Morris <rgm@gnu.org>
18044 * comint.el (comint-dynamic-list-completions):
18045 * term.el (term-dynamic-list-completions): Use choose-completion rather
18046 than obsolete alias mouse-choose-completion.
18048 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18049 file-cache-choose-completion.
18050 (file-cache-choose-completion): Handle an optional event argument.
18051 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18053 * progmodes/octave-mod.el (octave-complete-symbol):
18054 Use choose-completion if mouse-choose-completion is ever removed.
18056 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18059 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18062 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18064 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18066 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18067 Ignore `pred' now that we receive one.
18068 Handle test-completion specially.
18070 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18072 * vc.el (vc-responsible-backend): Throw an error if not backend is
18073 found. Remove the REGISTER argument. Move the code dealing with
18075 (vc-get-backend-for-registration): ... here. New function.
18076 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18077 of vc-responsible-backend, pass the file name instead of the
18080 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18084 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18085 (pcomplete-comint-setup): Don't modify a global var via
18086 accidental side-effects.
18087 (pcomplete-shell-setup): Adjust call accordingly.
18088 (pcomplete-parse-comint-arguments): Use push.
18090 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18092 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18093 Allow uncapitalized info node names (Bug#3921).
18095 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18096 to the DEBUG file (Bug#3781).
18098 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18100 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18101 dictionary entry (Bug#4579).
18103 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18105 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18106 from `rfn-eshadow-update-overlay-hook' when unloading.
18107 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18108 "rsyncc". Adjust doc string.
18109 (tramp-temp-buffer-file-name): New buffer-local defvar.
18110 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18111 Keep temporary file when indicated by method ("rsync" and
18113 (tramp-handle-write-region): Handle APPEND.
18114 (tramp-delete-temp-file-function): New defun. Added to
18115 `kill-buffer-hook'.
18117 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18119 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18121 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18123 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18124 (color-name-rgb-alist, tty-standard-colors)
18125 (tty-color-mode-alist): Change to defconst.
18127 * simple.el (mark-inactive): Purecopy message.
18129 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18130 (global-map, yank-menu):
18131 * textmodes/ispell.el (ispell-menu-map):
18132 * net/eudc.el (eudc-tools-menu):
18133 * international/mule-cmds.el (describe-language-environment-map)
18134 (setup-language-environment-map, set-coding-system-map)
18135 (mule-menu-keymap):
18136 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18137 * replace.el (occur-mode-map):
18138 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18140 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18142 * calc/calc.el (math-read-number, math-read-number-simple):
18143 Use `save-match-data'.
18145 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18148 rather than fiddling with global-map bindings, since it should only
18149 affect per-terminal settings.
18150 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18152 * minibuffer.el (completion-table-with-terminator): Allow to specify
18153 the terminator-regexp.
18155 * simple.el (switch-to-completions): Look for *Completions* in other
18158 * pcomplete.el: Allow the use of completion-tables.
18159 (pcomplete-std-complete): New command.
18160 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18161 (pcomplete--here): Use a function for `form' rather than an expression,
18162 so it can be byte-compiled.
18163 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18164 Add edebug declaration.
18165 (pcomplete-show-completions): Remove unused var `curbuf'.
18166 (pcomplete-do-complete, pcomplete-stub):
18167 Don't assume `completions' is a list of strings any more.
18169 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18171 * find-dired.el (find-name-arg): Fix typo in docstring.
18173 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18175 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18176 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18178 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18181 * comint.el (comint-read-input-ring, comint-write-input-ring)
18182 (comint-substitute-in-file-name)
18183 (comint-dynamic-complete-as-filename)
18184 (comint-dynamic-simple-complete)
18185 (comint-dynamic-list-filename-completions)
18186 (comint-dynamic-list-completions)
18187 (comint-redirect-results-list-from-process): Minor simplifications.
18189 2009-10-21 Kevin Ryde <user42@zip.com.au>
18191 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18192 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18193 the first form. And insert a blank line after ";;; Code" since
18194 that's usual style. (Bug#4612)
18196 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18198 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18200 * minibuffer.el (completion-table-with-terminator): Properly implement
18201 boundaries, in case `terminator' appears in the suffix.
18202 (completion--embedded-envvar-table): Don't return boundaries if
18203 there's no valid completion. Simplify.
18204 (completion-file-name-table): New completion table extracted from
18205 completion--file-name-table.
18206 (completion--file-name-table): Use it.
18207 (read-file-name-predicate): Declare obsolete.
18208 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18209 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18210 completion-file-name-table, and use the `pred' argument.
18211 * files.el (locate-file-completion-table): Use the `pred' arg rather
18212 than read-file-name-predicate.
18213 (abbreviate-file-name): Use \` rather than ^ for BOS.
18215 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18217 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18218 vc-responsible-backend to register, it causes problems.
18220 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18222 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18224 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18226 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18227 (tramp-smb-handle-file-attributes): Use it.
18228 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18229 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18230 `mapcar'. Use `tramp-smb-get-stat-capability'.
18231 Add `dired-filename' text properties.
18232 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18233 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18236 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18238 * subr.el (read-key-delay): Reduce to 0.01.
18239 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18242 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18244 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18246 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18247 (Info-menu): Remove unused vars `last' and `completions'.
18248 (Info-index-nodes): Remove unused var `node'.
18250 * info.el (Info-complete-menu-item): Use complete-with-action.
18252 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18254 Make vc-annotate work through copies and renames.
18255 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18256 Return the file name too.
18257 (vc-annotate-revision-at-line)
18258 (vc-annotate-find-revision-at-line)
18259 (vc-annotate-revision-previous-to-line)
18260 (vc-annotate-show-log-revision-at-line): Update to get the file
18261 name from vc-annotate-extract-revision-at-line.
18262 (vc-annotate-show-diff-revision-at-line-internal): Change the
18263 argument to mean whether to show a file diff or not. Get the file
18264 name from vc-annotate-extract-revision-at-line.
18265 (vc-annotate-show-diff-revision-at-line):
18266 Update vc-annotate-show-diff-revision-at-line call.
18267 (vc-annotate-warp-revision): Add an optional file argument.
18269 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18270 (vc-git-annotate-extract-revision-at-line): Also return the file
18273 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18274 command. Remove unused code.
18275 (vc-hg-annotate-re): Update to match --follow output.
18276 (vc-hg-annotate-extract-revision-at-line): Also return the file
18279 * vc.el: Update annotate-extract-revision-at-line documentation.
18281 2009-10-18 Kevin Ryde <user42@zip.com.au>
18283 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18284 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18286 * net/browse-url.el (browse-url): Identify alist with "consp and
18287 not functionp" and let all other things go down the `apply' leg,
18288 as suggested by Stefan. (Further to bug#4531.)
18290 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18292 * minibuffer.el (read-file-name): Check for repeat before putting
18293 a default argument in file-name-history (Bug#4657).
18295 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18296 read syntax (Bug#4737).
18298 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18300 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18302 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18303 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18304 entries and make note of obsolete tags.
18306 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18310 2009-10-18 Glenn Morris <rgm@gnu.org>
18312 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18313 grep, so that binary files (eg international/uni-bidi.el) can match.
18314 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18315 now, and in any case the file header format has changed.
18317 2009-10-17 Glenn Morris <rgm@gnu.org>
18319 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18320 (flyspell-get-word, flyspell-large-region)
18321 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18323 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18325 * Makefile.in (ELCFILES): Add ede/shell.
18327 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18329 * term/common-win.el (x-colors): Purecopy it.
18331 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18333 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18334 permissive for when the buffer is empty.
18335 (tar-header-block-tokenize): Decode the username and groupname.
18336 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18338 2009-10-17 Eric Ludlam <zappo@gnu.org>
18340 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18341 contains multibyte characters, choose first applicable coding
18342 system automatically.
18344 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18346 * international/mule-cmds.el (select-safe-coding-system): If the file
18347 has a coding cookie, use it regardless of any other setting (bug#4712).
18349 2009-10-17 Glenn Morris <rgm@gnu.org>
18351 * foldout.el (foldout-mouse-swallow-events):
18352 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18354 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18355 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18356 (dired-keep-marker-symlink, dired-dwim-target)
18357 (dired-copy-preserve-time): Do not autoload these defcustoms.
18359 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18360 messages from messing up the file coding. (Bug#4623)
18362 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18364 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18365 if no match is found for the current dictionary. (Bug#4578)
18367 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18368 optional, since that is how it is documented, and this is often called
18369 with a nil argument. (Bug#4577)
18370 (flyspell-external-point-words, flyspell-auto-correct-word)
18371 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18372 (flyspell-word-search-backward): Remove nil argument in calls to
18373 flyspell-get-word, since it is not needed now.
18375 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18377 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18379 2009-10-16 Glenn Morris <rgm@gnu.org>
18381 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18383 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18385 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18386 (ange-ftp-file-size): New function.
18387 (ange-ftp-file-attributes): Use it.
18389 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18391 * net/tramp-smb.el (tramp-smb-version): New defvar.
18392 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18395 2009-10-16 Glenn Morris <rgm@gnu.org>
18397 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18398 Maybe copy some custom properties from old to new name. (Bug#4706)
18400 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18402 * subr.el (error, sit-for, start-process-shell-command)
18403 (start-file-process-shell-command): Set the calling convention
18404 after the function definition.
18406 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * subr.el (error, sit-for, start-process-shell-command)
18409 (start-file-process-shell-command): Use the new
18410 set-advertised-calling-convention feature.
18412 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18414 * international/ucs-normalize.el (ucs-normalize-version):
18416 (check-range): Adjust for Unicode 5.2.
18418 2009-10-15 Juri Linkov <juri@jurta.org>
18420 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18421 to the `menu-item' format.
18423 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18425 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18426 if the environment variable does not exist.
18428 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18429 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18431 (tramp-smb-handle-add-name-to-file)
18432 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18433 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18434 (tramp-smb-handle-file-attributes)
18435 (tramp-smb-do-file-attributes-with-stat)
18436 (tramp-smb-handle-file-local-copy)
18437 (tramp-smb-handle-insert-directory)
18438 (tramp-smb-handle-make-directory)
18439 (tramp-smb-handle-make-directory-internal)
18440 (tramp-smb-handle-make-symbolic-link)
18441 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18442 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18443 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18444 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18445 Handle long file names.
18446 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18447 process is running.
18448 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18449 Read share names with "-g" option.
18451 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18453 * net/rcirc.el (rcirc-view-log-file): New command.
18454 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18455 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18458 2009-10-15 Glenn Morris <rgm@gnu.org>
18460 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18461 from the second command-line argument.
18462 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18463 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18464 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18465 w32-batch-update-autoloads.
18466 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18467 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18469 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18470 the headers cannot be located. Simplify, subtracting superflous
18473 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18475 Replace completion-base-size by completion-base-position to fix bugs
18476 such as (bug#4699).
18477 * simple.el (completion-base-position): New var.
18478 (completion-base-size): Mark as obsolete.
18479 (choose-completion): Make it work for mouse events as well.
18480 Pass the new base-position to choose-completion-string.
18481 (choose-completion-guess-base-position): New function, extracted from
18482 choose-completion-delete-max-match.
18483 (choose-completion-delete-max-match): Use it. Make obsolete.
18484 (choose-completion-string): Use the new base-position info.
18485 (completion-root-regexp): Delete.
18486 (completion-setup-function): Preserve completion-base-position.
18487 Eliminate obsolete base-size manipulation.
18488 * minibuffer.el (display-completion-list): Don't mess with base-size.
18489 (minibuffer-completion-help): Set completion-base-position instead.
18490 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18492 * textmodes/bibtex.el (bibtex-complete):
18493 * emacs-lisp/crm.el (crm--choose-completion-string):
18494 Adjust to new calling convention.
18495 * complete.el (partial-completion-mode): Use minibufferp to avoid
18496 bumping into incompatible change to choose-completion-string-functions.
18497 * ido.el (ido-choose-completion-string): Make its calling convention
18499 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18500 base-size manipulation.
18501 (comint-dynamic-list-input-ring): Use dotimes and push.
18502 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18503 fundamental-mode. Use `or'.
18505 2009-10-14 Juri Linkov <juri@jurta.org>
18507 * misearch.el (multi-isearch-next-buffer-from-list)
18508 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18510 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18512 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18515 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18516 string we return is all made up of text from the completions rather
18517 than part from the completions and part from the input (bug#4219).
18519 * ido.el (ido-everywhere): Use define-minor-mode.
18521 * buff-menu.el (list-buffers, ctl-x-map):
18522 Mark the entry points with ;;;###autoload cookies.
18524 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18526 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18527 correctly in the detached head case.
18528 (vc-git-print-log): Remove unused binding.
18530 * vc.el (vc-responsible-backend): When a directory is passed for
18531 for registration create a VC repository if no backend is
18532 responsible for the directory argument.
18533 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18535 * vc.el: Move comments about RCS and SCCS ...
18537 * vc-sccs.el: ... here, respectively.
18539 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18541 * minibuffer.el (completion--file-name-table): Return nil if there's
18542 no file completion, even if substitute-in-file-name changed
18543 the string (bug#4708).
18545 2009-10-13 Juri Linkov <juri@jurta.org>
18547 * files-x.el (read-file-local-variable-value): Don't filter out
18548 minor modes from mode name completion (bug#4664).
18550 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18552 * international/mule-cmds.el (ucs-names): Remove exclusion of
18553 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18555 2009-10-13 Kenichi Handa <handa@m17n.org>
18557 * international/uni-name.el: Regenerated.
18559 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18561 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18562 should be automatically buffer-local, but isn't.)
18564 2009-10-12 Sam Steingold <sds@gnu.org>
18566 * progmodes/compile.el (compilation-next-error-function): Fix the
18567 timestamps if the buffer has been visited before.
18568 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18569 non-anchored patterns, like the perl one (bug#3928).
18571 2009-10-12 Glenn Morris <rgm@gnu.org>
18573 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18576 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18578 * proced.el (proced-unload-function): New function.
18580 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18581 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18584 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18586 2009-10-11 Juri Linkov <juri@jurta.org>
18588 * files-x.el (read-file-local-variable-value):
18589 Provide default value only for bound variables (bug#4664).
18591 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18593 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18594 connection methods like smb.
18596 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18599 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18600 (tramp-smb-file-name-handler-alist): Add handlers for
18601 `add-name-to-file', `make-symbolic-link'.
18602 (tramp-smb-handle-add-name-to-file)
18603 (tramp-smb-do-file-attributes-with-stat)
18604 (tramp-smb-handle-make-symbolic-link)
18605 (tramp-smb-get-cifs-capabilities): New defuns.
18606 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18607 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18608 (tramp-smb-handle-file-local-copy)
18609 (tramp-smb-handle-make-directory-internal)
18610 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18611 The file name syntax depends on cifs capabilities.
18612 (tramp-smb-handle-file-attributes):
18613 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18614 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18615 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18617 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18619 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18620 (eieio-defclass): Apply deftype handler and setf-method properties
18622 (eieio-add-new-slot): Avoid union function from cl library.
18623 (eieio--typep): New function.
18624 (eieio-perform-slot-validation): Use it.
18626 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18628 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18629 Update documentation to refer to the variables documented in r1.135.
18632 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18634 * bookmark.el (Info-suffix-list): Remove this unused variable.
18635 (bookmark-current-point): Remove this obsolete variable.
18636 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18637 Adjust for removal of bookmark-current-point.
18639 (bookmarks-already-loaded, bookmark-current-buffer)
18640 (bookmark-yank-point): Document. (Bug#4188)
18642 2009-10-10 Glenn Morris <rgm@gnu.org>
18644 * frame.el (frame-height): Doc fix.
18646 * calendar/calendar.el (calendar-split-width-threshold): New option.
18647 (calendar-basic-setup): Use calendar-split-width-threshold.
18649 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18651 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18652 Ideographic Supplement" range (U+1F200..U+1F2FF).
18654 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18656 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18657 since the list will have been rebuilt anyway. (Bug#4349)
18659 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18661 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18662 (bookmark-bmenu-execute-deletions): Don't save here, as
18663 bookmark-delete will now do so if necessary.
18664 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18667 2009-10-09 Glenn Morris <rgm@gnu.org>
18669 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18671 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18673 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18674 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18675 argument now, so the two function's behaviors will match. (Bug#3645)
18677 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18679 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18680 (tramp-file-name-real-host, tramp-file-name-port):
18681 Apply `save-match-data'.
18683 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18684 case both directories are remote.
18685 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18686 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18688 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18690 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18692 2009-10-07 Glenn Morris <rgm@gnu.org>
18694 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18697 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18699 * files-x.el (read-file-local-variable): Include some
18700 non-user-variables in the completion table (bug#4664).
18702 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18704 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18707 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18708 (tramp-smb-file-name-handler-alist): Add handler for
18709 `copy-directory', `expand-file-name', `set-file-modes'.
18710 (tramp-smb-handle-copy-directory)
18711 (tramp-smb-handle-expand-file-name)
18712 (tramp-smb-handle-set-file-modes): New defuns.
18713 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18714 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18716 (tramp-smb-handle-insert-directory): Don't flush the cache.
18717 (tramp-smb-maybe-open-connection): Check for samba client and
18720 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18722 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18723 to not error out of search for "^lisp=" fails.
18725 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18727 * makefile.w32-in (WINS_UPDATES): New macro.
18728 (custom-deps, finder-data, autoloads): Use it.
18730 2009-10-07 Glenn Morris <rgm@gnu.org>
18732 * Makefile.in (autoloads): Revert previous change.
18733 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18734 the list of preloaded files passed on the command-line, get
18735 it from src/Makefile.
18737 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18738 show the original buffer rather than a random one.
18740 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18742 * help.el (describe-no-warranty): Place point in a slightly better
18743 position in the GPLv3 text.
18745 2009-10-06 Sam Steingold <sds@gnu.org>
18747 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18748 the comm attribute is present before calling regexp-quote.
18750 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18752 * play/animate.el (animate-string): For good effect, make sure
18753 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18755 * play/animate.el (animate-sequence, animate-birthday-present):
18756 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18758 2009-10-06 Glenn Morris <rgm@gnu.org>
18760 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18762 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18763 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18764 (batch-update-autoloads): Process a string value of autoload-excludes,
18765 set during the build process.
18766 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18768 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18769 inside with-parsed... macro so that `v' is defined.
18771 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18772 * progmodes/fortran.el (fortran-end-of-block)
18773 (fortran-beginning-of-block):
18774 Also push mark in the macro case.
18776 * emerge.el (emerge-show-file-name):
18777 * calc/calc.el (calc-quit):
18778 * calc/calc-misc.el (calc-big-or-small):
18779 * calc/calc-graph.el (calc-graph-view):
18780 * calc/calc-ext.el (calc-reset):
18781 * calendar/calendar.el (calendar-basic-setup):
18782 Use window-full-height-p.
18784 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18785 header we don't understand, don't insert another. (Bug#4624)
18786 If changing mime charset, insert the new one in the right place.
18788 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18790 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18791 (cal-tex-cursor-month): Correctly increment the end date for diary and
18792 holiday listing. (Bug#4626)
18794 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18796 * help-fns.el (describe-function-1): Don't burp if the function is not
18799 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18801 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18802 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18803 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18804 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18806 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18807 (eieio-default-superclass): Reflow docstrings.
18808 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18809 (eieio-unbind-method-implementations, defmethod)
18810 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18811 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18812 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18813 (eieio-slot-originating-class-p, eieio-slot-name-index)
18814 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18815 (constructor, initialize-instance, no-next-method, object-print)
18816 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18817 Fix typos in docstrings.
18818 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18819 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18820 (next-method-p): Doc fixes.
18821 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18822 Fix typos in error messages.
18823 (eieio-defmethod): Fix typo in description of generic method.
18825 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18826 (eieio-persistent-save-interactive, slot-missing):
18827 Fix typos in docstrings.
18828 (eieio-instance-inheritor-slot-boundp): Doc fix.
18830 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18831 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18833 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18834 (eieio-custom-object-apply-reset):
18835 Fix typos in docstrings and error messages.
18837 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18838 Fix typo in docstring.
18840 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18841 (eieio-browse-tree): Doc fix.
18842 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18843 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18844 Fix typos in docstrings.
18846 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18847 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18848 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18849 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18852 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18854 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18855 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18856 Set log-view-vc-backend so that diff can work.
18858 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18860 (vc-diff-internal): Autoload this instead of vc-version-diff.
18862 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18864 * simple.el (eval-expression): Doc fix.
18866 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18868 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18870 * files.el (directory-files-no-dot-files-regexp): New defconst.
18871 (delete-directory): Use it.
18872 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18874 * net/tramp.el (tramp-verbose): Fix docstring.
18875 (tramp-methods): Add recursive option to `tramp-copy-args'.
18876 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18877 "scp1_old", "scp2_old", "rsync", "rsyncc".
18878 (tramp-default-method): Check also for `auth-source-user-or-password'.
18879 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18880 Add handler for `copy-directory'.
18881 (tramp-handle-copy-directory): New defun.
18882 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18883 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18884 Optimize sent command.
18886 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18888 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18889 window if necessary.
18891 * calendar/calendar.el (calendar-basic-setup): Don't call
18892 switch-to-buffer in a dedicated window.
18894 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18896 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18897 don't do anything related to relocating, just return nil.
18898 (bookmark-error-no-filename): New error.
18899 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18900 bookmark has no file. Don't even attempt to handle things that
18901 are not files; the whole point of custom handlers is to keep that
18902 knowledge elsewhere anyway. Tighten some comments.
18903 (bookmark-file-or-variation-thereof): Remove now-unused function.
18904 (bookmark-location): Doc string fix.
18907 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18909 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18910 don't use a file dialog, because they usually don't know how to read
18911 a directory target from the user. (Bug#4230)
18912 Also, make sure the prompt can display directories as well as files.
18914 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18916 * bookmark.el (bookmark-set, bookmark-buffer-name):
18917 Improve doc strings. (Bug#1193)
18919 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18921 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18922 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18923 (bookmark-get-annotation, bookmark-set-annotation)
18924 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18925 (bookmark-set-position, bookmark-get-front-context-string)
18926 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18927 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18928 (bookmark-jump-other-window, bookmark-handle-bookmark)
18929 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18930 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18931 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18932 Improve doc strings to say whether bookmark can be a string or
18933 a record or both, and make other consistency and clarity fixes.
18934 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18935 (bookmark-default-annotation-text, bookmark-yank-word)
18936 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18937 (bookmark-import-new-list, bookmark-maybe-rename)
18938 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18939 (bookmark-bmenu-bookmark): Give these doc strings.
18940 (bookmark-bmenu-check-position): Give this a doc string, but also
18941 add a FIXME comment about how the function may be pointless.
18942 (bookmark-default-handler): Rework doc string and change a
18943 parameter name, to clarify that this takes a bookmark record
18944 not a bookmark name.
18945 (bookmark-set): Change a parameter name to indicate its meaning,
18946 and improve the doc string a bit.
18949 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18951 * bookmark.el (bookmark-alist): Document the new `handler' element
18952 in the param alist.
18953 (bookmark-make-record-function): Adjust documentation for above.
18956 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18958 * info.el (Info-bookmark-make-record): Document this function.
18959 (Info-bookmark-jump): Document with a doc string, not just a comment.
18962 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18964 * files.el (copy-directory): New defun.
18966 * dired-aux.el (dired-copy-file-recursive): Use it.
18968 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18970 * files-x.el (modify-dir-local-variable)
18971 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18974 * recentf.el (recentf-unload-function): New function.
18976 2009-10-04 Glenn Morris <rgm@gnu.org>
18978 * window.el (window-full-height-p): Add doc string.
18980 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18982 * window.el (window-full-height-p): New function. (Bug#4543)
18984 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18986 * vc.el: Remove commented out code.
18987 (vc-derived-from-dir-mode): Remove, unused.
18988 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18990 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18992 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18993 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18994 there could be recursive loading when `default-directory' is a
18995 remote file name. (Bug#4614)
18997 2009-10-03 Glenn Morris <rgm@gnu.org>
18999 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19001 (calendar-generate-window): Test for shrinkability rather than width.
19003 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19004 reusing existing buffers, in case we happen to visit two files with the
19005 same basename. (Bug#4593)
19007 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19009 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19010 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19011 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19012 subdirs of cedet as well.
19013 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19015 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19017 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19018 Obey advertised-signature-table.
19020 * help-fns.el (help-function-arglist): Don't check
19021 advertised-signature-table.
19022 (describe-function-1): Do it here instead so it also applies to subrs.
19024 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19026 * simple.el (start-file-process): Say in the doc-string, that file
19027 handlers might not support pty association, if PROGRAM is nil.
19029 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19030 HOST and USER are strings. They are nil, when there are
19031 incomplete entries in ~/.netrc, for example.
19032 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19033 root directory ("device busy" error otherwise).
19035 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19036 Flush file properties of created directory.
19038 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19040 * makefile.w32-in (WINS_BASIC): Remove cedet.
19041 (WINS_CEDET): Add cedet.
19042 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19044 2009-10-02 Kevin Ryde <user42@zip.com.au>
19046 * net/browse-url.el (browse-url): Pass any symbol in
19047 browse-url-browser-function to `apply', since if you've mistakenly put
19048 an unbound symbol then the error is clearer. (Bug#4531)
19050 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19052 * allout.el (allout-init, allout-back-to-current-heading)
19053 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19054 (allout-ascend, allout-up-current-level, allout-end-of-level)
19055 (allout-previous-visible-heading, allout-forward-current-level)
19056 (allout-backward-current-level, allout-show-children):
19057 * apropos.el (apropos-describe-plist):
19058 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19059 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19060 * completion.el (add-completion, add-permanent-completion):
19061 * descr-text.el (describe-text-category, describe-char):
19062 * desktop.el (desktop-lazy-abort):
19063 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19064 * dired.el (dired-build-subdir-alist):
19065 * ediff.el (ediff-version):
19066 * elide-head.el (elide-head, elide-head-show):
19067 * emerge.el (emerge-version):
19069 * face-remap.el (variable-pitch-mode):
19070 * faces.el (describe-face):
19071 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19073 * files.el (find-file-existing, auto-save-mode):
19074 * font-lock.el (font-lock-fontify-buffer):
19075 * help-fns.el (describe-function, describe-variable)
19076 (describe-syntax, describe-categories):
19077 * help.el (view-lossage, describe-bindings, describe-key)
19079 * hexl.el (hexl-current-address):
19080 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19081 * info.el (Info-goto-emacs-key-command-node):
19082 * log-edit.el (log-edit-insert-cvs-template)
19083 (log-edit-insert-cvs-rcstemplate):
19084 * menu-bar.el (menu-bar-mode):
19085 * mouse.el (mouse-appearance-menu):
19086 * newcomment.el (comment-indent-new-line):
19087 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19088 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19089 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19090 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19091 * recentf.el (recentf-mode):
19092 * savehist.el (savehist-mode, savehist-save):
19093 * shadowfile.el (shadow-copy-files):
19094 * simple.el (kill-ring-save, next-line, previous-line)
19095 (normal-erase-is-backspace-mode):
19096 * strokes.el (strokes-update-window-configuration)
19097 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19098 (strokes-xpm-for-stroke):
19099 * time.el (emacs-uptime, emacs-init-time):
19100 * tutorial.el (tutorial--describe-nonstandard-key)
19101 (tutorial--detailed-help):
19102 * type-break.el (type-break-mode)
19103 (type-break-mode-line-message-mode, type-break-query-mode)
19104 (type-break-guesstimate-keystroke-threshold):
19105 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19106 * version.el (emacs-version):
19107 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19108 * winner.el (winner-mode):
19109 * calendar/timeclock.el (timeclock-in, timeclock-out)
19110 (timeclock-status-string, timeclock-change)
19111 (timeclock-workday-remaining-string)
19112 (timeclock-workday-elapsed-string)
19113 (timeclock-when-to-leave-string):
19114 * calendar/todo-mode.el (todo-add-category):
19115 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19116 * emacs-lisp/autoload.el (update-file-autoloads):
19117 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19118 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19119 (checkdoc-message-text, checkdoc-defun):
19120 * emacs-lisp/debug.el (debugger-list-functions):
19121 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19122 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19123 (eieio-describe-generic):
19124 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19125 * emacs-lisp/shadow.el (list-load-path-shadows):
19126 * emulation/cua-base.el (cua-mode):
19127 * emulation/edt.el (edt-set-scroll-margins):
19128 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19129 (tpu-toggle-regexp, tpu-toggle-search-direction)
19130 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19131 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19132 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19133 (viper-set-parsing-style-toggling-macro)
19134 (viper-set-emacs-state-searchstyle-macros):
19135 * emulation/viper.el (viper-set-hooks):
19136 * eshell/esh-mode.el (eshell-truncate-buffer):
19137 * international/mule-cmds.el (prefer-coding-system)
19138 (describe-input-method, describe-language-environment):
19139 * international/mule-diag.el (list-character-sets)
19140 (describe-character-set, describe-coding-system)
19141 (describe-fontset, list-fontsets, list-input-methods):
19142 * mail/sendmail.el (mail-signature):
19143 * net/ange-ftp.el (ange-ftp-copy-file):
19144 * net/browse-url.el (browse-url):
19145 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19146 * net/quickurl.el (quickurl-add-url):
19147 * net/rcirc.el (names, topic):
19148 * net/xesam.el (xesam-mode):
19149 * play/5x5.el (5x5-new-game):
19150 * play/yow.el (apropos-zippy):
19151 * progmodes/ada-mode.el (ada-mode-version):
19152 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19154 (f90-beginning-of-block):
19155 * progmodes/fortran.el (fortran-end-of-block)
19156 (fortran-beginning-of-block):
19157 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19158 * progmodes/python.el (python-describe-symbol, python-shell):
19159 * term/ns-win.el (ns-print-buffer):
19160 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19161 * textmodes/flyspell.el (flyspell-mode-on):
19162 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19163 (pages-directory-for-addresses):
19164 * textmodes/table.el (table-recognize-cell)
19165 (table-query-dimension, table-generate-source)
19166 (table-insert-sequence, table--warn-incompatibility):
19167 * textmodes/tex-mode.el (tex-validate-buffer):
19168 * textmodes/texinfmt.el (texinfmt-version)
19169 (texinfo-format-buffer):
19170 Use `called-interactively-p' instead of `interactive-p'.
19172 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19174 * image-mode.el (image-toggle-display):
19175 * emacs-lisp/elp.el (elp-instrument-function):
19176 * emacs-lisp/advice.el (ad-make-advised-definition):
19177 * emacs-lisp/easy-mmode.el (define-minor-mode):
19178 * net/browse-url.el (browse-url-maybe-new-window):
19179 * progmodes/sh-script.el (sh-learn-buffer-indent):
19180 Pass new argument 'any to `called-interactively-p'.
19182 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19184 * international/uni-bidi.el:
19185 * international/uni-category.el:
19186 * international/uni-combining.el:
19187 * international/uni-comment.el:
19188 * international/uni-decimal.el:
19189 * international/uni-decomposition.el:
19190 * international/uni-digit.el:
19191 * international/uni-lowercase.el:
19192 * international/uni-mirrored.el:
19193 * international/uni-name.el:
19194 * international/uni-numeric.el:
19195 * international/uni-old-name.el:
19196 * international/uni-titlecase.el:
19197 * international/uni-uppercase.el:
19198 Regenerate from Unicode 5.2.0 data.
19200 2009-10-01 Glenn Morris <rgm@gnu.org>
19202 * Makefile.in (ELCFILES): Regenerate.
19204 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19206 * subr.el (interactive-p): Mark obsolete.
19207 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19208 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19209 advertised-signature-table for subroutines as well.
19211 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19212 (set-advertised-calling-convention): New function.
19213 (make-obsolete, define-obsolete-function-alias)
19214 (make-obsolete-variable, define-obsolete-variable-alias):
19215 Make the optional-ness of `when' obsolete.
19216 (define-obsolete-face-alias): Make `when' non-optional.
19217 * help-fns.el (help-function-arglist):
19218 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19219 Use advertised-signature-table.
19221 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19223 * files.el (delete-directory): New defun. The original function
19224 in fileio.c has been renamed to `delete-directory-internal'.
19226 * dired.el (dired-delete-file): Call `delete-directory' with
19227 RECURSIVE parameter.
19229 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19230 parameter RECURSIVE. Implementation is missing.
19232 * net/tramp.el (tramp-handle-make-directory): Flush upper
19233 directory's file properties.
19234 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19235 (tramp-handle-dired-recursive-delete-directory): Flush directory
19236 properties after the remove command only.
19238 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19239 Handle optional parameter RECURSIVE.
19241 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19242 Handle optional parameter RECURSIVE.
19244 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19245 connection timeout.
19246 (tramp-smb-handle-delete-directory): Handle optional parameter
19249 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19251 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19252 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19253 (byte-compile-defmacro): Use backquotes.
19255 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19257 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19258 has no associated file.
19259 (vc-resynch-buffer): Use vc-dir-buffers.
19261 2009-10-01 Glenn Morris <rgm@gnu.org>
19263 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19264 (chart-file-count):
19265 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19266 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19267 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19268 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19269 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19270 (eieio-copy-parents-into-subclass, make-instance, class-children)
19271 (eieio-generic-form):
19273 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19274 match-data. (Bug#4555).
19276 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19277 rather than parsing it as a regexp. This relaxes the layout
19278 requirements and makes errors easier to detect.
19279 (check-declare-verify): Check file is regular.
19280 (check-declare-directory): Doc fix.
19281 * subr.el (declare-function): Doc fix.
19283 * ibuffer.el (ibuffer-format-qualifier):
19284 * isearch.el (hi-lock-regexp-okay):
19285 * calc/calc.el (math-zerop):
19286 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19287 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19288 Remove unused declarations.
19290 2009-09-30 Eric Ludlam <zappo@gnu.org>
19292 * emacs-lisp/eieio.el (boolean-p): Delete.
19294 2009-09-30 Glenn Morris <rgm@gnu.org>
19296 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19298 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19299 filename is not a string.
19301 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19303 * files.el (safe-local-eval-forms): Fix typo.
19305 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19307 * vc-hooks.el (vc-dir-buffers): New var.
19308 (vc-state-refresh): New function.
19309 (vc-state): Use it.
19310 (vc-after-save): Always ask the backend to recompute the new state.
19311 Always call vc-dir if necessary, using vc-dir-buffers.
19312 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19313 Use vc-dir-buffers.
19314 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19315 (vc-dir-prepare-status-buffer, vc-dir-update)
19316 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19317 Don't call expand-file-name on default-directory.
19319 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19321 * speedbar.el (speedbar-item-delete):
19322 * calc/calc-prog.el (calc-kbd-if):
19323 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19325 * epa.el (epa-key-list-mode-map):
19326 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19328 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19329 (hs-show-hook): Fix typo in docstring.
19331 2009-09-29 Glenn Morris <rgm@gnu.org>
19333 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19334 file-name-nondirectory call preventing location of cedet files.
19335 (check-declare-verify): Use literal search rather than re-search.
19336 Add basic defmethod and defclass, and define-overloadable-function.
19338 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19339 Use tramp-compat-file-attributes rather than nonexistent
19340 tramp-compat-handle-file-attributes.
19342 * Makefile.in (lisptagsfiles4): New.
19343 (AUTOGENEL): Add cedet loaddefs files.
19344 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19345 (update-elclist, compile-always, backup-compiled-files)
19346 (bootstrap-clean): Add yet another directory level.
19347 (update-elclist): Use LC_COLLATE rather than COLLATE.
19348 (ELCFILES): Update, via `make update-elclist'.
19350 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19352 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19353 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19354 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19356 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19358 * Makefile.in (lisptagsfiles3): Define.
19359 (TAGS, TAGS-LISP): Use it.
19360 (update-elclist): Add third directory level to look for elc files.
19361 (compile-always): Likewise.
19362 (backup-compiled-files): Likewise.
19363 (bootstrap-clean): Likewise.
19364 (ELCFILES): Update.
19366 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19368 * Makefile.in (ELCFILES): Add CEDET files.
19370 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19372 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19374 * net/tramp.el (top): Require tramp-imap.
19376 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19377 Use `tramp-compat-handle-file-attributes'.
19379 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19381 * net/tramp-imap.el: New package.
19383 2009-09-28 Eric Ludlam <zappo@gnu.org>
19385 * emacs-lisp/chart.el:
19386 * emacs-lisp/eieio-base.el:
19387 * emacs-lisp/eieio-comp.el:
19388 * emacs-lisp/eieio-custom.el:
19389 * emacs-lisp/eieio-datadebug.el:
19390 * emacs-lisp/eieio-opt.el:
19391 * emacs-lisp/eieio-speedbar.el:
19392 * emacs-lisp/eieio.el: New files.
19394 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19396 * whitespace.el (whitespace-trailing-regexp)
19397 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19400 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19402 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19405 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19406 menu-bar-ediff-menu.
19408 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19409 define-overloadable-function.
19411 * progmodes/autoconf.el: Provide autoconf as well, so that this
19412 file can be `require'd.
19414 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19416 * emacs-lisp/autoload.el (generated-autoload-feature)
19417 (generated-autoload-load-name): New vars.
19418 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19419 (make-autoload): Recognize define-overloadable-function and
19420 defclass forms (for EIEIO).
19422 * Makefile.in (update-subdirs): Exclude cedet directory.
19424 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19426 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19428 * faces.el: Default light-background background for region face to
19429 ns_selection_color under NS.
19431 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19433 * net/imap-hash.el: New library, see NEWS.
19435 * Makefile.in (ELCFILES): Add imap-hash.el.
19437 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19439 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19440 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19441 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19442 definition where the docstring could be taken for the return value.
19444 2009-09-26 Glenn Morris <rgm@gnu.org>
19446 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19447 Add option to only show images below a certain size.
19448 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19449 save-excursion calls.
19451 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19453 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19454 subdirectories) and eieio.
19456 2009-09-26 Alan Mackenzie <acm@muc.de>
19458 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19459 Correct buggy bracketing. (Bug#4289)
19461 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19462 character constants (as case labels). (Bug#4289)
19464 2009-09-25 Juri Linkov <juri@jurta.org>
19466 * files.el (safe-local-eval-forms): Allow time-stamp in
19467 before-save-hook (Bug#4554).
19469 2009-09-25 Drew Adams <drew.adams@oracle.com>
19471 * menu-bar.el (list-buffers-directory): Doc fix.
19473 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19475 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19476 Try and avoid copying twice the same paragraph.
19477 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19478 Remove save-excursion.
19479 (log-edit-changelog-entry): Do it here instead.
19481 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19483 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19484 when available, instead of hardcoding mode names. Doc fix.
19486 * menu-bar.el (list-buffers-directory): Add docstring.
19487 Make automatically buffer-local.
19489 * dired.el (dired-mode):
19490 * files.el (cd-absolute):
19491 * pcvs.el (cvs-temp-buffer):
19492 * pcvs-util.el (cvs-get-buffer-create):
19493 * shell.el (shell-mode):
19494 * vc-dir.el (vc-dir-mode):
19495 Don't make `list-buffers-directory' buffer local.
19497 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19499 * comint.el (comint-exec, comint-run, make-comint):
19500 Doc fixes (Bug#4542).
19502 2009-09-25 Glenn Morris <rgm@gnu.org>
19504 * mail/rmailmm.el (rmail-mime): New custom group.
19505 Move all defcustoms in this file into this group.
19506 (rmail-mime-media-type-handlers-alist): Revert previous change.
19507 (rmail-mime-show-images): New option.
19508 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19509 references to it, since it wasn't actually used for anything.
19510 (rmail-mime-insert-image): New function.
19511 (rmail-mime-image): Use rmail-mime-insert-image.
19512 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19513 obey the value of `rmail-mime-show-images' option. Print the size of
19516 2009-09-25 David Engster <deng@randomsample.de>
19518 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19520 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19522 * whitespace.el: Does not highlight trailing spaces While point is
19523 at end of line. Does not highligt spaces at beginning of buffer
19524 while point is at beginning of buffer. Does not highlight spaces
19525 at end of buffer while point is at end of buffer. (Bug#4177)
19527 (whitespace-display-mappings): Adjust initialization.
19528 (whitespace-point, whitespace-font-lock-refontify): New vars.
19529 (whitespace-color-on, whitespace-color-off): Adjust code.
19530 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19531 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19532 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19534 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19536 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19538 * textmodes/sgml-mode.el: Remove xml-mode alias.
19540 * files.el (auto-mode-alist, conf-mode-maybe)
19541 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19543 2009-09-24 Alan Mackenzie <acm@muc.de>
19545 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19546 c-forward-conditionals, but it doesn't move point and doesn't set
19548 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19549 (c-down-conditional-with-else, c-backward-conditional)
19550 (c-forward-conditional): Refactor to use c-scan-conditionals.
19552 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19554 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19555 (help-default-arg-highlight): Remove.
19556 (help-highlight-arg): New function.
19557 (help-do-arg-highlight): Use it.
19558 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19560 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19562 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19563 Undo last change, which didn't fix the problem and introduced others.
19565 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19567 * progmodes/gdb-mi.el: Don't require speedbar.
19568 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19570 2009-09-24 Glenn Morris <rgm@gnu.org>
19572 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19574 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19576 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19577 there is no newline after the final mime boundary. (Bug#4539)
19578 Move markers on insertion so that any buttons inserted don't end up in
19579 the next part of a multipart message.
19580 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19581 (rmail-mime-bulk-handler): Optionally handle images.
19582 (rmail-mime-image): New button action.
19583 (rmail-mime-image-handler): New function.
19584 (rmail-mime-mode): New mode.
19585 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19587 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19589 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19590 than just dropping elements from it (bug#4504).
19592 * term.el (term-set-scroll-region): Don't move cursor any more.
19593 (term-handle-ansi-escape): Call term-goto here instead.
19594 Suggested by Ivan Kanis <apple@kanis.eu>.
19596 * term.el: Require CL.
19597 (term-ansi-reset): New function.
19598 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19599 (term-handle-colors-array): Simplify.
19601 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19603 * allout.el (allout-overlay-interior-modification-handler)
19604 (allout-obtain-passphrase):
19605 * epa-file.el (epa-file-write-region):
19606 * ps-print.el (ps-begin-job):
19607 * vc-hooks.el (vc-toggle-read-only):
19608 * vc-rcs.el (vc-rcs-rollback):
19609 * vc-sccs.el (vc-sccs-rollback):
19610 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19611 (vc-version-diff, vc-revert, vc-rollback):
19612 * wdired.el (wdired-check-kill-buffer):
19613 * emacs-lisp/authors.el (authors):
19614 * net/socks.el (socks-open-connection):
19615 * net/zeroconf.el (zeroconf-service-add-hook):
19616 * obsolete/vc-mcvs.el (vc-mcvs-register):
19617 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19618 (gdb-select-frame):
19619 * progmodes/grep.el (lgrep, rgrep):
19620 * progmodes/idlw-help.el (idlwave-help-check-locations)
19621 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19622 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19623 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19624 (reftex-toc-rename-label): Fix typos in error messages.
19626 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19627 (dired-copy-how-to-fn): Doc fix.
19628 (dired-files-attributes, dired-read-shell-command):
19629 Fix typos in docstrings.
19631 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19632 (dired-x-find-file-other-window): Reflow docstrings.
19633 (dired-omit-marker-char, dired-read-shell-command)
19634 (dired-x-submit-report): Fix typos in docstrings.
19636 * shell.el (shell-mode-hook):
19637 * view.el (View-scroll-line-forward):
19638 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19639 Fix typos in docstrings.
19641 * net/dig.el (dig-invoke): Fix typo in docstring.
19642 (query-dig): Reflow docstring.
19644 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19645 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19646 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19647 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19648 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19649 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19650 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19651 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19652 (idlwave-completion-map, idlwave-current-indent)
19653 (idlwave-custom-ampersand-surround, idlwave-customize)
19654 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19655 (idlwave-define-abbrev, idlwave-determine-class-special)
19656 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19657 (idlwave-end-block-reg, idlwave-end-of-statement)
19658 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19659 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19660 (idlwave-explicit-class-listed, idlwave-file-header)
19661 (idlwave-fill-paragraph, idlwave-find-class-definition)
19662 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19663 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19664 (idlwave-in-quote, idlwave-indent-action-table)
19665 (idlwave-indent-expand-table, idlwave-indent-line)
19666 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19667 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19668 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19669 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19670 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19671 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19672 (idlwave-outlawed-buffers, idlwave-popup-select)
19673 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19674 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19675 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19676 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19677 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19678 (idlwave-statement-type, idlwave-struct-skip)
19679 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19680 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19681 (idlwave-what-module-find-class): Fix typos in docstrings.
19682 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19683 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19684 (idlwave-find-module, idlwave-find-structure-definition)
19685 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19686 (idlwave-list-load-path-shadows, idlwave-next-statement)
19687 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19688 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19689 (idlwave-template): Reflow docstrings.
19691 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19692 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19693 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19694 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19695 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19696 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19697 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19698 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19699 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19700 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19701 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19702 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19703 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19704 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19705 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19706 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19707 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19708 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19709 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19710 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19711 Fix typos in docstrings.
19712 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19713 (idlwave-shell-hide-output, idlwave-shell-mode)
19714 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19717 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19719 2009-09-24 Ivan Kanis <apple@kanis.eu>
19721 * term.el (term-bold-attribute): New var.
19722 (term-handle-colors-array): Use it.
19724 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19726 * progmodes/gdb-mi.el (gdb-version): New variable.
19727 (gdb-non-stop-handler): Set gdb-version.
19728 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19729 Condition "--thread" option on gdb-version.
19730 (gdb-invalidate-threads): Remove unused argument.
19732 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19734 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19735 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19737 2009-09-23 Glenn Morris <rgm@gnu.org>
19739 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19740 replying to mail without References or Message-Id. (Bug#4525)
19742 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19744 * term/ns-win.el (ns-reg-to-script): New variable.
19746 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19748 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19750 2009-09-22 Sam Steingold <sds@gnu.org>
19752 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19753 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19754 to 1 because hg returns status 1 when nothing is found.
19755 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19757 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19759 * textmodes/fill.el: Convert to utf-8 encoding.
19760 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19763 * add-log.el (change-log-fill-forward-paragraph): New function.
19764 (change-log-mode): Use it so fill-region DTRT.
19765 Set fill-indent-according-to-mode here rather than in
19766 change-log-fill-paragraph.
19767 (change-log-fill-paragraph): Remove.
19769 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19771 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19772 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19774 2009-09-22 Glenn Morris <rgm@gnu.org>
19776 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19777 the scroll-bar scroll the calendar window rather than the buffer.
19779 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19780 commands that move point (as opposed to scrolling).
19782 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19784 * emacs-lisp/elint.el (elint): New custom group.
19785 (elint-log-buffer): Make it a defcustom.
19786 (elint-scan-preloaded, elint-ignored-warnings)
19787 (elint-directory-skip-re): New options.
19788 (elint-builtin-variables): Doc fix.
19789 (elint-preloaded-env): New variable.
19790 (elint-unknown-builtin-args): Add an entry for encode-time.
19791 (elint-extra-errors): Make it a variable rather than a constant.
19792 (elint-preloaded-skip-re): New constant.
19793 (elint-directory): Skip files matching elint-directory-skip-re.
19794 (elint-features): New variable, local to linted buffers.
19795 (elint-update-env): Initialize elint-features. Possibly add
19796 elint-preloaded-env to the buffer's environment.
19797 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19799 (elint-init-form): New function, extracted from elint-init-env.
19800 Make non-list forms a warning rather than an error.
19801 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19802 easy-menu-define, put that adds an error-condition, and provide.
19803 When requiring cl, also require cl-macs. Really require cl, to handle
19804 some cl macros. Store required libraries in the list elint-features,
19805 so as not to re-load them. Treat cc-require like require.
19806 (elint-init-env): Call elint-init-form to do the work.
19807 Handle eval-and-compile and such like.
19808 (elint-add-required-env): Do not clear messages.
19809 (elint-special-forms): Add handlers for function, defalias, if, when,
19811 (elint-form): Add optional argument to ignore elint-special-forms,
19812 useful to prevent recursive calls from handlers. Doc fix.
19813 Respect elint-ignored-warnings.
19814 (elint-form): Respect elint-ignored-warnings.
19815 (elint-bound-variable, elint-bound-function): New variables.
19816 (elint-unbound-variable): Respect elint-bound-variable.
19817 (elint-get-args): Respect elint-bound-function.
19818 (elint-check-cond-form): Add some simple handling for (f)boundp and
19820 (elint-check-defalias-form): New handler.
19821 (elint-check-let-form): Make an empty let a warning rather than an
19823 (elint-check-setq-form): Make an empty setq a warning rather than an
19824 error. Respect elint-ignored-warnings.
19825 (elint-check-defvar-form): Accept null doc-strings.
19826 (elint-check-conditional-form): New handler. Does some simple-minded
19827 checking of featurep and (f)boundp tests.
19828 (elint-put-function-args): New function.
19829 (elint-initialize): Use elint-scan-doc-file rather than
19830 elint-find-builtin-variables. Use elint-put-function-args.
19831 Possibly scan preloaded-file-list.
19832 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19833 extend to handle functions as well.
19835 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19837 * linum.el (linum-delete-overlays, linum-update-window):
19838 Do not modify the right margin. (Bug#3971)
19840 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19842 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19843 Use nxml-mode instead of xml-mode.
19845 2009-09-21 Kevin Ryde <user42@zip.com.au>
19847 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19849 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19851 * net/dig.el (dig-mode): Use define-derived-mode.
19853 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19855 * vc-dispatcher.el (vc-do-command): Return the process object in
19856 the asynchronous case. Use when instead of if. Do not run
19857 vc-exec-after to display a message if not enabled. (Bug#4463)
19859 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19860 properties to the stash strings.
19861 (vc-git-stash-list): Return a list of strings.
19862 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19863 (vc-git-stash-show-at-point): New functions.
19864 (vc-git-stash-map): New keymap.
19866 * register.el (ctl-x-r-map): Define the keys here instead of
19869 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19871 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19872 list, to workaround performance problem (bug#4485).
19874 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19876 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19878 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19880 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19881 Document that this option is not recommended to use.
19883 2009-09-19 Glenn Morris <rgm@gnu.org>
19885 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19888 * calc/calc-alg.el (var):
19889 * calc/calcalg2.el (var): Define for compiler.
19891 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19893 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19894 Doc fix (Bug#3932).
19896 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19898 * time-stamp.el (time-stamp-month-dd-yyyy)
19899 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19900 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19901 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19902 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19903 Remove functions that have been obsolete since 1995 (Bug#4436).
19905 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19906 indent buffer only if called interactively (Bug#4452).
19908 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19909 Eli Zaretskii <eliz@gnu.org>
19911 This fixes bug#4197 (merged to bug#865, though not identical).
19912 * server.el (server-auth-dir): Add docstring note about FAT32.
19913 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19914 but warn against using them.
19916 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19918 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19919 older GDB where there is no has_more field.
19921 2009-09-19 Glenn Morris <rgm@gnu.org>
19923 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19925 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19927 * files.el (auto-mode-alist): Change default for XML files to nXML
19930 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19932 * server.el (server-ensure-safe-dir): Pass 'integer
19933 to `file-attributes', as suggested.
19935 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19937 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19938 (dired-query): Use read-key.
19940 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19942 * cus-start.el (ns-use-qd-smoothing): Remove.
19944 2009-09-18 Glenn Morris <rgm@gnu.org>
19946 * allout.el (top-level): Remove unnecessary progn.
19948 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19950 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19951 definition of abbrev table.
19953 * speedbar.el (speedbar-track-mouse):
19954 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19955 * net/eudc.el (eudc-expand-inline):
19956 * net/newst-backend.el (newsticker--cache-read-feed):
19957 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19958 condition-case handlers.
19960 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19962 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19963 (gdb-var-list): Add an element for has_more field.
19964 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19965 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19966 (gdb-var-update-handler-1): Parse output of dynamic variable
19967 objects (STL containers).
19968 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19969 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19971 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19973 (gud-speedbar-buttons): Make node expandable if expression "has more"
19976 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19978 * startup.el (emacs-quick-startup): Remove variable and all uses.
19979 (command-line): Set `inhibit-x-resources' instead.
19980 (command-line-1): Use `inhibit-x-resources' instead.
19982 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19984 * subr.el: Fix last change to avoid using the `unless' macro,
19985 which breaks bootstrapping.
19987 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19989 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19990 extended definitions, in case we reload subr.el after having
19992 (eval-next-after-load): Mark as obsolete.
19994 2009-09-17 Juri Linkov <juri@jurta.org>
19996 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19997 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19998 (menu-bar-showhide-menu, menu-bar-tools-menu)
19999 (menu-bar-describe-menu, menu-bar-help-menu)
20000 (minibuffer-local-completion-map, minibuffer-local-map):
20003 2009-09-17 Glenn Morris <rgm@gnu.org>
20005 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20006 arguments, whether or not it has a handler.
20008 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20010 * simple.el (hard-newline): Give it a doc-string.
20012 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20013 (lisp-mode-syntax-table): Give them doc-strings.
20015 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20017 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20018 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20019 (menu-bar-options-menu, menu-bar-showhide-menu)
20020 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20021 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20022 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20023 (menu-bar-options-menu, menu-bar-tools-menu)
20024 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20025 (menu-bar-help-menu):
20026 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20029 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20030 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20031 calls for the menu names and :help.
20033 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20035 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20036 to :minor-mode-function (bug#4455).
20038 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20040 * startup.el (command-line): Initialize the window-system after
20041 processing the command-line.
20043 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20044 page-delimiter matches the empty string.
20046 2009-09-16 Glenn Morris <rgm@gnu.org>
20048 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20049 byte-compile-not-obsolete-var. It's a list now.
20050 (byte-compile-not-obsolete-funcs): New variable.
20051 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20052 byte-compile-not-obsolete-funcs.
20053 (byte-compile-variable-ref, byte-compile-defvar): Update for
20054 byte-compile-not-obsolete-vars name-change and list nature.
20055 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20056 and variables behind (f)boundp tests.
20057 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20059 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20061 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20063 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20066 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20069 2009-09-15 Stephen Eglen <stephen@gnu.org>
20071 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20072 the virtual-buffers, use the name of the buffer specified by
20073 find-file-noselect, as the match may be a symlink. (This was a
20074 problem if the target and the symlink had different names.)
20076 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20078 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20080 * desktop.el (desktop-path): Check user-emacs-directory.
20082 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20084 * loadup.el: Use after-load-functions to GC after loading each file.
20085 Remove the explicit GC calls that used to be sprinkled around.
20087 * subr.el (after-load-functions): New hook.
20088 (do-after-load-evaluation): Run it. Use string-match-p to detect
20089 `obsolete' packages, rather than painfully extracting the relevant
20092 2009-09-15 Glenn Morris <rgm@gnu.org>
20094 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20095 free variable `doc'.
20097 * dired.el (dired-mode-map): Add menu entry for async shell command.
20099 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20100 variables, also consider the .elc files, since the .el files are
20101 normally gzipped (subsequent code locates the .el.gz from the .elc).
20103 * calc/calc-prog.el (arglist): Define for compiler.
20105 * calendar/diary-lib.el (diary-display-function): Change the default to
20107 (body): Define for compiler.
20109 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20110 (byte-compile-file-form, byte-compile-lambda)
20111 (byte-compile-top-level-body, byte-compile-form)
20112 (byte-compile-variable-ref, byte-compile-setq)
20113 (byte-compile-setq-default, byte-compile-body)
20114 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20115 (batch-byte-compile): Give some more local variables with common names
20116 a "bytecomp-" prefix to avoid masking warnings about free variables.
20118 * startup.el (command-line-1): Give local variables with common names a
20119 distinguishing prefix, so as not to hide free variable warnings during
20122 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20123 clever and add a suffix to make a unique name, just let the user decide
20124 whether or not to overwrite it. If the input is a directory, write the
20125 default filename to that directory. (Bug#4388)
20126 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20127 is a filename-as-a-directory.
20129 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20131 * textmodes/page.el (what-page): Don't move to beginning of line.
20132 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20134 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20136 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20138 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20140 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20141 * help.el (help-for-help-internal): Add purecopy calls for text.
20143 * vc.el (top): print-log method now takes an optional SHORTLOG
20144 argument. Add a new method: root.
20145 (vc-root-diff, vc-print-root-log): New functions.
20146 (vc-log-short-style): New variable.
20147 (vc-print-log-internal): Add support for showing short logs.
20149 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20150 vc-print-root-log and vc-print-root-diff.
20152 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20153 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20154 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20157 * vc-cvs.el (vc-cvs-print-log):
20158 * vc-mtn.el (vc-mtn-print-log):
20159 * vc-rcs.el (vc-rcs-print-log):
20160 * vc-sccs.el (vc-sccs-print-log):
20161 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20162 that is ignored for now.
20164 * vc-mtn.el (vc-mtn-annotate-command):
20165 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20167 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20169 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20170 to function-key-map, and give them ascii-character property.
20171 * term/x-win.el (x-alternatives-map):
20172 * term/ns-win.el (ns-alternatives-map):
20173 * term/internal.el (msdos-key-remapping-map):
20174 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20176 2009-09-14 Glenn Morris <rgm@gnu.org>
20178 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20179 temp-buffers (2009-09-12).
20181 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20183 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20184 the new read-key function.
20186 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20188 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20189 is defined (Bug#4405).
20191 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20193 * recentf.el (recentf-cleanup): Use a hash table to find
20194 duplicates (Bug#4407).
20196 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20198 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20199 kp-0 to ascii equivalents (Bug#4325).
20201 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20203 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20205 * eshell/em-hist.el:
20206 * eshell/em-dirs.el (eshell-complete-user-reference):
20207 Declare pcomplete functions and variables to avoid compiler warnings.
20209 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20211 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20212 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20213 * eshell/em-alias.el (eshell-aliases-file):
20214 * eshell/em-hist.el (eshell-history-file-name):
20215 Use expand-file-name instead of concat to make file names (Bug#4308).
20217 2009-09-13 Glenn Morris <rgm@gnu.org>
20219 * ediff-merg.el (ediff-do-merge):
20220 * filesets.el (filesets-run-cmd):
20221 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20222 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20223 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20224 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20225 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20226 Replace empty `let's with `progn'.
20228 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20230 * mail/sendmail.el (send-mail-function):
20231 * tooltip.el (tooltip-mode):
20232 * simple.el (transient-mark-mode):
20233 * rfn-eshadow.el (file-name-shadow-mode):
20234 * frame.el (blink-cursor-mode):
20235 * font-core.el (global-font-lock-mode):
20236 * files.el (temporary-file-directory)
20237 (small-temporary-file-directory, auto-save-file-name-transforms):
20238 * epa-hook.el (auto-encryption-mode):
20239 * composite.el (global-auto-composition-mode):
20240 Use custom-initialize-delay.
20241 * startup.el (command-line): Don't explicitly call
20242 custom-reevaluate-setting for all the above vars.
20243 * custom.el (custom-initialize-safe-set)
20244 (custom-initialize-safe-default): Delete.
20246 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20248 * term/x-win.el (x-initialize-window-system):
20249 * term/w32-win.el (w32-initialize-window-system):
20250 * term/ns-win.el (ns-initialize-window-system): Don't call
20251 mouse-wheel-mode since it's enabled globally by default already.
20253 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20254 actually define the variable, but only silences the byte-compiler.
20255 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20256 before looking it up.
20257 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20260 2009-09-12 Glenn Morris <rgm@gnu.org>
20262 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20264 (elint-add-required-env): Don't beep on error.
20265 (elint-forms): In case of error, return ENV unchanged.
20266 (elint-init-env): Skip non-list forms.
20267 (elint-log): Handle unknown file positions.
20269 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20271 * epg.el (epg-make-context): Add autoload cookie.
20272 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20273 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20274 (epg-verify-string, epg-start-sign, epg-sign-file)
20275 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20276 (epg-encrypt-string, epg-start-export-keys)
20277 (epg-export-keys-to-file, epg-export-keys-to-string)
20278 (epg-start-import-keys, epg-import-keys-from-file)
20279 (epg-import-keys-from-string, epg-start-receive-keys)
20280 (epg-receive-keys, epg-import-keys-from-server)
20281 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20282 (epg-sign-keys, epg-start-generate-key)
20283 (epg-generate-key-from-file, epg-generate-key-from-string):
20284 Remove autoload cookie.
20286 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20288 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20289 reevaluation of trash-directory.
20291 * mwheel.el: Fix last change.
20292 (mouse-wheel-mode): New defvar.
20293 (mouse-wheel-mode): Remove autoload cookie.
20295 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20297 * mwheel.el (mwheel-installed-bindings): New var.
20298 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20299 the bindings we set last time. Use custom-initialize-delay.
20300 * loadup.el: Load mwheel after term/*-win.el.
20301 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20302 and mouse-wheel-up-event now that their first evaluation is done
20303 sufficiently late to be correct.
20305 * startup.el (tutorial-directory): Make it a defcustom.
20306 Use custom-initialize-delay rather than eval-at-startup to set it.
20307 * image.el (image-load-path): Make it a defcustom.
20308 Use custom-initialize-delay rather than eval-at-startup to set it.
20309 * subr.el (eval-at-startup): Remove.
20310 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20312 * subr.el (do-after-load-evaluation): Warn the user after loading an
20315 2009-09-12 Glenn Morris <rgm@gnu.org>
20317 * proced.el (proced-mark-alt): Remove alias.
20318 (proced-mode-map): Remove proced-mark-alt.
20320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20321 Elint file and directory. Remove initialization entry.
20323 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20325 (elint-current-buffer): Set mode-line-process.
20326 (elint-init-env): Handle define-derived-mode.
20327 Fix declare-function with unspecified arglist. Guard against odd
20328 defalias statements (eg iso-insert's 8859-1-map).
20329 (elint-add-required-env): Use a temp buffer.
20330 (elint-form): Just print the function/macro name, not the whole form.
20331 Return env unchanged if we fail to parse a macro.
20332 (elint-forms): Guard against parse errors.
20333 (elint-output): New function, to handle batch mode.
20334 (elint-log-message): Add optional argument. Use elint-output.
20335 (elint-set-mode-line): New function.
20337 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20339 * emacs-lisp/elp.el (elp-not-profilable): Add more
20340 functions (Bug#4233).
20342 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20344 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20345 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20347 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20349 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20350 (gdb-var-list-children): Use json parsing.
20352 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20354 * progmodes/js.el (js--proper-indentation): Handle the case where
20355 char-before is null. Reported by Deniz Dogan.
20357 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20359 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20361 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20363 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20364 (epg-digest-algorithm-alist): Add SHA224.
20365 (epg-context-set-passphrase-callback)
20366 (epg-context-set-progress-callback): Add description about
20369 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20371 * custom.el (custom-delayed-init-variables): New var.
20372 (custom-initialize-delay): New function.
20373 * startup.el (command-line): "Re"evaluate all vars in
20374 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20375 explicitly any more.
20376 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20377 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20379 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20381 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20383 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20384 (gdb-var-update-handler): Use json parsing.
20386 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20388 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20389 decode annotated text, regardless of language environment. (Bug#2741)
20391 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20393 * Makefile.in (autoloads): Make rmail.el writable as well.
20395 2009-09-11 Glenn Morris <rgm@gnu.org>
20397 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20399 * dired.el: Regenerate with extracted autoloads.
20400 * Makefile.in (autoloads): Make dired.el writable.
20402 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20403 * ibuffer.el: Regenerate with extracted autoloads.
20404 * Makefile.in (autoloads): Make ibuffer.el writable.
20406 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20407 * version.el (emacs-copyright, emacs-major-version)
20408 (emacs-minor-version): Reformat doc-strings for make-docfile.
20410 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20411 functions and variables, since they must be stuff specific to some other
20413 (apropos-print): Make mouse-click message less specific about button.
20415 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20416 that records where a macro was defined.
20417 * help-fns.el (describe-function-1): Mention if a function has a
20419 * help-mode.el (help-function-cmacro): New button.
20421 * locate.el (top-level): Always require dired.
20422 (locate-mode-map): Initialize inside the defvar.
20424 * net/ange-ftp.el (dired-compress-file): Declare.
20425 (ange-ftp-dired-compress-file): Add doc string.
20427 * term/ns-win.el (x-display-name, x-setup-function-keys):
20428 Unify doc-strings with X versions.
20430 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20432 * emulation/crisp.el (crisp-mode-map): Move initialization
20434 (crisp-mode): Use define-minor-mode.
20436 * progmodes/xscheme.el (xscheme-evaluation-commands):
20437 Put a :advertised-binding property rather than using
20438 advertised-xscheme-send-previous-expression.
20439 (advertised-xscheme-send-previous-expression): Declare obsolete.
20440 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20442 (crisp-mode): Add corresponding bindings to
20443 undo's :advertised-binding instead.
20444 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20445 than using dired-advertised-find-file.
20446 (dired-advertised-find-file):
20447 * simple.el (advertised-undo):
20448 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20449 (widget-keymap): Put a :advertised-binding property rather
20450 than using advertised-widget-backward.
20451 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20452 than using advertised-undo.
20453 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20455 2009-09-10 Simon South <ssouth@slowcomputing.org>
20457 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20458 Mark mode is enabled and region is active; otherwise indent or
20459 insert TAB as usual.
20460 (delphi-mode): Update description of TAB-key binding.
20462 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20464 * subr.el (define-key-rebound-commands): Mark obsolete.
20465 * startup.el (precompute-menubar-bindings): Remove.
20466 (normal-top-level): Remove obsolete code that tried to precompute
20468 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20469 define-key-rebound-commands and precompute-menubar-bindings.
20471 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20473 * net/imap.el (imap-interactive-login): Better messages.
20474 (imap-open): Fix bug with renamed buffer on reconnect.
20475 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20476 for easier debugging and cleaner code. On successful (guessed based on
20477 server capabilities) secondary authentication, set imap-state
20479 (imap-last-authenticator): Define imap-last-authenticator as a variable
20482 2009-09-10 Glenn Morris <rgm@gnu.org>
20484 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20486 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20487 (byte-compile-file-form-autoload): Don't warn about unknown functions
20488 where the autoload statement comes after the use.
20489 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20490 that any handlers inside the body (eg require) are in turn respected.
20492 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20495 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20496 and syntax and abbrev tables basic docs, if they don't have any.
20498 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20500 * international/mule-cmds.el (top-level): Require cl when compiling.
20501 (view-hello-file): Use default-value rather than
20502 default-enable-multibyte-characters.
20504 * progmodes/fortran.el: Move all safe and risky properties into the
20507 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20508 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20509 * mail/undigest.el:
20510 Put autoloads in rmail.el rather than loaddefs.el.
20511 * mail/rmail.el: Regenerate with extracted autoloads.
20513 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20514 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20516 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20518 Reported in thread for Bug#4375.
20519 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20520 "-data-evaluate-expression" instead of print.
20521 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20522 (gdb-tooltip-print): Parse output from above MI command.
20523 (gdb): Revert 2009-08-11 change. User should detach inferior
20526 Remove the word "separate" from IO functions as inferior
20527 output is now never displayed in the GUD buffer.
20529 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20531 * startup.el (command-line-normalize-file-name): On Windows and
20532 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20534 2009-09-10 Juri Linkov <juri@jurta.org>
20536 * isearch.el (isearch-text-char-description): Propertize escape
20537 character sequences with the `escape-glyph' face. (Bug#4344)
20539 * simple.el (shell-command): Set asynchronous process filter to
20540 `comint-output-filter'. (Bug#4343)
20542 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20543 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20544 the list. Move "asm" to the bottom.
20545 (grep-find-ignored-directories): Add `choice' with nil value
20546 to empty the list easily.
20547 (grep-find-ignored-files): New option.
20548 (grep-files-history): Set to nil by default instead of '("ch" "el").
20549 (grep-compute-defaults): Add "<X>" to `grep-template'.
20550 (grep-read-files): Bind new local variables `default-alias' and
20551 `default-extension'. Use a list of default values for the file prompt.
20552 (lgrep): Add `--exclude=' command line options composed from
20553 `grep-find-ignored-files'.
20554 (rgrep): Add `-name' command line options composed from
20555 `grep-find-ignored-files'. (Bug#4301)
20557 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20559 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20562 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20564 * calendar/time-date.el (autoload):
20565 Expand define-obsolete-function-alias into defalias and make-obsolete
20566 for old Emacsen that Gnus supports.
20567 (with-no-warnings): Define it for old Emacsen.
20568 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20570 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20571 float-time is available; suppress compile warning for time-to-seconds.
20573 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20575 * net/imap.el (imap-message-map): Docstring fix.
20577 2009-09-09 Glenn Morris <rgm@gnu.org>
20579 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20580 line numbers too. (Bug#4374)
20582 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20584 * smerge-mode.el (smerge-remove-props, smerge-refine):
20585 Use with-silent-modifications (bug#4342).
20587 * subr.el (with-silent-modifications): New macro.
20589 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20591 * files.el (top-level): Require `cl' when compiling.
20593 2009-09-07 Glenn Morris <rgm@gnu.org>
20595 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20597 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20598 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20600 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20602 * vc-git.el (vc-git-annotate-command): Use separator to parse
20603 arguments correctly.
20605 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20607 * proced.el (proced-mode): Doc fix.
20609 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20611 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20613 (tramp-do-file-attributes-with-ls): Check for file existence at
20615 (tramp-do-file-attributes-with-stat): Likewise.
20616 (tramp-convert-file-attributes): Return nil when attr is nil.
20618 2009-09-05 Glenn Morris <rgm@gnu.org>
20620 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20621 properties to this button.
20622 (diary-fancy-display): Don't extend the button to the final newline.
20623 (diary-fancy-display-mode): Continue to define "q" as a local key.
20625 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20628 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20630 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20631 (byte-compile-dest-file-function): New option.
20632 (byte-compile-dest-file): Doc fix.
20633 Obey byte-compile-dest-file-function.
20634 (byte-compile-cl-file-p): New function.
20635 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20636 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20637 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20638 than for file being previously loaded.
20639 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20640 (byte-compile-file-form-require): Handle the case where requiring a file
20641 indirectly causes CL to be loaded.
20643 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20645 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20646 before killing the old buffer, since by the time `kill-buffer' is
20647 run so many buffer variables have been set to nil that it may not
20648 behave as expected. (Bug#4061)
20650 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20652 * files.el (find-alternate-file): If the old buffer is modified
20653 and visiting a file, behave similarly to `kill-buffer' when
20654 killing it, thus reverting to the pre-1.878 behavior; see
20655 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20656 for discussion. Also, consult `buffer-file-name' as a variable
20657 not as a function, for consistency with the rest of the code.
20659 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20661 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20662 also when adding a new directory.
20664 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20667 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20669 * files.el (locate-file-completion-table): Make it provide boundary
20670 information, so partial-completion works better.
20672 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20674 * mail/footnote.el (Footnote-text-under-cursor):
20675 Check footnote-text-marker-alist before using it (bug#4324).
20677 2009-09-04 Glenn Morris <rgm@gnu.org>
20679 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20680 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20681 * play/solitaire.el, play/tetris.el:
20682 Remove leading * from defcustom and defface docs.
20684 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20686 (diary-fancy-overriding-map): New variable.
20687 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20690 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20693 2009-09-03 Glenn Morris <rgm@gnu.org>
20695 * arc-mode.el (archive-mode):
20696 * dos-fns.el (set-default-process-coding-system):
20697 * man.el (Man-getpage-in-background):
20698 * menu-bar.el (menu-bar-describe-menu):
20699 * server.el (server-process-filter):
20700 * startup.el (command-line):
20701 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20702 * w32-fns.el (set-default-process-coding-system):
20703 * x-dnd.el (x-dnd-handle-file-name):
20704 * international/mule-cmds.el (mule-menu-keymap)
20705 (set-default-coding-systems, language-info-alist, set-language-info)
20706 (set-language-environment, standard-display-european-internal)
20707 (set-locale-environment):
20708 * international/mule-diag.el (mule-diag):
20709 * mail/emacsbug.el (report-emacs-bug):
20710 * mail/rmail.el (rmail-mode):
20711 * mail/sendmail.el (mail-setup):
20712 Use default-value rather than default-enable-multibyte-characters.
20714 * progmodes/f90.el: Move all safe properties into the defcustoms.
20715 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20717 * calendar/appt.el (appt-check):
20718 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20719 (diary-check-diary-file, diary-list-entries)
20720 (diary-include-other-diary-files, diary-simple-display)
20721 (diary-fancy-display, diary-print-entries)
20722 (diary-mark-included-diary-files, diary-make-entry):
20723 Don't call substitute-in-file-name on diary-file.
20725 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20726 Stefan Monnier <monnier@iro.umontreal.ca>
20728 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20729 (footnote-mode-map): Move initialization into the declaration.
20730 (footnote-minor-mode-map): Define it rather than changing global-map.
20731 (footnote-mode): Use define-minor-mode.
20733 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20735 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20736 (tramp-do-file-attributes-with-perl)
20737 (tramp-do-file-attributes-with-stat): Rename from
20738 `tramp-handle-file-attributes-with-*'.
20739 (tramp-handle-file-attributes): Use them.
20740 (tramp-do-directory-files-and-attributes-with-perl)
20741 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20742 `tramp-handle-directory-files-and-attributes-with-*'.
20743 (tramp-handle-directory-files-and-attributes): Use them.
20744 (tramp-method-out-of-band-p): Additional parameter SIZE.
20745 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20746 (tramp-handle-write-region): Use it.
20747 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20748 (tramp-handle-vc-registered): Check, whether the first run did
20749 return files to be tested.
20750 (tramp-advice-make-auto-save-file-name): Do not call directly
20751 `tramp-handle-make-auto-save-file-name', because this would bypass
20752 the locking mechanism.
20754 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20755 (file-remote-p, process-file, start-file-process, set-file-times)
20756 (tramp-compat-file-attributes): Compatibility functions shall not
20757 call directly `tramp-handle-*', because this would bypass the
20759 (tramp-compat-number-sequence): New defun.
20761 2009-09-02 Glenn Morris <rgm@gnu.org>
20763 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20764 alias for float-time.
20765 (time-to-number-of-days): In Emacs, use float-time.
20766 * net/newst-backend.el (time-add): Suppress warnings from compat
20768 * time.el (emacs-uptime, emacs-init-time):
20769 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20770 Use float-time rather than time-to-seconds.
20772 * minibuffer.el (completion-initials-expand): Fix typo.
20774 * faces.el (modeline, modeline-inactive, modeline-highlight)
20775 (modeline-buffer-id):
20776 * info.el (info-menu-5): Mark these face aliases as obsolete.
20778 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20780 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20782 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20783 no "--thread" option.
20784 (gdb-stopped): Don't print "Switched to thread" message when it is
20787 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20789 * minibuffer.el (completion-try-completion)
20790 (completion-all-completions): Remove ill-defined (and
20791 mistakenly installed and luckily never used nor documented)
20792 `completion-styles' property.
20793 (completion-initials-expand, completion-initials-all-completions)
20794 (completion-initials-try-completion): New functions.
20795 (completion-styles-alist): Add doc to each entry.
20796 Add new `initials' entry.
20798 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20800 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20801 MI command -var-evaluate-expression.
20802 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20803 and tweak for case of string child.
20804 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20806 2009-09-01 Glenn Morris <rgm@gnu.org>
20808 * add-log.el (change-log-date-face, change-log-name-face)
20809 (change-log-email-face, change-log-file-face, change-log-list-face)
20810 (change-log-conditionals-face, change-log-function-face)
20811 (change-log-acknowledgement-face):
20812 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20813 (custom-modified-face, custom-set-face, custom-changed-face)
20814 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20815 (custom-documentation-face, custom-state-face, custom-comment-face)
20816 (custom-comment-tag-face, custom-variable-tag-face)
20817 (custom-variable-button-face, custom-face-tag-face)
20818 (custom-group-tag-face-1, custom-group-tag-face):
20819 * diff-mode.el (diff-header-face, diff-file-header-face)
20820 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20821 (diff-added-face, diff-changed-face, diff-function-face)
20822 (diff-context-face, diff-nonexistent-face):
20823 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20824 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20825 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20826 (Info-title-4-face):
20827 * isearch.el (isearch-lazy-highlight-face):
20828 * log-view.el (log-view-file-face, log-view-message-face):
20829 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20830 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20831 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20833 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20834 (smerge-base-face, smerge-markers-face):
20835 * wid-edit.el (widget-documentation-face, widget-button-face)
20836 (widget-field-face, widget-single-line-field-face)
20837 (widget-inactive-face, widget-button-pressed-face):
20838 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20839 (woman-addition-face):
20840 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20841 (eshell-ls-executable-face, eshell-ls-readonly-face)
20842 (eshell-ls-unreadable-face, eshell-ls-special-face)
20843 (eshell-ls-missing-face, eshell-ls-archive-face)
20844 (eshell-ls-backup-face, eshell-ls-product-face)
20845 (eshell-ls-clutter-face):
20846 * eshell/em-prompt.el (eshell-prompt-face):
20847 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20848 * obsolete/old-whitespace.el (whitespace-highlight-face):
20849 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20850 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20851 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20852 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20853 (antlr-font-lock-literal-face):
20854 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20855 (ebrowse-root-class-face, ebrowse-file-name-face)
20856 (ebrowse-default-face, ebrowse-member-attribute-face)
20857 (ebrowse-member-class-face, ebrowse-progress-face):
20858 * progmodes/make-mode.el (makefile-space-face):
20859 * progmodes/sh-script.el (sh-heredoc-face):
20860 * textmodes/flyspell.el (flyspell-incorrect-face)
20861 (flyspell-duplicate-face):
20862 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20863 * textmodes/texinfo.el (texinfo-heading-face):
20864 Mark face aliases with "-face" suffix as obsolete.
20866 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20869 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20870 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20871 easy-menu-define wants to modify these.
20873 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20875 * net/browse-url.el (browse-url-file-url):
20876 * term/internal.el (dos-codepage-setup):
20877 Use default-value rather than default-enable-multibyte-characters.
20879 * progmodes/etags.el (etags-goto-tag-location):
20880 * progmodes/flymake.el (flymake-highlight-line)
20881 (flymake-goto-file-and-line, flymake-goto-line):
20882 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20883 (gdb-goto-breakpoint):
20884 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20885 * progmodes/python.el (python-find-function)
20886 (python-pdbtrack-track-stack-file):
20887 * progmodes/verilog-mode.el (verilog-surelint-off):
20888 * term/ns-win.el (ns-open-file-select-line):
20889 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20890 Use forward-line rather than goto-line.
20892 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20893 * textmodes/reftex-index.el (reftex-display-index):
20894 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20895 * textmodes/reftex-toc.el (reftex-toc):
20896 Remove unnecessary bindings of default-major-mode (all are followed by
20897 major-mode check and possible mode switch).
20899 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20901 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20902 Handle watchpoints (bug#4282).
20903 (def-gdb-thread-buffer-command): Enable thread to be selected by
20904 clicking without selecting threads buffer first.
20905 (gdb-current-context-command): Use selected frame so that "up",
20906 "down" etc work in the GUD buffer.
20907 (gdb-update): Find selected frame before rendering stack buffer.
20908 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20910 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20912 * progmodes/sym-comp.el (displayed-completions): Remove.
20913 (symbol-complete): Use minibuffer-complete.
20915 2009-08-31 Glenn Morris <rgm@gnu.org>
20917 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20919 * apropos.el (apropos-symbols-internal):
20920 Handle (obsolete) face aliases.
20922 * faces.el (describe-face): Adjust the output format to be more like
20923 describe-variable, and to mention (obsolete) face aliases.
20924 Adjust the whitespace so that help-setup-xref works.
20926 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20927 * calendar/diary-lib.el (diary-button-face):
20928 Mark these face aliases as obsolete.
20930 * calendar/calendar.el (calendar-today): Doc fix.
20932 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20934 * progmodes/gdb-mi.el (gdb-control-all-threads)
20935 (gdb-control-current-thread): Force tool bar update.
20936 (gdb-non-stop-handler): New function.
20937 (gdb-init-1): Use it to test if non-stop mode is supported.
20938 Remove unused gdbmi buffer type.
20940 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20942 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20943 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20945 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20947 * comint.el (comint-exec-1): Check command is non-null first.
20948 Part of gdb-mi.el change (2009-08-28).
20950 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20952 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20954 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20956 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20957 instead of `dolist' to avoid a recursive require when bootstrapping.
20959 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20961 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20963 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20965 * net/imap.el (imap-send-command): Simplify.
20966 (imap-wait-for-tag): point-max -> buffer-size.
20968 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20970 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20971 with constant argument.
20973 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20975 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20977 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20978 Change default, since most of our files don't have a history.
20979 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20982 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20985 * calc/calc.el: Improve commenting convention.
20986 (calc-digit-map, toplevel): Simplify.
20988 * comint.el (comint-insert-input): Be careful to only set point if we
20989 don't delegate to some other command.
20991 * proced.el (proced-signal-list): Make it an alist.
20992 (proced-grammar-alist): Capitalize names.
20993 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20994 Disable undo manually and make it read-only.
20995 Use completion-annotate-function.
20997 * minibuffer.el (minibuffer-message): If the current buffer is not
20998 a minibuffer, insert the message in the echo area rather than at the
21000 (completion-annotate-function): New variable.
21001 (minibuffer-completion-help): Use it.
21002 (completion--embedded-envvar-table): Environment vars are
21003 always case-sensitive.
21005 2009-08-30 Glenn Morris <rgm@gnu.org>
21007 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21008 from fortran-current-defun.
21009 (fortran-beginning-of-subprogram): Be more precise about finding the
21010 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21011 (fortran-end-of-subprogram): Simplify.
21012 (fortran-current-defun): Use fortran-start-prog-re.
21014 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21016 * subr.el (do-after-load-evaluation): Simplify.
21018 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21020 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21022 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21023 (vc-rcs-print-log): Use it.
21025 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21027 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21029 * paths.el (abbrev-file-name): Move to abbrev.el.
21030 * abbrev.el (abbrev-file-name): Move from paths.el.
21031 Obey user-emacs-directory.
21032 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21033 user-emacs-directory.
21034 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21035 abbrev-file-name and calc-settings-file any more.
21036 * startup.el (command-line): Recompute abbrev-file-name and
21037 abbreviated-home-dir.
21038 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21039 of the special code for when C-h bindings haven't been changed.
21040 (display-startup-echo-area-message): Use with-current-buffer.
21041 (command-line-1): Use a list of strings, rather than a list of lists
21042 of strings for longopts.
21044 * files.el (get-free-disk-space): Use / for default-directory.
21046 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21047 Use with-current-buffer.
21049 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21050 Recognize immutable variables like most-positive-fixnum.
21051 (byte-compile-setq-default): Check and warn if trying to assign
21052 to an immutable variable, or a non-variable.
21054 * progmodes/cc-vars.el (c-comment-continuation-stars):
21055 * progmodes/cc-engine.el (c-looking-at-bos):
21056 * progmodes/cc-cmds.el (c-toggle-auto-state)
21057 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21058 (c-comment-line-break-function): Add version of obsolescence.
21060 2009-08-28 Juri Linkov <juri@jurta.org>
21062 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21063 associated with `archive-mode'.
21065 * image.el (image-type-header-regexps): Use only JPEG magic number
21066 to determine JPEG images, and don't use `image-jpeg-p' because
21067 Emacs can display non-JFIF non-Exif JPEG images.
21069 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21071 * arc-mode.el (archive-mode):
21072 * emacs-lisp/re-builder.el (re-builder-unload-function):
21073 Protect against the default value of `major-mode' being nil.
21075 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21077 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21078 Fix typos in docstrings.
21080 * progmodes/js.el (js--macro-decl-re): Doc fix.
21081 (js--plain-method-re, js--split-name): Refloc docstring.
21082 (js--class-styles, js--make-merged-item, js--splice-into-items):
21083 Fix typos in docstrings; reflow docstrings.
21084 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21085 (js--variable-decl-matcher, js--inside-pitem-p)
21086 (js--parse-state-at-point, js--get-all-known-symbols)
21087 (js--symbol-history, js-find-symbol, js--js-references)
21088 (js--moz-interactor, js--js-encode-value, js--read-tab):
21089 Fix typos in docstrings.
21091 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21093 * textmodes/reftex.el (reftex-get-file-buffer-force):
21094 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21095 * emulation/viper.el (viper-go-away, viper-set-hooks):
21096 * emacs-lisp/re-builder.el (re-builder-unload-function):
21097 * emacs-lisp/bytecomp.el (byte-compile-file):
21098 * ses.el (ses-unload-function):
21099 * hexl.el (hexl-find-file):
21100 * files.el (normal-mode):
21101 * ehelp.el (with-electric-help):
21102 * autoinsert.el (auto-insert-alist):
21103 * arc-mode.el (archive-mode):
21104 Use (default-value 'major-mode) instead of default-major-mode.
21106 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21107 * international/mule.el (load-with-code-conversion):
21108 * emacs-lisp/debug.el (debug):
21109 * ediff-vers.el (ediff-rcs-get-output-buffer):
21110 * dired.el (dired-internal-noselect): Don't let-bind
21111 default-major-mode around code that doesn't use it.
21112 E.g. buffer creation via get-buffer-create doesn't use it.
21114 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21116 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21117 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21118 when writing the temp file. Otherwise, epa-file gets confused.
21119 (tramp-register-file-name-handlers): Make it a defun. Move also
21120 `epa-file-handler' to the front of `file-name-handler-alist'.
21122 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21124 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21125 start right after a ^M.
21126 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21127 (tramp-completion-file-name-regexp-separate)
21128 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21129 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21130 Don't modify last-coding-system-used by accident.
21131 (tramp-completion-file-name-handler): Apply the checks here,
21132 instead during registration.
21133 (tramp-register-file-name-handlers): Rename from
21134 `tramp-register-file-name-handler'. Register both
21135 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21136 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21138 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21140 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21141 Remove variable ...
21142 (gdb-init-1, gdb-display-separate-io-buffer)
21143 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21145 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21146 (gdb-inferior-filter): Use comint-output-filter to stop
21147 echoing and remove ^M characters.
21149 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21151 * emulation/viper-init.el (viper-restore-cursor-type):
21152 * emulation/cua-base.el (cua--update-indications):
21153 Replace default-cursor-type with (default-value 'cursor-type).
21155 * mail/sendmail.el (mail-recover-1):
21156 * international/mule-diag.el (describe-current-coding-system-briefly)
21157 (describe-current-coding-system):
21158 * international/mule-cmds.el (select-safe-coding-system)
21159 (select-message-coding-system)
21160 (set-language-environment-coding-systems, set-locale-environment):
21161 * hexl.el (hexl-insert-multibyte-char):
21162 * dos-w32.el (find-buffer-file-type-coding-system):
21163 * simple.el (what-cursor-position):
21164 Replace uses of default-buffer-file-coding-system
21165 with (default-value 'buffer-file-coding-system).
21167 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21168 Replace uses of default-cursor-in-non-selected-windows
21169 with (default-value 'cursor-in-non-selected-windows).
21170 Use with-current-buffer.
21172 * mail/feedmail.el: Use CL macros.
21173 (feedmail-run-the-queue, feedmail-send-it-immediately):
21174 * dos-w32.el (find-buffer-file-type): Replace uses of
21175 default-buffer-file-type with (default-value 'buffer-file-type).
21177 2009-08-28 Glenn Morris <rgm@gnu.org>
21179 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21180 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21181 Use default-value of major-mode rather than default-major-mode.
21183 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21185 * Makefile.in (update-elcfiles): Report left over elc files.
21187 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21188 expand-file-name and with-current-buffer.
21189 (mail-get-names, mail-directory): Use with-current-buffer.
21191 * vc.el (vc-read-revision): New function.
21192 (vc-version-diff, vc-merge): Use it.
21194 2009-08-27 Sam Steingold <sds@gnu.org>
21196 * simple.el (kill-do-not-save-duplicates): New user option.
21197 (kill-new): When it is non-nil, and the new string is the same as
21198 the latest kill, set replace to t to avoid duplicates in kill-ring.
21200 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21202 * net/tramp.el (tramp-handle-process-file): Do not flush all
21203 caches when `process-file-side-effects' is set.
21204 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21205 instead of `tramp-find-file-exists-command'.
21206 Unset `process-file-side-effects'.
21208 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21210 * net/tramp.el (tramp-methods): New method "rsyncc".
21211 (top): Add completion function for "rsyncc".
21212 (tramp-message-show-message): New defvar.
21213 (tramp-message, tramp-error): Use it.
21214 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21216 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21217 `tramp-methods' entry `copy-env' of "rsyncc".
21218 (tramp-vc-registered-read-file-names): New defconst.
21219 (tramp-vc-registered-file-names): New defvar.
21220 (tramp-handle-vc-registered): Implement optimization strategy.
21221 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21222 (tramp-vc-file-name-handler): New defun.
21223 (tramp-get-ls-command, tramp-get-test-command)
21224 (tramp-get-file-exists-command, tramp-get-remote-ln)
21225 (tramp-get-remote-perl, tramp-get-remote-stat)
21226 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21228 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21229 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21231 (tramp-get-file-property): Check for timestamps in
21232 `tramp-cache-inhibit-cache'.
21233 (tramp-set-file-property): Write timestamp.
21235 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21237 * language/japan-util.el (japanese-symbol-table): Add entries for
21240 * international/characters.el: Add category `j' to cp932-2-byte.
21242 2009-08-27 Kenichi Handa <handa@m17n.org>
21244 * international/fontset.el (build-default-fontset-data): New macro.
21245 (setup-default-fontset): Use build-default-fontset-data for CJK,
21246 tibetan, ethiopic, and ipa.
21248 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21250 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21251 (enable-multibyte-characters): Not customizable any more.
21253 * subr.el (default-mode-line-format, default-header-line-format)
21254 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21255 (default-direction-reversed, default-truncate-lines)
21256 (default-left-margin, default-tab-width, default-case-fold-search)
21257 (default-left-margin-width, default-right-margin-width)
21258 (default-left-fringe-width, default-right-fringe-width)
21259 (default-fringes-outside-margins, default-scroll-bar-width)
21260 (default-vertical-scroll-bar, default-indicate-empty-lines)
21261 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21262 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21263 (default-scroll-down-aggressively, default-fill-column)
21264 (default-cursor-type, default-buffer-file-type)
21265 (default-cursor-in-non-selected-windows)
21266 (default-buffer-file-coding-system, default-major-mode)
21267 (default-enable-multibyte-characters): Mark as obsolete.
21269 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21271 * vc-dir.el (vc-dir-update): Remove debug helper.
21273 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21275 2009-08-26 Sam Steingold <sds@gnu.org>
21277 * simple.el (save-interprogram-paste-before-kill): New user option.
21278 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21279 save the interprogram-paste into kill-ring before overriding it
21280 with the Emacs kill.
21282 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21284 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21285 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21286 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21287 and move to vc-rcs.el.
21288 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21290 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21291 (vc-rcs-update-changelog): Remove.
21292 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21293 and move to vc-rcs.el.
21295 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21296 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21298 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21299 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21300 vc.el, renamed to be RCS specific.
21302 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21304 (vc-cvs-update-changelog): Move here from vc.el.
21306 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21309 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21311 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21313 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21315 * vc-git.el (vc-git-register): Use "git add" for directories.
21316 (vc-git-stash, vc-git-stash-show): New functions.
21317 (vc-git-extra-menu-map): Bind them.
21319 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21320 directory correctly in case the item is a directory itself.
21322 * vc.el: Document the desired behavior for reverted files in the
21324 (vc-default-prettify-state-info): Remove function, unused.
21326 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21328 2009-08-26 Glenn Morris <rgm@gnu.org>
21330 * bindings.el (standard-mode-line-format): Reposition dashes in
21331 which-func entry. (Bug#4217)
21333 * files.el (enable-local-variables, enable-local-eval)
21334 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21336 (auto-mode-alist, ignored-local-variables)
21337 (save-some-buffers-action-alist): Move risky declarations to the
21339 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21340 (font-lock-defaults, format-alist, imenu--index-alist)
21341 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21342 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21343 (mode-line-modified, mode-line-mule-info, mode-line-position)
21344 (mode-line-process, mode-line-remote, outline-level)
21345 (parse-time-rules, rmail-output-file-alist)
21346 (special-display-buffer-names, vc-mode):
21347 Move risky declarations to the relevant files.
21348 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21349 (mode-line-modified, mode-line-process, mode-line-position)
21350 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21351 * font-core.el (font-lock-defaults):
21352 * format.el (format-alist):
21353 * vc-hooks.el (vc-mode):
21354 * window.el (special-display-buffer-names):
21355 * international/mule-cmds.el (input-method-alist):
21356 Define riskiness here (dumped file) rather than in files.el.
21357 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21358 * imenu.el (imenu-generic-expression, imenu--index-alist):
21359 * outline.el (outline-level):
21360 * time.el (display-time-string):
21361 * calendar/parse-time.el (parse-time-rules):
21362 * mail/rmailout.el (rmail-output-file-alist):
21363 Autoload riskiness here, rather than placing in files.el.
21365 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21367 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21369 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21371 * simple.el (process-file-side-effects): New defvar.
21373 * dired-aux.el (dired-show-file-type):
21374 * vc.el (vc-diff-internal):
21375 * vc-arch.el (vc-arch-diff):
21376 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21377 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21378 * vc-git.el (vc-git-registered, vc-git-working-revision)
21379 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21380 (vc-git--empty-db-p):
21381 * vc-hooks.el (vc-user-login-name):
21382 * vc-svn.el (vc-svn-registered, vc-svn-state)
21383 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21384 * progmodes/grep.el (grep-probe): Let-bind
21385 `process-file-side-effects' with nil.
21387 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21389 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21390 daemon. Replace ping by checking for running service for bluez
21391 and zeroconf. (Bug#4239)
21393 2009-08-25 Kevin Ryde <user42@zip.com.au>
21395 * net/dig.el (dig): Add autoload cookie.
21397 2009-08-25 Glenn Morris <rgm@gnu.org>
21399 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21400 load-history for absolute file-names.
21401 (byte-compile-file-form-require): Warn about use of the cl package.
21403 * format.el (format-alist): Doc fix.
21405 * play/bubbles.el (top-level): Don't require cl at run-time.
21407 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21410 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21412 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21414 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21416 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21418 * calc/calc-alg.el (math-trig-rewrite)
21419 (math-hyperbolic-trig-rewrite): New functions.
21420 (calc-simplify): Simplify trig functions when asked.
21422 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21424 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21426 2009-08-24 Kenichi Handa <handa@m17n.org>
21428 * language/ind-util.el (mapthread): Delete it.
21429 (combinatorial): New function.
21430 (indian--puthash-cv): Use combinatorial instead of mapthread.
21432 2009-08-22 Kevin Ryde <user42@zip.com.au>
21434 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21435 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21436 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21437 Clarify docstring that the value is strings not symbols.
21438 (checkdoc-list-of-strings-p): New function.
21440 2009-08-22 Glenn Morris <rgm@gnu.org>
21442 * files.el (auto-mode-alist):
21443 * hippie-exp.el (he-concat-directory-file-name):
21444 * lpr.el (lpr-windows-system, printer-name):
21445 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21446 * ps-print.el (ps-windows-system):
21447 * startup.el (command-line):
21448 * emulation/viper-ex.el (viper-glob-function):
21449 * international/mule-cmds.el (set-language-environment-coding-systems):
21450 * net/ange-ftp.el (ange-ftp-write-region):
21451 * obsolete/fast-lock.el (fast-lock-cache-name):
21452 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21453 unisoft-unix, vax-vms, win32, w32.
21455 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21456 given name if the pattern is not more specific.
21458 * calendar/lunar.el (lunar-phase-names): New option.
21459 (lunar-phase): Doc fix.
21460 (lunar-cycles-per-year): New constant.
21461 (lunar-index): New function.
21462 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21463 (lunar-phase-name): Use lunar-phase-names.
21464 (calendar-lunar-phases): Use format.
21465 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21467 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21468 Copy imenu-example--name-and-position function here for own use.
21469 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21471 * bs.el (bs--redisplay):
21472 * cus-edit.el (custom-redraw):
21473 * ibuffer.el (ibuffer-bury-buffer):
21474 * server.el (server-goto-line-column):
21475 * startup.el (command-line-1):
21476 * strokes.el (strokes-xpm-for-stroke):
21477 * term.el (term-display-buffer-line):
21478 * view.el (View-goto-line):
21479 * calc/calc.el (calc-do, calc-trail-buffer):
21480 * play/gamegrid.el (gamegrid-add-score-insecure):
21481 * progmodes/ada-mode.el (ada-compile-goto-error):
21482 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21483 (ebrowse-select-1st-to-9nth):
21484 * progmodes/cperl-mode.el (cperl-time-fontification):
21485 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21486 * progmodes/gud.el (gud-display-line):
21487 (idlwave-shell-display-line):
21488 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21489 * progmodes/make-mode.el (makefile-browser-toggle):
21490 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21491 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21492 * textmodes/picture.el (picture-draw-rectangle):
21493 * textmodes/reftex-index.el (reftex-index-goto-letter):
21494 (reftex-select-jump-to-previous):
21495 * textmodes/reftex-sel.el (reftex-find-start-point)
21496 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21497 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21498 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21499 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21500 * textmodes/two-column.el (2C-associated-buffer):
21501 Use forward-line rather than goto-line.
21503 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21506 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21507 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21508 (quick-check-list-to-regexp): Declare.
21510 * progmodes/make-mode.el (makefile-browser-insert-selection):
21511 Use goto-char rather than goto-line.
21513 * progmodes/prolog.el (compilation-error-regexp-alist)
21514 (compilation-forget-errors): Declare.
21516 2009-08-22 Juri Linkov <juri@jurta.org>
21518 * progmodes/grep.el (lgrep, rgrep): At the beginning
21519 set `dir' to `default-directory' unless `dir' is a non-nil
21520 readable directory. (Bug#4052)
21521 (lgrep, rgrep): Change a weird way to report an error
21522 from using `read-string' to using `error'.
21523 Instead of using interactive arguments in the function body,
21524 add new argument `confirm'.
21526 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21528 * textmodes/remember.el (remember-buffer):
21529 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21530 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21531 (icalendar-extract-ical-from-buffer):
21532 * net/newst-treeview.el (newsticker-groups-filename):
21533 * net/newst-backend.el (newsticker-cache-filename):
21534 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21535 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21536 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21537 (speedbar-buffers-line-path, speedbar-path-line)
21538 (speedbar-buffers-line-path):
21539 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21541 * epa.el (epa-display-verify-result):
21542 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21544 2009-08-21 Glenn Morris <rgm@gnu.org>
21546 * progmodes/js.el (inferior-moz-process): Fix declaration.
21548 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21550 * obsolete/rnewspost.el (news-mail-reply):
21551 Use goto-char rather than goto-line.
21553 * term/ns-win.el (ns-open-file-select-line):
21554 Use line-beginning-position rather than goto-line.
21556 * apropos.el (apropos-command):
21557 * ehelp.el (electric-helpify):
21558 * printing.el (pr-show-setup):
21559 * strokes.el (strokes-help):
21560 * tutorial.el (tutorial--describe-nonstandard-key)
21561 (tutorial--detailed-help):
21562 * woman.el (woman-mini-help, woman-display-extended-fonts):
21563 * calc/calc-help.el (calc-describe-key):
21564 * emulation/edt.el (edt-electric-helpify):
21565 * international/mule-diag.el (mule-diag):
21566 * play/yow.el (apropos-zippy):
21567 * progmodes/python.el (python-describe-symbol):
21568 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21569 * textmodes/table.el (*table--cell-describe-mode)
21570 (*table--cell-describe-bindings):
21571 Use help-print-return-message rather than the now obsolete alias.
21573 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21574 (calendar-cursor-to-visible-date):
21575 * play/5x5.el (5x5-position-cursor):
21576 * play/decipher.el (decipher):
21577 * play/gomoku.el (gomoku-goto-xy):
21578 * play/landmark.el (lm-goto-xy):
21579 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21580 (mpuz-paint-digit):
21581 Use forward-line, not goto-line.
21583 * mail/rmail.el (rmail-obsolete): Delete custom group.
21584 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21585 (rmail-remote-password, rmail-remote-password-required):
21586 Remove unneeded :set-after and :set properties.
21588 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21590 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21592 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21594 * loadup.el: Remove leftover macos code.
21596 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21597 Explicitly pass the date format to git blame so that user local
21598 so that the output format can be parsed.
21600 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21602 * net/dbus.el (top): Don't check for (getenv
21603 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21605 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21607 * log-edit.el (log-edit-strip-single-file-name): New var.
21608 (log-edit-insert-changelog): Use it. Bug#3571.
21610 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21612 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21615 * help.el (help-print-return-message): Rename from
21616 print-help-return-message.
21618 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21619 cvs-mode-map parent hack.
21620 (log-view-mode): Derive from special-mode.
21622 * linum.el (linum-mode): window-size-change-functions is redundant.
21623 Adapt to new window-configuration-change-hook behavior.
21624 (linum-after-size, linum-after-config): Remove.
21626 * imenu.el (imenu-example--name-and-position)
21627 (imenu-example--lisp-extract-index-name)
21628 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21631 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21632 (inferior-prolog-mode): Use it.
21633 (inferior-prolog-load-file): Reset list of errors.
21635 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21637 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21639 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21641 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21643 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21644 is running already.
21646 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21648 * subr.el (listify-key-sequence-1): Use normal syntax since those
21649 integers are nowadays always represented by the same (positive) number
21651 (read-key-empty-map): New const.
21652 (read-key-delay): New var.
21653 (read-key): New function.
21654 (force-mode-line-update): Use with-current-buffer.
21655 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21656 (start-process-shell-command, start-file-process-shell-command):
21657 Discourage the use of command-args.
21659 2009-08-19 Glenn Morris <rgm@gnu.org>
21661 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21663 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21665 * simple.el (choose-completion-string): Don't rely on
21666 minibuffer-completing-file-name and ad-hoc checks to decide whether
21667 to continue completion or not.
21669 * minibuffer.el (minibuffer-hide-completions): New function.
21670 (completion--do-completion): Use it.
21671 (completions-annotations): New face.
21672 (completion--insert-strings): Use it.
21673 (completion-pcm--delim-wild-regex): Add docstring.
21674 (completion-pcm--string->pattern): Add support for 0-width delimiters
21675 in completion-pcm--delim-wild-regex.
21677 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21679 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21680 Remove unused var `buffer-modified-p'.
21682 * minibuffer.el (completion--do-completion): Move point for the #b001
21683 case as well (bug#4176).
21684 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21686 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21688 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21689 and :session buses.
21691 2009-08-18 Kenichi Handa <handa@m17n.org>
21693 * international/ucs-normalize.el (ucs-normalize-version):
21695 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21696 (utf-8-hfs): Make it perform normalization on encoding too.
21698 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21699 (sentence-end-without-space): Delete duplicated chars.
21700 (sentence-end-base): Likewise.
21702 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21703 (html-mode): Delete duplicated chars from sentence-end-base.
21705 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21706 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21708 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21710 * files.el (hack-one-local-variable): If the mode function is for
21711 a minor mode, pass it an argument (Bug#4148).
21713 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21715 * net/tramp.el (tramp-register-completion-file-name-handler):
21716 Check also for (member 'partial-completion completion-styles).
21718 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21720 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21723 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21725 * progmodes/cperl-mode.el: Merge upstream 6.2.
21726 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21727 (cperl-forward-re): Check cperl-brace-recursing.
21728 (cperl-highlight-charclass): New function.
21729 (cperl-find-pods-heres): Use it.
21730 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21731 (cperl-beautify-regexp-piece): Fix column calculation.
21732 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21733 (cperl-beautify-level): Don't process entire regexp.
21734 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21736 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21737 (cperl-init-faces): Build a list in the normal way.
21739 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21741 * calendar/parse-time.el (parse-time-string-chars): Save match
21744 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21746 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21747 (sql-product): Use it.
21748 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21749 (sql-set-product): Add completion.
21750 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21751 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21752 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21753 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21754 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21755 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21756 (sql-highlight-db2-keywords): Remove.
21757 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21758 (sql-highlight-product): Use derived-mode-p.
21759 (sql-set-sqli-buffer): Use with-current-buffer.
21760 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21763 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21765 * term.el: Fix commenting convention, turn comments into docstrings.
21767 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21769 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21771 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21773 * calendar/parse-time.el (parse-time-string-chars): Compute using
21774 character classes, to handle non-ascii characters (Bug#3190).
21776 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21778 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21779 another heredoc if the user adds another < (Bug#3226).
21781 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21782 Don't initialize based on window-system (Bug#4124).
21784 * facemenu.el (facemenu-read-color): Use a completion function
21785 that accepts any defined color, such as RGB triplets (Bug#3677).
21787 * files.el (get-free-disk-space): Change fallback default
21788 directory to /. Expand DIR argument before switching to fallback.
21789 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21791 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21793 * files.el (load-library): Doc fix.
21795 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21797 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21798 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21799 incremental search string.
21801 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21804 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21805 (ediff-merge-region-is-non-clash)
21806 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21807 Also check if the job is really a merge job.
21809 * ediff.el (ediff-current-file): New function.
21811 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21813 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21815 (js-insert-and-indent): Delete function.
21816 (js-mode-map): Don't bind keys to js-insert-and-indent.
21817 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21818 (js-end-of-defun): Rename from js--end-of-defun.
21819 (js-auto-indent-flag): Delete variable.
21821 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21823 * progmodes/js.el: Remove proclaim statement.
21824 Defvar which-func-imenu-joiner-function to silence compiler.
21826 * files.el (auto-mode-alist): Use js-mode for .js files.
21828 * progmodes/js2-mode.el: Remove file.
21830 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21832 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21834 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21836 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21837 Karl Landstrom <karl.landstrom@brgeight.se>
21839 * progmodes/js.el: New file.
21841 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21843 * timezone.el (timezone-parse-date): Add ability to understand ISO
21844 basic format (minimal separators) dates in addition to the
21845 already-supported extended format dates.
21847 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21849 * international/ucs-normalize.el: Add a `coding' file variable.
21851 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21853 2009-08-14 Sam Steingold <sds@gnu.org>
21855 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21857 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21859 * faces.el (help-argument-name): Define it here instead of
21860 help-fns.el, because in daemon mode help-fns.el may be loaded when
21861 faces are still uninitialized (Bug#1078).
21863 * help-fns.el (help-argument-name): Move defface to faces.el.
21865 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21867 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21868 create buffer with a pty but no process so that GDB can make the
21869 inferior the controlling process.
21871 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21873 * international/ucs-normalize.el: New file.
21875 2009-08-13 Richard Stallman <rms@gnu.org>
21877 * mail/rmail.el (rmail-get-attr-names):
21878 Accept an attribute header that is too short.
21880 * mail/rmail.el (rmail-forget-messages):
21881 Ignore nil elt in rmail-message-vector. Use dotimes.
21883 * progmodes/compile.el (compilation-goto-locus):
21884 Use next-error-move-function.
21886 * simple.el (next-error-move-function): New variable.
21888 2009-08-12 Juri Linkov <juri@jurta.org>
21890 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21891 always non-nil. (Bug#4052)
21893 * replace.el (read-regexp): Return empty string when
21894 `default-value' is nil.
21895 (keep-lines-read-args): Don't use empty string as the
21896 default value for `read-regexp'. (Bug#2495)
21898 2009-08-12 Juri Linkov <juri@jurta.org>
21900 * international/mule-cmds.el (ucs-insert): Change arguments
21901 from `arg' to `character', `count', `inherit' to be the same
21902 as in `insert-char'. Doc fix. (Bug#4039)
21904 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21906 2009-08-12 Juri Linkov <juri@jurta.org>
21908 * files-x.el: New file.
21910 * files.el: Move code that deals with adding/deleting
21911 file/directory-local variables to files-x.el.
21913 * Makefile.in (ELCFILES): Add files-x.elc.
21915 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21917 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21918 to use `goto-line'.
21919 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21921 (gdb-invalidate-disassembly): Do not refresh upon receiving
21922 'update signal. Instead, update all disassembly buffers only after
21924 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21925 (gdb-starting): Move -data-list-register-names...
21926 (gdb-stopped): ...here so it's sent when first thread stops.
21927 (gdb-registers-handler-custom): Do nothing if register names are
21930 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21931 from `gdb-mi.el' to avoid extra tangling.
21933 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21934 change which breaks `gud-def' definitions used in `gdb'.
21935 (gdb-update-gud-running): No extra fuss for updating frame number.
21937 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21939 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21940 (describe-language-environment-map, setup-language-environment-map)
21941 (set-coding-system-map): Move initialization into declaration.
21942 (set-language-info-alist): Last arg to define-key-after can be skipped.
21944 * international/quail.el (quail-completion-1): Simplify.
21945 (quail-define-rules): Use slightly more compact code.
21946 (quail-insert-decode-map): Propertize keys, compact columns.
21948 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21951 2009-08-10 Miles Bader <miles@gnu.org>
21953 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21954 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21955 (js2-instance-member, js2-private-member, js2-private-function-call)
21956 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21957 (js2-magic-paren, js2-external-variable):
21958 Remove "-face" suffix from face names.
21959 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21960 (js2-highlight-undeclared-vars, js2-peek-token)
21961 (js2-parse-function-params, js2-mode-show-errors)
21962 (js2-mode-show-warnings, js2-make-magic-delimiter)
21963 (js2-mode-highlight-magic-parens): Update to use new face names.
21965 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21967 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21968 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21970 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21972 * subr.el: Provide hashtable-print-readable.
21974 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21975 hs-c-like-adjust-block-beginning.
21976 (hs-hide-block-at-point): Stop hiding at the beginning of
21977 hs-block-end-regexp (Bug#700).
21979 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21981 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21983 (gdb-registers-handler-custom): Do not fail when register names
21986 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21988 * progmodes/gdb-mi.el (gdb-control-all-threads)
21989 (gdb-control-current-thread): Interactive setters for
21990 `gdb-gud-control-all-threads' to use in menu.
21991 (gdb-show-run-p): Show «Go» when process is not active.
21992 (gud-tool-bar-map): Add non-stop/A,T indicator.
21993 Uses gud/thread.xpm and gud/all.xpm.
21995 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21997 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21998 (nslookup-font-lock-keywords): Make it a variable.
21999 (net-utils-mode): New mode for viewing diagnostic network output.
22000 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22001 (net-utils-run-simple): New function.
22002 (ifconfig, iwconfig, netstat, arp, route): Use it.
22004 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22006 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22007 (gdb-memory-set-address, def-gdb-set-positive-number)
22008 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22009 after changing settings.
22010 (gdb-invalidate-disassembly): Update when first shown.
22011 (gdb-edit-locals-value): Fix.
22012 (gdb-registers-handler-custom): Print registers in right order and
22013 allow changing register values (only for current thread yet).
22014 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22015 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22016 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22017 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22018 Thread info in mode name.
22019 (gdb-registers-mode-map): TAB to switch to locals.
22021 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22023 * mail/rmail.el (rmail-add-mbox-headers)
22024 (rmail-set-message-counters-counter): Search for
22025 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22027 2009-08-08 Glenn Morris <rgm@gnu.org>
22029 * Makefile.in (ELCFILES): Update.
22031 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22033 * mail/sendmail.el (mail-yank-original):
22034 Set buffer-file-coding-system from the one used by the message whose
22037 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22038 to "windows" when "pgnuplot" is used.
22039 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22040 Don't call accept-process-output if "pgnuplot" is used.
22041 (calc-graph-init): Don't send -display and -geometry to
22042 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22043 running "pgnuplot -V" with shell-command-to-string.
22045 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22048 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22050 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22053 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22055 * vc-dispatcher.el (vc-resynch-window): Update comment.
22057 * term.el (term-handle-ansi-escape): Add comments with the
22058 terminfo capabilities implemented.
22060 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22062 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22063 (gdb-var-create-handler): Rewritten using JSON parser.
22064 (gdb-propertize-header): Move earlier.
22065 (gdb-set-header): Remove to avoid duplication.
22066 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22067 Refresh disassembly buffers only after threads list have been
22069 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22072 2009-08-04 Juri Linkov <juri@jurta.org>
22074 * files.el: Commands to add/delete file/directory-local variables.
22075 (read-file-local-variable, read-file-local-variable-value)
22076 (read-file-local-variable-mode, modify-file-local-variable)
22077 (modify-file-local-variable-prop-line)
22078 (modify-dir-local-variable): New functions.
22079 (add-file-local-variable, delete-file-local-variable)
22080 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22081 (add-dir-local-variable, delete-dir-local-variable)
22082 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22083 (copy-dir-locals-to-file-locals-prop-line): New commands.
22085 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22087 * abbrev.el (insert-abbrev-table-description): Prettify output.
22088 Suggested by Karl Chen.
22090 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22092 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22093 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22094 (gdb-overlay-arrow-position, gdb-thread-position)
22095 (gdb-disassembly-position): Declare variables.
22096 (gdb-wait-for-pending): Function now.
22097 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22098 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22099 compilation goes smoothly.
22100 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22101 (gdb-non-stop-setting): New customization setting which replaces
22102 `gdb-non-stop' so changing it doesn't break active GDB session.
22103 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22104 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22105 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22106 (gdb-show-threads-by-default): New customization options.
22107 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22109 (gdb-get-buffer-create): Send buffers update signal when they are
22111 (gdb-invalidate-locals, gdb-invalidate-registers)
22112 (gdb-invalidate-breakpoints)
22113 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22114 (gdb-invalidate-memory): Accept update signal.
22115 (gdb-current-context-command): Use --frame option.
22116 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22117 Implement `gdb-frame-number' selection logic.
22118 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22119 whether to show GUD toolbar buttons.
22120 (gdb-thread-exited): Unselect current thread when it exits.
22121 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22122 (gdb-mark-line): Routine which sets overlay arrow or inverses
22123 video on fringeless displays.
22124 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22125 to build aligned columns of data in GDB buffers and set text
22126 properties line-by-line.
22127 (gdb-invalidate-breakpoints)
22128 (gdb-breakpoints-list-handler-custom)
22129 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22130 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22131 (gdb-registers-handler-custom): Align data columns.
22132 (gdb-locals-handler-custom): Now prints data like in variable
22134 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22135 Remove confusing buttons.
22136 (gdb-invalidate-threads): Append --frame.
22137 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22138 between breakpoints/threads buffers.
22139 (gdb-set-window-buffer): Now can ignore dedicated windows.
22140 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22141 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22142 (def-gdb-thread-buffer-gud-command): Replaces
22143 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22144 for fine thread control.
22145 (gdb-preempt-existing-or-display-buffer): New function used to
22146 display bound buffers without breaking window layout.
22147 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22148 (gdb-select-frame): New version of `gdb-frames-select' which now
22149 sets `gdb-frame-number' so commands may use --frame option instead
22150 of inner debugger state.
22151 (gdb-frame-handler): Do not set `gdb-frame-number'.
22152 (gdb-threads-mode-map): Select threads with mouse.
22154 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22155 avoid compilation warning.
22156 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22159 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22160 Argument `key' renamed to `buffer-type'.
22161 (gdb-current-context-buffer-name): Do not add thread info to
22162 buffer name when no thread is selected.
22163 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22164 command (bug 3794).
22165 (gdb-thread-selected): Handle `=thread-selected' notification.
22166 (gdb-wait-for-pending): New macro to deal with congestion problems.
22167 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22169 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22170 This fixes problem similar to one described in bug 3947.
22171 (gud-menu-map): More menu items.
22172 (gdb-init-1): Reset `gdb-thread-number' to nil.
22174 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22177 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22178 (gdb-current-context-command): Do not append --thread if
22179 `gdb-thread-number' is nil.
22180 (gdb-running-threads-count, gdb-stopped-threads-count):
22182 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22183 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22184 New customization options.
22185 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22187 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22188 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22189 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22190 set `gdb-thread-number' and update `gud-running' properly.
22191 (gdb-running): Update threads list when new threads appear.
22192 (gdb-stopped): Support non-stop operation and new thread switching
22194 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22195 (gdb-json-partial-output): New set of JSON routines.
22196 (def-gdb-auto-update-trigger): New `signal-list' optional
22198 (gdb-thread-list-handler-custom): Update `gud-running',
22199 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22200 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22201 (gdb-continue-thread, gdb-step-thread): New commands for fine
22202 thread execution control.
22203 (gud-menu-map): New menu items to switch non-stop options.
22204 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22205 (gdb-send): Mimic RET properly (bug 3794).
22207 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22208 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22210 (def-gdb-auto-update-handler): New nopreserve optional argument.
22211 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22213 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22214 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22215 (gdb-parent-mode): New mode to derive other GDB modes from.
22216 (gdb-display-disassembly-for-thread)
22217 (gdb-frame-disassembly-for-thread): New commands for threads
22220 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22221 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22222 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22223 (gdb-update): We now store all GDB buffers in a list so that they
22224 can be updated by traversing a list instead of calling invalidate
22225 triggers explicitly.
22226 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22227 pair for GDB buffer.
22228 (gdb-stack-buffer-name): Add thread information.
22229 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22230 handle pending triggers.
22231 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22232 (def-gdb-thread-buffer-simple-command)
22233 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22234 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22235 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22236 New commands which show buffers bound to thread.
22237 (gdb-stack-list-locals-regexp): Remove unused regexp.
22239 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22240 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22241 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22242 to (gud-comint-buffer) in *-buffer-name functions
22243 because (gdb-get-target-string) already does that.
22244 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22245 (gdb-changed-registers-handler): Rewritten without regexps.
22247 * progmodes/gdb-mi.el: Basic thread selection support.
22248 (gdb-thread-number): New variable.
22249 (gdb-current-context-command): New macro which adds --thread
22251 (gdb-threads-mode-map): Select thread with SPC.
22252 (gdb-thread-list-handler-custom): Mark current thread with overlay
22253 arrow. Synchronize GDB thread and Emacs thread.
22254 (gdb-select-thread): New command which selects current thread.
22255 (gdb-invalidate-frames, gdb-invalidate-locals)
22256 (gdb-invalidate-registers): Use --thread option.
22258 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22260 * net/tramp.el (top): Make check for tramp-gvfs loading more
22262 (tramp-handle-insert-file-contents): `unwind-protect' must be
22263 inside `with-parsed-tramp-file-name'.
22265 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22268 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22270 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22271 directory if CLASSPATH is not set.
22273 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22275 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22277 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22279 2009-08-02 Kevin Ryde <user42@zip.com.au>
22281 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22282 Update freshmeat link. Delete newsforge.com as it seems gone.
22284 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22286 * select.el (x-set-selection): Doc fix (Bug#4021).
22288 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22290 * help-fns.el (describe-variable): Treat list return values from
22291 dir-locals-find-file properly (Bug#4005).
22293 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22295 * net/tramp.el (tramp-debug-message): Print also microseconds.
22297 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22299 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22301 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22302 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22305 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22306 (tramp-get-file-property): Use it.
22308 * autorevert.el (auto-revert-handler):
22309 Allow `auto-revert-tail-mode' for remote files.
22311 2009-08-02 Jason Rumney <jasonr@gnu.org>
22313 * minibuffer.el (read-file-name): Treat confirm options to
22314 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22316 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22318 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22319 (font-lock-variable-name-face, font-lock-constant-face):
22320 Darken the colors for light backgrounds.
22322 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22324 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22325 month names. (Bug#3987)
22327 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22329 * simple.el (line-move-finish): Pass whole number to
22330 line-move-to-column.
22331 (line-move-visual): Perform hscroll to the recorded position.
22333 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22335 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22337 2009-07-29 Alan Mackenzie <acm@muc.de>
22339 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22341 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22343 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22344 (gdb-place-breakpoints): Use full path when setting breakpoints.
22346 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22348 * calc/calc.el (calc-mode-map): Add keybinding for
22349 `calc-transpose-lines'.
22351 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22353 * calc/calc-misc.el (calc-transpose-lines): New function.
22355 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22357 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22358 Simplify check for out-of-band methods.
22359 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22360 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22362 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22364 * vc-git.el (vc-git-checkin): Fix typo.
22366 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22368 * progmodes/js2-mode.el: New file.
22370 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22372 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22373 (gud-menu-map): Adjust tooltip accordingly.
22375 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22377 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22378 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22380 * add-log.el (change-log-mode-map): Add a menu.
22382 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22384 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22385 function returns nil.
22386 (dbus-handle-event): Handle special return value :ignore.
22387 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22389 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22391 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22394 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22398 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22400 * term/pc-win.el (x-display-name, x-colors)
22401 (x-select-enable-clipboard, x-select-text): Doc fix.
22403 * term/common-win.el (x-display-name, x-colors): Doc fix.
22405 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22406 (xw-defined-colors): Doc fix.
22408 * w32-fns.el (x-select-text, x-setup-function-keys)
22409 (x-get-selection, x-set-selection): Doc fix.
22411 * term/x-win.el (x-select-text, x-setup-function-keys)
22412 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22414 * select.el (x-set-selection): Doc fix.
22416 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22418 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22419 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22420 "IsNSSSupportAvailable" method is not available.
22421 Reported by Steve Youngs <steve@sxemacs.org>.
22423 2009-07-24 Kenichi Handa <handa@m17n.org>
22425 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22426 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22427 (build-unicode-category-table): Fix range checks.
22429 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22431 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22432 the buffer we try to sync is current when calling
22435 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22436 not show up to date files.
22438 2009-07-24 Glenn Morris <rgm@gnu.org>
22440 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22441 Add autoload cookies. If necessary, initialize.
22442 (elint-log): Handle non-file buffers.
22443 (elint-initialize): Add optional argument to reinitialize.
22444 (elint-find-builtin-variables): Save excursion.
22446 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22448 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22451 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22453 * vc.el (vc-print-log-internal): New function, split out from ...
22454 (vc-print-log): ... here.
22455 (vc-dir-move-to-goal-column): Declare.
22457 * vc-git.el (vc-git-add-signoff): New variable.
22458 (vc-git-checkin): Use it.
22459 (vc-git-toggle-signoff): New function.
22460 (vc-git-extra-menu-map): Bind it to menu.
22461 (vc-git--run-command-string): Accept a nil FILE argument.
22462 (vc-git-stash-list): New function.
22463 (vc-git-dir-extra-headers): Use it.
22465 2009-07-23 Glenn Morris <rgm@gnu.org>
22467 * help-fns.el (describe-variable): Describe ignored and risky local
22468 variables in a similar way to that in which we describe safe ones.
22470 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22471 (byte-compile-output-file-form, byte-compile-output-docform)
22472 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22473 Give some more local variables with common names a "bytecomp-" prefix,
22474 so as not to shadow things during compilation.
22475 * emacs-lisp/cl-macs.el (load-time-value)
22476 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22477 `outbuffer' to `bytecomp-outbuffer'.
22479 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22480 since the next two variables cover them automatically now.
22481 (elint-builtin-variables, elint-autoloaded-variables): New.
22482 (elint-unknown-builtin-args): Remove all members, since they can be
22483 parsed automatically now.
22484 (elint-extra-errors): New.
22485 (elint-env-add-env, elint-env-add-macro): Use cadr.
22486 (elint-current-buffer): Use or. Change final message.
22487 (elint-get-top-forms): Use line-end-position.
22488 (elint-init-env): Use cadr. Handle autoload, declare-function,
22490 (elint-add-required-env): Doc fix. Use or. Standardize error.
22491 (regexp-assoc): Remove unused function.
22492 (elint-top-form): Set elint-current-pos, to record the start of the
22493 top-level form, for compilation-mode.
22494 (elint-form): Trap errors in macro expansion. Use dolist.
22495 (elint-unbound-variable): Use elint-builtin-variables and
22496 elint-autoloaded-variables.
22497 (elint-get-args): Use cadr, or.
22498 (elint-check-cond-form): Use dolist, cadr.
22499 (elint-check-condition-case-form): Doc fix. Use cadr.
22500 Use elint-extra-errors.
22501 (elint-log): New function.
22502 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22503 Distinguish errors and warnings.
22504 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22505 Use a bytecomp-style format.
22506 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22507 (elint-get-log-buffer): Use compilation mode. Disable undo.
22508 Don't truncate lines.
22509 (elint-initialize): Set builtin and autoloaded variable lists.
22510 Only process elint-unknown-builtin-args if non-nil.
22511 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22513 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22515 2009-07-22 Kevin Ryde <user42@zip.com.au>
22517 * net/newst-backend.el (newsticker--parse-atom-1.0)
22518 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22519 (newsticker--parse-rss-1.0):
22520 * progmodes/idlwave.el (idlwave-mode):
22521 * progmodes/idlw-shell.el (idlwave-shell-mode):
22522 * progmodes/vera-mode.el (vera-mode):
22523 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22524 * progmodes/vhdl-mode.el (vhdl-mode):
22525 * textmodes/table.el (table-generate-source)
22526 (table--warn-incompatibility):
22527 Hyperlink urls in docstrings with URL `...'.
22529 2009-07-22 Glenn Morris <rgm@gnu.org>
22531 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22532 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22533 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22534 Remove leading * from defcustom docs.
22536 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22538 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22540 (list-load-path-shadows): Optionally, just return shadows as a string.
22542 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22544 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22546 * mail/rmailedit.el (rmail-edit-mode):
22547 Use auto-save-include-big-deletions.
22549 * mail/rmail.el (rmail-variables):
22550 Use auto-save-include-big-deletions.
22552 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22555 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22557 * calc/calc.el (calc-undo-length): New variable.
22558 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22560 2009-07-21 Richard Stallman <rms@gnu.org>
22562 * files.el (auto-save-mode): Handle buffer-save-size = -2
22565 2009-07-21 Glenn Morris <rgm@gnu.org>
22567 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22569 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22571 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22572 silence compiler. Instead...
22573 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22574 (ps-print-ensure-fontified): Update for above function name changes.
22576 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22577 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22578 silence compiler. Instead...
22579 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22580 (mh-show-buffer): Only define for compiler.
22581 (pr-mh-current-message): Update for above function name changes.
22583 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22585 (find-file-noselect, insert-file-1): Update for above change.
22587 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22589 * mail/mailclient.el (mailclient-send-it): Fix message.
22591 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22592 (edebug-eval): Check cl-debug-env is bound.
22593 (print-level, print-circle): Don't redefine built-in variables.
22595 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22596 (custom-print-vectors): Remove old comments from doc.
22598 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22599 (emerge-version): Make the variable an obsolete alias for the
22600 emacs-version variable. Make the function obsolete.
22601 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22602 Emerge options, rather than merging in into the main Options menu.
22603 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22604 and auto advance modes. Disable edit/fast items when not relevant.
22606 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22608 * term/vt420.el (terminal-init-vt420): Fix typo.
22610 2009-07-20 Sam Steingold <sds@gnu.org>
22612 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22613 variable (removed from compile.el on 2004-03-11).
22615 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22617 * files.el (hack-local-variables-filter): Fix last change.
22619 2009-07-19 Juri Linkov <juri@jurta.org>
22621 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22622 (dir-local-variables-alist): New buffer-local variable.
22623 (hack-local-variables-filter): If variable is not dir-local,
22624 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22625 because file-local overrides dir-local.
22626 (c-postprocess-file-styles) <declare-function>:
22627 Remove obsolete declaration.
22628 (hack-dir-local-variables): Add dir-local variable/value pair to
22629 `dir-local-variables-alist' and remove duplicates. Doc fix.
22631 * help-fns.el (describe-variable): Add information about
22632 file-local and dir-local variables.
22634 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22636 * files.el (hack-local-variables-filter): Rewrite.
22638 2009-07-19 Glenn Morris <rgm@gnu.org>
22640 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22641 Silence compiler by only defining on XEmacs.
22643 * international/mule.el (auto-coding-regexp-alist): Only match
22644 BABYL... at the start of buffer, not of lines. (Bug#3790)
22646 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22647 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22648 (cal-menu-context-mouse-menu): Doc fix.
22650 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22652 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22654 2009-07-18 Juri Linkov <juri@jurta.org>
22656 * info.el: Virtual Info keyword finder.
22657 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22658 (Info-finder-file): New variable.
22659 (Info-finder-find-file): New function.
22660 (finder-known-keywords, finder-package-info)
22661 (find-library-name, lm-commentary): Use defvar and
22662 declare-function to silence compiler warnings.
22663 (Info-finder-find-node): New function.
22664 (info-finder): New command.
22666 * subr.el (process-kill-buffer-query-function): New function.
22667 (add-hook)<kill-buffer-query-functions>: Add hook
22668 `process-kill-buffer-query-function'.
22670 2009-07-18 Alan Mackenzie <acm@muc.de>
22672 * progmodes/cc-mode.el (c-before-hack-hook)
22673 (c-postprocess-file-styles): Give invocation of `c-set-style'
22674 DONT-OVERRIDE parameter of t. Already set style variables will
22675 thus not be overridden by style settings given by `c-file-syle'.
22677 * files.el (hack-local-variables-filter): Remove entries with
22678 duplicate keys from `file-local-variables-alist'.
22680 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22682 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22683 x-set-selection if display-selections-p returns nil for the
22686 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22688 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22690 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22692 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22693 Accept nil in addition to a regexp.
22694 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22695 Accept nil in addition to a regexp.
22696 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22697 buffers that have an associated file. Handle nil values of
22698 desktop-buffers-not-to-save and desktop-files-not-to-save.
22701 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22702 (x-disown-selection-internal): New functions.
22704 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22706 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22708 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22709 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22711 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22713 * simple.el (set-mark): Revert last change.
22715 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22717 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22718 rendering of pngs is not possible instead of messaging a long
22721 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22723 * w32-fns.el (x-selection-owner-p): New function.
22725 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22726 (mouse-yank-at-click, mouse-yank-primary):
22727 If select-active-regions is non-nil, deactivate the mark before
22730 * simple.el (deactivate-mark, set-mark): Only save selection if we
22733 2009-07-17 Kenichi Handa <handa@m17n.org>
22735 * case-table.el (describe-buffer-case-table): Fix for the case
22736 that KEY is a cons.
22738 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22740 * vc-rcs.el (vc-rcs-find-file-hook):
22741 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22743 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22745 * net/tramp.el (tramp-wait-for-output): Handle the case when
22746 commands do not return a newline but a null byte before the shell
22749 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22751 * term/ns-win.el (ns-set-alpha): Don't declare.
22752 (ns-set-background-alpha): Remove function.
22754 2009-07-16 Kevin Ryde <user42@zip.com.au>
22756 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22757 y-or-n-p, for safety.
22759 2009-07-16 Richard Stallman <rms@gnu.org>
22761 * files.el (auto-save-mode): If buffer-saved-size is -2,
22764 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22765 (rmail-retry-ignored-headers): Add more uninteresting fields.
22767 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22769 * net/rcirc.el (rcirc): Use history variables.
22770 (rcirc-server-name-history, rcirc-nick-name-history)
22771 (rcirc-server-port-history): New variables.
22773 2009-07-15 Kenichi Handa <handa@m17n.org>
22775 * international/mule-cmds.el (set-language-environment-charset):
22776 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22779 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22780 Delete unibyte-display.
22782 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22784 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22786 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22788 * simple.el (deactivate-mark): Optional argument FORCE.
22789 (set-mark): Use deactivate-mark.
22791 * info.el (Info-search): No need to check transient-mark-mode
22792 before calling deactivate-mark.
22794 * select.el (x-set-selection): Doc fix.
22795 (x-valid-simple-selection-p): Allow buffer values.
22796 (xselect--selection-bounds): Handle buffer values.
22797 Suggested by David De La Harpe Golden.
22799 * mouse.el (mouse-set-region, mouse-drag-track):
22800 Call copy-region-as-kill before setting the mark, to let
22801 select-active-regions work.
22803 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22805 * simple.el (deactivate-mark): If select-active-regions is
22806 non-nil, copy the selection data into a string.
22807 (activate-mark): If select-active-regions is non-nil, set the
22808 selection to the current buffer.
22809 (set-mark): Update selection if select-active-regions is non-nil.
22811 * select.el (x-valid-simple-selection-p): Allow buffer values.
22813 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22815 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22816 and more featureful message-mode.
22818 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22820 * select.el (x-set-selection): Doc fix.
22821 (x-valid-simple-selection-p): Disallow selection data consisting
22822 of a list or cons of integers, since that is not used.
22823 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22824 (xselect-convert-to-string, xselect-convert-to-length)
22825 (xselect-convert-to-filename, xselect-convert-to-charpos)
22826 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22828 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22830 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22831 output in -break-info command (Emacs bug #3794).
22833 2009-07-14 Glenn Morris <rgm@gnu.org>
22835 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22836 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22837 (edebug-print-length, edebug-print-level, edebug-print-circle)
22838 (edebug-sit-for-seconds, edebug-view-outside)
22839 (edebug-bounce-point, edebug-set-global-break-condition)
22840 (edebug-Go-nonstop-mode, edebug-trace-mode)
22841 (edebug-Trace-fast-mode, edebug-continue-mode)
22842 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22843 (edebug-visit-eval-list): Doc fixes.
22845 * subr.el (def-edebug-spec): Doc fix.
22847 2009-07-14 Kenichi Handa <handa@m17n.org>
22849 * international/characters.el: Fix setting of category ?C.
22851 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22853 * term/ns-win.el (x-select-font): defalias x-select-font to
22854 ns-popup-font-panel instead of generate-fontset-menu.
22856 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22858 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22860 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22862 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22863 the PK\003\004 header (Bug#3770).
22865 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22867 * pcomplete.el (pcomplete-comint-setup): Check for
22868 shell-dynamic-complete-filename too.
22870 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22872 * simple.el (temporary-goal-column): Change the value for
22873 line-move-visual to a cons cell.
22874 (line-move-visual): Record or set the window hscroll, if
22875 necessary (Bug#3494).
22876 (line-move-1): Handle cons value of temporary-goal-column.
22878 2009-07-11 Kenichi Handa <handa@m17n.org>
22880 * international/mule-diag.el (describe-character-set): Don't show
22883 2009-07-10 Sam Steingold <sds@gnu.org>
22885 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22886 Omake sometimes indents the errors it prints, so allow all
22887 regexps to start with spaces.
22889 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22891 * cus-edit.el (customize-changed-options-previous-release):
22892 Bump value to 22.1. (Bug#3804)
22894 2009-07-08 Sam Steingold <sds@gnu.org>
22896 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22897 to be a cons cell (test . ignored-directory) to selectively ignore
22898 some directories depending on the location of the search.
22900 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22902 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22903 remote user is root, on the local host.
22904 (tramp-local-host-p): Either the local user or the remote user
22905 must be root. (Bug#3771)
22907 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22909 * progmodes/gdb-mi.el (gdb): Remove description of
22910 gdb-use-separate-io-buffer.
22911 (menu): Don't allow toggling of or enable
22912 gdb-use-separate-io-buffer from menubar.
22914 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22916 * mail/unrmail.el (unrmail): Make sure the message ends with two
22917 newlines (Bug#3769).
22919 2009-07-08 Glenn Morris <rgm@gnu.org>
22921 * calendar/calendar.el (calendar-current-date): Rework previous change.
22923 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22925 * calendar/calendar.el (calendar-current-date):
22926 Add an optional argument giving an offset from today.
22928 2009-07-08 Glenn Morris <rgm@gnu.org>
22930 * tutorial.el (tutorial--describe-nonstandard-key):
22931 Adjust the message for when a key has been unbound.
22932 (help-with-tutorial): Hide the arch-tag.
22934 2009-07-08 Kenichi Handa <handa@m17n.org>
22936 * international/fontset.el (setup-default-fontset): For each
22937 script, append (not set) font-specs.
22939 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22942 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22944 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22945 -data-list-register-names to ...
22946 (gdb-starting): ... here because GDB 7.0 requires execution to
22947 have started when using this MI command.
22948 (gdb-set-header): New function to distinguish select and
22949 unselected tabs in gdb buffers.
22950 (gdb-propertize-header): New macro that uses gdb-set-header.
22951 (gdb-breakpoints-header, gdb-locals-header): Use it.
22952 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22954 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22956 * Makefile.in (ELCFILES): Remove fadr.elc.
22958 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22960 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22961 may contain frame information, so `string-match' should be used.
22962 (gdb-update): Disassembly is invalidated through
22963 `gdb-get-selected-frame'.
22964 (gdb-pad-string): New function to pad string with spaces.
22965 (gdb-invalidate-disassembly): Invalidate only if the buffer
22967 (gdb-disassembly-handler-custom): Column alignment.
22968 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22970 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22972 (gdb-frame-handler): Match convention to for disassembly buffer
22974 (gdb-stack-list-frames-handler): Rewritten without regexps.
22975 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22976 not highlight breakpoints without line information.
22977 (gdb-input): Add trailing newline to command.
22979 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22981 (gdb-breakpoints-list-handler-custom): Replacement for
22982 `gdb-break-list-handler'. Using real parser instead of regexps
22984 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22985 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22986 to place breakpoints.
22987 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22989 (gdb-disassembly-handler-custom): Show overlay arrow.
22990 (gdb-disassembly-place-breakpoints): Show breakpoints in
22991 disassembly buffer.
22992 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22993 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22994 instead of parsing breakpoints buffer. Fixed old menu references
22999 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23000 (gdb-memory-address): New variable which holds top address of
23001 memory page shown in memory buffer.
23002 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23003 New customization variables.
23005 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23006 display the memory buffer.
23007 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23008 buffer display parameters.
23009 (def-gdb-memory-format, gdb-memory-format-binary)
23010 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23011 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23012 Functions for setting memory buffer format.
23013 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23014 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23015 unit size used in memory buffer.
23016 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23017 Switch to next/previous page of memory buffer.
23018 Now using (bindat-get-field) instead of fadr functions.
23020 2009-07-07 Sam Steingold <sds@gnu.org>
23022 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23023 non-top-level files.
23025 2009-07-07 Kenichi Handa <handa@m17n.org>
23027 * international/mule-cmds.el (reset-language-environment):
23028 Put the highset priority to the charset iso-8859-1.
23030 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23032 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23033 to the end of the line when locating the block (Bug#700).
23035 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23037 * net/tramp.el (tramp-handle-write-region): Flush file properties
23038 in case of short track.
23040 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23042 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23043 Coded custom representation of verilog error regular expressions
23044 to work with Emacs-22's new format.
23045 (verilog-error-regexp-xemacs-alist): Coded custom representation
23046 of verilog error regular expressions to work with XEmacs format.
23047 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23048 error recognition into XEmacs.
23049 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23050 error recognition into Emacs-22.
23052 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23054 * woman.el: Remove stand-alone closing parentheses.
23055 (woman-file-name, woman2-format-paragraphs)
23056 (woman-leave-blank-lines): Code cleanup.
23057 (woman-use-own-frame): Change default to nil.
23058 (woman-italic, woman-bold, woman-unknown, woman-addition):
23059 Change defaults to inherit from default faces.
23060 (woman2-process-escapes): Consume the newline after a stand-alone
23061 filler character (Bug#3651).
23063 2009-07-06 Glenn Morris <rgm@gnu.org>
23065 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23066 (top-level): Move provide to the end.
23067 (ffap): Remove defunct URL from custom group.
23069 * subr.el (eval-after-load): Doc fix.
23071 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23073 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23074 `calc-embedded-word' is called twice.
23076 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23078 * files.el (find-alternate-file-other-window, find-alternate-file):
23079 Obey confirm-nonexistent-file-or-buffer.
23081 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23083 * dired-aux.el (dired-show-file-type): Handle remote files.
23085 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23087 * desktop.el (desktop-globals-to-save):
23088 Add file-name-history (Bug#2750).
23090 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23092 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23094 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23096 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23097 property on entire argument since this is what eshell-lisp-command
23100 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23102 * net/tramp-gvfs.el (tramp-gvfs-methods)
23103 (tramp-gvfs-zeroconf-domain)
23104 (tramp-bluez-discover-devices-timeout): Add version flag.
23105 (tramp-gvfs-handler-mounted-unmounted)
23106 (tramp-gvfs-connection-mounted-p): Polish handling of
23107 incompatibilities between GVFS 0.2 and 1.0.
23109 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23111 * cus-start.el (all): Add make-pointer-invisible.
23113 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23115 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23116 formatted correctly.
23118 2009-07-02 Juri Linkov <juri@jurta.org>
23120 * info.el: Virtual Info files and nodes.
23121 (Info-virtual-files, Info-virtual-nodes): New variables.
23122 (Info-current-node-virtual): New variable.
23123 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23125 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23126 to check for a virtual file instead of checking a fixed list
23128 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23129 instead of ad-hoc processing of "dir" and (apropos history toc).
23130 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23131 instead of ad-hoc processing of "dir" and (apropos history toc).
23132 Reread a file when moving from a virtual node.
23133 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23134 (Info-directory-toc-nodes, Info-directory-find-file)
23135 (Info-directory-find-node): New functions.
23136 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23137 (Info-history): Move part of code to
23138 `Info-history-find-node'.
23139 (Info-history-toc-nodes, Info-history-find-file)
23140 (Info-history-find-node): New functions.
23141 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23142 (Info-toc): Move part of code to `Info-toc-find-node'.
23143 (Info-toc-find-node): New function.
23144 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23145 the current Info file name to references because now the node
23146 "*TOC*" belongs to the same Info manual.
23147 (Info-toc-build): Rename from `Info-build-toc'.
23148 (Info-toc-nodes): Rename input argument `file' to `filename'.
23149 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23150 instead of ad-hoc processing of ("dir" apropos history toc).
23151 (Info-index-nodes): Use Info-virtual-file-p
23152 to check for a virtual file instead of checking a fixed list
23154 (Info-index-node): Add check for `Info-current-node-virtual'.
23155 Raise `save-match-data' higher up the tree to contain
23156 `search-forward' too (bug fix).
23157 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23158 (Info-virtual-index-nodes): New variable.
23159 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23160 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23161 (Info-apropos-file, Info-apropos-nodes): New variables.
23162 (Info-apropos-toc-nodes, Info-apropos-find-file)
23163 (Info-apropos-find-node, Info-apropos-matches): New functions.
23164 (info-apropos): Move part of code to `Info-apropos-find-node' and
23165 `Info-apropos-matches'.
23166 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23167 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23168 for a virtual file instead of checking a fixed list of node names.
23170 * simple.el (async-shell-command): New command.
23172 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23174 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23175 instead of `mount-info'.
23177 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23179 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23180 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23182 2009-07-02 Kenichi Handa <handa@m17n.org>
23184 * international/mule.el (set-keyboard-coding-system): Force *-unix
23185 coding-system to avoid eol conversion.
23187 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23189 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23190 Add handler for `process-file', `shell-command' and
23191 `start-file-process'.
23192 (tramp-gvfs-handle-shell-command)
23193 (tramp-gvfs-handle-start-file-process)
23194 (tramp-gvfs-handle-process-file): New defuns.
23195 (tramp-synce-list-devices): Simplify check for existence of property.
23197 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23199 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23201 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23203 * language/korean.el (set-language-info-alist): Add korean-cp949,
23206 2009-07-01 Kenichi Handa <handa@m17n.org>
23208 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23210 * international/encoded-kb.el: Deleted.
23212 * international/mule.el (set-keyboard-coding-system): Perform the
23213 necessary setup here instead of calling encoded-kbd-setup-display.
23215 2009-07-01 Glenn Morris <rgm@gnu.org>
23217 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23219 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23221 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23223 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23225 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23226 Handle also the 'rename case, when setting file modes. (Bug#3712)
23227 (tramp-default-file-modes): Remove execute permissions.
23229 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23230 (top): Add a default for "synce" in `tramp-default-user-alist'.
23231 Add completion function for "synce" method.
23232 (tramp-hal-service, tramp-hal-path-manager)
23233 (tramp-hal-interface-manager, tramp-hal-interface-device):
23235 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23236 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23239 * net/trampver.el: Update release number.
23241 2009-06-30 Kenichi Handa <handa@m17n.org>
23243 * international/fontset.el (setup-default-fontset): Add CJK fonts
23244 for symbols and the other miscellaneous characters.
23246 * language/korea-util.el (setup-korean-environment-internal):
23247 Make char-width-table suitable for Korean environments.
23248 (exit-korean-environment): Cancel above.
23250 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23251 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23252 setup-function to make char-width-table suitable for respective
23253 environments, and an exit-function to cancel that.
23255 * language/japan-util.el (setup-japanese-environment-internal):
23256 Call use-cjk-char-width-table with arg `ja_JP'.
23258 * international/characters.el (cjk-char-width-table): Delete it.
23259 (cjk-char-width-table-list): New variable.
23260 (use-cjk-char-width-table): New arg local-name.
23261 (use-default-char-width-table): Fix for the case that Emacs is
23262 already using the default char-width-table.
23264 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23266 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23267 modes mandatory. (Bug#3712)
23269 2009-06-29 Alan Mackenzie <acm@muc.de>
23271 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23272 correction between the visible width of TABs and their number of bytes.
23274 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23276 * server.el (server-buffer-done): Prevent kill-buffer from
23277 prompting by clearing the buffer modification flag (Bug#3696).
23279 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23281 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23282 (verilog-endcomment-reason-re): Support unique case and priority case.
23283 (verilog-basic-complete-re): Support localparam lineup.
23284 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23285 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23287 (verilog-leap-to-case-head): Now support *nested* unique &
23288 priority case statements.
23289 (verilog-auto-lineup): Make just declarations the default (as it
23291 (verilog-leap-to-case-head): Support priority/unique case statements.
23292 (verilog-auto-lineup): Rework to give users radio buttons to
23293 select the various styles of automatic lineup.
23294 (verilog-error-regexp-alist): Rework to support the XEmacs style
23295 of error regular expressions from compilers, lint tools &
23296 simulators. Note that GNU Emacs has made it impossible for a mode
23297 to load such things.
23298 (electric-verilog-terminate-line, verilog-indent-declaration)
23299 (verilog-auto-wiure): Rework for radio button selection of
23300 auto-lineup selection of specification of auto lineup.
23301 (verilog-beg-of-statement-1): Redesign to support proper operation
23302 in additional code, based on testing with auto-lineup.
23303 (verilog-calculate-indent, assignments & declarations)
23304 (verilog-backward-token): Enhance to support auto-lineup of
23305 assignments & declarations.
23306 (verilog-in-directive-p, verilog-at-struct-p): New function for
23307 easy test of whether we are.
23308 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23309 to support safe execution at almost anyline.
23310 (verilog-calc-1): Properly support indenting deep inside generate
23312 (verilog-init-font): Remove definition & use of verilog-init-font,
23313 as it is redundant with font-lock-defaults.
23314 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23315 to avoid circular calls if syntax-ppss is a function (as is the
23316 case now in 22.x GNU Emacs) as that function would sometimes call
23317 itself, leading to (nearly) infinite recursion.
23318 (verilog-ovm-begin-re, verilog-ovm-end-re)
23319 (verilog-ovm-statement-re, verilog-leap-to-head)
23320 (verilog-backward-token): Add support for OVM macros. Some are
23321 complete statements, and others open and close scopes like begin
23323 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23324 (verilog-defun-level-generate-only-re): Really fix the defun-list
23326 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23327 coverpoint, constraint and cross statements.
23328 (verilog-defun-level-list, verilog-generate-defun-level-list)
23329 (verilog-all-defun-level-list): Redo these specifications - it is
23330 too hard to support eval-when compile aggregation of lists also
23331 built at when-compile time.
23332 (verilog-defun-level-list): Place defconsts of variables used in
23333 building regular expressions which are built in eval-when-compile
23334 bodies in the same eval-when-compile body to facilitate compile
23336 (verilog-beg-block-re-ordered): Support indenting
23337 virtual/protected tasks and functions.
23338 (verilog-defun-level-list, verilog-in-generate-region-p)
23339 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23340 indentation of some module items (generate items).
23341 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23342 across virtual/protected tasks and functions.
23344 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23346 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23347 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23348 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23349 in concatenations. Reported by Yishay Belkind.
23350 (verilog-auto-ascii-enum): Support one-hot state machines in
23351 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23352 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23353 modport in AUTOINST and add vl-modport for users.
23354 Reported by David Rogoff.
23355 (verilog-auto-inout-module, verilog-auto-inst)
23356 (verilog-decls-get-interfaces, verilog-insert-definition)
23357 (verilog-insert-one-definition, verilog-read-decls)
23358 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23359 (verilog-sig-modport, verilog-signals-combine-bus)
23360 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23361 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23362 Suggested by David Rogoff.
23363 (verilog-repair-open-comma): Fix non-insertion of comma when
23364 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23365 (verilog-make-width-expression): Simplify [A-1:0] expression
23366 widths to just {A{1'b0}}.
23367 (verilog-mode): Cleanup checkdoc warnings.
23368 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23369 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23370 inputs/outputs or data type. Suggested by Vasu Kandadi.
23371 (next-error-last-buffer): Fix byte-compiler warning.
23372 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23373 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23374 or shell command text during AUTO expansion. Suggested by Tad Truex.
23375 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23376 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23377 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23378 in AUTOINOUT. Reported by Matthew Lovell.
23379 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23380 causing use of <= assignments. Reported by Alex Reed.
23381 (verilog-read-decls): Fix triand, trior, wand, wor to be
23382 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23383 (verilog-extended-complete-re): Support import "DPI-C" functions.
23384 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23385 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23386 (verilog-insert-date, verilog-insert-year)
23387 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23388 Windows systems. Reported by Michael Potts.
23389 (verilog-read-module-name): Fix AUTOINST when the child module
23390 declaration's name is a tick define. Reported by Elliot Mednick.
23391 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23392 passed to next parameter's definition. Reported by Bruce T.
23393 (verilog-read-decls): Fix detecting "parameter int" when using
23394 AUTOINSTPARAM. Reported by Bruce T.
23395 (verilog-goto-defun): Fix goto not finding modules unless first
23396 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23397 (verilog-mode): Expand -f flag arguments on entry to mode so
23398 verilog-goto-defun will work. Reported by Lawrence Butcher.
23399 (verilog-getopt): Expand environment variables in -f file
23400 arguments. Suggested by Lawrence Butcher.
23401 (verilog-set-define): Fix "Symbol's value as variable is void"
23402 when reading enumerations.
23403 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23404 Suggested by Stephen Peltan.
23405 (verilog-read-defines): Fix reading of enumerations in include
23406 files. Reported by Steve Peltan.
23408 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23410 * files.el (trash-directory): Fix defcustom type.
23412 2009-06-28 Juri Linkov <juri@jurta.org>
23414 * help-fns.el (describe-function-1): Correctly locate adviced
23415 functions in hyperlink (Bug#2438).
23417 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23419 * files.el (trash-directory): Change default to nil.
23420 (move-file-to-trash): If trash-directory is nil and
23421 system-move-file-to-trash is unbound, perform freedesktop-style
23424 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23426 * files.el (move-file-to-trash): Add freedesktop trash
23429 2009-06-28 Glenn Morris <rgm@gnu.org>
23431 * autorevert.el (global-auto-revert-non-file-buffers)
23432 (global-auto-revert-mode): Doc fixes.
23434 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23436 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23438 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23440 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23441 opened an X connection before calling x-get-resource (Bug#3194).
23443 * play/doctor.el: Remove reference to obsolete website.
23444 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23446 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23448 Remove find-file-not-found-hook VC method. (Bug#2757)
23449 * vc-hooks.el (vc-file-not-found-hook)
23450 (vc-default-find-file-not-found-hook): Remove functions.
23451 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23452 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23455 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23457 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23459 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23460 compatibility function for `looking-back'.
23462 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23463 Use `ispell-looking-back'.
23465 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23467 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23468 rather than `filename'.
23470 2009-06-23 Miles Bader <miles@gnu.org>
23472 * face-remap.el (text-scale-set): New function.
23474 2009-06-23 Glenn Morris <rgm@gnu.org>
23476 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23478 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23480 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23482 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23484 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23485 Simplify Persian conditionals.
23487 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23488 variable `filename'.
23490 * comint.el (comint-insert-input): Doc fix.
23492 * Makefile.in (ELCFILES): Fix typo in previous change.
23494 2009-06-23 Miles Bader <miles@gnu.org>
23496 * cus-start.el: Add entry for `recenter-redisplay'.
23498 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23500 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23501 Add an optional argument for the backend, use it instead of
23502 calling vc-backend.
23503 (vc-mode-line): Add an optional argument for the backend.
23504 Pass the backend to vc-state and vc-working-revision. Move code for
23505 special handling for vc-state being a buffer to ...
23507 * vc-rcs.el (vc-rcs-find-file-hook):
23508 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23510 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23511 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23512 vc-stay-local-p and vc-mode-line calls.
23514 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23515 (vc-cvs-diff, vc-cvs-annotate-command)
23516 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23517 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23518 vc-mode-line calls.
23520 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23522 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23523 backend when calling vc-mode-line.
23524 (vc-register): Do not create a closure for calling the vc register
23525 function, call it directly.
23527 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23529 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23530 to make it obvious item can be clicked.
23532 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23534 2009-06-23 Kenichi Handa <handa@m17n.org>
23536 * language/korea-util.el (korean-key-bindings): Change the binding
23537 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23540 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23542 Sync with Tramp 2.1.16.
23544 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23546 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23547 when a loading of a package fails. Completion function for rsync
23548 is `tramp-completion-function-alist-ssh'.
23549 (all): Replace all calls of `split-string' and
23550 `tramp-split-string' by `tramp-compat-split-string'.
23551 (tramp-default-method): Use `tramp-compat-process-running-p'.
23552 (tramp-default-proxies-alist): Allow also Lisp forms.
23553 (tramp-remote-path): Add choice "Private Directories".
23554 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23555 (tramp-domain-regexp): Allow also "-", "_" and ".".
23556 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23557 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23558 (tramp-debug-message): Insert header line in debug buffer.
23559 (tramp-handle-directory-files-and-attributes-with-stat):
23560 Care about filenames with spaces, or starting with "-".
23561 (tramp-handle-dired-uncache): New defun.
23562 (tramp-handle-insert-directory): Don't flush the directory from
23563 cache, this is handled by `dired-uncache' now.
23564 (tramp-handle-insert-file-contents): Improve error handling.
23565 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23566 Quote `tramp-end-of-output'.
23567 (tramp-action-password): Improve trace message.
23568 (tramp-check-for-regexp): Both echoes must be present, before removing.
23569 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23570 (tramp-compute-multi-hops): Eval cons cells of
23571 `tramp-default-proxies-alist'.
23572 (tramp-maybe-open-connection): Use the same command pattern for
23573 first hop and further hops.
23574 (tramp-wait-for-output): Remove handling of newlines.
23575 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23576 (tramp-split-string): Remove function. It is handled in
23579 * net/tramp-cmds.el (tramp-bug):
23580 Recommend `tramp-cleanup-all-connections' in the bug mail.
23582 * net/tramp-compat.el (tramp-compat-split-string)
23583 (tramp-compat-process-running-p): New defuns.
23585 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23586 for `dired-uncache'.
23588 * net/tramp-gvfs.el: New package.
23590 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23591 Add handler for `dired-uncache'.
23592 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23594 * net/trampver.el: Update release number. Make version check fit
23597 2009-06-22 Jim Meyering <meyering@redhat.com>
23599 Automatically handle .xz suffix (XZ-compressed files), too.
23600 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23601 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23603 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23604 Nick Roberts <nickrob@snap.net.nz>
23606 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23607 repository (http://sphinx.net.ru/hg/gdb-mi/).
23609 2009-06-22 Glenn Morris <rgm@gnu.org>
23611 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23612 `mode' and `eval' entries. (Bug#3430)
23614 * Makefile.in (ELCFILES): Add fadr.elc.
23616 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23617 differing behavior of \n and ^ in strings. (Bug#3385)
23619 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23621 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23623 (lisp-indent-function): Make it a defcustom.
23625 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23627 * progmodes/gdb-ui.el: Replace with ...
23628 * progmodes/gdb-mi.el: ... this file.
23629 * progmodes/gud.el: Modify for gdb-mi.el.
23631 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23633 * fadr.el: New file.
23635 See ChangeLog.14 for earlier changes.
23637 ;; Local Variables:
23641 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23643 This file is part of GNU Emacs.
23645 GNU Emacs is free software: you can redistribute it and/or modify
23646 it under the terms of the GNU General Public License as published by
23647 the Free Software Foundation, either version 3 of the License, or
23648 (at your option) any later version.
23650 GNU Emacs is distributed in the hope that it will be useful,
23651 but WITHOUT ANY WARRANTY; without even the implied warranty of
23652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23653 GNU General Public License for more details.
23655 You should have received a copy of the GNU General Public License
23656 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.